/linux-master/drivers/vfio/ |
H A D | device_cdev.c | 23 int vfio_device_fops_cdev_open(struct inode *inode, struct file *filep) argument 40 filep->private_data = df;
|
H A D | group.c | 256 struct file *filep; local 275 filep = anon_inode_getfile("[vfio-device]", &vfio_device_fops, 277 if (IS_ERR(filep)) { 278 ret = PTR_ERR(filep); 287 filep->f_mode |= (FMODE_PREAD | FMODE_PWRITE); 296 return filep; 310 struct file *filep; local 330 filep = vfio_device_open_file(device); 331 if (IS_ERR(filep)) { 332 ret = PTR_ERR(filep); 385 vfio_group_fops_unl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument 432 vfio_group_fops_open(struct inode *inode, struct file *filep) argument 474 vfio_group_fops_release(struct inode *inode, struct file *filep) argument [all...] |
H A D | vfio.h | 239 struct vfio_container *vfio_container_from_file(struct file *filep); 260 vfio_container_from_file(struct file *filep) argument 377 int vfio_device_fops_cdev_open(struct inode *inode, struct file *filep); 399 struct file *filep) 398 vfio_device_fops_cdev_open(struct inode *inode, struct file *filep) argument
|
H A D | vfio_main.c | 584 static int vfio_device_fops_release(struct inode *inode, struct file *filep) argument 586 struct vfio_device_file *df = filep->private_data; 1216 static long vfio_device_fops_unl_ioctl(struct file *filep, argument 1219 struct vfio_device_file *df = filep->private_data; 1265 static ssize_t vfio_device_fops_read(struct file *filep, char __user *buf, argument 1268 struct vfio_device_file *df = filep->private_data; 1281 static ssize_t vfio_device_fops_write(struct file *filep, argument 1285 struct vfio_device_file *df = filep->private_data; 1298 static int vfio_device_fops_mmap(struct file *filep, struct vm_area_struct *vma) argument 1300 struct vfio_device_file *df = filep [all...] |
/linux-master/drivers/vfio/pci/pds/ |
H A D | lm.c | 32 lm_file->filep = 34 if (IS_ERR(lm_file->filep)) 37 stream_open(lm_file->filep->f_inode, lm_file->filep); 41 get_file(lm_file->filep); 83 fput(lm_file->filep); 98 lm_file->filep->f_pos = 0; 111 fput(lm_file->filep); 168 lm_file->filep->f_pos = 0; 382 return pds_vfio->save_file->filep; [all...] |
H A D | lm.h | 16 struct file *filep; member in struct:pds_vfio_lm_file
|
/linux-master/drivers/vhost/ |
H A D | vdpa.c | 767 static long vhost_vdpa_unlocked_ioctl(struct file *filep, argument 770 struct vhost_vdpa *v = filep->private_data; 1395 static int vhost_vdpa_open(struct inode *inode, struct file *filep) argument 1434 filep->private_data = v; 1453 static int vhost_vdpa_release(struct inode *inode, struct file *filep) argument 1455 struct vhost_vdpa *v = filep->private_data; 1459 filep->private_data = NULL;
|
H A D | vhost.c | 1878 struct file *eventfp, *filep = NULL; local 1943 pollstop = (filep = vq->kick) != NULL; 1946 filep = eventfp; 2001 if (filep) 2002 fput(filep);
|
/linux-master/fs/ |
H A D | binfmt_elf.c | 352 * Map "eppnt->p_filesz" bytes from "filep" offset "eppnt->p_offset" 356 static unsigned long elf_map(struct file *filep, unsigned long addr, argument 381 map_addr = vm_mmap(filep, addr, total_size, prot, type, off); 385 map_addr = vm_mmap(filep, addr, size, prot, type, off); 396 * Map "eppnt->p_filesz" bytes from "filep" offset "eppnt->p_offset" 400 static unsigned long elf_load(struct file *filep, unsigned long addr, argument 408 map_addr = elf_map(filep, addr, eppnt, prot, type, total_size);
|
/linux-master/fs/gfs2/ |
H A D | file.c | 356 * @filep: The struct file 366 static void gfs2_size_hint(struct file *filep, loff_t offset, size_t size) argument 368 struct inode *inode = file_inode(filep);
|
/linux-master/fs/nfs/ |
H A D | nfs42proc.c | 25 static void nfs42_set_netaddr(struct file *filep, struct nfs42_netaddr *naddr) argument 27 struct nfs_client *clp = (NFS_SERVER(file_inode(filep)))->nfs_client; 44 static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, argument 47 struct inode *inode = file_inode(filep); 99 static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep, argument 102 struct inode *inode = file_inode(filep); 108 lock = nfs_get_lock_context(nfs_file_open_context(filep)); 120 err = _nfs42_proc_fallocate(msg, filep, lock, offset, len); 132 int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len) argument 137 struct inode *inode = file_inode(filep); 153 nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len) argument 662 _nfs42_proc_llseek(struct file *filep, struct nfs_lock_context *lock, loff_t offset, int whence) argument 711 nfs42_proc_llseek(struct file *filep, loff_t offset, int whence) argument [all...] |
H A D | nfs4file.c | 204 static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence) argument 211 ret = nfs42_proc_llseek(filep, offset, whence); 216 return nfs_file_llseek(filep, offset, whence); 220 static long nfs42_fallocate(struct file *filep, int mode, loff_t offset, loff_t len) argument 222 struct inode *inode = file_inode(filep); 236 return nfs42_proc_deallocate(filep, offset, len); 237 return nfs42_proc_allocate(filep, offset, len); 321 struct file *filep, *res; local 358 filep = alloc_file_pseudo(r_ino, ss_mnt, read_name, O_RDONLY, 360 if (IS_ERR(filep)) { 407 __nfs42_ssc_close(struct file *filep) argument [all...] |
/linux-master/fs/nfsd/ |
H A D | nfs4proc.c | 1328 extern void nfs42_ssc_close(struct file *filep);
|
/linux-master/fs/smb/client/ |
H A D | cifsfs.h | 137 extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
|
H A D | ioctl.c | 26 static long cifs_ioctl_query_info(unsigned int xid, struct file *filep, argument 29 struct inode *inode = file_inode(filep); 32 struct dentry *dentry = filep->f_path.dentry; 60 filep->private_data ? 0 : 1, p); 332 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) argument 334 struct inode *inode = file_inode(filep); 338 struct cifsFileInfo *pSMBFile = filep->private_data; 420 rc = cifs_ioctl_copychunk(xid, filep, arg); 423 rc = cifs_ioctl_query_info(xid, filep, arg); 540 filep, (voi [all...] |
/linux-master/include/drm/ |
H A D | drm_gem.h | 539 long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
|
/linux-master/include/linux/ |
H A D | bpf.h | 143 unsigned long (*map_get_unmapped_area)(struct file *filep, unsigned long addr,
|
H A D | nfs_ssc.h | 21 void (*sco_close)(struct file *filep); 51 static inline void nfs42_ssc_close(struct file *filep) argument 54 (*nfs_ssc_client_tbl.ssc_nfs4_ops->sco_close)(filep);
|
H A D | psp-sev.h | 852 * @filep - SEV device file pointer 865 int sev_issue_cmd_external_user(struct file *filep, unsigned int id, 969 sev_issue_cmd_external_user(struct file *filep, unsigned int id, void *data, int *error) { return -ENODEV; } argument
|
/linux-master/kernel/ |
H A D | kcov.c | 477 static int kcov_mmap(struct file *filep, struct vm_area_struct *vma) argument 508 static int kcov_open(struct inode *inode, struct file *filep) argument 519 filep->private_data = kcov; 520 return nonseekable_open(inode, filep); 523 static int kcov_close(struct inode *inode, struct file *filep) argument 525 kcov_put(filep->private_data); 682 static long kcov_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) 692 kcov = filep->private_data; 681 kcov_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
|
/linux-master/mm/ |
H A D | gup_test.c | 313 static long pin_longterm_test_ioctl(struct file *filep, unsigned int cmd, argument 338 static long gup_test_ioctl(struct file *filep, unsigned int cmd, argument 355 return pin_longterm_test_ioctl(filep, cmd, arg);
|
H A D | slub.c | 7133 static int slab_debug_trace_open(struct inode *inode, struct file *filep) argument 7139 struct loc_track *t = __seq_open_private(filep, &slab_debugfs_sops, 7141 struct kmem_cache *s = file_inode(filep)->i_private; 7149 seq_release_private(inode, filep); 7153 if (strcmp(filep->f_path.dentry->d_name.name, "alloc_traces") == 0) 7160 seq_release_private(inode, filep);
|
/linux-master/security/selinux/ |
H A D | selinuxfs.c | 1197 static ssize_t sel_read_bool(struct file *filep, char __user *buf, argument 1200 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info; 1205 unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK; 1206 const char *name = filep->f_path.dentry->d_name.name; 1238 static ssize_t sel_write_bool(struct file *filep, const char __user *buf, argument 1241 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info; 1245 unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK; 1246 const char *name = filep->f_path.dentry->d_name.name; 1294 static ssize_t sel_commit_bools_write(struct file *filep, argument 1298 struct selinux_fs_info *fsi = file_inode(filep) [all...] |
/linux-master/tools/hv/ |
H A D | hv_kvp_daemon.c | 158 FILE *filep; local 166 filep = fopen(kvp_file_info[pool].fname, "we"); 167 if (!filep) { 175 kvp_file_info[pool].num_records, filep); 177 if (ferror(filep) || fclose(filep)) { 188 FILE *filep; local 197 filep = fopen(kvp_file_info[pool].fname, "re"); 198 if (!filep) { 208 filep); [all...] |
/linux-master/tools/power/x86/intel-speed-select/ |
H A D | isst-config.c | 192 FILE *filep = fopen(path, mode); local 194 if (!filep) 197 return filep; 205 FILE *filep; local 212 filep = fopen_or_exit(path, "r"); 214 filep = fopen(path, "r"); 215 if (!filep) 218 if (fscanf(filep, "%d", &value) != 1) 220 fclose(filep); 631 FILE *filep; local [all...] |