Searched refs:filep (Results 1 - 25 of 78) sorted by last modified time

1234

/linux-master/drivers/dma/idxd/
H A Dcdev.c361 static int idxd_cdev_release(struct inode *node, struct file *filep) argument
363 struct idxd_user_context *ctx = filep->private_data;
369 filep->private_data = NULL;
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_process.c1283 int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep) argument
1299 qpd->tba_addr = (int64_t)vm_mmap(filep, 0,
H A Dkfd_chardev.c129 static int kfd_open(struct inode *inode, struct file *filep) argument
151 if (kfd_process_init_cwsr_apu(process, filep)) {
156 /* filep now owns the reference returned by kfd_create_process */
157 filep->private_data = process;
165 static int kfd_release(struct inode *inode, struct file *filep) argument
167 struct kfd_process *process = filep->private_data;
175 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, argument
299 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, argument
386 err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, &queue_id, wptr_bo,
554 static int kfd_ioctl_get_queue_wave_state(struct file *filep, argument
572 kfd_ioctl_set_memory_policy(struct file *filep, struct kfd_process *p, void *data) argument
626 kfd_ioctl_set_trap_handler(struct file *filep, struct kfd_process *p, void *data) argument
656 kfd_ioctl_dbg_register(struct file *filep, struct kfd_process *p, void *data) argument
662 kfd_ioctl_dbg_unregister(struct file *filep, struct kfd_process *p, void *data) argument
668 kfd_ioctl_dbg_address_watch(struct file *filep, struct kfd_process *p, void *data) argument
675 kfd_ioctl_dbg_wave_control(struct file *filep, struct kfd_process *p, void *data) argument
681 kfd_ioctl_get_clock_counters(struct file *filep, struct kfd_process *p, void *data) argument
899 kfd_ioctl_set_scratch_backing_va(struct file *filep, struct kfd_process *p, void *data) argument
938 kfd_ioctl_get_tile_config(struct file *filep, struct kfd_process *p, void *data) argument
982 kfd_ioctl_acquire_vm(struct file *filep, struct kfd_process *p, void *data) argument
1043 kfd_ioctl_get_available_memory(struct file *filep, struct kfd_process *p, void *data) argument
1057 kfd_ioctl_alloc_memory_of_gpu(struct file *filep, struct kfd_process *p, void *data) argument
1195 kfd_ioctl_free_memory_of_gpu(struct file *filep, struct kfd_process *p, void *data) argument
1247 kfd_ioctl_map_memory_to_gpu(struct file *filep, struct kfd_process *p, void *data) argument
1365 kfd_ioctl_unmap_memory_from_gpu(struct file *filep, struct kfd_process *p, void *data) argument
1467 kfd_ioctl_alloc_queue_gws(struct file *filep, struct kfd_process *p, void *data) argument
1512 kfd_ioctl_get_dmabuf_info(struct file *filep, struct kfd_process *p, void *data) argument
1565 kfd_ioctl_import_dmabuf(struct file *filep, struct kfd_process *p, void *data) argument
1615 kfd_ioctl_export_dmabuf(struct file *filep, struct kfd_process *p, void *data) argument
1668 kfd_ioctl_smi_events(struct file *filep, struct kfd_process *p, void *data) argument
1686 kfd_ioctl_set_xnack_mode(struct file *filep, struct kfd_process *p, void *data) argument
1719 kfd_ioctl_svm(struct file *filep, struct kfd_process *p, void *data) argument
1738 kfd_ioctl_set_xnack_mode(struct file *filep, struct kfd_process *p, void *data) argument
1743 kfd_ioctl_svm(struct file *filep, struct kfd_process *p, void *data) argument
2047 criu_checkpoint(struct file *filep, struct kfd_process *p, struct kfd_ioctl_criu_args *args) argument
2488 criu_restore_objects(struct file *filep, struct kfd_process *p, struct kfd_ioctl_criu_args *args, uint64_t *priv_offset, uint64_t max_priv_data_size) argument
2544 criu_restore(struct file *filep, struct kfd_process *p, struct kfd_ioctl_criu_args *args) argument
2600 criu_unpause(struct file *filep, struct kfd_process *p, struct kfd_ioctl_criu_args *args) argument
2624 criu_resume(struct file *filep, struct kfd_process *p, struct kfd_ioctl_criu_args *args) argument
2669 criu_process_info(struct file *filep, struct kfd_process *p, struct kfd_ioctl_criu_args *args) argument
2710 kfd_ioctl_criu(struct file *filep, struct kfd_process *p, void *data) argument
2871 kfd_ioctl_runtime_enable(struct file *filep, struct kfd_process *p, void *data) argument
2889 kfd_ioctl_set_debug_trap(struct file *filep, struct kfd_process *p, void *data) argument
3228 kfd_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
[all...]
H A Dkfd_priv.h993 * @filep: pointer to file structure.
999 typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p,
1168 int kfd_process_init_cwsr_apu(struct kfd_process *process, struct file *filep);
/linux-master/drivers/vhost/
H A Dvhost.c1878 struct file *eventfp, *filep = NULL; local
1943 pollstop = (filep = vq->kick) != NULL;
1946 filep = eventfp;
2001 if (filep)
2002 fput(filep);
H A Dvdpa.c767 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;
/linux-master/tools/power/x86/turbostat/
H A Dturbostat.c2403 FILE *filep; local
2406 filep = stdout;
2408 filep = outf;
2410 fputs(output_buffer, filep);
2411 fflush(filep);
2944 FILE *filep = fopen(path, mode); local
2946 if (!filep)
2948 return filep;
4257 FILE *filep; local
4263 filep
4339 FILE *filep; local
4410 FILE *filep; local
4585 FILE *filep; local
[all...]
/linux-master/tools/hv/
H A Dhv_kvp_daemon.c158 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/drivers/crypto/ccp/
H A Dsev-dev.c2329 int sev_issue_cmd_external_user(struct file *filep, unsigned int cmd, argument
2332 if (!filep || filep->f_op != &sev_fops)
/linux-master/include/linux/
H A Dbpf.h143 unsigned long (*map_get_unmapped_area)(struct file *filep, unsigned long addr,
/linux-master/fs/smb/client/
H A Dioctl.c26 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...]
H A Dcifsfs.h142 extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
/linux-master/security/selinux/
H A Dselinuxfs.c1195 static ssize_t sel_read_bool(struct file *filep, char __user *buf, argument
1198 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info;
1203 unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK;
1204 const char *name = filep->f_path.dentry->d_name.name;
1236 static ssize_t sel_write_bool(struct file *filep, const char __user *buf, argument
1239 struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info;
1243 unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK;
1244 const char *name = filep->f_path.dentry->d_name.name;
1292 static ssize_t sel_commit_bools_write(struct file *filep, argument
1296 struct selinux_fs_info *fsi = file_inode(filep)
[all...]
/linux-master/drivers/scsi/
H A Dpmcraid.c3353 static int pmcraid_chr_open(struct inode *inode, struct file *filep) argument
3362 filep->private_data = pinstance;
3373 static int pmcraid_chr_fasync(int fd, struct file *filep, int mode) argument
3378 pinstance = filep->private_data;
3380 rc = fasync_helper(fd, filep, mode, &pinstance->aen_queue);
3460 struct file *filep,
3485 pinstance = filep->private_data;
3459 pmcraid_chr_ioctl( struct file *filep, unsigned int cmd, unsigned long arg ) argument
H A Dscsi_sysfs.c932 static ssize_t show_inquiry(struct file *filep, struct kobject *kobj, argument
H A Dmegaraid.c96 megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
2927 * @filep: unused
2933 megadev_open (struct inode *inode, struct file *filep) argument
2946 * @filep: Our device file
2956 megadev_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
3349 megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
3354 ret = megadev_ioctl(filep, cmd, arg);
/linux-master/drivers/uio/
H A Duio.c462 static int uio_open(struct inode *inode, struct file *filep) argument
491 filep->private_data = listener;
521 static int uio_fasync(int fd, struct file *filep, int on) argument
523 struct uio_listener *listener = filep->private_data;
526 return fasync_helper(fd, filep, on, &idev->async_queue);
529 static int uio_release(struct inode *inode, struct file *filep) argument
532 struct uio_listener *listener = filep->private_data;
546 static __poll_t uio_poll(struct file *filep, poll_table *wait) argument
548 struct uio_listener *listener = filep->private_data;
560 poll_wait(filep,
566 uio_read(struct file *filep, char __user *buf, size_t count, loff_t *ppos) argument
621 uio_write(struct file *filep, const char __user *buf, size_t count, loff_t *ppos) argument
806 uio_mmap(struct file *filep, struct vm_area_struct *vma) argument
[all...]
/linux-master/drivers/misc/eeprom/
H A Didt_89hpesx.c842 * @filep: Pointer to the file system node
866 * @filep: Pointer to the file system node
890 * @filep: Pointer to the file system file descriptor
903 static ssize_t idt_dbgfs_csr_write(struct file *filep, const char __user *ubuf, argument
906 struct idt_89hpesx_dev *pdev = filep->private_data;
982 * @filep: Pointer to the file system file descriptor
990 static ssize_t idt_dbgfs_csr_read(struct file *filep, char __user *ubuf, argument
993 struct idt_89hpesx_dev *pdev = filep->private_data;
/linux-master/drivers/vfio/
H A Dvfio_main.c584 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...]
H A Dvfio.h239 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
/linux-master/drivers/vfio/pci/pds/
H A Dlm.h16 struct file *filep; member in struct:pds_vfio_lm_file
H A Dlm.c32 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...]
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_ctl.c532 * @filep: ?
538 _ctl_fasync(int fd, struct file *filep, int mode) argument
540 return fasync_helper(fd, filep, mode, &async_queue);
545 * @filep: ?
550 _ctl_poll(struct file *filep, poll_table *wait) argument
554 poll_wait(filep, &ctl_poll_wait, wait);
/linux-master/tools/power/x86/x86_energy_perf_policy/
H A Dx86_energy_perf_policy.c633 FILE *filep = fopen(path, "r"); local
635 if (!filep)
637 return filep;
/linux-master/include/drm/
H A Ddrm_gem.h536 long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,

Completed in 417 milliseconds

1234