Home
last modified time | relevance | path

Searched refs:filep (Results 1 – 25 of 64) sorted by relevance

123

/linux/fs/nfs/
H A Dnfs4file.c205 static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence) in nfs4_file_llseek() argument
212 ret = nfs42_proc_llseek(filep, offset, whence); in nfs4_file_llseek()
217 return nfs_file_llseek(filep, offset, whence); in nfs4_file_llseek()
221 static long nfs42_fallocate(struct file *filep, int mode, loff_t offset, loff_t len) in nfs42_fallocate() argument
223 struct inode *inode = file_inode(filep); in nfs42_fallocate()
243 return nfs42_proc_deallocate(filep, offset, len); in nfs42_fallocate()
245 return nfs42_proc_zero_range(filep, offset ,len); in nfs42_fallocate()
246 return nfs42_proc_allocate(filep, offset, len); in nfs42_fallocate()
311 struct file *filep, *res; in __nfs42_ssc_open() local
348 filep in __nfs42_ssc_open()
397 __nfs42_ssc_close(struct file * filep) __nfs42_ssc_close() argument
[all...]
/linux/drivers/ntb/test/
H A Dntb_tool.c405 static ssize_t tool_port_read(struct file *filep, char __user *ubuf, in tool_port_read() argument
408 struct tool_ctx *tc = filep->private_data; in tool_port_read()
421 static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf, in tool_peer_port_read() argument
424 struct tool_peer *peer = filep->private_data; in tool_peer_port_read()
461 static ssize_t tool_link_write(struct file *filep, const char __user *ubuf,
464 struct tool_ctx *tc = filep->private_data; in tool_link_write()
487 static ssize_t tool_peer_link_read(struct file *filep, char __user *ubuf,
490 struct tool_peer *peer = filep->private_data; in tool_peer_link_read()
508 static ssize_t tool_peer_link_event_write(struct file *filep,
512 struct tool_peer *peer = filep in tool_peer_link_event_write()
462 tool_link_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_link_write() argument
488 tool_peer_link_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_peer_link_read() argument
509 tool_peer_link_event_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_peer_link_event_write() argument
541 tool_mw_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_mw_read() argument
553 tool_mw_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_mw_write() argument
637 tool_mw_trans_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_mw_trans_read() argument
699 tool_mw_trans_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_mw_trans_write() argument
724 tool_peer_mw_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_peer_mw_read() argument
762 tool_peer_mw_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_peer_mw_write() argument
865 tool_peer_mw_trans_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_peer_mw_trans_read() argument
922 tool_peer_mw_trans_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_peer_mw_trans_write() argument
1025 tool_db_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_db_read() argument
1033 tool_db_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_db_write() argument
1046 tool_db_valid_mask_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_db_valid_mask_read() argument
1058 tool_db_mask_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_db_mask_read() argument
1066 tool_db_mask_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_db_mask_write() argument
1079 tool_peer_db_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_peer_db_read() argument
1087 tool_peer_db_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_peer_db_write() argument
1100 tool_peer_db_mask_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_peer_db_mask_read() argument
1109 tool_peer_db_mask_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_peer_db_mask_write() argument
1124 tool_db_event_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_db_event_write() argument
1151 tool_spad_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_spad_read() argument
1167 tool_spad_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_spad_write() argument
1192 tool_peer_spad_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_peer_spad_read() argument
1208 tool_peer_spad_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_peer_spad_write() argument
1274 tool_inmsg_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_inmsg_read() argument
1294 tool_outmsg_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_outmsg_write() argument
1315 tool_msg_sts_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_msg_sts_read() argument
1323 tool_msg_sts_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_msg_sts_write() argument
1336 tool_msg_inbits_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_msg_inbits_read() argument
1348 tool_msg_outbits_read(struct file * filep,char __user * ubuf,size_t size,loff_t * offp) tool_msg_outbits_read() argument
1360 tool_msg_mask_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_msg_mask_write() argument
1374 tool_msg_event_write(struct file * filep,const char __user * ubuf,size_t size,loff_t * offp) tool_msg_event_write() argument
[all...]
H A Dntb_perf.c1180 static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf, in perf_dbgfs_read_info() argument
1183 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_info()
1263 static ssize_t perf_dbgfs_read_run(struct file *filep, char __user *ubuf, in perf_dbgfs_read_run() argument
1266 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_run()
1285 static ssize_t perf_dbgfs_write_run(struct file *filep, const char __user *ubuf, in perf_dbgfs_write_run() argument
1288 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_write_run()
1314 static ssize_t perf_dbgfs_read_tcnt(struct file *filep, char __user *ubuf, in perf_dbgfs_read_tcnt() argument
1317 struct perf_ctx *perf = filep->private_data; in perf_dbgfs_read_tcnt()
1326 static ssize_t perf_dbgfs_write_tcnt(struct file *filep, in perf_dbgfs_write_tcnt() argument
1330 struct perf_ctx *perf = filep in perf_dbgfs_write_tcnt()
[all...]
/linux/drivers/iommu/iommufd/
H A Deventq.c124 static ssize_t iommufd_fault_fops_read(struct file *filep, char __user *buf, in iommufd_fault_fops_read() argument
128 struct iommufd_eventq *eventq = filep->private_data; in iommufd_fault_fops_read()
182 static ssize_t iommufd_fault_fops_write(struct file *filep, const char __user *buf, in iommufd_fault_fops_write() argument
186 struct iommufd_eventq *eventq = filep->private_data; in iommufd_fault_fops_write()
311 static ssize_t iommufd_veventq_fops_read(struct file *filep, char __user *buf, in iommufd_veventq_fops_read() argument
314 struct iommufd_eventq *eventq = filep->private_data; in iommufd_veventq_fops_read()
378 static __poll_t iommufd_eventq_fops_poll(struct file *filep, in iommufd_eventq_fops_poll() argument
381 struct iommufd_eventq *eventq = filep->private_data; in iommufd_eventq_fops_poll()
387 poll_wait(filep, &eventq->wait_queue, wait); in iommufd_eventq_fops_poll()
396 static int iommufd_eventq_fops_release(struct inode *inode, struct file *filep) in iommufd_eventq_fops_release() argument
419 struct file *filep; iommufd_eventq_init() local
[all...]
/linux/drivers/vfio/pci/pds/
H A Dlm.c32 lm_file->filep = in pds_vfio_get_lm_file()
34 if (IS_ERR(lm_file->filep)) in pds_vfio_get_lm_file()
37 stream_open(lm_file->filep->f_inode, lm_file->filep); in pds_vfio_get_lm_file()
41 get_file(lm_file->filep); in pds_vfio_get_lm_file()
83 fput(lm_file->filep); in pds_vfio_get_lm_file()
98 lm_file->filep->f_pos = 0; in pds_vfio_put_lm_file()
111 fput(lm_file->filep); in pds_vfio_put_lm_file()
167 lm_file->filep->f_pos = 0; in pds_vfio_release_file()
379 return pds_vfio->save_file->filep; in pds_vfio_step_device_state_locked()
393 return pds_vfio->restore_file->filep; in pds_vfio_step_device_state_locked()
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c193 static int kfd_open(struct inode *inode, struct file *filep) in kfd_open() argument
201 filep->f_mapping = kfd_anon_inode->i_mapping; in kfd_open()
217 /* filep now owns the reference returned by kfd_create_process */ in kfd_open()
218 filep->private_data = process; in kfd_open()
226 static int kfd_release(struct inode *inode, struct file *filep) in kfd_release() argument
228 struct kfd_process *process = filep->private_data; in kfd_release()
241 static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p, in kfd_ioctl_get_version() argument
381 static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p, in kfd_ioctl_create_queue() argument
614 static int kfd_ioctl_get_queue_wave_state(struct file *filep, in kfd_ioctl_set_cu_mask()
632 static int kfd_ioctl_set_memory_policy(struct file *filep, in kfd_ioctl_get_queue_wave_state()
616 kfd_ioctl_get_queue_wave_state(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_get_queue_wave_state() argument
634 kfd_ioctl_set_memory_policy(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_set_memory_policy() argument
689 kfd_ioctl_set_trap_handler(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_set_trap_handler() argument
719 kfd_ioctl_dbg_register(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_dbg_register() argument
725 kfd_ioctl_dbg_unregister(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_dbg_unregister() argument
731 kfd_ioctl_dbg_address_watch(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_dbg_address_watch() argument
738 kfd_ioctl_dbg_wave_control(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_dbg_wave_control() argument
744 kfd_ioctl_get_clock_counters(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_get_clock_counters() argument
966 kfd_ioctl_set_scratch_backing_va(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_set_scratch_backing_va() argument
1005 kfd_ioctl_get_tile_config(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_get_tile_config() argument
1049 kfd_ioctl_acquire_vm(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_acquire_vm() argument
1110 kfd_ioctl_get_available_memory(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_get_available_memory() argument
1124 kfd_ioctl_alloc_memory_of_gpu(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_alloc_memory_of_gpu() argument
1274 kfd_ioctl_free_memory_of_gpu(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_free_memory_of_gpu() argument
1326 kfd_ioctl_map_memory_to_gpu(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_map_memory_to_gpu() argument
1436 kfd_ioctl_unmap_memory_from_gpu(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_unmap_memory_from_gpu() argument
1529 kfd_ioctl_alloc_queue_gws(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_alloc_queue_gws() argument
1574 kfd_ioctl_get_dmabuf_info(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_get_dmabuf_info() argument
1621 kfd_ioctl_import_dmabuf(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_import_dmabuf() argument
1671 kfd_ioctl_export_dmabuf(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_export_dmabuf() argument
1724 kfd_ioctl_smi_events(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_smi_events() argument
1752 kfd_ioctl_set_xnack_mode(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_set_xnack_mode() argument
1785 kfd_ioctl_svm(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_svm() argument
1810 kfd_ioctl_set_xnack_mode(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_set_xnack_mode() argument
1815 kfd_ioctl_svm(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_svm() argument
2244 criu_checkpoint(struct file * filep,struct kfd_process * p,struct kfd_ioctl_criu_args * args) criu_checkpoint() argument
2687 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) criu_restore_objects() argument
2743 criu_restore(struct file * filep,struct kfd_process * p,struct kfd_ioctl_criu_args * args) criu_restore() argument
2799 criu_unpause(struct file * filep,struct kfd_process * p,struct kfd_ioctl_criu_args * args) criu_unpause() argument
2823 criu_resume(struct file * filep,struct kfd_process * p,struct kfd_ioctl_criu_args * args) criu_resume() argument
2868 criu_process_info(struct file * filep,struct kfd_process * p,struct kfd_ioctl_criu_args * args) criu_process_info() argument
2909 kfd_ioctl_criu(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_criu() argument
3078 kfd_ioctl_runtime_enable(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_runtime_enable() argument
3096 kfd_ioctl_set_debug_trap(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_set_debug_trap() argument
3332 kfd_ioctl_create_process(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_create_process() argument
3461 kfd_ioctl_profiler(struct file * filep,struct kfd_process * p,void * data) kfd_ioctl_profiler() argument
3610 kfd_ioctl(struct file * filep,unsigned int cmd,unsigned long arg) kfd_ioctl() argument
3769 kfd_mmap(struct file * filep,struct vm_area_struct * vma) kfd_mmap() argument
[all...]
H A Dkfd_smi_events.c65 static __poll_t kfd_smi_ev_poll(struct file *filep, in kfd_smi_ev_poll() argument
68 struct kfd_smi_client *client = filep->private_data; in kfd_smi_ev_poll()
71 poll_wait(filep, &client->wait_queue, wait); in kfd_smi_ev_poll()
81 static ssize_t kfd_smi_ev_read(struct file *filep, char __user *user, in kfd_smi_ev_read() argument
86 struct kfd_smi_client *client = filep->private_data; in kfd_smi_ev_read()
126 static ssize_t kfd_smi_ev_write(struct file *filep, const char __user *user, in kfd_smi_ev_write() argument
129 struct kfd_smi_client *client = filep->private_data; in kfd_smi_ev_write()
150 static int kfd_smi_ev_release(struct inode *inode, struct file *filep) in kfd_smi_ev_release() argument
152 struct kfd_smi_client *client = filep->private_data; in kfd_smi_ev_release()
/linux/drivers/misc/uacce/
H A Duacce.c73 static long uacce_fops_unl_ioctl(struct file *filep, in uacce_fops_unl_ioctl() argument
76 struct uacce_queue *q = filep->private_data; in uacce_fops_unl_ioctl()
111 static long uacce_fops_compat_ioctl(struct file *filep, in uacce_fops_compat_ioctl() argument
116 return uacce_fops_unl_ioctl(filep, cmd, arg); in uacce_fops_compat_ioctl()
151 static int uacce_fops_open(struct inode *inode, struct file *filep) in uacce_fops_open() argument
185 filep->private_data = q; in uacce_fops_open()
187 q->mapping = filep->f_mapping; in uacce_fops_open()
202 static int uacce_fops_release(struct inode *inode, struct file *filep) in uacce_fops_release() argument
204 struct uacce_queue *q = filep->private_data; in uacce_fops_release()
241 static int uacce_fops_mmap(struct file *filep, struct vm_area_struct *vma) in uacce_fops_mmap() argument
[all …]
/linux/kernel/liveupdate/
H A Dluo_session.c236 static int luo_session_release(struct inode *inodep, struct file *filep) in luo_session_release()
238 struct luo_session *session = filep->private_data; in luo_session_release()
405 static long luo_session_ioctl(struct file *filep, unsigned int cmd, in luo_session_ioctl()
408 struct luo_session *session = filep->private_data; in luo_session_ioctl()
451 static int luo_session_getfile(struct luo_session *session, struct file **filep) in luo_session_getfile()
462 *filep = file; in luo_session_getfile()
467 int luo_session_create(const char *name, struct file **filep) in luo_session_create()
486 err = luo_session_getfile(session, filep); in luo_session_create()
503 int luo_session_retrieve(const char *name, struct file **filep) in luo_session_retrieve()
526 err = luo_session_getfile(session, filep); in luo_session_retrieve()
235 luo_session_release(struct inode * inodep,struct file * filep) luo_session_release() argument
404 luo_session_ioctl(struct file * filep,unsigned int cmd,unsigned long arg) luo_session_ioctl() argument
450 luo_session_getfile(struct luo_session * session,struct file ** filep) luo_session_getfile() argument
466 luo_session_create(const char * name,struct file ** filep) luo_session_create() argument
502 luo_session_retrieve(const char * name,struct file ** filep) luo_session_retrieve() argument
[all...]
/linux/include/linux/
H A Dnfs_ssc.h25 void (*sco_close)(struct file *filep);
51 nfs42_ssc_close(struct file * filep) nfs42_ssc_close() argument
/linux/drivers/fsi/
H A Di2cr-scom.c34 static ssize_t i2cr_scom_read(struct file *filep, char __user *buf, size_t len, loff_t *offset) in i2cr_scom_read() argument
36 struct i2cr_scom *scom = filep->private_data; in i2cr_scom_read()
54 static ssize_t i2cr_scom_write(struct file *filep, const char __user *buf, size_t len, in i2cr_scom_write() argument
57 struct i2cr_scom *scom = filep->private_data; in i2cr_scom_write()
/linux/tools/power/x86/intel-speed-select/
H A Disst-core-tpmi.c576 FILE *filep; in _set_uncore_min_max() local
591 filep = fopen(buffer, "r"); in _set_uncore_min_max()
592 if (!filep) in _set_uncore_min_max()
595 ret = fscanf(filep, "%u", &tmp_id); in _set_uncore_min_max()
596 fclose(filep); in _set_uncore_min_max()
607 filep = fopen(buffer, "r"); in _set_uncore_min_max()
608 if (!filep) in _set_uncore_min_max()
611 ret = fscanf(filep, "%u", &tmp_id); in _set_uncore_min_max()
612 fclose(filep); in _set_uncore_min_max()
628 filep = fopen(buffer, "w"); in _set_uncore_min_max()
[all …]
H A Disst-config.c221 FILE *filep = fopen(path, mode); in parse_int_file()
223 if (!filep) in parse_int_file()
226 return filep; in parse_int_file()
234 FILE *filep; in parse_int_file()
241 filep = fopen_or_exit(path, "r"); in cpufreq_sysfs_present()
243 filep = fopen(path, "r"); in cpufreq_sysfs_present()
244 if (!filep) in cpufreq_sysfs_present()
247 if (fscanf(filep, "%d", &value) != 1) in cpufreq_sysfs_present()
249 fclose(filep); in out_format_is_json()
665 FILE *filep; in set_max_cpu_num()
203 FILE *filep = fopen(path, mode); fopen_or_exit() local
216 FILE *filep; parse_int_file() local
647 FILE *filep; set_max_cpu_num() local
[all...]
/linux/drivers/bus/fsl-mc/
H A Dfsl-mc-uapi.c477 static int fsl_mc_uapi_dev_open(struct inode *inode, struct file *filep) in fsl_mc_uapi_dev_open() argument
490 mc_uapi = container_of(filep->private_data, struct fsl_mc_uapi, misc); in fsl_mc_uapi_dev_open()
511 filep->private_data = priv_data; in fsl_mc_uapi_dev_open()
524 static int fsl_mc_uapi_dev_release(struct inode *inode, struct file *filep) in fsl_mc_uapi_dev_release() argument
530 priv_data = filep->private_data; in fsl_mc_uapi_dev_release()
541 kfree(filep->private_data); in fsl_mc_uapi_dev_release()
542 filep->private_data = NULL; in fsl_mc_uapi_dev_release()
/linux/drivers/iio/
H A Dindustrialio-event.c99 static __poll_t iio_event_poll(struct file *filep, in iio_event_poll() argument
102 struct iio_dev *indio_dev = filep->private_data; in iio_event_poll()
110 poll_wait(filep, &ev_int->wait, wait); in iio_event_poll()
118 static ssize_t iio_event_chrdev_read(struct file *filep, in iio_event_chrdev_read() argument
123 struct iio_dev *indio_dev = filep->private_data; in iio_event_chrdev_read()
137 if (filep->f_flags & O_NONBLOCK) in iio_event_chrdev_read()
163 if (copied == 0 && (filep->f_flags & O_NONBLOCK)) in iio_event_chrdev_read()
171 static int iio_event_chrdev_release(struct inode *inode, struct file *filep) in iio_event_chrdev_release() argument
173 struct iio_dev *indio_dev = filep->private_data; in iio_event_chrdev_release()
/linux/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c196 static int crtc_crc_open(struct inode *inode, struct file *filep) in crtc_crc_open() argument
259 static int crtc_crc_release(struct inode *inode, struct file *filep) in crtc_crc_release() argument
261 struct drm_crtc *crtc = filep->f_inode->i_private; in crtc_crc_release()
285 static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf, in crtc_crc_read() argument
288 struct drm_crtc *crtc = filep->f_inode->i_private; in crtc_crc_read()
303 if (filep->f_flags & O_NONBLOCK) { in crtc_crc_read()
/linux/drivers/vfio/
H A Dcontainer.c327 static long vfio_fops_unl_ioctl(struct file *filep, in vfio_fops_unl_ioctl() argument
330 struct vfio_container *container = filep->private_data; in vfio_fops_unl_ioctl()
359 static int vfio_fops_open(struct inode *inode, struct file *filep) in vfio_fops_open() argument
371 filep->private_data = container; in vfio_fops_open()
376 static int vfio_fops_release(struct inode *inode, struct file *filep) in vfio_fops_release() argument
378 struct vfio_container *container = filep->private_data; in vfio_fops_release()
380 filep->private_data = NULL; in vfio_fops_release()
H A Dvfio_main.c636 static int vfio_device_fops_release(struct inode *inode, struct file *filep)
638 struct vfio_device_file *df = filep->private_data;
1333 static long vfio_device_fops_unl_ioctl(struct file *filep, in vfio_get_region_info()
1336 struct vfio_device_file *df = filep->private_data; in vfio_get_region_info()
1386 static ssize_t vfio_device_fops_read(struct file *filep, char __user *buf, in vfio_device_fops_unl_ioctl()
1389 struct vfio_device_file *df = filep->private_data; in vfio_device_fops_unl_ioctl()
1402 static ssize_t vfio_device_fops_write(struct file *filep, in vfio_device_fops_unl_ioctl()
1406 struct vfio_device_file *df = filep->private_data; in vfio_device_fops_unl_ioctl()
1419 static int vfio_device_fops_mmap(struct file *filep, struct vm_area_struct *vma) in vfio_device_fops_unl_ioctl()
1421 struct vfio_device_file *df = filep in vfio_device_fops_unl_ioctl()
672 vfio_device_fops_release(struct inode * inode,struct file * filep) vfio_device_fops_release() argument
1369 vfio_device_fops_unl_ioctl(struct file * filep,unsigned int cmd,unsigned long arg) vfio_device_fops_unl_ioctl() argument
1422 vfio_device_fops_read(struct file * filep,char __user * buf,size_t count,loff_t * ppos) vfio_device_fops_read() argument
1438 vfio_device_fops_write(struct file * filep,const char __user * buf,size_t count,loff_t * ppos) vfio_device_fops_write() argument
1455 vfio_device_fops_mmap(struct file * filep,struct vm_area_struct * vma) vfio_device_fops_mmap() argument
1471 vfio_device_show_fdinfo(struct seq_file * m,struct file * filep) vfio_device_show_fdinfo() argument
[all...]
/linux/drivers/net/ethernet/intel/fm10k/
H A Dfm10k_debugfs.c113 static int fm10k_dbg_desc_open(struct inode *inode, struct file *filep) in fm10k_dbg_desc_open() argument
125 err = seq_open(filep, desc_seq_ops); in fm10k_dbg_desc_open()
129 ((struct seq_file *)filep->private_data)->private = ring; in fm10k_dbg_desc_open()
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_debugfs.c20 static ssize_t debugfs_dim_read(struct file *filep, in debugfs_dim_read() argument
24 struct dim *dim = filep->private_data; in debugfs_dim_read()
/linux/tools/hv/
H A Dhv_kvp_daemon.c160 FILE *filep; in kvp_update_file() local
168 filep = fopen(kvp_file_info[pool].fname, "we"); in kvp_update_file()
169 if (!filep) { in kvp_update_file()
177 kvp_file_info[pool].num_records, filep); in kvp_update_file()
179 if (ferror(filep) || fclose(filep)) { in kvp_update_file()
204 FILE *filep; in kvp_update_mem_state() local
213 filep = fopen(kvp_file_info[pool].fname, "re"); in kvp_update_mem_state()
214 if (!filep) { in kvp_update_mem_state()
224 filep); in kvp_update_mem_state()
226 if (ferror(filep)) { in kvp_update_mem_state()
[all …]
/linux/drivers/gpib/include/
H A Dgpib_proto.h8 int ibopen(struct inode *inode, struct file *filep);
10 long ibioctl(struct file *filep, unsigned int cmd, unsigned long arg);
/linux/mm/
H A Dgup_test.c321 static long pin_longterm_test_ioctl(struct file *filep, unsigned int cmd,
324 struct gup_test_data *data = filep->private_data; in pin_longterm_test_ioctl()
347 static long gup_test_ioctl(struct file *filep, unsigned int cmd,
364 return pin_longterm_test_ioctl(filep, cmd, arg); in gup_test_ioctl()
322 pin_longterm_test_ioctl(struct file * filep,unsigned int cmd,unsigned long arg) pin_longterm_test_ioctl() argument
348 gup_test_ioctl(struct file * filep,unsigned int cmd,unsigned long arg) gup_test_ioctl() argument
/linux/drivers/scsi/qedf/
H A Dqedf_attr.c106 qedf_sysfs_read_grcdump(struct file *filep, struct kobject *kobj, in qedf_sysfs_read_grcdump() argument
126 qedf_sysfs_write_grcdump(struct file *filep, struct kobject *kobj, in qedf_sysfs_write_grcdump() argument
/linux/arch/x86/kernel/cpu/sgx/
H A Ddriver.h24 long sgx_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);

123