Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /usr/include/linux/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/include/linux/btrfs.h
/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
/*
 * Copyright (C) 2007 Oracle.  All rights reserved.
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public
 * License v2 as published by the Free Software Foundation.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * General Public License for more details.
 *
 * You should have received a copy of the GNU General Public
 * License along with this program; if not, write to the
 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
 * Boston, MA 021110-1307, USA.
 */

#ifndef _LINUX_BTRFS_H
#define _LINUX_BTRFS_H
#include <linux/types.h>
#include <linux/ioctl.h>

#define BTRFS_IOCTL_MAGIC 0x94
#define BTRFS_VOL_NAME_MAX 255
#define BTRFS_LABEL_SIZE 256

/* this should be 4k */
#define BTRFS_PATH_NAME_MAX 4087
struct btrfs_ioctl_vol_args {
	__s64 fd;
	char name[BTRFS_PATH_NAME_MAX + 1];
};

#define BTRFS_DEVICE_PATH_NAME_MAX	1024
#define BTRFS_SUBVOL_NAME_MAX 		4039

#define BTRFS_SUBVOL_CREATE_ASYNC	(1ULL << 0)
#define BTRFS_SUBVOL_RDONLY		(1ULL << 1)
#define BTRFS_SUBVOL_QGROUP_INHERIT	(1ULL << 2)

#define BTRFS_DEVICE_SPEC_BY_ID		(1ULL << 3)

#define BTRFS_VOL_ARG_V2_FLAGS_SUPPORTED		\
			(BTRFS_SUBVOL_CREATE_ASYNC |	\
			BTRFS_SUBVOL_RDONLY |		\
			BTRFS_SUBVOL_QGROUP_INHERIT |	\
			BTRFS_DEVICE_SPEC_BY_ID)

#define BTRFS_FSID_SIZE 16
#define BTRFS_UUID_SIZE 16
#define BTRFS_UUID_UNPARSED_SIZE	37

/*
 * flags definition for qgroup limits
 *
 * Used by:
 * struct btrfs_qgroup_limit.flags
 * struct btrfs_qgroup_limit_item.flags
 */
#define BTRFS_QGROUP_LIMIT_MAX_RFER	(1ULL << 0)
#define BTRFS_QGROUP_LIMIT_MAX_EXCL	(1ULL << 1)
#define BTRFS_QGROUP_LIMIT_RSV_RFER	(1ULL << 2)
#define BTRFS_QGROUP_LIMIT_RSV_EXCL	(1ULL << 3)
#define BTRFS_QGROUP_LIMIT_RFER_CMPR	(1ULL << 4)
#define BTRFS_QGROUP_LIMIT_EXCL_CMPR	(1ULL << 5)

struct btrfs_qgroup_limit {
	__u64	flags;
	__u64	max_rfer;
	__u64	max_excl;
	__u64	rsv_rfer;
	__u64	rsv_excl;
};

/*
 * flags definition for qgroup inheritance
 *
 * Used by:
 * struct btrfs_qgroup_inherit.flags
 */
#define BTRFS_QGROUP_INHERIT_SET_LIMITS	(1ULL << 0)

struct btrfs_qgroup_inherit {
	__u64	flags;
	__u64	num_qgroups;
	__u64	num_ref_copies;
	__u64	num_excl_copies;
	struct btrfs_qgroup_limit lim;
	__u64	qgroups[0];
};

struct btrfs_ioctl_qgroup_limit_args {
	__u64	qgroupid;
	struct btrfs_qgroup_limit lim;
};

/*
 * flags for subvolumes
 *
 * Used by:
 * struct btrfs_ioctl_vol_args_v2.flags
 *
 * BTRFS_SUBVOL_RDONLY is also provided/consumed by the following ioctls:
 * - BTRFS_IOC_SUBVOL_GETFLAGS
 * - BTRFS_IOC_SUBVOL_SETFLAGS
 */

struct btrfs_ioctl_vol_args_v2 {
	__s64 fd;
	__u64 transid;
	__u64 flags;
	union {
		struct {
			__u64 size;
			struct btrfs_qgroup_inherit *qgroup_inherit;
		};
		__u64 unused[4];
	};
	union {
		char name[BTRFS_SUBVOL_NAME_MAX + 1];
		__u64 devid;
	};
};

/*
 * structure to report errors and progress to userspace, either as a
 * result of a finished scrub, a canceled scrub or a progress inquiry
 */
struct btrfs_scrub_progress {
	__u64 data_extents_scrubbed;	/* # of data extents scrubbed */
	__u64 tree_extents_scrubbed;	/* # of tree extents scrubbed */
	__u64 data_bytes_scrubbed;	/* # of data bytes scrubbed */
	__u64 tree_bytes_scrubbed;	/* # of tree bytes scrubbed */
	__u64 read_errors;		/* # of read errors encountered (EIO) */
	__u64 csum_errors;		/* # of failed csum checks */
	__u64 verify_errors;		/* # of occurences, where the metadata
					 * of a tree block did not match the
					 * expected values, like generation or
					 * logical */
	__u64 no_csum;			/* # of 4k data block for which no csum
					 * is present, probably the result of
					 * data written with nodatasum */
	__u64 csum_discards;		/* # of csum for which no data was found
					 * in the extent tree. */
	__u64 super_errors;		/* # of bad super blocks encountered */
	__u64 malloc_errors;		/* # of internal kmalloc errors. These
					 * will likely cause an incomplete
					 * scrub */
	__u64 uncorrectable_errors;	/* # of errors where either no intact
					 * copy was found or the writeback
					 * failed */
	__u64 corrected_errors;		/* # of errors corrected */
	__u64 last_physical;		/* last physical address scrubbed. In
					 * case a scrub was aborted, this can
					 * be used to restart the scrub */
	__u64 unverified_errors;	/* # of occurences where a read for a
					 * full (64k) bio failed, but the re-
					 * check succeeded for each 4k piece.
					 * Intermittent error. */
};

#define BTRFS_SCRUB_READONLY	1
struct btrfs_ioctl_scrub_args {
	__u64 devid;				/* in */
	__u64 start;				/* in */
	__u64 end;				/* in */
	__u64 flags;				/* in */
	struct btrfs_scrub_progress progress;	/* out */
	/* pad to 1k */
	__u64 unused[(1024-32-sizeof(struct btrfs_scrub_progress))/8];
};

#define BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_ALWAYS	0
#define BTRFS_IOCTL_DEV_REPLACE_CONT_READING_FROM_SRCDEV_MODE_AVOID	1
struct btrfs_ioctl_dev_replace_start_params {
	__u64 srcdevid;	/* in, if 0, use srcdev_name instead */
	__u64 cont_reading_from_srcdev_mode;	/* in, see #define
						 * above */
	__u8 srcdev_name[BTRFS_DEVICE_PATH_NAME_MAX + 1];	/* in */
	__u8 tgtdev_name[BTRFS_DEVICE_PATH_NAME_MAX + 1];	/* in */
};

#define BTRFS_IOCTL_DEV_REPLACE_STATE_NEVER_STARTED	0
#define BTRFS_IOCTL_DEV_REPLACE_STATE_STARTED		1
#define BTRFS_IOCTL_DEV_REPLACE_STATE_FINISHED		2
#define BTRFS_IOCTL_DEV_REPLACE_STATE_CANCELED		3
#define BTRFS_IOCTL_DEV_REPLACE_STATE_SUSPENDED		4
struct btrfs_ioctl_dev_replace_status_params {
	__u64 replace_state;	/* out, see #define above */
	__u64 progress_1000;	/* out, 0 <= x <= 1000 */
	__u64 time_started;	/* out, seconds since 1-Jan-1970 */
	__u64 time_stopped;	/* out, seconds since 1-Jan-1970 */
	__u64 num_write_errors;	/* out */
	__u64 num_uncorrectable_read_errors;	/* out */
};

#define BTRFS_IOCTL_DEV_REPLACE_CMD_START			0
#define BTRFS_IOCTL_DEV_REPLACE_CMD_STATUS			1
#define BTRFS_IOCTL_DEV_REPLACE_CMD_CANCEL			2
#define BTRFS_IOCTL_DEV_REPLACE_RESULT_NO_ERROR			0
#define BTRFS_IOCTL_DEV_REPLACE_RESULT_NOT_STARTED		1
#define BTRFS_IOCTL_DEV_REPLACE_RESULT_ALREADY_STARTED		2
#define BTRFS_IOCTL_DEV_REPLACE_RESULT_SCRUB_INPROGRESS		3
struct btrfs_ioctl_dev_replace_args {
	__u64 cmd;	/* in */
	__u64 result;	/* out */

	union {
		struct btrfs_ioctl_dev_replace_start_params start;
		struct btrfs_ioctl_dev_replace_status_params status;
	};	/* in/out */

	__u64 spare[64];
};

