android_kernel_sony_sdm845/include/uapi/linux
Repository files (latest commit first)
Filename Latest commit message Latest commit date
David Howells b60ce30f27 statx: Add a system call to make enhanced file info available
Add a system call to make extended file information available, including
file creation and some attribute flags where available through the
underlying filesystem.

The getattr inode operation is altered to take two additional arguments: a
u32 request_mask and an unsigned int flags that indicate the
synchronisation mode.  This change is propagated to the vfs_getattr*()
function.

Functions like vfs_stat() are now inline wrappers around new functions
vfs_statx() and vfs_statx_fd() to reduce stack usage.

========
OVERVIEW
========

The idea was initially proposed as a set of xattrs that could be retrieved
with getxattr(), but the general preference proved to be for a new syscall
with an extended stat structure.

A number of requests were gathered for features to be included.  The
following have been included:

 (1) Make the fields a consistent size on all arches and make them large.

 (2) Spare space, request flags and information flags are provided for
     future expansion.

 (3) Better support for the y2038 problem [Arnd Bergmann] (tv_sec is an
     __s64).

 (4) Creation time: The SMB protocol carries the creation time, which could
     be exported by Samba, which will in turn help CIFS make use of
     FS-Cache as that can be used for coherency data (stx_btime).

     This is also specified in NFSv4 as a recommended attribute and could
     be exported by NFSD [Steve French].

 (5) Lightweight stat: Ask for just those details of interest, and allow a
     netfs (such as NFS) to approximate anything not of interest, possibly
     without going to the server [Trond Myklebust, Ulrich Drepper, Andreas
     Dilger] (AT_STATX_DONT_SYNC).

 (6) Heavyweight stat: Force a netfs to go to the server, even if it thinks
     its cached attributes are up to date [Trond Myklebust]
     (AT_STATX_FORCE_SYNC).

And the following have been left out for future extension:

 (7) Data version number: Could be used by userspace NFS servers [Aneesh
     Kumar].

     Can also be used to modify fill_post_wcc() in NFSD which retrieves
     i_version directly, but has just called vfs_getattr().  It could get
     it from the kstat struct if it used vfs_xgetattr() instead.

     (There's disagreement on the exact semantics of a single field, since
     not all filesystems do this the same way).

 (8) BSD stat compatibility: Including more fields from the BSD stat such
     as creation time (st_btime) and inode generation number (st_gen)
     [Jeremy Allison, Bernd Schubert].

 (9) Inode generation number: Useful for FUSE and userspace NFS servers
     [Bernd Schubert].

     (This was asked for but later deemed unnecessary with the
     open-by-handle capability available and caused disagreement as to
     whether it's a security hole or not).

(10) Extra coherency data may be useful in making backups [Andreas Dilger].

     (No particular data were offered, but things like last backup
     timestamp, the data version number and the DOS archive bit would come
     into this category).

(11) Allow the filesystem to indicate what it can/cannot provide: A
     filesystem can now say it doesn't support a standard stat feature if
     that isn't available, so if, for instance, inode numbers or UIDs don't
     exist or are fabricated locally...

     (This requires a separate system call - I have an fsinfo() call idea
     for this).

(12) Store a 16-byte volume ID in the superblock that can be returned in
     struct xstat [Steve French].

     (Deferred to fsinfo).

(13) Include granularity fields in the time data to indicate the
     granularity of each of the times (NFSv4 time_delta) [Steve French].

     (Deferred to fsinfo).

(14) FS_IOC_GETFLAGS value.  These could be translated to BSD's st_flags.
     Note that the Linux IOC flags are a mess and filesystems such as Ext4
     define flags that aren't in linux/fs.h, so translation in the kernel
     may be a necessity (or, possibly, we provide the filesystem type too).

     (Some attributes are made available in stx_attributes, but the general
     feeling was that the IOC flags were to ext[234]-specific and shouldn't
     be exposed through statx this way).

(15) Mask of features available on file (eg: ACLs, seclabel) [Brad Boyer,
     Michael Kerrisk].

     (Deferred, probably to fsinfo.  Finding out if there's an ACL or
     seclabal might require extra filesystem operations).

(16) Femtosecond-resolution timestamps [Dave Chinner].

     (A __reserved field has been left in the statx_timestamp struct for
     this - if there proves to be a need).

(17) A set multiple attributes syscall to go with this.

===============
NEW SYSTEM CALL
===============

The new system call is:

	int ret = statx(int dfd,
			const char *filename,
			unsigned int flags,
			unsigned int mask,
			struct statx *buffer);

The dfd, filename and flags parameters indicate the file to query, in a
similar way to fstatat().  There is no equivalent of lstat() as that can be
emulated with statx() by passing AT_SYMLINK_NOFOLLOW in flags.  There is
also no equivalent of fstat() as that can be emulated by passing a NULL
filename to statx() with the fd of interest in dfd.

Whether or not statx() synchronises the attributes with the backing store
can be controlled by OR'ing a value into the flags argument (this typically
only affects network filesystems):

 (1) AT_STATX_SYNC_AS_STAT tells statx() to behave as stat() does in this
     respect.

 (2) AT_STATX_FORCE_SYNC will require a network filesystem to synchronise
     its attributes with the server - which might require data writeback to
     occur to get the timestamps correct.

 (3) AT_STATX_DONT_SYNC will suppress synchronisation with the server in a
     network filesystem.  The resulting values should be considered
     approximate.

