| /kernel/linux/linux-6.6/arch/x86/boot/ |
| H A D | genimage.sh | 3 # This file is subject to the terms and conditions of the GNU General Public 4 # License. See the file "COPYING" in the main directory of this archive 16 # $2 - target image file 17 # $3 - kernel bzImage file 18 # $4 - mtools configuration file 20 # $6+ - initrd image file(s) 48 # Verify the existence and readability of a file 51 die "Missing file: $1" 84 # Read a $3-byte littleendian unsigned value at offset $2 from file $1 96 # boot file nam [all...] |
| /kernel/linux/linux-5.10/drivers/input/serio/ |
| H A D | serport.c | 159 static ssize_t serport_ldisc_read(struct tty_struct * tty, struct file * file, in serport_ldisc_read() argument 209 static int serport_ldisc_ioctl(struct tty_struct *tty, struct file *file, in serport_ldisc_ioctl() argument 228 struct file *file, in serport_ldisc_compat_ioctl() 227 serport_ldisc_compat_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) serport_ldisc_compat_ioctl() argument
|
| /kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
| H A D | debug_sta.c | 23 static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf, in read_file_node_aggr() argument 26 struct ath_node *an = file->private_data; in read_file_node_aggr() 168 static ssize_t read_file_node_recv(struct file *file, char __user *user_buf, in read_file_node_recv() argument 171 struct ath_node *an = file->private_data; in read_file_node_recv()
|
| /kernel/linux/linux-5.10/include/media/drv-intf/ |
| H A D | saa7146_vv.h | 110 struct file *vbi_read_timeout_file; 175 int(*open)(struct saa7146_dev *, struct file *); 176 void (*release)(struct saa7146_dev *, struct file *); 178 ssize_t (*read)(struct file *, char __user *, size_t, loff_t *); 209 long saa7146_video_do_ioctl(struct file *file, unsigned int cmd, void *arg);
|
| /kernel/linux/linux-5.10/security/integrity/evm/ |
| H A D | evm_secfs.c | 32 * @filp: file pointer, not actually used 39 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key() 56 * @file: file pointer, not actually used 66 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key() argument 120 * @filp: file pointer, not actually used 127 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs() 166 * @file: file pointe 173 evm_write_xattrs(struct file *file, const char __user *buf, size_t count, loff_t *ppos) evm_write_xattrs() argument [all...] |
| /kernel/linux/linux-5.10/fs/afs/ |
| H A D | mntpt.c | 23 static int afs_mntpt_open(struct inode *inode, struct file *file); 62 static int afs_mntpt_open(struct inode *inode, struct file *file) in afs_mntpt_open() argument 64 _enter("%p,%p{%pD2}", inode, file, file); in afs_mntpt_open()
|
| /kernel/linux/linux-5.10/include/sound/ |
| H A D | opl3.h | 352 int snd_opl3_open(struct snd_hwdep * hw, struct file *file); 353 int snd_opl3_ioctl(struct snd_hwdep * hw, struct file *file, 355 int snd_opl3_release(struct snd_hwdep * hw, struct file *file);
|
| /kernel/linux/linux-5.10/mm/ |
| H A D | reclaimacct_show.c | 140 static int reclaimacct_proc_open(struct inode *inode, struct file *file) in reclaimacct_proc_open() argument 142 return single_open(file, reclaimacct_proc_show, NULL); in reclaimacct_proc_open() 216 static int reclaim_efficiency_proc_open(struct inode *inode, struct file *file) in reclaim_efficiency_proc_open() argument 218 return single_open(file, reclaim_efficiency_proc_show, NULL); in reclaim_efficiency_proc_open()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/ |
| H A D | nouveau_debugfs.c | 141 nouveau_debugfs_pstate_set(struct file *file, const char __user *ubuf, in nouveau_debugfs_pstate_set() argument 144 struct seq_file *m = file->private_data; in nouveau_debugfs_pstate_set() 200 nouveau_debugfs_pstate_open(struct inode *inode, struct file *file) in nouveau_debugfs_pstate_open() argument 202 return single_open(file, nouveau_debugfs_pstate_get, inode->i_private); in nouveau_debugfs_pstate_open() 245 * userspace if it wants to seek() but the file has a length of 0 in nouveau_drm_debugfs_init()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/vkms/ |
| H A D | vkms_gem.c | 101 struct drm_file *file, in vkms_gem_create() 108 if (!file || !dev || !handle) in vkms_gem_create() 115 ret = drm_gem_handle_create(file, &obj->gem, handle); in vkms_gem_create() 122 int vkms_dumb_create(struct drm_file *file, struct drm_device *dev, in vkms_dumb_create() argument 128 if (!args || !dev || !file) in vkms_dumb_create() 137 gem_obj = vkms_gem_create(dev, file, &args->handle, size); in vkms_dumb_create() 100 vkms_gem_create(struct drm_device *dev, struct drm_file *file, u32 *handle, u64 size) vkms_gem_create() argument
|
| /kernel/linux/linux-5.10/drivers/gpu/host1x/ |
| H A D | debug.c | 141 static int host1x_debug_open_all(struct inode *inode, struct file *file) in host1x_debug_open_all() argument 143 return single_open(file, host1x_debug_show_all, inode->i_private); in host1x_debug_open_all() 153 static int host1x_debug_open(struct inode *inode, struct file *file) in host1x_debug_open() argument 155 return single_open(file, host1x_debug_show, inode->i_private); in host1x_debug_open()
|
| /kernel/linux/linux-5.10/drivers/media/test-drivers/vivid/ |
| H A D | vivid-meta-cap.c | 132 int vidioc_enum_fmt_meta_cap(struct file *file, void *priv, in vidioc_enum_fmt_meta_cap() argument 135 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_cap() 148 int vidioc_g_fmt_meta_cap(struct file *file, void *priv, in vidioc_g_fmt_meta_cap() argument 151 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_cap()
|
| /kernel/linux/linux-5.10/drivers/pnp/pnpbios/ |
| H A D | proc.c | 13 * The .../escd file is utilized by the lsescd utility written by 16 * The .../legacy_device_resources file is not used yet. 174 static int pnpbios_proc_open(struct inode *inode, struct file *file) in pnpbios_proc_open() argument 176 return single_open(file, pnpbios_proc_show, PDE_DATA(inode)); in pnpbios_proc_open() 179 static ssize_t pnpbios_proc_write(struct file *file, const char __user *buf, in pnpbios_proc_write() argument 182 void *data = PDE_DATA(file_inode(file)); in pnpbios_proc_write()
|
| /kernel/linux/linux-5.10/drivers/staging/blackbox/ |
| H A D | blackbox_common.c | 46 struct file *filp = NULL; in full_write_file() 207 struct file *file_open(const char *filename, int open_mode, int mode) in file_open() 209 struct file *filp = NULL; in file_open() 221 void file_close(struct file *filp) in file_close() 227 int file_delete(struct file *filp) in file_delete() 234 bbox_print_err("file is NULL!\n"); in file_delete() 252 char *getfullpath(struct file *filp) in getfullpath()
|
| /kernel/linux/linux-6.6/drivers/media/test-drivers/vivid/ |
| H A D | vivid-meta-cap.c | 132 int vidioc_enum_fmt_meta_cap(struct file *file, void *priv, in vidioc_enum_fmt_meta_cap() argument 135 struct vivid_dev *dev = video_drvdata(file); in vidioc_enum_fmt_meta_cap() 148 int vidioc_g_fmt_meta_cap(struct file *file, void *priv, in vidioc_g_fmt_meta_cap() argument 151 struct vivid_dev *dev = video_drvdata(file); in vidioc_g_fmt_meta_cap()
|
| /kernel/linux/linux-6.6/include/linux/ |
| H A D | netfs.h | 131 loff_t remote_i_size; /* Size of the remote file */ 179 struct inode *inode; /* The file being accessed */ 191 loff_t i_size; /* Size of the file */ 209 int (*init_request)(struct netfs_io_request *rreq, struct file *file); 217 int (*check_write_begin)(struct file *file, loff_t pos, unsigned len, 289 int netfs_read_folio(struct file *, struct folio *); 290 int netfs_write_begin(struct netfs_inode *, struct file *, 335 * netfs_resize_file - Note that a file go [all...] |
| /kernel/linux/linux-6.6/drivers/staging/blackbox/ |
| H A D | blackbox_common.c | 53 struct file *filp = NULL; in full_write_file() 228 struct file *file_open(const char *filename, int open_mode, int mode) in file_open() 230 struct file *filp = NULL; in file_open() 248 void file_close(struct file *filp) in file_close() 254 int file_delete(struct file *filp) in file_delete() 261 bbox_print_err("file is NULL!\n"); in file_delete() 283 char *getfullpath(struct file *filp) in getfullpath()
|
| /kernel/linux/linux-6.6/drivers/pnp/pnpbios/ |
| H A D | proc.c | 13 * The .../escd file is utilized by the lsescd utility written by 16 * The .../legacy_device_resources file is not used yet. 174 static int pnpbios_proc_open(struct inode *inode, struct file *file) in pnpbios_proc_open() argument 176 return single_open(file, pnpbios_proc_show, pde_data(inode)); in pnpbios_proc_open() 179 static ssize_t pnpbios_proc_write(struct file *file, const char __user *buf, in pnpbios_proc_write() argument 182 void *data = pde_data(file_inode(file)); in pnpbios_proc_write()
|
| /kernel/linux/linux-6.6/drivers/virt/acrn/ |
| H A D | irqfd.c | 13 #include <linux/file.h> 96 static void hsm_irqfd_poll_func(struct file *file, wait_queue_head_t *wqh, in hsm_irqfd_poll_func() argument 128 if (!f.file) { in acrn_irqfd_assign() 133 eventfd = eventfd_ctx_fileget(f.file); in acrn_irqfd_assign() 160 events = vfs_poll(f.file, &irqfd->pt); in acrn_irqfd_assign()
|
| /kernel/linux/linux-6.6/include/sound/ |
| H A D | opl3.h | 352 int snd_opl3_open(struct snd_hwdep * hw, struct file *file); 353 int snd_opl3_ioctl(struct snd_hwdep * hw, struct file *file, 355 int snd_opl3_release(struct snd_hwdep * hw, struct file *file);
|
| /kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
| H A D | debug_sta.c | 23 static ssize_t read_file_node_aggr(struct file *file, char __user *user_buf, in read_file_node_aggr() argument 26 struct ath_node *an = file->private_data; in read_file_node_aggr() 168 static ssize_t read_file_node_recv(struct file *file, char __user *user_buf, in read_file_node_recv() argument 171 struct ath_node *an = file->private_data; in read_file_node_recv()
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_gem.c | 237 struct drm_file *file; in vmw_debugfs_gem_info_show() local 244 list_for_each_entry(file, &dev->filelist, lhead) { in vmw_debugfs_gem_info_show() 251 * Although we have a valid reference on file->pid, that does in vmw_debugfs_gem_info_show() 257 pid = rcu_dereference(file->pid); in vmw_debugfs_gem_info_show() 263 spin_lock(&file->table_lock); in vmw_debugfs_gem_info_show() 264 idr_for_each_entry(&file->object_idr, gobj, id) { in vmw_debugfs_gem_info_show() 269 spin_unlock(&file->table_lock); in vmw_debugfs_gem_info_show()
|
| /kernel/linux/linux-6.6/tools/testing/selftests/wireguard/qemu/ |
| H A D | init.c | 130 FILE *file; in kmod_selftests() local 134 file = fopen("/proc/kmsg", "r"); in kmod_selftests() 135 if (!file) in kmod_selftests() 137 if (fcntl(fileno(file), F_SETFL, O_NONBLOCK) < 0) in kmod_selftests() 139 while (fgets(line, sizeof(line), file)) { in kmod_selftests() 154 fclose(file); in kmod_selftests()
|
| /kernel/linux/linux-6.6/security/integrity/evm/ |
| H A D | evm_secfs.c | 32 * @filp: file pointer, not actually used 39 static ssize_t evm_read_key(struct file *filp, char __user *buf, in evm_read_key() 56 * @file: file pointer, not actually used 66 static ssize_t evm_write_key(struct file *file, const char __user *buf, in evm_write_key() argument 120 * @filp: file pointer, not actually used 127 static ssize_t evm_read_xattrs(struct file *filp, char __user *buf, in evm_read_xattrs() 173 * @file: file pointe 180 evm_write_xattrs(struct file *file, const char __user *buf, size_t count, loff_t *ppos) evm_write_xattrs() argument [all...] |
| /kernel/linux/linux-6.6/tools/testing/selftests/ia64/ |
| H A D | aliasing-test.c | 62 static int scan_tree(char *path, char *file, off_t offset, size_t length, int touch) in scan_tree() argument 88 if (fnmatch(file, name, 0) == 0) { in scan_tree() 101 rc = scan_tree(path2, file, offset, length, touch); in scan_tree() 147 static int scan_rom(char *path, char *file) in scan_rom() argument 173 if (fnmatch(file, name, 0) == 0) { in scan_rom() 190 rc = scan_rom(path2, file); in scan_rom()
|