struct btrfs_ioctl_dev_info_args {
	__u64 devid;				/* in/out */
	__u8 uuid[BTRFS_UUID_SIZE];		/* in/out */
	__u64 bytes_used;			/* out */
	__u64 total_bytes;			/* out */
	__u64 unused[379];			/* pad to 4k */
	__u8 path[BTRFS_DEVICE_PATH_NAME_MAX];	/* out */
};

struct btrfs_ioctl_fs_info_args {
	__u64 max_id;				/* out */
	__u64 num_devices;			/* out */
	__u8 fsid[BTRFS_FSID_SIZE];		/* out */
	__u32 nodesize;				/* out */
	__u32 sectorsize;			/* out */
	__u32 clone_alignment;			/* out */
	__u32 reserved32;
	__u64 reserved[122];			/* pad to 1k */
};

/*
 * feature flags
 *
 * Used by:
 * struct btrfs_ioctl_feature_flags
 */
#define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE		(1ULL << 0)
/*
 * Older kernels (< 4.9) on big-endian systems produced broken free space tree
 * bitmaps, and btrfs-progs also used to corrupt the free space tree (versions
 * < 4.7.3).  If this bit is clear, then the free space tree cannot be trusted.
 * btrfs-progs can also intentionally clear this bit to ask the kernel to
 * rebuild the free space tree, however this might not work on older kernels
 * that do not know about this bit. If not sure, clear the cache manually on
 * first mount when booting older kernel versions.
 */
#define BTRFS_FEATURE_COMPAT_RO_FREE_SPACE_TREE_VALID	(1ULL << 1)

#define BTRFS_FEATURE_INCOMPAT_MIXED_BACKREF	(1ULL << 0)
#define BTRFS_FEATURE_INCOMPAT_DEFAULT_SUBVOL	(1ULL << 1)
#define BTRFS_FEATURE_INCOMPAT_MIXED_GROUPS	(1ULL << 2)
#define BTRFS_FEATURE_INCOMPAT_COMPRESS_LZO	(1ULL << 3)
#define BTRFS_FEATURE_INCOMPAT_COMPRESS_ZSTD	(1ULL << 4)

/*
 * older kernels tried to do bigger metadata blocks, but the
 * code was pretty buggy.  Lets not let them try anymore.
 */
#define BTRFS_FEATURE_INCOMPAT_BIG_METADATA	(1ULL << 5)

#define BTRFS_FEATURE_INCOMPAT_EXTENDED_IREF	(1ULL << 6)
#define BTRFS_FEATURE_INCOMPAT_RAID56		(1ULL << 7)
#define BTRFS_FEATURE_INCOMPAT_SKINNY_METADATA	(1ULL << 8)
#define BTRFS_FEATURE_INCOMPAT_NO_HOLES		(1ULL << 9)

struct btrfs_ioctl_feature_flags {
	__u64 compat_flags;
	__u64 compat_ro_flags;
	__u64 incompat_flags;
};

/* balance control ioctl modes */
#define BTRFS_BALANCE_CTL_PAUSE		1
#define BTRFS_BALANCE_CTL_CANCEL	2

/*
 * this is packed, because it should be exactly the same as its disk
 * byte order counterpart (struct btrfs_disk_balance_args)
 */
struct btrfs_balance_args {
	__u64 profiles;
	union {
		__u64 usage;
		struct {
			__u32 usage_min;
			__u32 usage_max;
		};
	};
	__u64 devid;
	__u64 pstart;
	__u64 pend;
	__u64 vstart;
	__u64 vend;

	__u64 target;

	__u64 flags;

	/*
	 * BTRFS_BALANCE_ARGS_LIMIT with value 'limit'
	 * BTRFS_BALANCE_ARGS_LIMIT_RANGE - the extend version can use minimum
	 * and maximum
	 */
	union {
		__u64 limit;		/* limit number of processed chunks */
		struct {
			__u32 limit_min;
			__u32 limit_max;
		};
	};

	/*
	 * Process chunks that cross stripes_min..stripes_max devices,
	 * BTRFS_BALANCE_ARGS_STRIPES_RANGE
	 */
	__u32 stripes_min;
	__u32 stripes_max;

	__u64 unused[6];
} __attribute__ ((__packed__));

/* report balance progress to userspace */
struct btrfs_balance_progress {
	__u64 expected;		/* estimated # of chunks that will be
				 * relocated to fulfill the request */
	__u64 considered;	/* # of chunks we have considered so far */
	__u64 completed;	/* # of chunks relocated so far */
};

/*
 * flags definition for balance
 *
 * Restriper's general type filter
 *
 * Used by:
 * btrfs_ioctl_balance_args.flags
 * btrfs_balance_control.flags (internal)
 */
#define BTRFS_BALANCE_DATA		(1ULL << 0)
#define BTRFS_BALANCE_SYSTEM		(1ULL << 1)
#define BTRFS_BALANCE_METADATA		(1ULL << 2)

#define BTRFS_BALANCE_TYPE_MASK		(BTRFS_BALANCE_DATA |	    \
					 BTRFS_BALANCE_SYSTEM |	    \
					 BTRFS_BALANCE_METADATA)

#define BTRFS_BALANCE_FORCE		(1ULL << 3)
#define BTRFS_BALANCE_RESUME		(1ULL << 4)

/*
 * flags definitions for per-type balance args
 *
 * Balance filters
 *
 * Used by:
 * struct btrfs_balance_args
 */
#define BTRFS_BALANCE_ARGS_PROFILES	(1ULL << 0)
#define BTRFS_BALANCE_ARGS_USAGE	(1ULL << 1)
#define BTRFS_BALANCE_ARGS_DEVID	(1ULL << 2)
#define BTRFS_BALANCE_ARGS_DRANGE	(1ULL << 3)
#define BTRFS_BALANCE_ARGS_VRANGE	(1ULL << 4)
#define BTRFS_BALANCE_ARGS_LIMIT	(1ULL << 5)
#define BTRFS_BALANCE_ARGS_LIMIT_RANGE	(1ULL << 6)
#define BTRFS_BALANCE_ARGS_STRIPES_RANGE (1ULL << 7)
#define BTRFS_BALANCE_ARGS_USAGE_RANGE	(1ULL << 10)

#define BTRFS_BALANCE_ARGS_MASK			\
	(BTRFS_BALANCE_ARGS_PROFILES |		\
	 BTRFS_BALANCE_ARGS_USAGE |		\
	 BTRFS_BALANCE_ARGS_DEVID | 		\
	 BTRFS_BALANCE_ARGS_DRANGE |		\
	 BTRFS_BALANCE_ARGS_VRANGE |		\
	 BTRFS_BALANCE_ARGS_LIMIT |		\
	 BTRFS_BALANCE_ARGS_LIMIT_RANGE |	\
	 BTRFS_BALANCE_ARGS_STRIPES_RANGE |	\
	 BTRFS_BALANCE_ARGS_USAGE_RANGE)

/*
 * Profile changing flags.  When SOFT is set we won't relocate chunk if
 * it already has the target profile (even though it may be
 * half-filled).
 */
#define BTRFS_BALANCE_ARGS_CONVERT	(1ULL << 8)
#define BTRFS_BALANCE_ARGS_SOFT		(1ULL << 9)


/*
 * flags definition for balance state
 *
 * Used by:
 * struct btrfs_ioctl_balance_args.state
 */
#define BTRFS_BALANCE_STATE_RUNNING	(1ULL << 0)
#define BTRFS_BALANCE_STATE_PAUSE_REQ	(1ULL << 1)
#define BTRFS_BALANCE_STATE_CANCEL_REQ	(1ULL << 2)

struct btrfs_ioctl_balance_args {
	__u64 flags;				/* in/out */
	__u64 state;				/* out */

	struct btrfs_balance_args data;		/* in/out */
	struct btrfs_balance_args meta;		/* in/out */
	struct btrfs_balance_args sys;		/* in/out */

	struct btrfs_balance_progress stat;	/* out */

	__u64 unused[72];			/* pad to 1k */
};

#define BTRFS_INO_LOOKUP_PATH_MAX 4080
struct btrfs_ioctl_ino_lookup_args {
	__u64 treeid;
	__u64 objectid;
	char name[BTRFS_INO_LOOKUP_PATH_MAX];
};

#define BTRFS_INO_LOOKUP_USER_PATH_MAX (4080 - BTRFS_VOL_NAME_MAX - 1)
struct btrfs_ioctl_ino_lookup_user_args {
	/* in, inode number containing the subvolume of 'subvolid' */
	__u64 dirid;
	/* in */
	__u64 treeid;
	/* out, name of the subvolume of 'treeid' */
	char name[BTRFS_VOL_NAME_MAX + 1];
	/*
	 * out, constructed path from the directory with which the ioctl is
	 * called to dirid
	 */
	char path[BTRFS_INO_LOOKUP_USER_PATH_MAX];
};

/* Search criteria for the btrfs SEARCH ioctl family. */
struct btrfs_ioctl_search_key {
	/*
	 * The tree we're searching in. 1 is the tree of tree roots, 2 is the
	 * extent tree, etc...
	 *
	 * A special tree_id value of 0 will cause a search in the subvolume
	 * tree that the inode which is passed to the ioctl is part of.
	 */
	__u64 tree_id;		/* in */