mask is a bitmask indicating the fields in struct statx that are of
interest to the caller.  The user should set this to STATX_BASIC_STATS to
get the basic set returned by stat().  It should be noted that asking for
more information may entail extra I/O operations.

buffer points to the destination for the data.  This must be 256 bytes in
size.

======================
MAIN ATTRIBUTES RECORD
======================

The following structures are defined in which to return the main attribute
set:

	struct statx_timestamp {
		__s64	tv_sec;
		__s32	tv_nsec;
		__s32	__reserved;
	};

	struct statx {
		__u32	stx_mask;
		__u32	stx_blksize;
		__u64	stx_attributes;
		__u32	stx_nlink;
		__u32	stx_uid;
		__u32	stx_gid;
		__u16	stx_mode;
		__u16	__spare0[1];
		__u64	stx_ino;
		__u64	stx_size;
		__u64	stx_blocks;
		__u64	__spare1[1];
		struct statx_timestamp	stx_atime;
		struct statx_timestamp	stx_btime;
		struct statx_timestamp	stx_ctime;
		struct statx_timestamp	stx_mtime;
		__u32	stx_rdev_major;
		__u32	stx_rdev_minor;
		__u32	stx_dev_major;
		__u32	stx_dev_minor;
		__u64	__spare2[14];
	};

The defined bits in request_mask and stx_mask are:

	STATX_TYPE		Want/got stx_mode & S_IFMT
	STATX_MODE		Want/got stx_mode & ~S_IFMT
	STATX_NLINK		Want/got stx_nlink
	STATX_UID		Want/got stx_uid
	STATX_GID		Want/got stx_gid
	STATX_ATIME		Want/got stx_atime{,_ns}
	STATX_MTIME		Want/got stx_mtime{,_ns}
	STATX_CTIME		Want/got stx_ctime{,_ns}
	STATX_INO		Want/got stx_ino
	STATX_SIZE		Want/got stx_size
	STATX_BLOCKS		Want/got stx_blocks
	STATX_BASIC_STATS	[The stuff in the normal stat struct]
	STATX_BTIME		Want/got stx_btime{,_ns}
	STATX_ALL		[All currently available stuff]

stx_btime is the file creation time, stx_mask is a bitmask indicating the
data provided and __spares*[] are where as-yet undefined fields can be
placed.

Time fields are structures with separate seconds and nanoseconds fields
plus a reserved field in case we want to add even finer resolution.  Note
that times will be negative if before 1970; in such a case, the nanosecond
fields will also be negative if not zero.

The bits defined in the stx_attributes field convey information about a
file, how it is accessed, where it is and what it does.  The following
attributes map to FS_*_FL flags and are the same numerical value:

	STATX_ATTR_COMPRESSED		File is compressed by the fs
	STATX_ATTR_IMMUTABLE		File is marked immutable
	STATX_ATTR_APPEND		File is append-only
	STATX_ATTR_NODUMP		File is not to be dumped
	STATX_ATTR_ENCRYPTED		File requires key to decrypt in fs

Within the kernel, the supported flags are listed by:

	KSTAT_ATTR_FS_IOC_FLAGS

[Are any other IOC flags of sufficient general interest to be exposed
through this interface?]

New flags include:

	STATX_ATTR_AUTOMOUNT		Object is an automount trigger

These are for the use of GUI tools that might want to mark files specially,
depending on what they are.

Fields in struct statx come in a number of classes:

 (0) stx_dev_*, stx_blksize.

     These are local system information and are always available.

 (1) stx_mode, stx_nlinks, stx_uid, stx_gid, stx_[amc]time, stx_ino,
     stx_size, stx_blocks.

     These will be returned whether the caller asks for them or not.  The
     corresponding bits in stx_mask will be set to indicate whether they
     actually have valid values.

     If the caller didn't ask for them, then they may be approximated.  For
     example, NFS won't waste any time updating them from the server,
     unless as a byproduct of updating something requested.

     If the values don't actually exist for the underlying object (such as
     UID or GID on a DOS file), then the bit won't be set in the stx_mask,
     even if the caller asked for the value.  In such a case, the returned
     value will be a fabrication.

     Note that there are instances where the type might not be valid, for
     instance Windows reparse points.

 (2) stx_rdev_*.

     This will be set only if stx_mode indicates we're looking at a
     blockdev or a chardev, otherwise will be 0.

 (3) stx_btime.

     Similar to (1), except this will be set to 0 if it doesn't exist.

