filep             282 arch/powerpc/platforms/powernv/opal-dump.c static ssize_t dump_attr_read(struct file *filep, struct kobject *kobj,
filep             152 arch/powerpc/platforms/powernv/opal-elog.c static ssize_t raw_attr_read(struct file *filep, struct kobject *kobj,
filep             718 drivers/char/ipmi/ipmi_devintf.c static long compat_ipmi_ioctl(struct file *filep, unsigned int cmd,
filep             721 drivers/char/ipmi/ipmi_devintf.c 	struct ipmi_file_private *priv = filep->private_data;
filep             773 drivers/char/ipmi/ipmi_devintf.c 		return ipmi_ioctl(filep, cmd, arg);
filep             827 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_open(struct inode *ino, struct file *filep)
filep             840 drivers/char/ipmi/ipmi_watchdog.c 		return stream_open(ino, filep);
filep             870 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_close(struct inode *ino, struct file *filep)
filep              96 drivers/char/nwflash.c static long flash_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep            1020 drivers/crypto/ccp/psp-dev.c int sev_issue_cmd_external_user(struct file *filep, unsigned int cmd,
filep            1023 drivers/crypto/ccp/psp-dev.c 	if (!filep || filep->f_op != &sev_fops)
filep             688 drivers/fsi/fsi-core.c static ssize_t cfam_read(struct file *filep, char __user *buf, size_t count,
filep             691 drivers/fsi/fsi-core.c 	struct fsi_slave *slave = filep->private_data;
filep             724 drivers/fsi/fsi-core.c static ssize_t cfam_write(struct file *filep, const char __user *buf,
filep             727 drivers/fsi/fsi-core.c 	struct fsi_slave *slave = filep->private_data;
filep             352 drivers/fsi/fsi-scom.c static ssize_t scom_read(struct file *filep, char __user *buf, size_t len,
filep             355 drivers/fsi/fsi-scom.c 	struct scom_device *scom = filep->private_data;
filep             381 drivers/fsi/fsi-scom.c static ssize_t scom_write(struct file *filep, const char __user *buf,
filep             385 drivers/fsi/fsi-scom.c 	struct scom_device *scom = filep->private_data;
filep             436 drivers/gpio/gpiolib.c static long linehandle_ioctl(struct file *filep, unsigned int cmd,
filep             439 drivers/gpio/gpiolib.c 	struct linehandle_state *lh = filep->private_data;
filep             491 drivers/gpio/gpiolib.c static long linehandle_ioctl_compat(struct file *filep, unsigned int cmd,
filep             494 drivers/gpio/gpiolib.c 	return linehandle_ioctl(filep, cmd, (unsigned long)compat_ptr(arg));
filep             498 drivers/gpio/gpiolib.c static int linehandle_release(struct inode *inode, struct file *filep)
filep             500 drivers/gpio/gpiolib.c 	struct linehandle_state *lh = filep->private_data;
filep             711 drivers/gpio/gpiolib.c static __poll_t lineevent_poll(struct file *filep,
filep             714 drivers/gpio/gpiolib.c 	struct lineevent_state *le = filep->private_data;
filep             717 drivers/gpio/gpiolib.c 	poll_wait(filep, &le->wait, wait);
filep             726 drivers/gpio/gpiolib.c static ssize_t lineevent_read(struct file *filep,
filep             731 drivers/gpio/gpiolib.c 	struct lineevent_state *le = filep->private_data;
filep             740 drivers/gpio/gpiolib.c 			if (filep->f_flags & O_NONBLOCK)
filep             763 drivers/gpio/gpiolib.c 		if (copied == 0 && (filep->f_flags & O_NONBLOCK))
filep             771 drivers/gpio/gpiolib.c static int lineevent_release(struct inode *inode, struct file *filep)
filep             773 drivers/gpio/gpiolib.c 	struct lineevent_state *le = filep->private_data;
filep             784 drivers/gpio/gpiolib.c static long lineevent_ioctl(struct file *filep, unsigned int cmd,
filep             787 drivers/gpio/gpiolib.c 	struct lineevent_state *le = filep->private_data;
filep             814 drivers/gpio/gpiolib.c static long lineevent_ioctl_compat(struct file *filep, unsigned int cmd,
filep             817 drivers/gpio/gpiolib.c 	return lineevent_ioctl(filep, cmd, (unsigned long)compat_ptr(arg));
filep             105 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_open(struct inode *inode, struct file *filep)
filep             123 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	process = kfd_create_process(filep);
filep             136 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_version(struct file *filep, struct kfd_process *p,
filep             252 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_create_queue(struct file *filep, struct kfd_process *p,
filep             289 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	err = pqm_create_queue(&p->pqm, dev, filep, &q_properties, &queue_id);
filep             448 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_queue_wave_state(struct file *filep,
filep             466 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_memory_policy(struct file *filep,
filep             518 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_trap_handler(struct file *filep,
filep             550 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_register(struct file *filep,
filep             604 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_unregister(struct file *filep,
filep             642 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_address_watch(struct file *filep,
filep             742 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_dbg_wave_control(struct file *filep,
filep             826 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_clock_counters(struct file *filep,
filep            1106 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_set_scratch_backing_va(struct file *filep,
filep            1142 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_tile_config(struct file *filep,
filep            1184 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_acquire_vm(struct file *filep, struct kfd_process *p,
filep            1247 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_alloc_memory_of_gpu(struct file *filep,
filep            1329 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_free_memory_of_gpu(struct file *filep,
filep            1373 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_map_memory_to_gpu(struct file *filep,
filep            1483 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_unmap_memory_from_gpu(struct file *filep,
filep            1570 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_get_dmabuf_info(struct file *filep,
filep            1625 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static int kfd_ioctl_import_dmabuf(struct file *filep,
filep            1776 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c static long kfd_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep            1844 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	retcode = func(filep, process, kdata);
filep             748 drivers/gpu/drm/amd/amdkfd/kfd_priv.h typedef int amdkfd_ioctl_t(struct file *filep, struct kfd_process *p,
filep             762 drivers/gpu/drm/amd/amdkfd/kfd_priv.h struct kfd_process *kfd_create_process(struct file *filep);
filep              66 drivers/gpu/drm/amd/amdkfd/kfd_process.c static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep);
filep             267 drivers/gpu/drm/amd/amdkfd/kfd_process.c struct kfd_process *kfd_create_process(struct file *filep)
filep             296 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		ret = kfd_process_init_cwsr_apu(process, filep);
filep             551 drivers/gpu/drm/amd/amdkfd/kfd_process.c static int kfd_process_init_cwsr_apu(struct kfd_process *p, struct file *filep)
filep             565 drivers/gpu/drm/amd/amdkfd/kfd_process.c 		qpd->tba_addr = (int64_t)vm_mmap(filep, 0,
filep             193 drivers/gpu/drm/drm_debugfs_crc.c static int crtc_crc_open(struct inode *inode, struct file *filep)
filep             256 drivers/gpu/drm/drm_debugfs_crc.c static int crtc_crc_release(struct inode *inode, struct file *filep)
filep             258 drivers/gpu/drm/drm_debugfs_crc.c 	struct drm_crtc *crtc = filep->f_inode->i_private;
filep             277 drivers/gpu/drm/drm_debugfs_crc.c static ssize_t crtc_crc_read(struct file *filep, char __user *user_buf,
filep             280 drivers/gpu/drm/drm_debugfs_crc.c 	struct drm_crtc *crtc = filep->f_inode->i_private;
filep             295 drivers/gpu/drm/drm_debugfs_crc.c 		if (filep->f_flags & O_NONBLOCK) {
filep             770 drivers/gpu/drm/drm_gem.c long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
filep             776 drivers/gpu/drm/drm_gem.c 	obj = drm_gem_object_lookup(filep, handle);
filep             953 drivers/gpu/drm/radeon/radeon_ttm.c static int radeon_ttm_vram_open(struct inode *inode, struct file *filep)
filep             957 drivers/gpu/drm/radeon/radeon_ttm.c 	filep->private_data = inode->i_private;
filep            1005 drivers/gpu/drm/radeon/radeon_ttm.c static int radeon_ttm_gtt_open(struct inode *inode, struct file *filep)
filep            1009 drivers/gpu/drm/radeon/radeon_ttm.c 	filep->private_data = inode->i_private;
filep              95 drivers/iio/industrialio-event.c static __poll_t iio_event_poll(struct file *filep,
filep              98 drivers/iio/industrialio-event.c 	struct iio_dev *indio_dev = filep->private_data;
filep             105 drivers/iio/industrialio-event.c 	poll_wait(filep, &ev_int->wait, wait);
filep             113 drivers/iio/industrialio-event.c static ssize_t iio_event_chrdev_read(struct file *filep,
filep             118 drivers/iio/industrialio-event.c 	struct iio_dev *indio_dev = filep->private_data;
filep             131 drivers/iio/industrialio-event.c 			if (filep->f_flags & O_NONBLOCK)
filep             157 drivers/iio/industrialio-event.c 		if (copied == 0 && (filep->f_flags & O_NONBLOCK))
filep             165 drivers/iio/industrialio-event.c static int iio_event_chrdev_release(struct inode *inode, struct file *filep)
filep             167 drivers/iio/industrialio-event.c 	struct iio_dev *indio_dev = filep->private_data;
filep              44 drivers/isdn/mISDN/timerdev.c mISDN_open(struct inode *ino, struct file *filep)
filep              49 drivers/isdn/mISDN/timerdev.c 		printk(KERN_DEBUG "%s(%p,%p)\n", __func__, ino, filep);
filep              59 drivers/isdn/mISDN/timerdev.c 	filep->private_data = dev;
filep              60 drivers/isdn/mISDN/timerdev.c 	return nonseekable_open(ino, filep);
filep              64 drivers/isdn/mISDN/timerdev.c mISDN_close(struct inode *ino, struct file *filep)
filep              66 drivers/isdn/mISDN/timerdev.c 	struct mISDNtimerdev	*dev = filep->private_data;
filep              71 drivers/isdn/mISDN/timerdev.c 		printk(KERN_DEBUG "%s(%p,%p)\n", __func__, ino, filep);
filep              93 drivers/isdn/mISDN/timerdev.c mISDN_read(struct file *filep, char __user *buf, size_t count, loff_t *off)
filep              95 drivers/isdn/mISDN/timerdev.c 	struct mISDNtimerdev	*dev = filep->private_data;
filep             102 drivers/isdn/mISDN/timerdev.c 		       filep, buf, (int)count, off);
filep             110 drivers/isdn/mISDN/timerdev.c 		if (filep->f_flags & O_NONBLOCK)
filep             136 drivers/isdn/mISDN/timerdev.c mISDN_poll(struct file *filep, poll_table *wait)
filep             138 drivers/isdn/mISDN/timerdev.c 	struct mISDNtimerdev	*dev = filep->private_data;
filep             142 drivers/isdn/mISDN/timerdev.c 		printk(KERN_DEBUG "%s(%p, %p)\n", __func__, filep, wait);
filep             144 drivers/isdn/mISDN/timerdev.c 		poll_wait(filep, &dev->wait, wait);
filep             217 drivers/isdn/mISDN/timerdev.c mISDN_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep             219 drivers/isdn/mISDN/timerdev.c 	struct mISDNtimerdev	*dev = filep->private_data;
filep             225 drivers/isdn/mISDN/timerdev.c 		       filep, cmd, arg);
filep            1289 drivers/media/platform/davinci/vpif_capture.c static int vpif_log_status(struct file *filep, void *priv)
filep            1038 drivers/media/platform/davinci/vpif_display.c static int vpif_log_status(struct file *filep, void *priv)
filep             600 drivers/message/fusion/mptctl.c mptctl_fasync(int fd, struct file *filep, int mode)
filep             609 drivers/message/fusion/mptctl.c 	ret = fasync_helper(fd, filep, mode, &async_queue);
filep             934 drivers/misc/eeprom/idt_89hpesx.c static ssize_t idt_dbgfs_csr_write(struct file *filep, const char __user *ubuf,
filep             937 drivers/misc/eeprom/idt_89hpesx.c 	struct idt_89hpesx_dev *pdev = filep->private_data;
filep            1028 drivers/misc/eeprom/idt_89hpesx.c static ssize_t idt_dbgfs_csr_read(struct file *filep, char __user *ubuf,
filep            1031 drivers/misc/eeprom/idt_89hpesx.c 	struct idt_89hpesx_dev *pdev = filep->private_data;
filep            1665 drivers/misc/habanalabs/habanalabs.h long hl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
filep            1666 drivers/misc/habanalabs/habanalabs.h long hl_ioctl_control(struct file *filep, unsigned int cmd, unsigned long arg);
filep             351 drivers/misc/habanalabs/habanalabs_ioctl.c static long _hl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg,
filep             354 drivers/misc/habanalabs/habanalabs_ioctl.c 	struct hl_fpriv *hpriv = filep->private_data;
filep             424 drivers/misc/habanalabs/habanalabs_ioctl.c long hl_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep             426 drivers/misc/habanalabs/habanalabs_ioctl.c 	struct hl_fpriv *hpriv = filep->private_data;
filep             439 drivers/misc/habanalabs/habanalabs_ioctl.c 	return _hl_ioctl(filep, cmd, arg, ioctl, hdev->dev);
filep             442 drivers/misc/habanalabs/habanalabs_ioctl.c long hl_ioctl_control(struct file *filep, unsigned int cmd, unsigned long arg)
filep             444 drivers/misc/habanalabs/habanalabs_ioctl.c 	struct hl_fpriv *hpriv = filep->private_data;
filep             457 drivers/misc/habanalabs/habanalabs_ioctl.c 	return _hl_ioctl(filep, cmd, arg, ioctl, hdev->dev_ctrl);
filep              20 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c static ssize_t debugfs_dim_read(struct file *filep,
filep              24 drivers/net/ethernet/broadcom/bnxt/bnxt_debugfs.c 	struct dim *dim = filep->private_data;
filep             113 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c static int fm10k_dbg_desc_open(struct inode *inode, struct file *filep)
filep             125 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	err = seq_open(filep, desc_seq_ops);
filep             129 drivers/net/ethernet/intel/fm10k/fm10k_debugfs.c 	((struct seq_file *)filep->private_data)->private = ring;
filep            1150 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_read_info(struct file *filep, char __user *ubuf,
filep            1153 drivers/ntb/test/ntb_perf.c 	struct perf_ctx *perf = filep->private_data;
filep            1230 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_read_run(struct file *filep, char __user *ubuf,
filep            1233 drivers/ntb/test/ntb_perf.c 	struct perf_ctx *perf = filep->private_data;
filep            1252 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_write_run(struct file *filep, const char __user *ubuf,
filep            1255 drivers/ntb/test/ntb_perf.c 	struct perf_ctx *perf = filep->private_data;
filep            1281 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_read_tcnt(struct file *filep, char __user *ubuf,
filep            1284 drivers/ntb/test/ntb_perf.c 	struct perf_ctx *perf = filep->private_data;
filep            1293 drivers/ntb/test/ntb_perf.c static ssize_t perf_dbgfs_write_tcnt(struct file *filep,
filep            1297 drivers/ntb/test/ntb_perf.c 	struct perf_ctx *perf = filep->private_data;
filep             410 drivers/ntb/test/ntb_tool.c static ssize_t tool_port_read(struct file *filep, char __user *ubuf,
filep             413 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep             426 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_port_read(struct file *filep, char __user *ubuf,
filep             429 drivers/ntb/test/ntb_tool.c 	struct tool_peer *peer = filep->private_data;
filep             467 drivers/ntb/test/ntb_tool.c static ssize_t tool_link_write(struct file *filep, const char __user *ubuf,
filep             470 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep             493 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_link_read(struct file *filep, char __user *ubuf,
filep             496 drivers/ntb/test/ntb_tool.c 	struct tool_peer *peer = filep->private_data;
filep             514 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_link_event_write(struct file *filep,
filep             518 drivers/ntb/test/ntb_tool.c 	struct tool_peer *peer = filep->private_data;
filep             546 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_read(struct file *filep, char __user *ubuf,
filep             549 drivers/ntb/test/ntb_tool.c 	struct tool_mw *inmw = filep->private_data;
filep             558 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_write(struct file *filep, const char __user *ubuf,
filep             561 drivers/ntb/test/ntb_tool.c 	struct tool_mw *inmw = filep->private_data;
filep             642 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_trans_read(struct file *filep, char __user *ubuf,
filep             645 drivers/ntb/test/ntb_tool.c 	struct tool_mw *inmw = filep->private_data;
filep             704 drivers/ntb/test/ntb_tool.c static ssize_t tool_mw_trans_write(struct file *filep, const char __user *ubuf,
filep             707 drivers/ntb/test/ntb_tool.c 	struct tool_mw *inmw = filep->private_data;
filep             729 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_read(struct file *filep, char __user *ubuf,
filep             732 drivers/ntb/test/ntb_tool.c 	struct tool_mw *outmw = filep->private_data;
filep             767 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_write(struct file *filep, const char __user *ubuf,
filep             770 drivers/ntb/test/ntb_tool.c 	struct tool_mw *outmw = filep->private_data;
filep             870 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_trans_read(struct file *filep, char __user *ubuf,
filep             873 drivers/ntb/test/ntb_tool.c 	struct tool_mw_wrap *outmw_wrap = filep->private_data;
filep             927 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_mw_trans_write(struct file *filep,
filep             931 drivers/ntb/test/ntb_tool.c 	struct tool_mw_wrap *outmw_wrap = filep->private_data;
filep            1028 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_read(struct file *filep, char __user *ubuf,
filep            1031 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1036 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_write(struct file *filep, const char __user *ubuf,
filep            1039 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1049 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_valid_mask_read(struct file *filep, char __user *ubuf,
filep            1052 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1061 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_mask_read(struct file *filep, char __user *ubuf,
filep            1064 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1069 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_mask_write(struct file *filep, const char __user *ubuf,
filep            1072 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1082 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_read(struct file *filep, char __user *ubuf,
filep            1085 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1090 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_write(struct file *filep, const char __user *ubuf,
filep            1093 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1103 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_mask_read(struct file *filep, char __user *ubuf,
filep            1106 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1112 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_db_mask_write(struct file *filep,
filep            1116 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1127 drivers/ntb/test/ntb_tool.c static ssize_t tool_db_event_write(struct file *filep,
filep            1131 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1154 drivers/ntb/test/ntb_tool.c static ssize_t tool_spad_read(struct file *filep, char __user *ubuf,
filep            1157 drivers/ntb/test/ntb_tool.c 	struct tool_spad *spad = filep->private_data;
filep            1170 drivers/ntb/test/ntb_tool.c static ssize_t tool_spad_write(struct file *filep, const char __user *ubuf,
filep            1173 drivers/ntb/test/ntb_tool.c 	struct tool_spad *spad = filep->private_data;
filep            1195 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_spad_read(struct file *filep, char __user *ubuf,
filep            1198 drivers/ntb/test/ntb_tool.c 	struct tool_spad *spad = filep->private_data;
filep            1211 drivers/ntb/test/ntb_tool.c static ssize_t tool_peer_spad_write(struct file *filep, const char __user *ubuf,
filep            1214 drivers/ntb/test/ntb_tool.c 	struct tool_spad *spad = filep->private_data;
filep            1277 drivers/ntb/test/ntb_tool.c static ssize_t tool_inmsg_read(struct file *filep, char __user *ubuf,
filep            1280 drivers/ntb/test/ntb_tool.c 	struct tool_msg *msg = filep->private_data;
filep            1297 drivers/ntb/test/ntb_tool.c static ssize_t tool_outmsg_write(struct file *filep,
filep            1301 drivers/ntb/test/ntb_tool.c 	struct tool_msg *msg = filep->private_data;
filep            1318 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_sts_read(struct file *filep, char __user *ubuf,
filep            1321 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1326 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_sts_write(struct file *filep, const char __user *ubuf,
filep            1329 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1339 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_inbits_read(struct file *filep, char __user *ubuf,
filep            1342 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1351 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_outbits_read(struct file *filep, char __user *ubuf,
filep            1354 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1363 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_mask_write(struct file *filep, const char __user *ubuf,
filep            1366 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep            1377 drivers/ntb/test/ntb_tool.c static ssize_t tool_msg_event_write(struct file *filep,
filep            1381 drivers/ntb/test/ntb_tool.c 	struct tool_ctx *tc = filep->private_data;
filep             155 drivers/scsi/gdth.c static int gdth_open(struct inode *inode, struct file *filep);
filep             156 drivers/scsi/gdth.c static int gdth_close(struct inode *inode, struct file *filep);
filep             157 drivers/scsi/gdth.c static long gdth_unlocked_ioctl(struct file *filep, unsigned int cmd,
filep            3426 drivers/scsi/gdth.c static int gdth_open(struct inode *inode, struct file *filep)
filep            3441 drivers/scsi/gdth.c static int gdth_close(struct inode *inode, struct file *filep)
filep            3877 drivers/scsi/gdth.c static int gdth_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep            4169 drivers/scsi/ipr.c static ssize_t ipr_read_async_err_log(struct file *filep, struct kobject *kobj,
filep            4193 drivers/scsi/ipr.c static ssize_t ipr_next_async_err_log(struct file *filep, struct kobject *kobj,
filep              92 drivers/scsi/megaraid.c megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
filep            2953 drivers/scsi/megaraid.c megadev_open (struct inode *inode, struct file *filep)
filep            2977 drivers/scsi/megaraid.c megadev_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep            3369 drivers/scsi/megaraid.c megadev_unlocked_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep            3374 drivers/scsi/megaraid.c 	ret = megadev_ioctl(filep, cmd, arg);
filep              92 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_open(struct inode *inode, struct file *filep)
filep             110 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep             222 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_unlocked_ioctl(struct file *filep, unsigned int cmd,
filep             229 drivers/scsi/megaraid/megaraid_mm.c 	err = mraid_mm_ioctl(filep, cmd, arg);
filep            1239 drivers/scsi/megaraid/megaraid_mm.c mraid_mm_compat_ioctl(struct file *filep, unsigned int cmd,
filep            1244 drivers/scsi/megaraid/megaraid_mm.c 	err = mraid_mm_ioctl(filep, cmd, arg);
filep            7921 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_open(struct inode *inode, struct file *filep)
filep            7938 drivers/scsi/megaraid/megaraid_sas_base.c static int megasas_mgmt_fasync(int fd, struct file *filep, int mode)
filep            7944 drivers/scsi/megaraid/megaraid_sas_base.c 	rc = fasync_helper(fd, filep, mode, &megasas_async_queue);
filep            7950 drivers/scsi/megaraid/megaraid_sas_base.c 		filep->private_data = filep;
filep             522 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_fasync(int fd, struct file *filep, int mode)
filep             524 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	return fasync_helper(fd, filep, mode, &async_queue);
filep             534 drivers/scsi/mpt3sas/mpt3sas_ctl.c _ctl_poll(struct file *filep, poll_table *wait)
filep             538 drivers/scsi/mpt3sas/mpt3sas_ctl.c 	poll_wait(filep, &ctl_poll_wait, wait);
filep            3438 drivers/scsi/pmcraid.c static int pmcraid_chr_open(struct inode *inode, struct file *filep)
filep            3447 drivers/scsi/pmcraid.c 	filep->private_data = pinstance;
filep            3458 drivers/scsi/pmcraid.c static int pmcraid_chr_fasync(int fd, struct file *filep, int mode)
filep            3463 drivers/scsi/pmcraid.c 	pinstance = filep->private_data;
filep            3465 drivers/scsi/pmcraid.c 	rc = fasync_helper(fd, filep, mode, &pinstance->aen_queue);
filep            3903 drivers/scsi/pmcraid.c 	struct file *filep,
filep            3928 drivers/scsi/pmcraid.c 	pinstance = filep->private_data;
filep              99 drivers/scsi/qedf/qedf_attr.c qedf_sysfs_read_grcdump(struct file *filep, struct kobject *kobj,
filep             119 drivers/scsi/qedf/qedf_attr.c qedf_sysfs_write_grcdump(struct file *filep, struct kobject *kobj,
filep              13 drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_read_fw_dump(struct file *filep, struct kobject *kobj,
filep              31 drivers/scsi/qla4xxx/ql4_attr.c qla4_8xxx_sysfs_write_fw_dump(struct file *filep, struct kobject *kobj,
filep             872 drivers/scsi/scsi_sysfs.c static ssize_t show_inquiry(struct file *filep, struct kobject *kobj,
filep             132 drivers/soc/qcom/rmtfs_mem.c static int qcom_rmtfs_mem_mmap(struct file *filep, struct vm_area_struct *vma)
filep             134 drivers/soc/qcom/rmtfs_mem.c 	struct qcom_rmtfs_mem *rmtfs_mem = filep->private_data;
filep             229 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_open(struct inode *ino, struct file *filep)
filep             240 drivers/staging/isdn/hysdn/hysdn_procconf.c 			     filep->f_cred->fsuid, filep->f_cred->fsgid,
filep             241 drivers/staging/isdn/hysdn/hysdn_procconf.c 			     filep->f_mode);
filep             243 drivers/staging/isdn/hysdn/hysdn_procconf.c 	if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) {
filep             253 drivers/staging/isdn/hysdn/hysdn_procconf.c 		filep->private_data = cnf;
filep             255 drivers/staging/isdn/hysdn/hysdn_procconf.c 	} else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) {
filep             262 drivers/staging/isdn/hysdn/hysdn_procconf.c 		filep->private_data = tmp;	/* start of string */
filep             297 drivers/staging/isdn/hysdn/hysdn_procconf.c 	return nonseekable_open(ino, filep);
filep             304 drivers/staging/isdn/hysdn/hysdn_procconf.c hysdn_conf_close(struct inode *ino, struct file *filep)
filep             314 drivers/staging/isdn/hysdn/hysdn_procconf.c 			     filep->f_cred->fsuid, filep->f_cred->fsgid,
filep             315 drivers/staging/isdn/hysdn/hysdn_procconf.c 			     filep->f_mode);
filep             317 drivers/staging/isdn/hysdn/hysdn_procconf.c 	if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) {
filep             319 drivers/staging/isdn/hysdn/hysdn_procconf.c 		if (filep->private_data) {
filep             320 drivers/staging/isdn/hysdn/hysdn_procconf.c 			cnf = filep->private_data;
filep             324 drivers/staging/isdn/hysdn/hysdn_procconf.c 			kfree(filep->private_data);	/* free allocated memory for buffer */
filep             327 drivers/staging/isdn/hysdn/hysdn_procconf.c 	} else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) {
filep             330 drivers/staging/isdn/hysdn/hysdn_procconf.c 		kfree(filep->private_data);	/* release memory */
filep             202 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_open(struct inode *ino, struct file *filep)
filep             207 drivers/staging/isdn/hysdn/hysdn_proclog.c 	if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) {
filep             209 drivers/staging/isdn/hysdn/hysdn_proclog.c 		filep->private_data = card;	/* remember our own card */
filep             210 drivers/staging/isdn/hysdn/hysdn_proclog.c 	} else if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_READ) {
filep             218 drivers/staging/isdn/hysdn/hysdn_proclog.c 			filep->private_data = &pd->log_tail->next;
filep             220 drivers/staging/isdn/hysdn/hysdn_proclog.c 			filep->private_data = &pd->log_head;
filep             227 drivers/staging/isdn/hysdn/hysdn_proclog.c 	return nonseekable_open(ino, filep);
filep             238 drivers/staging/isdn/hysdn/hysdn_proclog.c hysdn_log_close(struct inode *ino, struct file *filep)
filep             246 drivers/staging/isdn/hysdn/hysdn_proclog.c 	if ((filep->f_mode & (FMODE_READ | FMODE_WRITE)) == FMODE_WRITE) {
filep             252 drivers/staging/isdn/hysdn/hysdn_proclog.c 		inf = *((struct log_data **) filep->private_data);	/* get first log entry */
filep             257 drivers/staging/isdn/hysdn/hysdn_proclog.c 			card = PDE_DATA(file_inode(filep));
filep             459 drivers/uio/uio.c static int uio_open(struct inode *inode, struct file *filep)
filep             488 drivers/uio/uio.c 	filep->private_data = listener;
filep             518 drivers/uio/uio.c static int uio_fasync(int fd, struct file *filep, int on)
filep             520 drivers/uio/uio.c 	struct uio_listener *listener = filep->private_data;
filep             523 drivers/uio/uio.c 	return fasync_helper(fd, filep, on, &idev->async_queue);
filep             526 drivers/uio/uio.c static int uio_release(struct inode *inode, struct file *filep)
filep             529 drivers/uio/uio.c 	struct uio_listener *listener = filep->private_data;
filep             543 drivers/uio/uio.c static __poll_t uio_poll(struct file *filep, poll_table *wait)
filep             545 drivers/uio/uio.c 	struct uio_listener *listener = filep->private_data;
filep             557 drivers/uio/uio.c 	poll_wait(filep, &idev->wait, wait);
filep             563 drivers/uio/uio.c static ssize_t uio_read(struct file *filep, char __user *buf,
filep             566 drivers/uio/uio.c 	struct uio_listener *listener = filep->private_data;
filep             600 drivers/uio/uio.c 		if (filep->f_flags & O_NONBLOCK) {
filep             618 drivers/uio/uio.c static ssize_t uio_write(struct file *filep, const char __user *buf,
filep             621 drivers/uio/uio.c 	struct uio_listener *listener = filep->private_data;
filep             760 drivers/uio/uio.c static int uio_mmap(struct file *filep, struct vm_area_struct *vma)
filep             762 drivers/uio/uio.c 	struct uio_listener *listener = filep->private_data;
filep            1155 drivers/vfio/vfio.c static long vfio_fops_unl_ioctl(struct file *filep,
filep            1158 drivers/vfio/vfio.c 	struct vfio_container *container = filep->private_data;
filep            1188 drivers/vfio/vfio.c static long vfio_fops_compat_ioctl(struct file *filep,
filep            1192 drivers/vfio/vfio.c 	return vfio_fops_unl_ioctl(filep, cmd, arg);
filep            1196 drivers/vfio/vfio.c static int vfio_fops_open(struct inode *inode, struct file *filep)
filep            1208 drivers/vfio/vfio.c 	filep->private_data = container;
filep            1213 drivers/vfio/vfio.c static int vfio_fops_release(struct inode *inode, struct file *filep)
filep            1215 drivers/vfio/vfio.c 	struct vfio_container *container = filep->private_data;
filep            1217 drivers/vfio/vfio.c 	filep->private_data = NULL;
filep            1228 drivers/vfio/vfio.c static ssize_t vfio_fops_read(struct file *filep, char __user *buf,
filep            1231 drivers/vfio/vfio.c 	struct vfio_container *container = filep->private_data;
filep            1243 drivers/vfio/vfio.c static ssize_t vfio_fops_write(struct file *filep, const char __user *buf,
filep            1246 drivers/vfio/vfio.c 	struct vfio_container *container = filep->private_data;
filep            1258 drivers/vfio/vfio.c static int vfio_fops_mmap(struct file *filep, struct vm_area_struct *vma)
filep            1260 drivers/vfio/vfio.c 	struct vfio_container *container = filep->private_data;
filep            1433 drivers/vfio/vfio.c 	struct file *filep;
filep            1464 drivers/vfio/vfio.c 	filep = anon_inode_getfile("[vfio-device]", &vfio_device_fops,
filep            1466 drivers/vfio/vfio.c 	if (IS_ERR(filep)) {
filep            1468 drivers/vfio/vfio.c 		ret = PTR_ERR(filep);
filep            1479 drivers/vfio/vfio.c 	filep->f_mode |= (FMODE_LSEEK | FMODE_PREAD | FMODE_PWRITE);
filep            1483 drivers/vfio/vfio.c 	fd_install(ret, filep);
filep            1492 drivers/vfio/vfio.c static long vfio_group_fops_unl_ioctl(struct file *filep,
filep            1495 drivers/vfio/vfio.c 	struct vfio_group *group = filep->private_data;
filep            1560 drivers/vfio/vfio.c static long vfio_group_fops_compat_ioctl(struct file *filep,
filep            1564 drivers/vfio/vfio.c 	return vfio_group_fops_unl_ioctl(filep, cmd, arg);
filep            1568 drivers/vfio/vfio.c static int vfio_group_fops_open(struct inode *inode, struct file *filep)
filep            1600 drivers/vfio/vfio.c 	filep->private_data = group;
filep            1605 drivers/vfio/vfio.c static int vfio_group_fops_release(struct inode *inode, struct file *filep)
filep            1607 drivers/vfio/vfio.c 	struct vfio_group *group = filep->private_data;
filep            1609 drivers/vfio/vfio.c 	filep->private_data = NULL;
filep            1633 drivers/vfio/vfio.c static int vfio_device_fops_release(struct inode *inode, struct file *filep)
filep            1635 drivers/vfio/vfio.c 	struct vfio_device *device = filep->private_data;
filep            1646 drivers/vfio/vfio.c static long vfio_device_fops_unl_ioctl(struct file *filep,
filep            1649 drivers/vfio/vfio.c 	struct vfio_device *device = filep->private_data;
filep            1657 drivers/vfio/vfio.c static ssize_t vfio_device_fops_read(struct file *filep, char __user *buf,
filep            1660 drivers/vfio/vfio.c 	struct vfio_device *device = filep->private_data;
filep            1668 drivers/vfio/vfio.c static ssize_t vfio_device_fops_write(struct file *filep,
filep            1672 drivers/vfio/vfio.c 	struct vfio_device *device = filep->private_data;
filep            1680 drivers/vfio/vfio.c static int vfio_device_fops_mmap(struct file *filep, struct vm_area_struct *vma)
filep            1682 drivers/vfio/vfio.c 	struct vfio_device *device = filep->private_data;
filep            1691 drivers/vfio/vfio.c static long vfio_device_fops_compat_ioctl(struct file *filep,
filep            1695 drivers/vfio/vfio.c 	return vfio_device_fops_unl_ioctl(filep, cmd, arg);
filep            1738 drivers/vfio/vfio.c struct vfio_group *vfio_group_get_external_user(struct file *filep)
filep            1740 drivers/vfio/vfio.c 	struct vfio_group *group = filep->private_data;
filep            1743 drivers/vfio/vfio.c 	if (filep->f_op != &vfio_group_fops)
filep            1764 drivers/vfio/vfio.c 				    struct file *filep)
filep            1766 drivers/vfio/vfio.c 	struct vfio_group *group = filep->private_data;
filep            1768 drivers/vfio/vfio.c 	return (filep->f_op == &vfio_group_fops) && (group == test_group);
filep            1587 drivers/vhost/vhost.c 	struct file *eventfp, *filep = NULL;
filep            1650 drivers/vhost/vhost.c 			pollstop = (filep = vq->kick) != NULL;
filep            1653 drivers/vhost/vhost.c 			filep = eventfp;
filep            1707 drivers/vhost/vhost.c 	if (filep)
filep            1708 drivers/vhost/vhost.c 		fput(filep);
filep             348 fs/binfmt_elf.c static unsigned long elf_map(struct file *filep, unsigned long addr,
filep             373 fs/binfmt_elf.c 		map_addr = vm_mmap(filep, addr, total_size, prot, type, off);
filep             377 fs/binfmt_elf.c 		map_addr = vm_mmap(filep, addr, size, prot, type, off);
filep             150 fs/cifs/cifsfs.h extern long cifs_ioctl(struct file *filep, unsigned int cmd, unsigned long arg);
filep              38 fs/cifs/ioctl.c static long cifs_ioctl_query_info(unsigned int xid, struct file *filep,
filep              41 fs/cifs/ioctl.c 	struct inode *inode = file_inode(filep);
filep              44 fs/cifs/ioctl.c 	struct dentry *dentry = filep->f_path.dentry;
filep              69 fs/cifs/ioctl.c 				filep->private_data ? 0 : 1, p);
filep             164 fs/cifs/ioctl.c long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg)
filep             166 fs/cifs/ioctl.c 	struct inode *inode = file_inode(filep);
filep             170 fs/cifs/ioctl.c 	struct cifsFileInfo *pSMBFile = filep->private_data;
filep             239 fs/cifs/ioctl.c 			rc = cifs_ioctl_copychunk(xid, filep, arg);
filep             242 fs/cifs/ioctl.c 			rc = cifs_ioctl_query_info(xid, filep, arg);
filep             395 fs/gfs2/file.c static void gfs2_size_hint(struct file *filep, loff_t offset, size_t size)
filep             397 fs/gfs2/file.c 	struct inode *inode = file_inode(filep);
filep              22 fs/nfs/nfs42proc.c static int _nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
filep              25 fs/nfs/nfs42proc.c 	struct inode *inode = file_inode(filep);
filep              59 fs/nfs/nfs42proc.c static int nfs42_proc_fallocate(struct rpc_message *msg, struct file *filep,
filep              62 fs/nfs/nfs42proc.c 	struct nfs_server *server = NFS_SERVER(file_inode(filep));
filep              67 fs/nfs/nfs42proc.c 	lock = nfs_get_lock_context(nfs_file_open_context(filep));
filep              71 fs/nfs/nfs42proc.c 	exception.inode = file_inode(filep);
filep              75 fs/nfs/nfs42proc.c 		err = _nfs42_proc_fallocate(msg, filep, lock, offset, len);
filep              87 fs/nfs/nfs42proc.c int nfs42_proc_allocate(struct file *filep, loff_t offset, loff_t len)
filep              92 fs/nfs/nfs42proc.c 	struct inode *inode = file_inode(filep);
filep             100 fs/nfs/nfs42proc.c 	err = nfs42_proc_fallocate(&msg, filep, offset, len);
filep             108 fs/nfs/nfs42proc.c int nfs42_proc_deallocate(struct file *filep, loff_t offset, loff_t len)
filep             113 fs/nfs/nfs42proc.c 	struct inode *inode = file_inode(filep);
filep             124 fs/nfs/nfs42proc.c 	err = nfs42_proc_fallocate(&msg, filep, offset, len);
filep             462 fs/nfs/nfs42proc.c static loff_t _nfs42_proc_llseek(struct file *filep,
filep             465 fs/nfs/nfs42proc.c 	struct inode *inode = file_inode(filep);
filep             501 fs/nfs/nfs42proc.c 	return vfs_setpos(filep, res.sr_offset, inode->i_sb->s_maxbytes);
filep             504 fs/nfs/nfs42proc.c loff_t nfs42_proc_llseek(struct file *filep, loff_t offset, int whence)
filep             506 fs/nfs/nfs42proc.c 	struct nfs_server *server = NFS_SERVER(file_inode(filep));
filep             511 fs/nfs/nfs42proc.c 	lock = nfs_get_lock_context(nfs_file_open_context(filep));
filep             515 fs/nfs/nfs42proc.c 	exception.inode = file_inode(filep);
filep             519 fs/nfs/nfs42proc.c 		err = _nfs42_proc_llseek(filep, lock, offset, whence);
filep             159 fs/nfs/nfs4file.c static loff_t nfs4_file_llseek(struct file *filep, loff_t offset, int whence)
filep             166 fs/nfs/nfs4file.c 		ret = nfs42_proc_llseek(filep, offset, whence);
filep             171 fs/nfs/nfs4file.c 		return nfs_file_llseek(filep, offset, whence);
filep             175 fs/nfs/nfs4file.c static long nfs42_fallocate(struct file *filep, int mode, loff_t offset, loff_t len)
filep             177 fs/nfs/nfs4file.c 	struct inode *inode = file_inode(filep);
filep             191 fs/nfs/nfs4file.c 		return nfs42_proc_deallocate(filep, offset, len);
filep             192 fs/nfs/nfs4file.c 	return nfs42_proc_allocate(filep, offset, len);
filep             393 include/drm/drm_gem.h long drm_gem_dma_resv_wait(struct drm_file *filep, u32 handle,
filep             536 include/linux/psp-sev.h int sev_issue_cmd_external_user(struct file *filep, unsigned int id,
filep             619 include/linux/psp-sev.h sev_issue_cmd_external_user(struct file *filep, unsigned int id, void *data, int *error) { return -ENODEV; }
filep              95 include/linux/vfio.h extern struct vfio_group *vfio_group_get_external_user(struct file *filep);
filep              98 include/linux/vfio.h 					   struct file *filep);
filep             272 kernel/kcov.c  static int kcov_mmap(struct file *filep, struct vm_area_struct *vma)
filep             308 kernel/kcov.c  static int kcov_open(struct inode *inode, struct file *filep)
filep             318 kernel/kcov.c  	filep->private_data = kcov;
filep             319 kernel/kcov.c  	return nonseekable_open(inode, filep);
filep             322 kernel/kcov.c  static int kcov_close(struct inode *inode, struct file *filep)
filep             324 kernel/kcov.c  	kcov_put(filep->private_data);
filep             421 kernel/kcov.c  static long kcov_ioctl(struct file *filep, unsigned int cmd, unsigned long arg)
filep             426 kernel/kcov.c  	kcov = filep->private_data;
filep              95 mm/gup_benchmark.c static long gup_benchmark_ioctl(struct file *filep, unsigned int cmd,
filep            1168 security/selinux/selinuxfs.c static ssize_t sel_read_bool(struct file *filep, char __user *buf,
filep            1171 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info;
filep            1176 security/selinux/selinuxfs.c 	unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK;
filep            1177 security/selinux/selinuxfs.c 	const char *name = filep->f_path.dentry->d_name.name;
filep            1209 security/selinux/selinuxfs.c static ssize_t sel_write_bool(struct file *filep, const char __user *buf,
filep            1212 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info;
filep            1216 security/selinux/selinuxfs.c 	unsigned index = file_inode(filep)->i_ino & SEL_INO_MASK;
filep            1217 security/selinux/selinuxfs.c 	const char *name = filep->f_path.dentry->d_name.name;
filep            1266 security/selinux/selinuxfs.c static ssize_t sel_commit_bools_write(struct file *filep,
filep            1270 security/selinux/selinuxfs.c 	struct selinux_fs_info *fsi = file_inode(filep)->i_sb->s_fs_info;
filep             147 tools/hv/hv_kvp_daemon.c 	FILE *filep;
filep             155 tools/hv/hv_kvp_daemon.c 	filep = fopen(kvp_file_info[pool].fname, "we");
filep             156 tools/hv/hv_kvp_daemon.c 	if (!filep) {
filep             164 tools/hv/hv_kvp_daemon.c 				kvp_file_info[pool].num_records, filep);
filep             166 tools/hv/hv_kvp_daemon.c 	if (ferror(filep) || fclose(filep)) {
filep             177 tools/hv/hv_kvp_daemon.c 	FILE *filep;
filep             186 tools/hv/hv_kvp_daemon.c 	filep = fopen(kvp_file_info[pool].fname, "re");
filep             187 tools/hv/hv_kvp_daemon.c 	if (!filep) {
filep             197 tools/hv/hv_kvp_daemon.c 				filep);
filep             199 tools/hv/hv_kvp_daemon.c 		if (ferror(filep)) {
filep             207 tools/hv/hv_kvp_daemon.c 		if (!feof(filep)) {
filep             228 tools/hv/hv_kvp_daemon.c 	fclose(filep);
filep              88 tools/power/x86/intel-speed-select/isst-config.c 	FILE *filep = fopen(path, mode);
filep              90 tools/power/x86/intel-speed-select/isst-config.c 	if (!filep)
filep              93 tools/power/x86/intel-speed-select/isst-config.c 	return filep;
filep             101 tools/power/x86/intel-speed-select/isst-config.c 	FILE *filep;
filep             108 tools/power/x86/intel-speed-select/isst-config.c 		filep = fopen_or_exit(path, "r");
filep             110 tools/power/x86/intel-speed-select/isst-config.c 		filep = fopen(path, "r");
filep             111 tools/power/x86/intel-speed-select/isst-config.c 		if (!filep)
filep             114 tools/power/x86/intel-speed-select/isst-config.c 	if (fscanf(filep, "%d", &value) != 1)
filep             116 tools/power/x86/intel-speed-select/isst-config.c 	fclose(filep);
filep             262 tools/power/x86/intel-speed-select/isst-config.c 	FILE *filep;
filep             266 tools/power/x86/intel-speed-select/isst-config.c 	filep = fopen_or_exit(
filep             268 tools/power/x86/intel-speed-select/isst-config.c 	while (fscanf(filep, "%lx,", &dummy) == 1)
filep             270 tools/power/x86/intel-speed-select/isst-config.c 	fclose(filep);
filep            1177 tools/power/x86/turbostat/turbostat.c 	FILE *filep;
filep            1180 tools/power/x86/turbostat/turbostat.c 		filep = stdout;
filep            1182 tools/power/x86/turbostat/turbostat.c 		filep = outf;
filep            1184 tools/power/x86/turbostat/turbostat.c 	fputs(output_buffer, filep);
filep            1185 tools/power/x86/turbostat/turbostat.c 	fflush(filep);
filep            1675 tools/power/x86/turbostat/turbostat.c 	FILE *filep = fopen(path, mode);
filep            1677 tools/power/x86/turbostat/turbostat.c 	if (!filep)
filep            1679 tools/power/x86/turbostat/turbostat.c 	return filep;
filep            2532 tools/power/x86/turbostat/turbostat.c 	FILE *filep;
filep            2538 tools/power/x86/turbostat/turbostat.c 	filep = fopen(path, "r");
filep            2539 tools/power/x86/turbostat/turbostat.c 	if (!filep)
filep            2541 tools/power/x86/turbostat/turbostat.c 	if (fscanf(filep, "%d", &value) != 1)
filep            2543 tools/power/x86/turbostat/turbostat.c 	fclose(filep);
filep            2615 tools/power/x86/turbostat/turbostat.c 	FILE *filep;
filep            2622 tools/power/x86/turbostat/turbostat.c 		filep = fopen(path, "r");
filep            2623 tools/power/x86/turbostat/turbostat.c 		if (!filep)
filep            2625 tools/power/x86/turbostat/turbostat.c 		fclose(filep);
filep            2634 tools/power/x86/turbostat/turbostat.c 	FILE *filep;
filep            2653 tools/power/x86/turbostat/turbostat.c 	filep = fopen_or_die(path, "r");
filep            2656 tools/power/x86/turbostat/turbostat.c 		if (fscanf(filep, "%lx%c", &map, &character) != 2)
filep            2672 tools/power/x86/turbostat/turbostat.c 	fclose(filep);
filep            2771 tools/power/x86/turbostat/turbostat.c 	FILE *filep;
filep            2775 tools/power/x86/turbostat/turbostat.c 	filep = fopen_or_die(
filep            2778 tools/power/x86/turbostat/turbostat.c 	while (fscanf(filep, "%lx,", &dummy) == 1)
filep            2780 tools/power/x86/turbostat/turbostat.c 	fclose(filep);
filep            1094 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	FILE *filep = fopen(path, "r");
filep            1096 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	if (!filep)
filep            1098 tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy.c 	return filep;
filep              35 virt/kvm/vfio.c static struct vfio_group *kvm_vfio_group_get_external_user(struct file *filep)
filep              44 virt/kvm/vfio.c 	vfio_group = fn(filep);
filep              52 virt/kvm/vfio.c 					       struct file *filep)
filep              60 virt/kvm/vfio.c 	ret = fn(group, filep);