	/*
	 * When doing a tree search, we're actually taking a slice from a
	 * linear search space of 136-bit keys.
	 *
	 * A full 136-bit tree key is composed as:
	 *   (objectid << 72) + (type << 64) + offset
	 *
	 * The individual min and max values for objectid, type and offset
	 * define the min_key and max_key values for the search range. All
	 * metadata items with a key in the interval [min_key, max_key] will be
	 * returned.
	 *
	 * Additionally, we can filter the items returned on transaction id of
	 * the metadata block they're stored in by specifying a transid range.
	 * Be aware that this transaction id only denotes when the metadata
	 * page that currently contains the item got written the last time as
	 * result of a COW operation.  The number does not have any meaning
	 * related to the transaction in which an individual item that is being
	 * returned was created or changed.
	 */
	__u64 min_objectid;	/* in */
	__u64 max_objectid;	/* in */
	__u64 min_offset;	/* in */
	__u64 max_offset;	/* in */
	__u64 min_transid;	/* in */
	__u64 max_transid;	/* in */
	__u32 min_type;		/* in */
	__u32 max_type;		/* in */

	/*
	 * input: The maximum amount of results desired.
	 * output: The actual amount of items returned, restricted by any of:
	 *  - reaching the upper bound of the search range
	 *  - reaching the input nr_items amount of items
	 *  - completely filling the supplied memory buffer
	 */
	__u32 nr_items;		/* in/out */

	/* align to 64 bits */
	__u32 unused;

	/* some extra for later */
	__u64 unused1;
	__u64 unused2;
	__u64 unused3;
	__u64 unused4;
};

struct btrfs_ioctl_search_header {
	__u64 transid;
	__u64 objectid;
	__u64 offset;
	__u32 type;
	__u32 len;
};

#define BTRFS_SEARCH_ARGS_BUFSIZE (4096 - sizeof(struct btrfs_ioctl_search_key))
/*
 * the buf is an array of search headers where
 * each header is followed by the actual item
 * the type field is expanded to 32 bits for alignment
 */
struct btrfs_ioctl_search_args {
	struct btrfs_ioctl_search_key key;
	char buf[BTRFS_SEARCH_ARGS_BUFSIZE];
};

struct btrfs_ioctl_search_args_v2 {
	struct btrfs_ioctl_search_key key; /* in/out - search parameters */
	__u64 buf_size;		   /* in - size of buffer
					    * out - on EOVERFLOW: needed size
					    *       to store item */
	__u64 buf[0];                       /* out - found items */
};

struct btrfs_ioctl_clone_range_args {
  __s64 src_fd;
  __u64 src_offset, src_length;
  __u64 dest_offset;
};

/*
 * flags definition for the defrag range ioctl
 *
 * Used by:
 * struct btrfs_ioctl_defrag_range_args.flags
 */
#define BTRFS_DEFRAG_RANGE_COMPRESS 1
#define BTRFS_DEFRAG_RANGE_START_IO 2
struct btrfs_ioctl_defrag_range_args {
	/* start of the defrag operation */
	__u64 start;

	/* number of bytes to defrag, use (u64)-1 to say all */
	__u64 len;

	/*
	 * flags for the operation, which can include turning
	 * on compression for this one defrag
	 */
	__u64 flags;

	/*
	 * any extent bigger than this will be considered
	 * already defragged.  Use 0 to take the kernel default
	 * Use 1 to say every single extent must be rewritten
	 */
	__u32 extent_thresh;

	/*
	 * which compression method to use if turning on compression
	 * for this defrag operation.  If unspecified, zlib will
	 * be used
	 */
	__u32 compress_type;

	/* spare for later */
	__u32 unused[4];
};


#define BTRFS_SAME_DATA_DIFFERS	1
/* For extent-same ioctl */
struct btrfs_ioctl_same_extent_info {
	__s64 fd;		/* in - destination file */
	__u64 logical_offset;	/* in - start of extent in destination */
	__u64 bytes_deduped;	/* out - total # of bytes we were able
				 * to dedupe from this file */
	/* status of this dedupe operation:
	 * 0 if dedup succeeds
	 * < 0 for error
	 * == BTRFS_SAME_DATA_DIFFERS if data differs
	 */
	__s32 status;		/* out - see above description */
	__u32 reserved;
};

struct btrfs_ioctl_same_args {
	__u64 logical_offset;	/* in - start of extent in source */
	__u64 length;		/* in - length of extent */
	__u16 dest_count;	/* in - total elements in info array */
	__u16 reserved1;
	__u32 reserved2;
	struct btrfs_ioctl_same_extent_info info[0];
};

struct btrfs_ioctl_space_info {
	__u64 flags;
	__u64 total_bytes;
	__u64 used_bytes;
};

struct btrfs_ioctl_space_args {
	__u64 space_slots;
	__u64 total_spaces;
	struct btrfs_ioctl_space_info spaces[0];
};

struct btrfs_data_container {
	__u32	bytes_left;	/* out -- bytes not needed to deliver output */
	__u32	bytes_missing;	/* out -- additional bytes needed for result */
	__u32	elem_cnt;	/* out */
	__u32	elem_missed;	/* out */
	__u64	val[0];		/* out */
};

struct btrfs_ioctl_ino_path_args {
	__u64				inum;		/* in */
	__u64				size;		/* in */
	__u64				reserved[4];
	/* struct btrfs_data_container	*fspath;	   out */
	__u64				fspath;		/* out */
};

struct btrfs_ioctl_logical_ino_args {
	__u64				logical;	/* in */
	__u64				size;		/* in */
	__u64				reserved[3];	/* must be 0 for now */
	__u64				flags;		/* in, v2 only */
	/* struct btrfs_data_container	*inodes;	out   */
	__u64				inodes;
};
/* Return every ref to the extent, not just those containing logical block.
 * Requires logical == extent bytenr. */
#define BTRFS_LOGICAL_INO_ARGS_IGNORE_OFFSET	(1ULL << 0)

enum btrfs_dev_stat_values {
	/* disk I/O failure stats */
	BTRFS_DEV_STAT_WRITE_ERRS, /* EIO or EREMOTEIO from lower layers */
	BTRFS_DEV_STAT_READ_ERRS, /* EIO or EREMOTEIO from lower layers */
	BTRFS_DEV_STAT_FLUSH_ERRS, /* EIO or EREMOTEIO from lower layers */

	/* stats for indirect indications for I/O failures */
	BTRFS_DEV_STAT_CORRUPTION_ERRS, /* checksum error, bytenr error or
					 * contents is illegal: this is an
					 * indication that the block was damaged
					 * during read or write, or written to
					 * wrong location or read from wrong
					 * location */
	BTRFS_DEV_STAT_GENERATION_ERRS, /* an indication that blocks have not
					 * been written */

	BTRFS_DEV_STAT_VALUES_MAX
};

/* Reset statistics after reading; needs SYS_ADMIN capability */
#define	BTRFS_DEV_STATS_RESET		(1ULL << 0)

struct btrfs_ioctl_get_dev_stats {
	__u64 devid;				/* in */
	__u64 nr_items;				/* in/out */
	__u64 flags;				/* in/out */

	/* out values: */
	__u64 values[BTRFS_DEV_STAT_VALUES_MAX];

	__u64 unused[128 - 2 - BTRFS_DEV_STAT_VALUES_MAX]; /* pad to 1k */
};

#define BTRFS_QUOTA_CTL_ENABLE	1
#define BTRFS_QUOTA_CTL_DISABLE	2
#define BTRFS_QUOTA_CTL_RESCAN__NOTUSED	3
struct btrfs_ioctl_quota_ctl_args {
	__u64 cmd;
	__u64 status;
};

struct btrfs_ioctl_quota_rescan_args {
	__u64	flags;
	__u64   progress;
	__u64   reserved[6];
};

struct btrfs_ioctl_qgroup_assign_args {
	__u64 assign;
	__u64 src;
	__u64 dst;
};

struct btrfs_ioctl_qgroup_create_args {
	__u64 create;
	__u64 qgroupid;
};
struct btrfs_ioctl_timespec {
	__u64 sec;
	__u32 nsec;
};

struct btrfs_ioctl_received_subvol_args {
	char	uuid[BTRFS_UUID_SIZE];	/* in */
	__u64	stransid;		/* in */
	__u64	rtransid;		/* out */
	struct btrfs_ioctl_timespec stime; /* in */
	struct btrfs_ioctl_timespec rtime; /* out */
	__u64	flags;			/* in */
	__u64	reserved[16];		/* in */
};

/*
 * Caller doesn't want file data in the send stream, even if the
 * search of clone sources doesn't find an extent. UPDATE_EXTENT
 * commands will be sent instead of WRITE commands.
 */
#define BTRFS_SEND_FLAG_NO_FILE_DATA		0x1

/*
 * Do not add the leading stream header. Used when multiple snapshots
 * are sent back to back.
 */