=======
TESTING
=======

The following test program can be used to test the statx system call:

	samples/statx/test-statx.c

Just compile and run, passing it paths to the files you want to examine.
The file is built automatically if CONFIG_SAMPLES is enabled.

Here's some example output.  Firstly, an NFS directory that crosses to
another FSID.  Note that the AUTOMOUNT attribute is set because transiting
this directory will cause d_automount to be invoked by the VFS.

	[root@andromeda ~]# /tmp/test-statx -A /warthog/data
	statx(/warthog/data) = 0
	results=7ff
	  Size: 4096            Blocks: 8          IO Block: 1048576  directory
	Device: 00:26           Inode: 1703937     Links: 125
	Access: (3777/drwxrwxrwx)  Uid:     0   Gid:  4041
	Access: 2016-11-24 09:02:12.219699527+0000
	Modify: 2016-11-17 10:44:36.225653653+0000
	Change: 2016-11-17 10:44:36.225653653+0000
	Attributes: 0000000000001000 (-------- -------- -------- -------- -------- -------- ---m---- --------)

Secondly, the result of automounting on that directory.

	[root@andromeda ~]# /tmp/test-statx /warthog/data
	statx(/warthog/data) = 0
	results=7ff
	  Size: 4096            Blocks: 8          IO Block: 1048576  directory
	Device: 00:27           Inode: 2           Links: 125
	Access: (3777/drwxrwxrwx)  Uid:     0   Gid:  4041
	Access: 2016-11-24 09:02:12.219699527+0000
	Modify: 2016-11-17 10:44:36.225653653+0000
	Change: 2016-11-17 10:44:36.225653653+0000

