Searched refs:filep (Results 1 - 25 of 78) sorted by path

1234

/linux-master/arch/powerpc/kernel/
H A Dsecvar-sysfs.c54 static ssize_t data_read(struct file *filep, struct kobject *kobj, argument
87 static ssize_t update_write(struct file *filep, struct kobject *kobj, argument
/linux-master/arch/powerpc/platforms/powernv/
H A Dopal-dump.c288 static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj, argument
H A Dopal-elog.c158 static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj, argument
/linux-master/arch/x86/kernel/cpu/sgx/
H A Ddriver.c120 static long sgx_compat_ioctl(struct file *filep, unsigned int cmd, argument
123 return sgx_ioctl(filep, cmd, arg);
H A Ddriver.h25 long sgx_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
H A Dioctl.c1225 long sgx_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
1227 struct sgx_encl *encl = filep->private_data;
/linux-master/drivers/accel/habanalabs/common/
H A Dhabanalabs.h4210 long hl_ioctl_control(struct file *filep, unsigned int cmd, unsigned long arg);
H A Dhabanalabs_ioctl.c1296 long hl_ioctl_control(struct file *filep, unsigned int cmd, unsigned long arg) argument
1298 struct hl_fpriv *hpriv = filep->private_data;
/linux-master/drivers/bus/fsl-mc/
H A Dfsl-mc-uapi.c470 static int fsl_mc_uapi_dev_open(struct inode *inode, struct file *filep) argument
483 mc_uapi = container_of(filep->private_data, struct fsl_mc_uapi, misc);
504 filep->private_data = priv_data;
517 static int fsl_mc_uapi_dev_release(struct inode *inode, struct file *filep) argument
523 priv_data = filep->private_data;
534 kfree(filep->private_data);
535 filep->private_data = NULL;
/linux-master/drivers/char/ipmi/
H A Dipmi_devintf.c719 static long compat_ipmi_ioctl(struct file *filep, unsigned int cmd, argument
722 struct ipmi_file_private *priv = filep->private_data;
774 return ipmi_ioctl(filep, cmd, arg);
H A Dipmi_watchdog.c833 static int ipmi_open(struct inode *ino, struct file *filep) argument
846 return stream_open(ino, filep);
876 static int ipmi_close(struct inode *ino, struct file *filep) argument
/linux-master/drivers/char/
H A Dnwflash.c96 static long flash_ioctl(struct file *filep, unsigned int cmd, unsigned long arg) argument
/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/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/fsi/
H A Dfsi-core.c660 static ssize_t cfam_read(struct file *filep, char __user *buf, size_t count, argument
663 struct fsi_slave *slave = filep->private_data;
696 static ssize_t cfam_write(struct file *filep, const char __user *buf, argument
699 struct fsi_slave *slave = filep->private_data;
H A Dfsi-scom.c313 static ssize_t scom_read(struct file *filep, char __user *buf, size_t len, argument
316 struct scom_device *scom = filep->private_data;
342 static ssize_t scom_write(struct file *filep, const char __user *buf, argument
346 struct scom_device *scom = filep->private_data;
H A Di2cr-scom.c35 static ssize_t i2cr_scom_read(struct file *filep, char __user *buf, size_t len, loff_t *offset) argument
37 struct i2cr_scom *scom = filep->private_data;
55 static ssize_t i2cr_scom_write(struct file *filep, const char __user *buf, size_t len, argument
58 struct i2cr_scom *scom = filep->private_data;
/linux-master/drivers/gpu/drm/amd/amdkfd/
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);
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_smi_events.c64 static __poll_t kfd_smi_ev_poll(struct file *filep, argument
67 struct kfd_smi_client *client = filep->private_data;
70 poll_wait(filep, &client->wait_queue, wait);
80 static ssize_t kfd_smi_ev_read(struct file *filep, char __user *user, argument
85 struct kfd_smi_client *client = filep->private_data;
125 static ssize_t kfd_smi_ev_write(struct file *filep, const char __user *user, argument
128 struct kfd_smi_client *client = filep->private_data;
149 static int kfd_smi_ev_release(struct inode *inode, struct file *filep) argument
151 struct kfd_smi_client *client = filep->private_data;
/linux-master/drivers/gpu/drm/
H A Ddrm_debugfs_crc.c195 static int crtc_crc_open(struct inode *inode, struct file *filep) argument
258 static int crtc_crc_release(struct inode *inode, struct file *filep) argument
260 struct drm_crtc *crtc = filep->f_inode->i_private;
284 static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf, argument
287 struct drm_crtc *crtc = filep->f_inode->i_private;
302 if (filep->f_flags & O_NONBLOCK) {
H A Ddrm_gem.c760 * @filep: DRM file private date
770 long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle, argument
776 obj = drm_gem_object_lookup(filep, handle);
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_ttm.c781 static int radeon_ttm_vram_open(struct inode *inode, struct file *filep) argument
785 filep->private_data = inode->i_private;
833 static int radeon_ttm_gtt_open(struct inode *inode, struct file *filep) argument
837 filep->private_data = inode->i_private;
/linux-master/drivers/iio/
H A Dindustrialio-buffer.c1522 static int iio_buffer_chrdev_release(struct inode *inode, struct file *filep) argument
1524 struct iio_dev_buffer_pair *ib = filep->private_data;

Completed in 506 milliseconds

1234