#define BTRFS_SEND_FLAG_OMIT_STREAM_HEADER	0x2

/*
 * Omit the command at the end of the stream that indicated the end
 * of the stream. This option is used when multiple snapshots are
 * sent back to back.
 */
#define BTRFS_SEND_FLAG_OMIT_END_CMD		0x4

#define BTRFS_SEND_FLAG_MASK \
	(BTRFS_SEND_FLAG_NO_FILE_DATA | \
	 BTRFS_SEND_FLAG_OMIT_STREAM_HEADER | \
	 BTRFS_SEND_FLAG_OMIT_END_CMD)

struct btrfs_ioctl_send_args {
	__s64 send_fd;			/* in */
	__u64 clone_sources_count;	/* in */
	__u64 *clone_sources;	/* in */
	__u64 parent_root;		/* in */
	__u64 flags;			/* in */
	__u64 reserved[4];		/* in */
};

/*
 * Information about a fs tree root.
 *
 * All items are filled by the ioctl
 */
struct btrfs_ioctl_get_subvol_info_args {
	/* Id of this subvolume */
	__u64 treeid;

	/* Name of this subvolume, used to get the real name at mount point */
	char name[BTRFS_VOL_NAME_MAX + 1];

	/*
	 * Id of the subvolume which contains this subvolume.
	 * Zero for top-level subvolume or a deleted subvolume.
	 */
	__u64 parent_id;

	/*
	 * Inode number of the directory which contains this subvolume.
	 * Zero for top-level subvolume or a deleted subvolume
	 */
	__u64 dirid;

	/* Latest transaction id of this subvolume */
	__u64 generation;

	/* Flags of this subvolume */
	__u64 flags;

	/* UUID of this subvolume */
	__u8 uuid[BTRFS_UUID_SIZE];

	/*
	 * UUID of the subvolume of which this subvolume is a snapshot.
	 * All zero for a non-snapshot subvolume.
	 */
	__u8 parent_uuid[BTRFS_UUID_SIZE];

	/*
	 * UUID of the subvolume from which this subvolume was received.
	 * All zero for non-received subvolume.
	 */
	__u8 received_uuid[BTRFS_UUID_SIZE];

	/* Transaction id indicating when change/create/send/receive happened */
	__u64 ctransid;
	__u64 otransid;
	__u64 stransid;
	__u64 rtransid;
	/* Time corresponding to c/o/s/rtransid */
	struct btrfs_ioctl_timespec ctime;
	struct btrfs_ioctl_timespec otime;
	struct btrfs_ioctl_timespec stime;
	struct btrfs_ioctl_timespec rtime;

	/* Must be zero */
	__u64 reserved[8];
};

#define BTRFS_MAX_ROOTREF_BUFFER_NUM 255
struct btrfs_ioctl_get_subvol_rootref_args {
		/* in/out, minimum id of rootref's treeid to be searched */
		__u64 min_treeid;

		/* out */
		struct {
			__u64 treeid;
			__u64 dirid;
		} rootref[BTRFS_MAX_ROOTREF_BUFFER_NUM];

		/* out, number of found items */
		__u8 num_items;
		__u8 align[7];
};

/* Error codes as returned by the kernel */
enum btrfs_err_code {
	BTRFS_ERROR_DEV_RAID1_MIN_NOT_MET = 1,
	BTRFS_ERROR_DEV_RAID10_MIN_NOT_MET,
	BTRFS_ERROR_DEV_RAID5_MIN_NOT_MET,
	BTRFS_ERROR_DEV_RAID6_MIN_NOT_MET,
	BTRFS_ERROR_DEV_TGT_REPLACE,
	BTRFS_ERROR_DEV_MISSING_NOT_FOUND,
	BTRFS_ERROR_DEV_ONLY_WRITABLE,
	BTRFS_ERROR_DEV_EXCL_RUN_IN_PROGRESS
};

#define BTRFS_IOC_SNAP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 1, \
				   struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_DEFRAG _IOW(BTRFS_IOCTL_MAGIC, 2, \
				   struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_RESIZE _IOW(BTRFS_IOCTL_MAGIC, 3, \
				   struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_SCAN_DEV _IOW(BTRFS_IOCTL_MAGIC, 4, \
				   struct btrfs_ioctl_vol_args)
/* trans start and trans end are dangerous, and only for
 * use by applications that know how to avoid the
 * resulting deadlocks
 */
#define BTRFS_IOC_TRANS_START  _IO(BTRFS_IOCTL_MAGIC, 6)
#define BTRFS_IOC_TRANS_END    _IO(BTRFS_IOCTL_MAGIC, 7)
#define BTRFS_IOC_SYNC         _IO(BTRFS_IOCTL_MAGIC, 8)

#define BTRFS_IOC_CLONE        _IOW(BTRFS_IOCTL_MAGIC, 9, int)
#define BTRFS_IOC_ADD_DEV _IOW(BTRFS_IOCTL_MAGIC, 10, \
				   struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_RM_DEV _IOW(BTRFS_IOCTL_MAGIC, 11, \
				   struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_BALANCE _IOW(BTRFS_IOCTL_MAGIC, 12, \
				   struct btrfs_ioctl_vol_args)

#define BTRFS_IOC_CLONE_RANGE _IOW(BTRFS_IOCTL_MAGIC, 13, \
				  struct btrfs_ioctl_clone_range_args)

#define BTRFS_IOC_SUBVOL_CREATE _IOW(BTRFS_IOCTL_MAGIC, 14, \
				   struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_SNAP_DESTROY _IOW(BTRFS_IOCTL_MAGIC, 15, \
				struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_DEFRAG_RANGE _IOW(BTRFS_IOCTL_MAGIC, 16, \
				struct btrfs_ioctl_defrag_range_args)
#define BTRFS_IOC_TREE_SEARCH _IOWR(BTRFS_IOCTL_MAGIC, 17, \
				   struct btrfs_ioctl_search_args)
#define BTRFS_IOC_TREE_SEARCH_V2 _IOWR(BTRFS_IOCTL_MAGIC, 17, \
					   struct btrfs_ioctl_search_args_v2)
#define BTRFS_IOC_INO_LOOKUP _IOWR(BTRFS_IOCTL_MAGIC, 18, \
				   struct btrfs_ioctl_ino_lookup_args)
#define BTRFS_IOC_DEFAULT_SUBVOL _IOW(BTRFS_IOCTL_MAGIC, 19, __u64)
#define BTRFS_IOC_SPACE_INFO _IOWR(BTRFS_IOCTL_MAGIC, 20, \
				    struct btrfs_ioctl_space_args)
#define BTRFS_IOC_START_SYNC _IOR(BTRFS_IOCTL_MAGIC, 24, __u64)
#define BTRFS_IOC_WAIT_SYNC  _IOW(BTRFS_IOCTL_MAGIC, 22, __u64)
#define BTRFS_IOC_SNAP_CREATE_V2 _IOW(BTRFS_IOCTL_MAGIC, 23, \
				   struct btrfs_ioctl_vol_args_v2)
#define BTRFS_IOC_SUBVOL_CREATE_V2 _IOW(BTRFS_IOCTL_MAGIC, 24, \
				   struct btrfs_ioctl_vol_args_v2)
#define BTRFS_IOC_SUBVOL_GETFLAGS _IOR(BTRFS_IOCTL_MAGIC, 25, __u64)
#define BTRFS_IOC_SUBVOL_SETFLAGS _IOW(BTRFS_IOCTL_MAGIC, 26, __u64)
#define BTRFS_IOC_SCRUB _IOWR(BTRFS_IOCTL_MAGIC, 27, \
			      struct btrfs_ioctl_scrub_args)
#define BTRFS_IOC_SCRUB_CANCEL _IO(BTRFS_IOCTL_MAGIC, 28)
#define BTRFS_IOC_SCRUB_PROGRESS _IOWR(BTRFS_IOCTL_MAGIC, 29, \
				       struct btrfs_ioctl_scrub_args)
#define BTRFS_IOC_DEV_INFO _IOWR(BTRFS_IOCTL_MAGIC, 30, \
				 struct btrfs_ioctl_dev_info_args)
#define BTRFS_IOC_FS_INFO _IOR(BTRFS_IOCTL_MAGIC, 31, \
			       struct btrfs_ioctl_fs_info_args)
#define BTRFS_IOC_BALANCE_V2 _IOWR(BTRFS_IOCTL_MAGIC, 32, \
				   struct btrfs_ioctl_balance_args)
#define BTRFS_IOC_BALANCE_CTL _IOW(BTRFS_IOCTL_MAGIC, 33, int)
#define BTRFS_IOC_BALANCE_PROGRESS _IOR(BTRFS_IOCTL_MAGIC, 34, \
					struct btrfs_ioctl_balance_args)
#define BTRFS_IOC_INO_PATHS _IOWR(BTRFS_IOCTL_MAGIC, 35, \
					struct btrfs_ioctl_ino_path_args)
#define BTRFS_IOC_LOGICAL_INO _IOWR(BTRFS_IOCTL_MAGIC, 36, \
					struct btrfs_ioctl_logical_ino_args)