Change-Id: I345d9bd6cf1947ac3f4dcb3db761088c36028aeb
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
2025-07-10 14:15:39 -04:00
..
android UPSTREAM: binder: add flag to clear buffer on txn complete 2022-11-30 02:27:36 +02:00
byteorder uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
caif uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
can uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
cifs install several missing uapi headers 2020-08-21 11:01:49 +02:00
dvb Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-sdm845 2021-01-17 05:04:08 +02:00
genwqe install several missing uapi headers 2020-08-21 11:01:49 +02:00
hdlc uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
hsi uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
iio uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
isdn uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
mfd ASoC: wcd: add audio codec drivers for MSM targets 2017-01-27 11:28:43 -08:00
mmc Merge "Merge android-4.9.227(892702560) into msm-4.9" 2020-07-08 02:20:36 -07:00
netfilter Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-18.1-caf-sdm845 2021-04-26 01:27:02 +03:00
netfilter_arp uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
netfilter_bridge uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
netfilter_ipv4 uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
netfilter_ipv6 uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
nfc NFC: Add snapshot of NQxxx NFC driver 2017-05-26 15:05:08 +05:30
nfsd uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
raid uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
spi uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
sunrpc uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
tc_act uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
tc_ematch uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
usb Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-18.1-caf-sdm845 2021-04-26 01:27:02 +03:00
wimax uapi: export all headers under uapi directories 2020-04-09 15:39:35 +05:30
a.out.h
acct.h
adb.h
adfs_fs.h
affs_hardblocks.h
agpgart.h
aio_abi.h
am437x-vpfe.h
apm_bios.h
arcfb.h
atalk.h
atm.h
atm_eni.h
atm_he.h
atm_idt77105.h
atm_nicstar.h
atm_tcp.h
atm_zatm.h Revert "include/uapi/linux/atm_zatm.h: include linux/time.h" 2016-11-13 12:35:13 -05:00
atmapi.h
atmarp.h
atmbr2684.h
atmclip.h
atmdev.h
atmioc.h
atmlec.h
atmmpc.h
atmppp.h
atmsap.h
atmsvc.h
audit.h audit: fix undefined behavior in bit shift for AUDIT_BIT 2022-12-08 11:15:39 +01:00
auto_dev-ioctl.h autofs4: move linux/auto_dev-ioctl.h to uapi/linux 2016-10-11 15:06:31 -07:00
auto_fs.h autofs: move inclusion of linux/limits.h to uapi 2016-10-11 15:06:31 -07:00
auto_fs4.h
auxvec.h
ax25.h
b1lli.h
batman_adv.h batman-adv: add backbone table netlink support 2016-08-09 07:54:43 +02:00
batterydata-interface.h power: vm-bms: Add snapshot of qpnp-vm-bms driver 2018-05-02 17:19:36 +05:30
baycom.h
bcache.h uapi: includes linux/types.h before exporting files 2020-08-21 11:01:49 +02:00
bcm933xx_hcs.h
bfs_fs.h
bgcom_interface.h soc: qcom: bgdaemon: add uevent support for TWM BG 2020-03-16 20:57:55 -07:00
binfmts.h
blkpg.h
blktrace_api.h
bpf.h BACKPORT: bpf: multi program support for cgroup+bpf 2019-12-12 15:48:18 -08:00
bpf_common.h
bpf_perf_event.h bpf: introduce BPF_PROG_TYPE_PERF_EVENT program type 2016-09-02 10:46:44 -07:00
bpqether.h net: bpqether.h: remove if_ether.h guard 2016-11-13 00:57:53 -05:00
bsg.h
bt-bmc.h ipmi: add an Aspeed BT IPMI BMC driver 2016-09-29 19:05:06 -05:00
btrfs.h Btrfs: catch invalid free space trees 2016-10-03 18:52:14 +02:00
btrfs_tree.h uapi: includes linux/types.h before exporting files 2020-08-21 11:01:49 +02:00
can.h can: raw: raw_setsockopt: limit number of can_filter that can be set 2016-12-07 10:45:57 +01:00
capability.h capabilities: fix undefined behavior in bit shift for CAP_TO_MASK 2022-11-25 17:35:35 +01:00
capi.h
cciss_defs.h
cciss_ioctl.h
cdrom.h
cec-funcs.h cec: move cec headers to uapi directory 2020-06-22 14:15:29 +05:30
cec.h cec: move cec headers to uapi directory 2020-06-22 14:15:29 +05:30
cgroupstats.h
chio.h
cm4000_cs.h
cn_proc.h
coda.h
coda_psdev.h uapi linux/coda_psdev.h: move upc_req definition from uapi to kernel side headers 2019-08-06 18:29:38 +02:00
coff.h
connector.h
const.h uapi: move constants from <linux/kernel.h> to <linux/const.h> 2021-01-09 13:35:49 +01:00
coresight-stm.h Merge android-4.9.219(6ee8be4) into msm-4.9 2020-04-28 15:06:13 +08:00
cramfs_fs.h
cryptouser.h uapi: includes linux/types.h before exporting files 2020-08-21 11:01:49 +02:00
cuda.h
cyclades.h
cycx_cfm.h
dcbnl.h
dccp.h
devlink.h net/devlink: Add E-Switch mode control 2016-07-02 14:40:40 -04:00
dlm.h
dlm_device.h
dlm_netlink.h
dlm_plock.h
dlmconstants.h
dm-ioctl.h dm: add infrastructure for DAX support 2016-07-20 23:49:49 -04:00
dm-log-userspace.h
dma-buf.h
dn.h
dqblk_xfs.h
edd.h
efs_fs_sb.h
elf-em.h bpf, elf: add official ELF machine define for eBPF 2016-07-20 12:37:39 -07:00
elf-fdpic.h
elf.h powerpc updates for 4.8 #2 2016-08-05 09:00:54 -04:00
elfcore.h
errno.h
errqueue.h
esoc_ctrl.h esoc: Add provision to handle shutdown request in userspace 2017-10-27 16:39:16 -07:00
ethtool.h uapi: move constants from <linux/kernel.h> to <linux/const.h> 2021-01-09 13:35:49 +01:00
eventpoll.h eventpoll.h: fix epoll event masks 2018-03-22 09:17:38 +01:00
fadvise.h
falloc.h vfs: add a FALLOC_FL_UNSHARE mode to fallocate to unshare a range of blocks 2016-10-03 09:11:14 -07:00
fanotify.h
fb.h
fcntl.h statx: Add a system call to make enhanced file info available 2025-07-10 14:15:39 -04:00
fd.h
fdreg.h
fib_rules.h include: fib: Remove the deprecated UID fields 2017-09-06 15:09:16 -07:00
fiemap.h
filter.h
fips_status.h crypto: msm: Add QTI crypto drivers 2017-04-11 16:49:21 -07:00
firewire-cdev.h
firewire-constants.h
flat.h
fou.h
fs.h Merge android-4.9.149 (ed0b11d) into msm-4.9 2019-02-12 11:18:51 +08:00
fsl_hypervisor.h
fuse.h Merge android-4.9.181 (6ccab84) into msm-4.9 2019-08-07 15:58:44 +08:00
futex.h
gameport.h
gen_stats.h
genetlink.h
gfs2_ondisk.h
gigaset_dev.h
gpio.h
gsmmux.h
gtp.h
hash_info.h
hbtp_input.h input: misc: hbtp_input: support active blob flag 2018-02-28 14:42:44 -08:00
hdlc.h
hdlcdrv.h
hdreg.h
hid.h
hiddev.h
hidraw.h
hpet.h
hsr_netlink.h
hw_breakpoint.h UPSTREAM: hw_breakpoint: Allow watchpoint of length 3,5,6 and 7 2017-03-13 15:31:05 -07:00
hyperv.h
hysdn_if.h
i2c-dev.h
i2c.h
i2o-dev.h
i8k.h
icmp.h
icmpv6.h
if.h uapi glibc compat: fix outer guard of net device flags enum 2016-12-06 10:43:32 -05:00
if_addr.h
if_addrlabel.h
if_alg.h
if_arcnet.h
if_arp.h msm_rmnet: merge support for RAWIP msm_rmnet device 2016-11-01 13:52:41 -06:00
if_bonding.h
if_bridge.h net: bridge: export vlan flags with the stats 2016-08-18 23:18:42 -07:00
if_cablemodem.h
if_eql.h
if_ether.h Merge android-4.9.160 (fd5657a) into msm-4.9 2019-03-21 14:06:06 +08:00
if_fc.h
if_fddi.h
if_frad.h
if_hippi.h
if_infiniband.h
if_link.h BACKPORT: xfrm: Add virtual xfrm interfaces 2018-10-26 21:40:59 -07:00
if_ltalk.h
if_macsec.h macsec: limit ICV length to 16 octets 2016-07-25 10:55:39 -07:00
if_packet.h
if_phonet.h
if_plip.h
if_ppp.h
if_pppol2tp.h net: l2tp: deprecate PPPOL2TP_MSG_* in favour of L2TP_MSG_* 2020-05-27 16:41:53 +02:00
if_pppolac.h ANDROID: net: move PPPoLAC and PPPoPNS headers to uapi 2017-01-19 13:32:06 -08:00
if_pppopns.h ANDROID: net: move PPPoLAC and PPPoPNS headers to uapi 2017-01-19 13:32:06 -08:00
if_pppox.h ANDROID: net: add PPP on PPTP Network Server (PPPoPNS) driver. 2017-01-19 13:32:03 -08:00
if_slip.h
if_team.h
if_tun.h
if_tunnel.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2016-09-25 23:34:19 +02:00
if_vlan.h
if_x25.h
igmp.h
ila.h
in.h
in6.h
in_route.h
inet_diag.h tcp_bbr: add BBR congestion control 2016-09-21 00:23:01 -04:00
inotify.h
input-event-codes.h Merge remote-tracking branch 'common/android-4.9-q' into android12-4.9-sdm845 2022-03-31 22:52:51 +03:00
input.h UPSTREAM: HID: sony: Report DS4 motion sensors through a separate device 2018-10-24 17:03:59 -07:00
ioctl.h
ion.h ion: add snapshot of ion support for MSM 2016-11-03 12:43:03 -07:00
ip.h netfilter: nf_defrag_ipv4: Add sysctl to disable per interface 2018-01-10 19:42:37 -07:00
ip6_tunnel.h
ip_vs.h
ipa_qmi_service_v01.h msm: ipa: add support for HW stats to QMI 2018-05-04 16:09:13 +05:30
ipc.h
ipmi.h
ipmi_msgdefs.h
ipsec.h
ipv6.h net/ipv6/addrconf: IPv6 tethering enhancement 2018-03-15 11:36:45 -07:00
ipv6_route.h net: ipv6: RTF_PCPU should not be settable from userspace 2017-05-03 08:36:36 -07:00
ipx.h include/uapi/linux/ipx.h: fix conflicting defitions with glibc netipx/ipx.h 2016-08-22 16:25:15 -07:00
irda.h
irqnr.h
isdn.h
isdn_divertif.h
isdn_ppp.h
isdnif.h
iso_fs.h
ivtv.h
ivtvfb.h
ixjuser.h
jffs2.h
joystick.h
Kbuild install several missing uapi headers 2020-08-21 11:01:49 +02:00
kcm.h
kcmp.h
kcov.h UPSTREAM: kcov: support comparison operands collection 2017-12-18 15:21:35 -08:00
kd.h
kdev_t.h
kernel-page-flags.h
kernel.h uapi: move constants from <linux/kernel.h> to <linux/const.h> 2021-01-09 13:35:49 +01:00
kernelcapi.h
kexec.h
keyboard.h
keyctl.h
kfd_ioctl.h
kvm.h x86/kvm/hyper-v: Explicitly align hcall param for kvm_hyperv_exit 2020-06-20 10:24:14 +02:00
kvm_para.h
l2tp.h uapi: fix linux/if_pppol2tp.h userspace compilation errors 2020-06-03 08:16:33 +02:00
libc-compat.h uapi/if_ether.h: move __UAPI_DEF_ETHHDR libc define 2019-02-20 10:18:35 +01:00
lightnvm.h uapi: move constants from <linux/kernel.h> to <linux/const.h> 2021-01-09 13:35:49 +01:00
limits.h
lirc.h [media] lirc.h: remove several unused ioctls 2016-07-11 10:49:52 -03:00
llc.h
loop.h BACKPORT: loop: Add LOOP_CONFIGURE ioctl 2020-08-11 09:26:34 +02:00
lp.h
lwtunnel.h
magic.h ANDROID: sdcardfs: Change magic value 2017-01-31 10:47:24 -08:00
major.h
map_to_7segment.h
matroxfb.h
mdio.h
mdss_rotator.h uapi: Add display-related uapi headers for Android compilation 2017-03-23 13:55:19 -07:00
media-bus-format.h [media] media: Add 1X16 16-bit raw bayer media bus code definitions 2016-09-09 11:16:36 -03:00
media.h [media] v4l2-core: Add support for touch devices 2016-08-23 16:28:04 -03:00
mei.h
membarrier.h
memfd.h
mempolicy.h
meye.h
mhi.h msm: mhi_dev: Add cv2x HW channel support in MHI driver 2019-07-30 05:53:20 -07:00
mic_common.h
mic_ioctl.h
mii.h net: Add mask for Control register 10Mbps speed 2016-08-12 16:57:20 -07:00
minix_fs.h
mman.h
mmtimer.h
module.h
mpls.h
mpls_iptunnel.h
mqueue.h
mroute.h
mroute6.h uapi: move constants from <linux/kernel.h> to <linux/const.h> 2021-01-09 13:35:49 +01:00
msdos_fs.h block: Move SECTOR_SIZE and SECTOR_SHIFT definitions into <linux/blkdev.h> 2020-09-12 11:47:36 +02:00
msg.h
msm-core-interface.h drivers: soc: qcom: Snapshot of idle/sleep driver as of msm-4.4 2017-02-23 08:41:47 -07:00
msm_dsps.h uapi: Add missing header file msm_dsps.h. 2017-03-23 13:52:08 -07:00
msm_ion.h ion: add snapshot of ion support for MSM 2016-11-03 12:43:03 -07:00
msm_ipa.h msm: ipa3: Send pipe info based on tethering protocol 2020-04-02 23:57:00 +05:30
msm_ipc.h net: ipc_router: Add snapshot of IPC Router 2016-11-11 17:02:27 -08:00
msm_kgsl.h msm: kgsl: Log context type in case of GPU faults 2018-10-15 16:06:11 +05:30
msm_mdp.h msm: mdss: Allow resource update during secure UI 2020-03-05 05:50:00 +05:30
msm_mdp_ext.h msm: mdss: Add support to update backlight when display commit 2018-06-20 17:51:10 +05:30
msm_rmnet.h net: rmnet_data: Add snapshot of rmnet_data driver 2016-11-01 20:02:26 -06:00
msm_rotator.h uapi: Add display-related uapi headers for Android compilation 2017-03-23 13:55:19 -07:00
msm_vidc_dec.h include: Add snapshot of vidc encoder and decoder headers in msm-4.9 2018-05-22 20:34:11 -07:00
msm_vidc_enc.h include: Add snapshot of vidc encoder and decoder headers in msm-4.9 2018-05-22 20:34:11 -07:00
mtio.h
n_r3964.h
nbd.h
ncp.h
ncp_fs.h
ncp_mount.h
ncp_no.h
ndctl.h libnvdimm: fix SMART Health DSM payload definition 2016-08-15 11:07:21 -07:00
neighbour.h
net.h
net_dropmon.h
net_map.h net: rmnet_data: Add snapshot of rmnet_data driver 2016-11-01 20:02:26 -06:00
net_namespace.h
net_tstamp.h
netconf.h
netdevice.h
netfilter.h
netfilter_arp.h
netfilter_bridge.h
netfilter_decnet.h
netfilter_ipv4.h
netfilter_ipv6.h
netlink.h Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-sdm845 2021-01-17 05:04:08 +02:00
netlink_diag.h
netrom.h
nfc.h uapi: fix linux/nfc.h userspace compilation errors 2022-01-05 12:31:25 +01:00
nfs.h
nfs2.h
nfs3.h
nfs4.h nfs: add a new NFS4_OPEN_RESULT_MAY_NOTIFY_LOCK constant 2016-09-26 15:20:37 -04:00
nfs4_mount.h
nfs_fs.h
nfs_idmap.h
nfs_mount.h
nfsacl.h
nilfs2_api.h nilfs2: move ioctl interface and disk layout to uapi separately 2016-08-02 19:35:21 -04:00
nilfs2_ondisk.h nilfs2: do not use unexported cpu_to_le32()/le32_to_cpu() in uapi header 2019-07-21 09:06:04 +02:00
nl80211.h nl80211: add WPA3 definition for SAE authentication 2024-12-13 22:46:35 +01:00
nsfs.h nsfs: add ioctl to get a parent namespace 2016-09-22 19:59:41 -05:00
nubus.h
nvme_ioctl.h
nvram.h
okl4-link-shbuf.h drivers misc: add okl4-link-shbuf driver 2018-12-09 18:41:17 -08:00
omap3isp.h
omapfb.h
oom.h
openvswitch.h openvswitch: 802.1ad uapi changes. 2016-09-08 17:10:27 -07:00
packet_diag.h uapi: fix linux/packet_diag.h userspace compilation error 2017-03-22 12:43:34 +01:00
param.h
parport.h
patchkey.h
pci.h
pci_regs.h Merge remote-tracking branch 'common/android-4.9-q' into lineage-18.1-caf-sdm845 2021-12-27 02:07:39 +02:00
perf_event.h
personality.h
pfkeyv2.h
pg.h
phantom.h
phonet.h
pkt_cls.h net: cls_bpf: limit hardware offload by software-only flag 2016-09-21 19:50:02 -04:00
pkt_sched.h net_sched: Add flow control support to prio qdisc 2017-03-22 17:37:14 -06:00
pktcdvd.h
pmu.h
poll.h
posix_acl.h posix_acl: uapi header split 2016-09-27 21:52:00 -04:00
posix_acl_xattr.h posix_acl: uapi header split 2016-09-27 21:52:00 -04:00
posix_types.h
ppdev.h
ppp-comp.h
ppp-ioctl.h
ppp_defs.h
pps.h
pr.h uapi: includes linux/types.h before exporting files 2020-08-21 11:01:49 +02:00
prctl.h Merge android-4.9.176 (e0625b3) into msm-4.9 2019-06-13 14:31:04 +08:00
psci.h arm/arm64: KVM: Add PSCI_VERSION helper 2018-04-20 08:21:04 +02:00
ptp_clock.h
ptrace.h
qbg-profile.h include: uapi: Add QBG UAPI headers 2021-06-29 14:18:55 +05:30
qbg.h include: uapi: Add QBG UAPI headers 2021-06-29 14:18:55 +05:30
qbt1000.h qbt1000: Add support for fingerprint gestures 2018-02-14 20:40:01 +05:30
qcedev.h msm: crypto: Add support for map and unmap ioctls 2018-04-20 10:56:50 -07:00
qcota.h uapi: Add missing Secure System uapi header files for sdm845 2017-03-13 18:08:32 -07:00
qg-profile.h power: qpnp-qg: Add support for PMI632 v2.0 2018-06-18 11:37:25 +05:30
qg.h power: qpnp-qg: Add support for voltage-only mode of QG 2019-01-17 17:27:28 +05:30
qnx4_fs.h
qnxtypes.h
qrng.h uapi: Add missing Secure System uapi header files for sdm845 2017-03-13 18:08:32 -07:00
qrtr.h Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-sdm845 2021-01-17 05:04:08 +02:00
qseecom.h ice: msm: Encrypt only userdata 2018-06-01 14:39:35 +05:30
quota.h
radeonfb.h
random.h random: ignore GRND_RANDOM in getentropy(2) 2022-06-25 11:45:02 +02:00
raw.h
rds.h uapi: fix linux/rds.h userspace compilation errors 2017-11-21 09:23:28 +01:00
reboot.h
reiserfs_fs.h
reiserfs_xattr.h
resource.h
rfkill.h
rio_cm_cdev.h rapidio: add RapidIO channelized messaging driver 2016-08-02 19:35:31 -04:00
rio_mport_cdev.h
rmnet_data.h net: rmnet_data: Add support to configure custom device name 2017-03-22 12:26:21 -06:00
rmnet_ipa_fd_ioctl.h msm: ipa: Add support for per client lan statistics 2017-10-30 23:23:51 +05:30
romfs_fs.h
rose.h
route.h
rtc.h
rtnetlink.h UPSTREAM: net: core: add UID to flows, rules, and routes 2017-01-27 13:55:58 -08:00
scc.h
sched.h BACKPORT: clone: add CLONE_PIDFD 2019-09-03 13:44:48 -07:00
scif_ioctl.h
screen_info.h
sctp.h sctp: Export struct sctp_info to userspace 2016-08-08 12:51:58 -07:00
sdla.h
seccomp.h seccomp: Add filter flag to opt-out of SSB mitigation 2018-05-22 16:58:01 +02:00
securebits.h
seemp_api.h seemp: read hypervisor rooting detections 2017-07-12 10:12:23 -07:00
seemp_param_id.h seemp: read hypervisor rooting detections 2017-07-12 10:12:23 -07:00
selinux_netlink.h
sem.h
serial.h
serial_core.h serial: Add UART port for EUD 2016-09-01 16:17:11 -07:00
serial_reg.h serial: 8250: Define RX trigger levels for OxSemi 950 devices 2021-09-22 11:43:06 +02:00
serio.h [media] input: serio - add new protocol for the Pulse-Eight USB-CEC Adapter 2016-07-12 13:42:10 -03:00
shm.h
signal.h
signalfd.h
slatecom_interface.h uapi: Add UAPI headers for slatecom_interface driver 2021-09-09 15:16:49 +05:30
smcinvoke.h uapi: Add missing Secure System uapi header files for sdm845 2017-03-13 18:08:32 -07:00
smiapp.h
snmp.h tcp: tcp_fragment() should apply sane memory limits 2019-06-17 19:53:32 +02:00
sock_diag.h
socket.h
sockev.h net: Add snapshot of sockev module 2017-03-29 16:54:34 -07:00
sockios.h
sonet.h
sonypi.h
sound.h
soundcard.h
spcom.h spcom: move SPCOM_MAX_CHANNELS define to uapi/linux/spcom.h 2017-08-13 08:35:44 -07:00
stat.h statx: Add a system call to make enhanced file info available 2025-07-10 14:15:39 -04:00
stddef.h
stm.h
string.h
suspend_ioctls.h
swab.h include/uapi/linux/swab: Fix potentially missing __always_inline 2023-01-07 12:07:28 +01:00
sync_file.h dma-buf/sync_file: fix documentation error 2016-09-20 18:12:38 +05:30
synclink.h
sysctl.h Merge branch 'android-4.9-q' of https://android.googlesource.com/kernel/common into lineage-17.1-caf-sdm845 2021-01-17 05:04:08 +02:00
sysinfo.h
target_core_user.h
taskstats.h BACKPORT: delayacct: track delays from thrashing cache pages 2019-03-22 14:08:39 -07:00
tcp.h BACKPORT: net/tcp-fastopen: Add new API support 2017-11-13 15:18:49 +08:00
tcp_metrics.h
tee.h BACKPORT: tee: add register user memory 2018-02-21 15:40:42 +00:00
telephony.h
termios.h
thermal.h
time.h Revert "rtc: alarm: Add power-on alarm feature" 2017-11-01 01:19:42 -07:00
times.h
timex.h
tiocl.h
tipc.h tipc: introduce constants for tipc address validation 2016-07-26 14:26:42 -07:00
tipc_config.h tipc: Avoid copying bytes beyond the supplied data 2019-06-11 12:22:34 +02:00
tipc_netlink.h tipc: add the ability to get UDP options via netlink 2016-08-26 21:38:41 -07:00
toshiba.h
tty.h
tty_flags.h tty: actually undefine superseded ASYNC flags 2021-05-22 10:40:24 +02:00
types.h
udf_fs_i.h
udp.h
uhid.h
uinput.h
uio.h
ultrasound.h
un.h
unistd.h
unix_diag.h
usbdevice_fs.h
usbip.h
userfaultfd.h
userio.h
utime.h
utsname.h
uuid.h
uvcvideo.h
v4l2-common.h
v4l2-controls.h msm: vidc: Add support for setting dynamic QP range 2019-05-19 14:09:11 +05:30
v4l2-dv-timings.h [media] SDI: add flag for SDI formats and SMPTE 125M definition 2016-09-19 14:34:41 -03:00
v4l2-mediabus.h
v4l2-subdev.h
veth.h
vfio.h
vhost.h vhost: new device IOTLB API 2016-08-02 16:53:54 +03:00
videodev2.h Merge remote-tracking branch 'common/android-4.9-q' into android13-4.9-sdm845 2022-11-09 19:25:28 +02:00
virtio_9p.h
virtio_balloon.h
virtio_blk.h
virtio_config.h virtio: new feature to detect IOMMU device quirk 2016-08-01 21:44:52 +03:00
virtio_console.h
virtio_gpu.h
virtio_ids.h VSOCK: Introduce virtio_vsock_common.ko 2016-08-02 02:57:29 +03:00
virtio_input.h
virtio_net.h
virtio_pci.h
virtio_ring.h
virtio_rng.h
virtio_scsi.h
virtio_types.h
virtio_vsock.h virtio-vsock: fix include guard typo 2016-08-09 13:42:38 +03:00
vm_bms.h power: vm-bms: Add snapshot of qpnp-vm-bms driver 2018-05-02 17:19:36 +05:30
vm_sockets.h
vt.h
vtpm_proxy.h
wait.h
wanrouter.h
watchdog.h
wil6210_uapi.h
wimax.h
wireguard.h UPSTREAM: wireguard: global: fix spelling mistakes in comments 2021-03-23 02:09:21 +02:00
wireless.h
x25.h
xattr.h
xfrm.h BACKPORT: xfrm: Add a new lookup key to match xfrm interfaces. 2018-10-26 21:39:51 -07:00
xilinx-v4l2-controls.h
zorro.h
zorro_ids.h