| /kernel/linux/linux-5.10/fs/btrfs/ |
| H A D | ctree.h | 743 * all fs/file tree roots in which there are data=ordered extents 753 /* all fs/file tree roots that have delalloc inodes. */ 1208 * all the extents in a file range. 1216 /* Pointer to a file extent item of type regular or prealloc. */ 1219 * Set to true when attempting to replace a file range with a new extent 1221 * existing extent into a file range. 2379 * size of any extent headers. If a file is compressed on disk, this is 2944 /* file-item.c */ 3031 int btrfs_readpage(struct file *file, struc 3286 assertfail(const char *expr, const char *file, int line) assertfail() argument 3296 assertfail(const char *expr, const char* file, int line) assertfail() argument [all...] |
| /kernel/linux/linux-5.10/fs/ocfs2/ |
| H A D | dlmglue.c | 34 #include "file.h" 1872 * The file system may already holding a PRMODE/EXMODE open lock. in ocfs2_try_open_lock() 1974 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument 1979 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_lock() 1981 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_lock() 2070 void ocfs2_file_unlock(struct file *file) in ocfs2_file_unlock() argument 2075 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_unlock() 2077 struct ocfs2_super *osb = OCFS2_SB(file in ocfs2_file_unlock() 3257 ocfs2_dlm_debug_release(struct inode *inode, struct file *file) ocfs2_dlm_debug_release() argument 3268 ocfs2_dlm_debug_open(struct inode *inode, struct file *file) ocfs2_dlm_debug_open() argument [all...] |
| H A D | move_extents.c | 37 struct file *file; member 976 int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp) in ocfs2_ioctl_move_extents() 1009 context->file = filp; in ocfs2_ioctl_move_extents()
|
| /kernel/linux/linux-6.6/fs/ocfs2/ |
| H A D | dlmglue.c | 33 #include "file.h" 1871 * The file system may already holding a PRMODE/EXMODE open lock. in ocfs2_try_open_lock() 1973 int ocfs2_file_lock(struct file *file, int ex, int trylock) in ocfs2_file_lock() argument 1978 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_lock() 1980 struct ocfs2_super *osb = OCFS2_SB(file->f_mapping->host->i_sb); in ocfs2_file_lock() 2069 void ocfs2_file_unlock(struct file *file) in ocfs2_file_unlock() argument 2074 struct ocfs2_file_private *fp = file->private_data; in ocfs2_file_unlock() 2076 struct ocfs2_super *osb = OCFS2_SB(file in ocfs2_file_unlock() 3267 ocfs2_dlm_debug_release(struct inode *inode, struct file *file) ocfs2_dlm_debug_release() argument 3278 ocfs2_dlm_debug_open(struct inode *inode, struct file *file) ocfs2_dlm_debug_open() argument [all...] |
| H A D | move_extents.c | 35 struct file *file; member 974 int ocfs2_ioctl_move_extents(struct file *filp, void __user *argp) in ocfs2_ioctl_move_extents() 1007 context->file = filp; in ocfs2_ioctl_move_extents()
|
| /kernel/linux/linux-5.10/net/unix/ |
| H A D | af_unix.c | 16 * file descriptor passing hacked up from 115 #include <linux/file.h> 670 static __poll_t unix_poll(struct file *, struct socket *, poll_table *); 671 static __poll_t unix_dgram_poll(struct file *, struct socket *, 1554 * protected by unix_gc_lock, total_refs (file count) is not, hence this in unix_peek_fds() 1558 * file descriptor while the garbage collection is in progress. in unix_peek_fds() 1563 * Any operations that changes the file count through file descriptors in unix_peek_fds() 1574 * done between incrementing the file count and installing the file int in unix_peek_fds() 2713 unix_poll(struct file *file, struct socket *sock, poll_table *wait) unix_poll() argument 2750 unix_dgram_poll(struct file *file, struct socket *sock, poll_table *wait) unix_dgram_poll() argument [all...] |
| /kernel/linux/linux-5.10/drivers/message/fusion/ |
| H A D | mptctl.c | 121 static long compat_mpctl_ioctl(struct file *f, unsigned cmd, unsigned long arg); 600 mptctl_fasync(int fd, struct file *filep, int mode) in mptctl_fasync() 621 __mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in __mptctl_ioctl() argument 627 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() 699 mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in mptctl_ioctl() argument 703 ret = __mptctl_ioctl(file, cmd, arg); in mptctl_ioctl() 2711 compat_mptfwxfer_ioctl(struct file *filp, unsigned int cmd, in compat_mptfwxfer_ioctl() 2751 compat_mpt_command(struct file *fil [all...] |
| /kernel/linux/linux-6.6/drivers/message/fusion/ |
| H A D | mptctl.c | 121 static long compat_mpctl_ioctl(struct file *f, unsigned cmd, unsigned long arg); 598 mptctl_fasync(int fd, struct file *filep, int mode) in mptctl_fasync() 619 __mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in __mptctl_ioctl() argument 624 int nonblock = (file->f_flags & O_NONBLOCK); in __mptctl_ioctl() 695 mptctl_ioctl(struct file *file, unsigned int cmd, unsigned long arg) in mptctl_ioctl() argument 699 ret = __mptctl_ioctl(file, cmd, arg); in mptctl_ioctl() 2714 compat_mptfwxfer_ioctl(struct file *filp, unsigned int cmd, in compat_mptfwxfer_ioctl() 2754 compat_mpt_command(struct file *fil [all...] |
| /kernel/linux/linux-6.6/fs/nfsd/ |
| H A D | nfs4xdr.c | 36 #include <linux/file.h> 3549 * as opposed to the cross-mounted file system. In such a case, in nfsd4_encode_dirent_fattr() 4057 struct file *file, unsigned long maxcount) in nfsd4_encode_splice_read() 4073 file, read->rd_offset, &maxcount, in nfsd4_encode_splice_read() 4113 struct file *file, unsigned long maxcount) in nfsd4_encode_readv() 4124 nfserr = nfsd_iter_read(resp->rqstp, read->rd_fhp, file, in nfsd4_encode_readv() 4147 struct file *file; in nfsd4_encode_read() local 4054 nfsd4_encode_splice_read( struct nfsd4_compoundres *resp, struct nfsd4_read *read, struct file *file, unsigned long maxcount) nfsd4_encode_splice_read() argument 4111 nfsd4_encode_readv(struct nfsd4_compoundres *resp, struct nfsd4_read *read, struct file *file, unsigned long maxcount) nfsd4_encode_readv() argument 4903 struct file *file = read->rd_nf->nf_file; nfsd4_encode_read_plus_data() local 4939 struct file *file = read->rd_nf->nf_file; nfsd4_encode_read_plus() local [all...] |
| /kernel/linux/linux-5.10/drivers/crypto/ccp/ |
| H A D | sev-dev.c | 558 dev_dbg(dev, "No SEV firmware file present\n"); in sev_update_firmware() 844 static long sev_ioctl(struct file *file, unsigned int ioctl, unsigned long arg) in sev_ioctl() argument 849 bool writable = file->f_mode & FMODE_WRITE; in sev_ioctl() 1071 int sev_issue_cmd_external_user(struct file *filep, unsigned int cmd, in sev_issue_cmd_external_user()
|
| /kernel/linux/linux-5.10/drivers/fpga/ |
| H A D | dfl-afu-main.c | 583 static int afu_open(struct inode *inode, struct file *filp) in afu_open() 605 static int afu_release(struct inode *inode, struct file *filp) in afu_release() 744 static long afu_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in afu_ioctl() 792 static int afu_mmap(struct file *filp, struct vm_area_struct *vma) in afu_mmap()
|
| /kernel/linux/linux-5.10/tools/testing/selftests/cgroup/ |
| H A D | test_memcontrol.c | 124 long current, file; in alloc_pagecache_50M_check() local 138 file = cg_read_key_long(cgroup, "memory.stat", "file "); in alloc_pagecache_50M_check() 139 if (file < 0) in alloc_pagecache_50M_check() 142 if (!values_close(file, current, 10)) in alloc_pagecache_50M_check()
|
| /kernel/linux/linux-5.10/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 2 * This file is provided under a GPLv2 license. When using or 3 * redistributing this file, you may do so under that license. 22 * the file called "COPYING". 47 * binary sysfs-file in the device directory: 52 * data of device CSRs. This driver exposes debugf-file to perform simple IO 54 * next file is created in the specific debugfs-directory: 59 * So reading the content of the file gives current CSR address and it value. 61 * it can just write a proper value to the sysfs-file: 117 * @ee_file: EEPROM read/write sysfs-file 873 * @filep: Pointer to the file syste [all...] |
| /kernel/linux/linux-5.10/drivers/media/mc/ |
| H A D | mc-device.c | 48 static int media_device_open(struct file *filp) in media_device_open() 53 static int media_device_close(struct file *filp) in media_device_close() 438 static long media_device_ioctl(struct file *filp, unsigned int cmd, in media_device_ioctl() 522 static long media_device_compat_ioctl(struct file *filp, unsigned int cmd, in media_device_compat_ioctl()
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | l2t.c | 2 * This file is part of the Chelsio T4 Ethernet driver for Linux. 8 * General Public License (GPL) Version 2, available from the file 743 static int l2t_seq_open(struct inode *inode, struct file *file) in l2t_seq_open() argument 745 int rc = seq_open(file, &l2t_seq_ops); in l2t_seq_open() 749 struct seq_file *seq = file->private_data; in l2t_seq_open()
|
| /kernel/linux/linux-5.10/drivers/tty/hvc/ |
| H A D | hvcs.c | 314 static int hvcs_open(struct tty_struct *tty, struct file *filp); 315 static void hvcs_close(struct tty_struct *tty, struct file *filp); 1161 static int hvcs_open(struct tty_struct *tty, struct file *filp) in hvcs_open() 1179 static void hvcs_close(struct tty_struct *tty, struct file *filp) in hvcs_close() 1186 * Is someone trying to close the file associated with this device after in hvcs_close() 1562 pr_warn("HVCS: Failed to create rescan file (err %d)\n", rc); in hvcs_module_init()
|
| /kernel/linux/linux-5.10/net/sched/ |
| H A D | cls_flow.c | 206 if (sk && sk->sk_socket && sk->sk_socket->file) { in flow_get_skuid() 207 kuid_t skuid = sk->sk_socket->file->f_cred->fsuid; in flow_get_skuid() 218 if (sk && sk->sk_socket && sk->sk_socket->file) { in flow_get_skgid() 219 kgid_t skgid = sk->sk_socket->file->f_cred->fsgid; in flow_get_skgid()
|
| /kernel/linux/linux-5.10/net/rds/ |
| H A D | af_rds.c | 6 * General Public License (GPL) Version 2, available from the file 212 static __poll_t rds_poll(struct file *file, struct socket *sock, in rds_poll() argument 220 poll_wait(file, sk_sleep(sk), wait); in rds_poll() 223 poll_wait(file, &rds_poll_waitq, wait); in rds_poll()
|
| /kernel/linux/linux-5.10/fs/cifs/ |
| H A D | cifsproto.h | 182 struct file *file, 512 __u32 filter, struct file *file, int multishot,
|
| /kernel/linux/linux-5.10/drivers/staging/axis-fifo/ |
| H A D | axis-fifo.c | 139 unsigned int write_flags; /* write file flags */ 140 unsigned int read_flags; /* read file flags */ 341 * @f Open file. 354 static ssize_t axis_fifo_read(struct file *f, char __user *buf, in axis_fifo_read() 463 * @f Open file. 476 static ssize_t axis_fifo_write(struct file *f, const char __user *buf, in axis_fifo_write() 685 static int axis_fifo_open(struct inode *inod, struct file *f) in axis_fifo_open() 714 static int axis_fifo_close(struct inode *inod, struct file *f) in axis_fifo_close() 915 /* create driver file */ in axis_fifo_probe() 920 "couldn't create driver file\ in axis_fifo_probe() [all...] |
| /kernel/linux/linux-5.10/fs/minix/ |
| H A D | inode.c | 284 printk("MINIX-fs: file system does not have enough " in minix_fill_super() 293 printk("MINIX-fs: file system does not have enough " in minix_fill_super() 319 printk("MINIX-fs: mounting unchecked file system, " in minix_fill_super() 322 printk("MINIX-fs: mounting file system with errors, " in minix_fill_super() 405 static int minix_readpage(struct file *file, struct page *page) in minix_readpage() argument 425 static int minix_write_begin(struct file *file, struct address_space *mapping, in minix_write_begin() argument 672 * The function that is called for file truncation.
|
| /kernel/linux/linux-6.6/drivers/misc/eeprom/ |
| H A D | idt_89hpesx.c | 16 * binary sysfs-file in the device directory: 21 * data of device CSRs. This driver exposes debugf-file to perform simple IO 23 * next file is created in the specific debugfs-directory: 28 * So reading the content of the file gives current CSR address and it value. 30 * it can just write a proper value to the sysfs-file: 86 * @ee_file: EEPROM read/write sysfs-file 842 * @filep: Pointer to the file system node 844 * @attr: Attributes of the file 849 static ssize_t eeprom_write(struct file *filp, struct kobject *kobj, in eeprom_write() 866 * @filep: Pointer to the file syste [all...] |
| /kernel/linux/linux-6.6/fs/minix/ |
| H A D | inode.c | 284 printk("MINIX-fs: file system does not have enough " in minix_fill_super() 293 printk("MINIX-fs: file system does not have enough " in minix_fill_super() 319 printk("MINIX-fs: mounting unchecked file system, " in minix_fill_super() 322 printk("MINIX-fs: mounting file system with errors, " in minix_fill_super() 405 static int minix_read_folio(struct file *file, struct folio *folio) in minix_read_folio() argument 425 static int minix_write_begin(struct file *file, struct address_space *mapping, in minix_write_begin() argument 669 * The function that is called for file truncation.
|
| /kernel/linux/linux-6.6/drivers/base/ |
| H A D | node.c | 29 static inline ssize_t cpumap_read(struct file *file, struct kobject *kobj, in cpumap_read() argument 50 static inline ssize_t cpulist_read(struct file *file, struct kobject *kobj, in cpulist_read() argument 394 "Node %d Active(file): %8lu kB\n" in node_read_meminfo() 395 "Node %d Inactive(file): %8lu kB\n" in node_read_meminfo()
|
| /kernel/linux/linux-6.6/drivers/fpga/ |
| H A D | dfl-afu-main.c | 596 static int afu_open(struct inode *inode, struct file *filp) in afu_open() 618 static int afu_release(struct inode *inode, struct file *filp) in afu_release() 757 static long afu_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in afu_ioctl() 805 static int afu_mmap(struct file *filp, struct vm_area_struct *vma) in afu_mmap()
|