#define BTRFS_IOC_SET_RECEIVED_SUBVOL _IOWR(BTRFS_IOCTL_MAGIC, 37, \
				struct btrfs_ioctl_received_subvol_args)
#define BTRFS_IOC_SEND _IOW(BTRFS_IOCTL_MAGIC, 38, struct btrfs_ioctl_send_args)
#define BTRFS_IOC_DEVICES_READY _IOR(BTRFS_IOCTL_MAGIC, 39, \
				     struct btrfs_ioctl_vol_args)
#define BTRFS_IOC_QUOTA_CTL _IOWR(BTRFS_IOCTL_MAGIC, 40, \
			       struct btrfs_ioctl_quota_ctl_args)
#define BTRFS_IOC_QGROUP_ASSIGN _IOW(BTRFS_IOCTL_MAGIC, 41, \
			       struct btrfs_ioctl_qgroup_assign_args)
#define BTRFS_IOC_QGROUP_CREATE _IOW(BTRFS_IOCTL_MAGIC, 42, \
			       struct btrfs_ioctl_qgroup_create_args)
#define BTRFS_IOC_QGROUP_LIMIT _IOR(BTRFS_IOCTL_MAGIC, 43, \
			       struct btrfs_ioctl_qgroup_limit_args)
#define BTRFS_IOC_QUOTA_RESCAN _IOW(BTRFS_IOCTL_MAGIC, 44, \
			       struct btrfs_ioctl_quota_rescan_args)
#define BTRFS_IOC_QUOTA_RESCAN_STATUS _IOR(BTRFS_IOCTL_MAGIC, 45, \
			       struct btrfs_ioctl_quota_rescan_args)
#define BTRFS_IOC_QUOTA_RESCAN_WAIT _IO(BTRFS_IOCTL_MAGIC, 46)
#define BTRFS_IOC_GET_FSLABEL _IOR(BTRFS_IOCTL_MAGIC, 49, \
				   char[BTRFS_LABEL_SIZE])
#define BTRFS_IOC_SET_FSLABEL _IOW(BTRFS_IOCTL_MAGIC, 50, \
				   char[BTRFS_LABEL_SIZE])
#define BTRFS_IOC_GET_DEV_STATS _IOWR(BTRFS_IOCTL_MAGIC, 52, \
				      struct btrfs_ioctl_get_dev_stats)
#define BTRFS_IOC_DEV_REPLACE _IOWR(BTRFS_IOCTL_MAGIC, 53, \
				    struct btrfs_ioctl_dev_replace_args)
#define BTRFS_IOC_FILE_EXTENT_SAME _IOWR(BTRFS_IOCTL_MAGIC, 54, \
					 struct btrfs_ioctl_same_args)
#define BTRFS_IOC_GET_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 57, \
				   struct btrfs_ioctl_feature_flags)
#define BTRFS_IOC_SET_FEATURES _IOW(BTRFS_IOCTL_MAGIC, 57, \
				   struct btrfs_ioctl_feature_flags[2])
#define BTRFS_IOC_GET_SUPPORTED_FEATURES _IOR(BTRFS_IOCTL_MAGIC, 57, \
				   struct btrfs_ioctl_feature_flags[3])
#define BTRFS_IOC_RM_DEV_V2 _IOW(BTRFS_IOCTL_MAGIC, 58, \
				   struct btrfs_ioctl_vol_args_v2)
#define BTRFS_IOC_LOGICAL_INO_V2 _IOWR(BTRFS_IOCTL_MAGIC, 59, \
					struct btrfs_ioctl_logical_ino_args)
#define BTRFS_IOC_GET_SUBVOL_INFO _IOR(BTRFS_IOCTL_MAGIC, 60, \
				struct btrfs_ioctl_get_subvol_info_args)
#define BTRFS_IOC_GET_SUBVOL_ROOTREF _IOWR(BTRFS_IOCTL_MAGIC, 61, \
				struct btrfs_ioctl_get_subvol_rootref_args)
#define BTRFS_IOC_INO_LOOKUP_USER _IOWR(BTRFS_IOCTL_MAGIC, 62, \
				struct btrfs_ioctl_ino_lookup_user_args)

#endif /* _LINUX_BTRFS_H */
Name
Size
Permissions
Options
android
--
drwxr-xr-x
byteorder
--
drwxr-xr-x
caif
--
drwxr-xr-x
can
--
drwxr-xr-x
cifs
--
drwxr-xr-x
dvb
--
drwxr-xr-x
genwqe
--
drwxr-xr-x
hdlc
--
drwxr-xr-x
hsi
--
drwxr-xr-x
iio
--
drwxr-xr-x
isdn
--
drwxr-xr-x
mmc
--
drwxr-xr-x
netfilter
--
drwxr-xr-x
netfilter_arp
--
drwxr-xr-x
netfilter_bridge
--
drwxr-xr-x
netfilter_ipv4
--
drwxr-xr-x
netfilter_ipv6
--
drwxr-xr-x
nfsd
--
drwxr-xr-x
raid
--
drwxr-xr-x
sched
--
drwxr-xr-x
spi
--
drwxr-xr-x
sunrpc
--
drwxr-xr-x
tc_act
--
drwxr-xr-x
tc_ematch
--
drwxr-xr-x
usb
--
drwxr-xr-x
wimax
--
drwxr-xr-x
a.out.h
6.73 KB
-rw-r--r--
acct.h
3.646 KB
-rw-r--r--
adb.h
1.113 KB
-rw-r--r--
adfs_fs.h
0.914 KB
-rw-r--r--
affs_hardblocks.h
1.508 KB
-rw-r--r--
agpgart.h
3.848 KB
-rw-r--r--
aio_abi.h
3.337 KB
-rw-r--r--
am437x-vpfe.h
3.595 KB
-rw-r--r--
apm_bios.h
3.597 KB
-rw-r--r--
arcfb.h
0.208 KB
-rw-r--r--
arm_sdei.h
2.687 KB
-rw-r--r--
aspeed-lpc-ctrl.h
1.738 KB
-rw-r--r--
atalk.h
0.999 KB
-rw-r--r--
atm.h
7.703 KB
-rw-r--r--
atm_eni.h
0.633 KB
-rw-r--r--
atm_he.h
0.396 KB
-rw-r--r--
atm_idt77105.h
0.933 KB
-rw-r--r--
atm_nicstar.h
1.248 KB
-rw-r--r--
atm_tcp.h
1.584 KB
-rw-r--r--
atm_zatm.h
1.504 KB
-rw-r--r--
atmapi.h
0.93 KB
-rw-r--r--
atmarp.h
1.266 KB
-rw-r--r--
atmbr2684.h
3.194 KB
-rw-r--r--
atmclip.h
0.563 KB
-rw-r--r--
atmdev.h
7.497 KB
-rw-r--r--
atmioc.h
1.607 KB
-rw-r--r--
atmlec.h
2.325 KB
-rw-r--r--
atmmpc.h
4.127 KB
-rw-r--r--
atmppp.h
0.624 KB
-rw-r--r--
atmsap.h
4.854 KB
-rw-r--r--
atmsvc.h
1.81 KB
-rw-r--r--
audit.h
19.916 KB
-rw-r--r--
auto_dev-ioctl.h
4.869 KB
-rw-r--r--
auto_fs.h
6.277 KB
-rw-r--r--
auto_fs4.h
0.44 KB
-rw-r--r--
auxvec.h
1.56 KB
-rw-r--r--
ax25.h
2.758 KB
-rw-r--r--
b1lli.h
1.677 KB
-rw-r--r--
batadv_packet.h
20.015 KB
-rw-r--r--
batman_adv.h
11.696 KB
-rw-r--r--
baycom.h
0.862 KB
-rw-r--r--
bcache.h
8.17 KB
-rw-r--r--
bcm933xx_hcs.h
0.409 KB
-rw-r--r--
bfs_fs.h
1.849 KB
-rw-r--r--
binfmts.h
0.613 KB
-rw-r--r--
blkpg.h
0.883 KB
-rw-r--r--
blktrace_api.h
4.591 KB
-rw-r--r--
blkzoned.h
6.453 KB
-rw-r--r--
bpf.h
223.301 KB
-rw-r--r--
bpf_common.h
1.335 KB
-rw-r--r--
bpf_perf_event.h
0.517 KB
-rw-r--r--
bpfilter.h
0.454 KB
-rw-r--r--
bpqether.h
0.958 KB
-rw-r--r--
bsg.h
2.436 KB
-rw-r--r--
bt-bmc.h
0.559 KB
-rw-r--r--
btf.h
4.684 KB
-rw-r--r--
btrfs.h
28.235 KB
-rw-r--r--
btrfs_tree.h
24.692 KB
-rw-r--r--
can.h
7.696 KB
-rw-r--r--
capability.h
13.204 KB
-rw-r--r--
capi.h
3.051 KB
-rw-r--r--
cciss_defs.h
3.204 KB
-rw-r--r--
cciss_ioctl.h
2.696 KB
-rw-r--r--
cdrom.h
28.183 KB
-rw-r--r--
cec-funcs.h
52.638 KB
-rw-r--r--
cec.h
36.808 KB
-rw-r--r--
cfm_bridge.h
1.422 KB
-rw-r--r--
cgroupstats.h
2.167 KB
-rw-r--r--
chio.h
5.219 KB
-rw-r--r--
close_range.h
0.368 KB
-rw-r--r--
cm4000_cs.h
1.764 KB
-rw-r--r--
cn_proc.h
3.375 KB
-rw-r--r--
coda.h
17.095 KB
-rw-r--r--
coda_psdev.h
0.765 KB
-rw-r--r--
coff.h
12.184 KB
-rw-r--r--
connector.h
2.2 KB
-rw-r--r--
const.h
0.77 KB
-rw-r--r--
coresight-stm.h
0.658 KB
-rw-r--r--
cramfs_fs.h
3.472 KB
-rw-r--r--
cryptouser.h
3.313 KB
-rw-r--r--
cuda.h
0.884 KB
-rw-r--r--
cyclades.h
16.707 KB
-rw-r--r--
cycx_cfm.h
2.92 KB
-rw-r--r--
dcbnl.h
24.646 KB
-rw-r--r--
dccp.h
6.285 KB
-rw-r--r--
devlink.h
21.051 KB
-rw-r--r--
dlm.h
2.493 KB
-rw-r--r--
dlm_device.h
2.483 KB
-rw-r--r--
dlm_netlink.h
1.132 KB
-rw-r--r--
dlm_plock.h
0.873 KB
-rw-r--r--
dlmconstants.h
4.961 KB
-rw-r--r--
dm-ioctl.h
11.133 KB
-rw-r--r--
dm-log-userspace.h
14.835 KB
-rw-r--r--
dma-buf.h
5.124 KB
-rw-r--r--
dn.h
4.533 KB
-rw-r--r--
dqblk_xfs.h
9.028 KB
-rw-r--r--
edd.h
5.473 KB
-rw-r--r--
efs_fs_sb.h
2.175 KB
-rw-r--r--
elf-em.h
2.136 KB
-rw-r--r--
elf-fdpic.h
1.098 KB
-rw-r--r--
elf.h
13.155 KB
-rw-r--r--
elfcore.h
2.925 KB
-rw-r--r--
errno.h
0.022 KB
-rw-r--r--
errqueue.h
1.442 KB
-rw-r--r--
erspan.h
1.034 KB
-rw-r--r--
ethtool.h
81.89 KB
-rw-r--r--
ethtool_netlink.h
22.291 KB
-rw-r--r--
eventpoll.h
2.67 KB
-rw-r--r--
fadvise.h
0.822 KB
-rw-r--r--
falloc.h
3.5 KB
-rw-r--r--
fanotify.h
5.216 KB
-rw-r--r--
fb.h
16.091 KB
-rw-r--r--
fcntl.h
4.076 KB
-rw-r--r--
fd.h
11.398 KB
-rw-r--r--
fdreg.h
5.293 KB
-rw-r--r--
fib_rules.h
1.988 KB
-rw-r--r--
fiemap.h
2.71 KB
-rw-r--r--
filter.h
2.164 KB
-rw-r--r--
firewire-cdev.h
42.857 KB
-rw-r--r--
firewire-constants.h
3.155 KB
-rw-r--r--
flat.h
2.098 KB
-rw-r--r--
fou.h
0.678 KB
-rw-r--r--
fpga-dfl.h
8.523 KB
-rw-r--r--
fs.h
13.109 KB
-rw-r--r--
fsl_hypervisor.h
7.13 KB
-rw-r--r--
fsmap.h
4.29 KB
-rw-r--r--
fuse.h
22.923 KB
-rw-r--r--
futex.h
4.876 KB
-rw-r--r--
gameport.h
0.876 KB
-rw-r--r--
gen_stats.h
1.49 KB
-rw-r--r--
genetlink.h
2.124 KB
-rw-r--r--
gfs2_ondisk.h
14.397 KB
-rw-r--r--
gigaset_dev.h
1.408 KB
-rw-r--r--
gpio.h
6.593 KB
-rw-r--r--
gsmmux.h
1.017 KB
-rw-r--r--
gtp.h
0.665 KB
-rw-r--r--
hash_info.h
0.899 KB
-rw-r--r--
hdlc.h
0.622 KB
-rw-r--r--
hdlcdrv.h
2.84 KB
-rw-r--r--
hdreg.h
22.171 KB
-rw-r--r--
hid.h
1.856 KB
-rw-r--r--
hiddev.h
6.196 KB
-rw-r--r--
hidraw.h
1.946 KB
-rw-r--r--
hpet.h
0.726 KB
-rw-r--r--
hsr_netlink.h
1.056 KB
-rw-r--r--
hw_breakpoint.h
0.725 KB
-rw-r--r--
hyperv.h
10.891 KB
-rw-r--r--
hysdn_if.h
1.35 KB
-rw-r--r--
i2c-dev.h
2.551 KB
-rw-r--r--
i2c.h
6.965 KB
-rw-r--r--
i2o-dev.h
11.284 KB
-rw-r--r--
i8k.h
1.492 KB
-rw-r--r--
icmp.h
2.905 KB
-rw-r--r--
icmpv6.h
3.943 KB
-rw-r--r--
idxd.h
8.22 KB
-rw-r--r--
if.h
10.646 KB
-rw-r--r--
if_addr.h
1.842 KB
-rw-r--r--
if_addrlabel.h
0.704 KB
-rw-r--r--
if_alg.h
0.924 KB
-rw-r--r--
if_arcnet.h
3.63 KB
-rw-r--r--
if_arp.h
6.423 KB
-rw-r--r--
if_bonding.h
5.167 KB
-rw-r--r--
if_bridge.h
19.057 KB
-rw-r--r--
if_cablemodem.h
0.963 KB
-rw-r--r--
if_eql.h
1.317 KB
-rw-r--r--
if_ether.h
8.055 KB
-rw-r--r--
if_fc.h
1.697 KB
-rw-r--r--
if_fddi.h
3.66 KB
-rw-r--r--
if_frad.h
2.948 KB
-rw-r--r--
if_hippi.h
4.136 KB
-rw-r--r--
if_infiniband.h
1.216 KB
-rw-r--r--
if_link.h
30.278 KB
-rw-r--r--
if_ltalk.h
0.205 KB
-rw-r--r--
if_macsec.h
5.695 KB
-rw-r--r--
if_packet.h
7.733 KB
-rw-r--r--
if_phonet.h
0.414 KB
-rw-r--r--
if_plip.h
0.645 KB
-rw-r--r--
if_ppp.h
0.028 KB
-rw-r--r--
if_pppol2tp.h
3.215 KB
-rw-r--r--
if_pppox.h
4.765 KB
-rw-r--r--
if_slip.h
0.852 KB
-rw-r--r--
if_team.h
2.539 KB
-rw-r--r--
if_tun.h
4.002 KB
-rw-r--r--
if_tunnel.h
4.406 KB
-rw-r--r--
if_vlan.h
1.788 KB
-rw-r--r--
if_x25.h
0.86 KB
-rw-r--r--
if_xdp.h
2.94 KB
-rw-r--r--
ife.h
0.343 KB
-rw-r--r--
igmp.h
2.992 KB
-rw-r--r--
ila.h
1.217 KB
-rw-r--r--
in.h
9.779 KB
-rw-r--r--
in6.h
7.264 KB
-rw-r--r--
in_route.h
0.914 KB
-rw-r--r--
inet_diag.h
4.563 KB
-rw-r--r--
inotify.h
3.215 KB
-rw-r--r--
input-event-codes.h
27.936 KB
-rw-r--r--
input.h
15.61 KB
-rw-r--r--
io_uring.h
6.062 KB
-rw-r--r--
ioctl.h
0.159 KB
-rw-r--r--
iommu.h
4.789 KB
-rw-r--r--
ip.h
4.617 KB
-rw-r--r--
ip6_tunnel.h
1.907 KB
-rw-r--r--
ip_vs.h
13.312 KB
-rw-r--r--
ipc.h
2.052 KB
-rw-r--r--
ipmi.h
15.08 KB
-rw-r--r--
ipmi_bmc.h
0.453 KB
-rw-r--r--
ipmi_msgdefs.h
3.35 KB
-rw-r--r--
ipmi_ssif_bmc.h
0.431 KB
-rw-r--r--
ipsec.h
0.925 KB
-rw-r--r--
ipv6.h
3.874 KB
-rw-r--r--
ipv6_route.h
1.863 KB
-rw-r--r--
ipx.h
2.292 KB
-rw-r--r--
irqnr.h
0.102 KB
-rw-r--r--
isdn.h
5.639 KB
-rw-r--r--
isdn_divertif.h
1.172 KB
-rw-r--r--
isdn_ppp.h
1.878 KB
-rw-r--r--
isdnif.h
2.314 KB
-rw-r--r--
iso_fs.h
6.333 KB
-rw-r--r--
isst_if.h
5.258 KB
-rw-r--r--
ivtv.h
2.951 KB
-rw-r--r--
ivtvfb.h
1.179 KB
-rw-r--r--
jffs2.h
6.854 KB
-rw-r--r--
joystick.h
3.354 KB
-rw-r--r--
kcm.h
0.803 KB
-rw-r--r--
kcmp.h
0.51 KB
-rw-r--r--
kcov.h
1.073 KB
-rw-r--r--
kd.h
6.106 KB
-rw-r--r--
kdev_t.h
0.374 KB
-rw-r--r--
kernel-page-flags.h
0.879 KB
-rw-r--r--
kernel.h
0.428 KB
-rw-r--r--
kernelcapi.h
0.995 KB
-rw-r--r--
kexec.h
1.792 KB
-rw-r--r--
keyboard.h
12.483 KB
-rw-r--r--
keyctl.h
3.418 KB
-rw-r--r--
kfd_ioctl.h
28.139 KB
-rw-r--r--
kfd_sysfs.h
4.248 KB
-rw-r--r--
kvm.h
60.118 KB
-rw-r--r--
kvm_para.h
0.978 KB
-rw-r--r--
l2tp.h
5.46 KB
-rw-r--r--
libc-compat.h
8.095 KB
-rw-r--r--
lightnvm.h
4.924 KB
-rw-r--r--
limits.h
0.915 KB
-rw-r--r--
lirc.h
7.63 KB
-rw-r--r--
llc.h
3.09 KB
-rw-r--r--
loop.h
3.415 KB
-rw-r--r--
lp.h
4.092 KB
-rw-r--r--
lwtunnel.h
2.128 KB
-rw-r--r--
magic.h
3.448 KB
-rw-r--r--
major.h
4.603 KB
-rw-r--r--
map_to_7segment.h
7.081 KB
-rw-r--r--
matroxfb.h
1.43 KB
-rw-r--r--
max2175.h
1.011 KB
-rw-r--r--
mdio.h
16.867 KB
-rw-r--r--
media-bus-format.h
6.261 KB
-rw-r--r--
media.h
11.115 KB
-rw-r--r--
mei.h
3.394 KB
-rw-r--r--
membarrier.h
7.714 KB
-rw-r--r--
memfd.h
1.293 KB
-rw-r--r--
mempolicy.h
2.179 KB
-rw-r--r--
meye.h
2.47 KB
-rw-r--r--
mic_common.h
6.366 KB
-rw-r--r--
mic_ioctl.h
2.199 KB
-rw-r--r--
mii.h
9.273 KB
-rw-r--r--
minix_fs.h
2.072 KB
-rw-r--r--
mman.h
1.353 KB
-rw-r--r--
mmtimer.h
2.067 KB
-rw-r--r--
module.h
0.249 KB
-rw-r--r--
mount.h
4.439 KB
-rw-r--r--
mpls.h
2.248 KB
-rw-r--r--
mpls_iptunnel.h
0.743 KB
-rw-r--r--
mptcp.h
5.477 KB
-rw-r--r--
mqueue.h
2.149 KB
-rw-r--r--
mroute.h
5.3 KB
-rw-r--r--
mroute6.h
4.47 KB
-rw-r--r--
mrp_bridge.h
1.668 KB
-rw-r--r--
msdos_fs.h
6.8 KB
-rw-r--r--
msg.h
3.295 KB
-rw-r--r--
mtio.h
7.983 KB
-rw-r--r--
n_r3964.h
2.354 KB
-rw-r--r--
nbd-netlink.h
2.352 KB
-rw-r--r--
nbd.h
2.953 KB
-rw-r--r--
ncsi.h
3.789 KB
-rw-r--r--
ndctl.h
6.705 KB
-rw-r--r--
neighbour.h
5.018 KB
-rw-r--r--
net.h
2.036 KB
-rw-r--r--
net_dropmon.h
2.854 KB
-rw-r--r--
net_namespace.h
0.698 KB
-rw-r--r--
net_tstamp.h
5.67 KB
-rw-r--r--
netconf.h
0.6 KB
-rw-r--r--
netdevice.h
2.2 KB
-rw-r--r--
netfilter.h
1.777 KB
-rw-r--r--
netfilter_arp.h
0.435 KB
-rw-r--r--
netfilter_bridge.h
1.141 KB
-rw-r--r--
netfilter_decnet.h
1.933 KB
-rw-r--r--
netfilter_ipv4.h
2.118 KB
-rw-r--r--
netfilter_ipv6.h
2.138 KB
-rw-r--r--
netlink.h
11.226 KB
-rw-r--r--
netlink_diag.h
1.488 KB
-rw-r--r--
netrom.h
0.788 KB
-rw-r--r--
nexthop.h
1.498 KB
-rw-r--r--
nfc.h
10.946 KB
-rw-r--r--
nfs.h
4.395 KB
-rw-r--r--
nfs2.h
1.434 KB
-rw-r--r--
nfs3.h
2.396 KB
-rw-r--r--
nfs4.h
6.444 KB
-rw-r--r--
nfs4_mount.h
1.887 KB
-rw-r--r--
nfs_fs.h
1.603 KB
-rw-r--r--
nfs_idmap.h
2.19 KB
-rw-r--r--
nfs_mount.h
2.092 KB
-rw-r--r--
nfsacl.h
0.701 KB
-rw-r--r--
nilfs2_api.h
7.411 KB
-rw-r--r--
nilfs2_ondisk.h
17.61 KB
-rw-r--r--
nitro_enclaves.h
12.844 KB
-rw-r--r--
nl80211.h
327.406 KB
-rw-r--r--
nsfs.h
0.624 KB
-rw-r--r--
nubus.h
7.999 KB
-rw-r--r--
nvme_ioctl.h
2.063 KB
-rw-r--r--
nvram.h
0.52 KB
-rw-r--r--
omap3isp.h
20.364 KB
-rw-r--r--
omapfb.h
5.779 KB
-rw-r--r--
oom.h
0.499 KB
-rw-r--r--
openat2.h
1.259 KB
-rw-r--r--
openvswitch.h
39.242 KB
-rw-r--r--
packet_diag.h
1.633 KB
-rw-r--r--
param.h
0.138 KB
-rw-r--r--
parport.h
3.559 KB
-rw-r--r--
patchkey.h
0.871 KB
-rw-r--r--
pci.h
1.348 KB
-rw-r--r--
pci_regs.h
56.472 KB
-rw-r--r--
pcitest.h
0.694 KB
-rw-r--r--
perf_event.h
39.629 KB
-rw-r--r--
personality.h
2.048 KB
-rw-r--r--
pfkeyv2.h
10.321 KB
-rw-r--r--
pfrut.h
7.8 KB
-rw-r--r--
pg.h
2.338 KB
-rw-r--r--
phantom.h
1.615 KB
-rw-r--r--
phonet.h
4.567 KB
-rw-r--r--
pkt_cls.h
18.077 KB
-rw-r--r--
pkt_sched.h
29.586 KB
-rw-r--r--
pktcdvd.h
2.624 KB
-rw-r--r--
pmu.h
5.194 KB
-rw-r--r--
poll.h
0.021 KB
-rw-r--r--
posix_acl.h
1.225 KB
-rw-r--r--
posix_acl_xattr.h
1.089 KB
-rw-r--r--
posix_types.h
1.072 KB
-rw-r--r--
ppdev.h
3.136 KB
-rw-r--r--
ppp-comp.h
2.468 KB
-rw-r--r--
ppp-ioctl.h
5.347 KB
-rw-r--r--
ppp_defs.h
4.987 KB
-rw-r--r--
pps.h
4.623 KB
-rw-r--r--
pr.h
1.048 KB
-rw-r--r--
prctl.h
7.835 KB
-rw-r--r--
psample.h
2.218 KB
-rw-r--r--
psci.h
4.227 KB
-rw-r--r--
psp-sev.h
4.479 KB
-rw-r--r--
ptp_clock.h
7.281 KB
-rw-r--r--
ptrace.h
3.588 KB
-rw-r--r--
qemu_fw_cfg.h
2.411 KB
-rw-r--r--
qnx4_fs.h
2.273 KB
-rw-r--r--
qnxtypes.h
0.609 KB
-rw-r--r--
qrtr.h
0.872 KB
-rw-r--r--
quota.h
6.144 KB
-rw-r--r--
radeonfb.h
0.352 KB
-rw-r--r--
random.h
1.338 KB
-rw-r--r--
raw.h
0.356 KB
-rw-r--r--
rds.h
9.083 KB
-rw-r--r--
reboot.h
1.312 KB
-rw-r--r--
reiserfs_fs.h
0.757 KB
-rw-r--r--
reiserfs_xattr.h
0.521 KB
-rw-r--r--
resource.h
2.292 KB
-rw-r--r--
rfkill.h
6.453 KB
-rw-r--r--
rio_cm_cdev.h
3.172 KB
-rw-r--r--
rio_mport_cdev.h
9.111 KB
-rw-r--r--
romfs_fs.h
1.209 KB
-rw-r--r--
rose.h
2.18 KB
-rw-r--r--
route.h
2.277 KB
-rw-r--r--
rpmsg.h
0.531 KB
-rw-r--r--
rseq.h
4.789 KB
-rw-r--r--
rtc.h
3.915 KB
-rw-r--r--
rtnetlink.h
19.728 KB
-rw-r--r--
rxrpc.h
4.961 KB
-rw-r--r--
scc.h
4.489 KB
-rw-r--r--
sched.h
2.731 KB
-rw-r--r--
scif_ioctl.h
6.232 KB
-rw-r--r--
screen_info.h
2.421 KB
-rw-r--r--
sctp.h
35.15 KB
-rw-r--r--
sdla.h
2.772 KB
-rw-r--r--
seccomp.h
2.204 KB
-rw-r--r--
securebits.h
2.641 KB
-rw-r--r--
sed-opal.h
3.198 KB
-rw-r--r--
seg6.h
1.143 KB
-rw-r--r--
seg6_genl.h
0.575 KB
-rw-r--r--
seg6_hmac.h
0.413 KB
-rw-r--r--
seg6_iptunnel.h
0.905 KB
-rw-r--r--
seg6_local.h
2.012 KB
-rw-r--r--
selinux_netlink.h
1.167 KB
-rw-r--r--
sem.h
2.972 KB
-rw-r--r--
serial.h
3.775 KB
-rw-r--r--
serial_core.h
6.099 KB
-rw-r--r--
serial_reg.h
15.133 KB
-rw-r--r--
serio.h
1.989 KB
-rw-r--r--
sev-guest.h
2.249 KB
-rw-r--r--
shm.h
3.696 KB
-rw-r--r--
signal.h
0.379 KB
-rw-r--r--
signalfd.h
1.204 KB
-rw-r--r--
smc.h
8.313 KB
-rw-r--r--
smc_diag.h
2.664 KB
-rw-r--r--
smiapp.h
1.033 KB
-rw-r--r--
snmp.h
13.343 KB
-rw-r--r--
sock_diag.h
1.271 KB
-rw-r--r--
socket.h
0.88 KB
-rw-r--r--
sockios.h
5.963 KB
-rw-r--r--
sonet.h
2.236 KB
-rw-r--r--
sonypi.h
5.185 KB
-rw-r--r--
sound.h
1.208 KB
-rw-r--r--
soundcard.h
44.959 KB
-rw-r--r--
stat.h
6.203 KB
-rw-r--r--
stddef.h
1.496 KB
-rw-r--r--
stm.h
1.245 KB
-rw-r--r--
string.h
0.232 KB
-rw-r--r--
suspend_ioctls.h
1.397 KB
-rw-r--r--
swab.h
6.759 KB
-rw-r--r--
switchtec_ioctl.h
5.139 KB
-rw-r--r--
sync_file.h
2.815 KB
-rw-r--r--
synclink.h
8.774 KB
-rw-r--r--
sysctl.h
25.236 KB
-rw-r--r--
sysinfo.h
1.024 KB
-rw-r--r--
target_core_user.h
4.524 KB
-rw-r--r--
taskstats.h
7.012 KB
-rw-r--r--
tcp.h
9.688 KB
-rw-r--r--
tcp_metrics.h
1.513 KB
-rw-r--r--
tdx-guest.h
1.274 KB
-rw-r--r--
tee.h
12.856 KB
-rw-r--r--
termios.h
0.494 KB
-rw-r--r--
thermal.h
3.231 KB
-rw-r--r--
time.h
1.707 KB
-rw-r--r--
time_types.h
1.147 KB
-rw-r--r--
timerfd.h
0.914 KB
-rw-r--r--
times.h
0.271 KB
-rw-r--r--
timex.h
6.253 KB
-rw-r--r--
tiocl.h
1.688 KB
-rw-r--r--
tipc.h
8.618 KB
-rw-r--r--
tipc_config.h
14.363 KB
-rw-r--r--
tipc_netlink.h
9.175 KB
-rw-r--r--
tipc_sockets_diag.h
0.457 KB
-rw-r--r--
tls.h
4.188 KB
-rw-r--r--
toshiba.h
1.885 KB
-rw-r--r--
tty.h
1.548 KB
-rw-r--r--
tty_flags.h
4.421 KB
-rw-r--r--
types.h
1.441 KB
-rw-r--r--
udf_fs_i.h
0.681 KB
-rw-r--r--
udp.h
1.622 KB
-rw-r--r--
uhid.h
4.539 KB
-rw-r--r--
uinput.h
9.044 KB
-rw-r--r--
uio.h
0.715 KB
-rw-r--r--
uleds.h
0.779 KB
-rw-r--r--
ultrasound.h
4.455 KB
-rw-r--r--
un.h
0.375 KB
-rw-r--r--
unistd.h
0.215 KB
-rw-r--r--
unix_diag.h
1.224 KB
-rw-r--r--
usbdevice_fs.h
8.122 KB
-rw-r--r--
usbip.h
0.625 KB
-rw-r--r--
userfaultfd.h
7.592 KB
-rw-r--r--
userio.h
1.48 KB
-rw-r--r--
utime.h
0.21 KB
-rw-r--r--
utsname.h
0.653 KB
-rw-r--r--
uuid.h
1.324 KB
-rw-r--r--
uvcvideo.h
2.573 KB
-rw-r--r--
v4l2-common.h
4.079 KB
-rw-r--r--
v4l2-controls.h
50.563 KB
-rw-r--r--
v4l2-dv-timings.h
30.822 KB
-rw-r--r--
v4l2-mediabus.h
4.981 KB
-rw-r--r--
v4l2-subdev.h
5.953 KB
-rw-r--r--
vbox_err.h
7.087 KB
-rw-r--r--
vbox_vmmdev_types.h
8.16 KB
-rw-r--r--
vboxguest.h
8.524 KB
-rw-r--r--
vdpa.h
1.388 KB
-rw-r--r--
version.h
0.42 KB
-rw-r--r--
veth.h
0.219 KB
-rw-r--r--
vfio.h
50.999 KB
-rw-r--r--
vfio_ccw.h
1.286 KB
-rw-r--r--
vfio_zdev.h
2.482 KB
-rw-r--r--
vhost.h
6.268 KB
-rw-r--r--
vhost_types.h
3.903 KB
-rw-r--r--
videodev2.h
88.614 KB
-rw-r--r--
virtio_9p.h
1.993 KB
-rw-r--r--
virtio_balloon.h
5.15 KB
-rw-r--r--
virtio_blk.h
6.638 KB
-rw-r--r--
virtio_bt.h
0.754 KB
-rw-r--r--
virtio_config.h
3.911 KB
-rw-r--r--
virtio_console.h
3.063 KB
-rw-r--r--
virtio_crypto.h
13.549 KB
-rw-r--r--
virtio_fs.h
0.559 KB
-rw-r--r--
virtio_gpu.h
11.186 KB
-rw-r--r--
virtio_ids.h
3.192 KB
-rw-r--r--
virtio_input.h
2.447 KB
-rw-r--r--
virtio_iommu.h
3.694 KB
-rw-r--r--
virtio_mem.h
6.989 KB
-rw-r--r--
virtio_mmio.h
4.853 KB
-rw-r--r--
virtio_net.h
10.302 KB
-rw-r--r--
virtio_pci.h
7.232 KB
-rw-r--r--
virtio_ring.h
7.321 KB
-rw-r--r--
virtio_rng.h
0.259 KB
-rw-r--r--
virtio_scsi.h
5.894 KB
-rw-r--r--
virtio_snd.h
9.086 KB
-rw-r--r--
virtio_types.h
2.103 KB
-rw-r--r--
virtio_vsock.h
3.014 KB
-rw-r--r--
vm_sockets.h
6.342 KB
-rw-r--r--
vm_sockets_diag.h
0.94 KB
-rw-r--r--
vmcore.h
0.421 KB
-rw-r--r--
vsockmon.h
1.841 KB
-rw-r--r--
vt.h
2.987 KB
-rw-r--r--
vtpm_proxy.h
1.679 KB
-rw-r--r--
wait.h
0.666 KB
-rw-r--r--
wanrouter.h
0.442 KB
-rw-r--r--
watchdog.h
2.28 KB
-rw-r--r--
wimax.h
8.175 KB
-rw-r--r--
wireless.h
41.702 KB
-rw-r--r--
wmi.h
1.842 KB
-rw-r--r--
x25.h
3.479 KB
-rw-r--r--
xattr.h
2.793 KB
-rw-r--r--
xdp_diag.h
1.434 KB
-rw-r--r--
xfrm.h
11.713 KB
-rw-r--r--
xilinx-v4l2-controls.h
2.906 KB
-rw-r--r--
zorro.h
3.219 KB
-rw-r--r--
zorro_ids.h
29.261 KB
-rw-r--r--