/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-debugfs.c | 174 static ssize_t xgmac_reg_addr_read(struct file *filp, char __user *buffer, in xgmac_reg_addr_read() 182 static ssize_t xgmac_reg_addr_write(struct file *filp, in xgmac_reg_addr_write() 192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read() 203 static ssize_t xgmac_reg_value_write(struct file *filp, in xgmac_reg_value_write() 234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read() 242 static ssize_t xpcs_mmd_write(struct file *filp, const char __user *buffer, in xpcs_mmd_write() 251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read() 259 static ssize_t xpcs_reg_addr_write(struct file *filp, const char __user *buffer, in xpcs_reg_addr_write() 268 static ssize_t xpcs_reg_value_read(struct file *filp, char __user *buffer, in xpcs_reg_value_read() 280 static ssize_t xpcs_reg_value_write(struct file *filp, in xpcs_reg_value_write() [all …]
|
/kernel/linux/linux-5.10/drivers/media/mc/ |
D | mc-devnode.c | 70 static ssize_t media_read(struct file *filp, char __user *buf, in media_read() 82 static ssize_t media_write(struct file *filp, const char __user *buf, in media_write() 94 static __poll_t media_poll(struct file *filp, in media_poll() 107 __media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg, in __media_ioctl() 108 long (*ioctl_func)(struct file *filp, unsigned int cmd, in __media_ioctl() 122 static long media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in media_ioctl() 131 static long media_compat_ioctl(struct file *filp, unsigned int cmd, in media_compat_ioctl() 142 static int media_open(struct inode *inode, struct file *filp) in media_open() 180 static int media_release(struct inode *inode, struct file *filp) in media_release()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/octeontx2/af/ |
D | rvu_debugfs.c | 210 static ssize_t rvu_dbg_rsrc_attach_status(struct file *filp, in rvu_dbg_rsrc_attach_status() 377 static int rvu_dbg_qsize_display(struct seq_file *filp, void *unsused, in rvu_dbg_qsize_display() 412 static ssize_t rvu_dbg_qsize_write(struct file *filp, in rvu_dbg_qsize_write() 460 static ssize_t rvu_dbg_npa_qsize_write(struct file *filp, in rvu_dbg_npa_qsize_write() 468 static int rvu_dbg_npa_qsize_display(struct seq_file *filp, void *unused) in rvu_dbg_npa_qsize_display() 729 static ssize_t rvu_dbg_npa_ctx_write(struct file *filp, in rvu_dbg_npa_ctx_write() 761 static ssize_t rvu_dbg_npa_aura_ctx_write(struct file *filp, in rvu_dbg_npa_aura_ctx_write() 769 static int rvu_dbg_npa_aura_ctx_display(struct seq_file *filp, void *unused) in rvu_dbg_npa_aura_ctx_display() 776 static ssize_t rvu_dbg_npa_pool_ctx_write(struct file *filp, in rvu_dbg_npa_pool_ctx_write() 784 static int rvu_dbg_npa_pool_ctx_display(struct seq_file *filp, void *unused) in rvu_dbg_npa_pool_ctx_display() [all …]
|
/kernel/linux/linux-5.10/fs/9p/ |
D | vfs_file.c | 116 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() 135 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock() 241 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock() 306 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl() 341 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl() 448 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync() 472 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl() 495 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap() 508 v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_mmap_file_mmap() 550 struct file *filp = vmf->vma->vm_file; in v9fs_vm_page_mkwrite() local
|
/kernel/linux/linux-5.10/fs/ |
D | locks.c | 308 locks_check_ctx_file_list(struct file *filp, struct list_head *list, in locks_check_ctx_file_list() 479 flock_make_lock(struct file *filp, unsigned int cmd, struct file_lock *fl) in flock_make_lock() 518 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock() 568 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock() 592 struct file *filp = fl->fl_file; in lease_setup() local 615 static int lease_init(struct file *filp, long type, struct file_lock *fl) in lease_init() 633 static struct file_lock *lease_alloc(struct file *filp, long type) in lease_alloc() 952 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock() 1369 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file() 1445 int locks_mandatory_area(struct inode *inode, struct file *filp, loff_t start, in locks_mandatory_area() [all …]
|
D | fcntl.c | 35 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() 87 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown() 105 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown() 113 int f_setown(struct file *filp, unsigned long arg, int force) in f_setown() 144 void f_delown(struct file *filp) in f_delown() 149 pid_t f_getown(struct file *filp) in f_getown() 160 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex() 200 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex() 237 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids() 255 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids() [all …]
|
D | ioctl.c | 41 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl() 56 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap() 196 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap() 473 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp) in ioctl_preallocate() 527 static int file_ioctl(struct file *filp, unsigned int cmd, int __user *p) in file_ioctl() 545 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio() 568 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync() 590 static int ioctl_fsfreeze(struct file *filp) in ioctl_fsfreeze() 607 static int ioctl_fsthaw(struct file *filp) in ioctl_fsthaw() 667 static int do_vfs_ioctl(struct file *filp, unsigned int fd, in do_vfs_ioctl()
|
/kernel/linux/linux-5.10/fs/f2fs/ |
D | file.c | 526 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open() 1767 static int f2fs_release_file(struct inode *inode, struct file *filp) in f2fs_release_file() 1948 static int f2fs_ioc_getflags(struct file *filp, unsigned long arg) in f2fs_ioc_getflags() 1968 static int f2fs_ioc_setflags(struct file *filp, unsigned long arg) in f2fs_ioc_setflags() 2009 static int f2fs_ioc_getversion(struct file *filp, unsigned long arg) in f2fs_ioc_getversion() 2016 static int f2fs_ioc_start_atomic_write(struct file *filp) in f2fs_ioc_start_atomic_write() 2085 static int f2fs_ioc_commit_atomic_write(struct file *filp) in f2fs_ioc_commit_atomic_write() 2127 static int f2fs_ioc_start_volatile_write(struct file *filp) in f2fs_ioc_start_volatile_write() 2162 static int f2fs_ioc_release_volatile_write(struct file *filp) in f2fs_ioc_release_volatile_write() 2191 static int f2fs_ioc_abort_volatile_write(struct file *filp) in f2fs_ioc_abort_volatile_write() [all …]
|
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/ |
D | radeon_gem.c | 223 struct drm_file *filp) in radeon_gem_info_ioctl() 241 struct drm_file *filp) in radeon_gem_pread_ioctl() 249 struct drm_file *filp) in radeon_gem_pwrite_ioctl() 257 struct drm_file *filp) in radeon_gem_create_ioctl() 290 struct drm_file *filp) in radeon_gem_userptr_ioctl() 381 struct drm_file *filp) in radeon_gem_set_domain_ioctl() 411 int radeon_mode_dumb_mmap(struct drm_file *filp, in radeon_mode_dumb_mmap() 433 struct drm_file *filp) in radeon_gem_mmap_ioctl() 441 struct drm_file *filp) in radeon_gem_busy_ioctl() 468 struct drm_file *filp) in radeon_gem_wait_idle_ioctl() [all …]
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
D | w1_ds2408.c | 67 static ssize_t state_read(struct file *filp, struct kobject *kobj, in state_read() 79 static ssize_t output_read(struct file *filp, struct kobject *kobj, in output_read() 92 static ssize_t activity_read(struct file *filp, struct kobject *kobj, in activity_read() 105 static ssize_t cond_search_mask_read(struct file *filp, struct kobject *kobj, in cond_search_mask_read() 118 static ssize_t cond_search_polarity_read(struct file *filp, in cond_search_polarity_read() 129 static ssize_t status_control_read(struct file *filp, struct kobject *kobj, in status_control_read() 162 static ssize_t output_write(struct file *filp, struct kobject *kobj, in output_write() 212 static ssize_t activity_write(struct file *filp, struct kobject *kobj, in activity_write() 242 static ssize_t status_control_write(struct file *filp, struct kobject *kobj, in status_control_write()
|
/kernel/linux/linux-5.10/drivers/media/usb/stkwebcam/ |
D | stk-webcam.c | 792 static int stk_vidioc_querycap(struct file *filp, in stk_vidioc_querycap() 803 static int stk_vidioc_enum_input(struct file *filp, in stk_vidioc_enum_input() 815 static int stk_vidioc_g_input(struct file *filp, void *priv, unsigned int *i) in stk_vidioc_g_input() 821 static int stk_vidioc_s_input(struct file *filp, void *priv, unsigned int i) in stk_vidioc_s_input() 853 static int stk_vidioc_enum_fmt_vid_cap(struct file *filp, in stk_vidioc_enum_fmt_vid_cap() 890 static int stk_vidioc_g_fmt_vid_cap(struct file *filp, in stk_vidioc_g_fmt_vid_cap() 918 static int stk_try_fmt_vid_cap(struct file *filp, in stk_try_fmt_vid_cap() 961 static int stk_vidioc_try_fmt_vid_cap(struct file *filp, in stk_vidioc_try_fmt_vid_cap() 1003 static int stk_vidioc_s_fmt_vid_cap(struct file *filp, in stk_vidioc_s_fmt_vid_cap() 1031 static int stk_vidioc_reqbufs(struct file *filp, in stk_vidioc_reqbufs() [all …]
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | debugfs.c | 86 static int tasks_open(struct inode *inode, struct file *filp) in tasks_open() 103 tasks_release(struct inode *inode, struct file *filp) in tasks_release() 186 xprt_info_open(struct inode *inode, struct file *filp) in xprt_info_open() 203 xprt_info_release(struct inode *inode, struct file *filp) in xprt_info_release() 250 fault_open(struct inode *inode, struct file *filp) in fault_open() 259 fault_release(struct inode *inode, struct file *filp) in fault_release() 266 fault_disconnect_read(struct file *filp, char __user *user_buf, in fault_disconnect_read() 277 fault_disconnect_write(struct file *filp, const char __user *user_buf, in fault_disconnect_write()
|
D | cache.c | 811 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, in cache_read() 949 static ssize_t cache_write(struct file *filp, const char __user *buf, in cache_write() 969 static __poll_t cache_poll(struct file *filp, poll_table *wait, in cache_poll() 996 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl() 1025 static int cache_open(struct inode *inode, struct file *filp, in cache_open() 1052 static int cache_release(struct inode *inode, struct file *filp, in cache_release() 1555 static ssize_t cache_read_procfs(struct file *filp, char __user *buf, in cache_read_procfs() 1563 static ssize_t cache_write_procfs(struct file *filp, const char __user *buf, in cache_write_procfs() 1571 static __poll_t cache_poll_procfs(struct file *filp, poll_table *wait) in cache_poll_procfs() 1578 static long cache_ioctl_procfs(struct file *filp, in cache_ioctl_procfs() [all …]
|
/kernel/linux/linux-5.10/net/qrtr/ |
D | tun.c | 31 static int qrtr_tun_open(struct inode *inode, struct file *filp) in qrtr_tun_open() 61 struct file *filp = iocb->ki_filp; in qrtr_tun_read_iter() local 87 struct file *filp = iocb->ki_filp; in qrtr_tun_write_iter() local 114 static __poll_t qrtr_tun_poll(struct file *filp, poll_table *wait) in qrtr_tun_poll() 127 static int qrtr_tun_release(struct inode *inode, struct file *filp) in qrtr_tun_release()
|
/kernel/linux/linux-5.10/drivers/char/ |
D | powernv-op-panel.c | 38 static loff_t oppanel_llseek(struct file *filp, loff_t offset, int whence) in oppanel_llseek() 43 static ssize_t oppanel_read(struct file *filp, char __user *userbuf, size_t len, in oppanel_read() 88 static ssize_t oppanel_write(struct file *filp, const char __user *userbuf, in oppanel_write() 114 static int oppanel_open(struct inode *inode, struct file *filp) in oppanel_open() 123 static int oppanel_release(struct inode *inode, struct file *filp) in oppanel_release()
|
/kernel/linux/linux-5.10/fs/verity/ |
D | enable.c | 21 static struct page *read_file_data_page(struct file *filp, pgoff_t index, in read_file_data_page() 44 static int build_merkle_tree_level(struct file *filp, unsigned int level, in build_merkle_tree_level() 151 static int build_merkle_tree(struct file *filp, in build_merkle_tree() 198 static int enable_verity(struct file *filp, in enable_verity() 340 int fsverity_ioctl_enable(struct file *filp, const void __user *uarg) in fsverity_ioctl_enable()
|
/kernel/linux/linux-5.10/drivers/scsi/qedf/ |
D | qedf_debugfs.c | 98 qedf_dbg_fp_int_cmd_read(struct file *filp, char __user *buffer, size_t count, in qedf_dbg_fp_int_cmd_read() 127 qedf_dbg_fp_int_cmd_write(struct file *filp, const char __user *buffer, in qedf_dbg_fp_int_cmd_write() 137 qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count, in qedf_dbg_debug_cmd_read() 153 qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer, in qedf_dbg_debug_cmd_write() 184 qedf_dbg_stop_io_on_error_cmd_read(struct file *filp, char __user *buffer, in qedf_dbg_stop_io_on_error_cmd_read() 203 qedf_dbg_stop_io_on_error_cmd_write(struct file *filp, in qedf_dbg_stop_io_on_error_cmd_write() 379 qedf_dbg_clear_stats_cmd_read(struct file *filp, char __user *buffer, in qedf_dbg_clear_stats_cmd_read() 391 qedf_dbg_clear_stats_cmd_write(struct file *filp, in qedf_dbg_clear_stats_cmd_write()
|
/kernel/linux/linux-5.10/drivers/media/pci/dt3155/ |
D | dt3155.c | 292 static int dt3155_querycap(struct file *filp, void *p, in dt3155_querycap() 303 static int dt3155_enum_fmt_vid_cap(struct file *filp, in dt3155_enum_fmt_vid_cap() 312 static int dt3155_fmt_vid_cap(struct file *filp, void *p, struct v4l2_format *f) in dt3155_fmt_vid_cap() 326 static int dt3155_g_std(struct file *filp, void *p, v4l2_std_id *norm) in dt3155_g_std() 334 static int dt3155_s_std(struct file *filp, void *p, v4l2_std_id norm) in dt3155_s_std() 355 static int dt3155_enum_input(struct file *filp, void *p, in dt3155_enum_input() 371 static int dt3155_g_input(struct file *filp, void *p, unsigned int *i) in dt3155_g_input() 379 static int dt3155_s_input(struct file *filp, void *p, unsigned int i) in dt3155_s_input()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_debugfs.c | 13 static ssize_t ixgbe_dbg_common_ops_read(struct file *filp, char __user *buffer, in ixgbe_dbg_common_ops_read() 48 static ssize_t ixgbe_dbg_reg_ops_read(struct file *filp, char __user *buffer, in ixgbe_dbg_reg_ops_read() 62 static ssize_t ixgbe_dbg_reg_ops_write(struct file *filp, in ixgbe_dbg_reg_ops_write() 131 static ssize_t ixgbe_dbg_netdev_ops_read(struct file *filp, char __user *buffer, in ixgbe_dbg_netdev_ops_read() 145 static ssize_t ixgbe_dbg_netdev_ops_write(struct file *filp, in ixgbe_dbg_netdev_ops_write()
|
/kernel/linux/linux-5.10/drivers/s390/char/ |
D | tape_char.c | 129 tapechar_read(struct file *filp, char __user *data, size_t count, loff_t *ppos) in tapechar_read() 187 tapechar_write(struct file *filp, const char __user *data, size_t count, loff_t *ppos) in tapechar_write() 271 tapechar_open (struct inode *inode, struct file *filp) in tapechar_open() 305 tapechar_release(struct inode *inode, struct file *filp) in tapechar_release() 434 tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_ioctl() 450 tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_compat_ioctl()
|
/kernel/linux/linux-5.10/fs/nfs/ |
D | file.c | 65 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open() 81 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release() 102 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size() 115 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek() 545 struct file *filp = vmf->vma->vm_file; in nfs_vm_page_mkwrite() local 593 static int nfs_need_check_write(struct file *filp, struct inode *inode, in nfs_need_check_write() 673 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk() 702 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk() 738 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk() 782 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock() [all …]
|
/kernel/linux/linux-5.10/drivers/staging/kpc2000/kpc_dma/ |
D | fileops.c | 245 int kpc_dma_open(struct inode *inode, struct file *filp) in kpc_dma_open() 269 int kpc_dma_close(struct inode *inode, struct file *filp) in kpc_dma_close() 303 ssize_t kpc_dma_read(struct file *filp, char __user *user_buf, size_t count, loff_t *ppos) in kpc_dma_read() 314 ssize_t kpc_dma_write(struct file *filp, const char __user *user_buf, size_t count, loff_t *ppos) in kpc_dma_write() 325 long kpc_dma_ioctl(struct file *filp, unsigned int ioctl_num, unsigned long ioctl_param) in kpc_dma_ioctl()
|
/kernel/linux/linux-5.10/drivers/remoteproc/ |
D | remoteproc_debugfs.c | 42 static ssize_t rproc_coredump_read(struct file *filp, char __user *userbuf, in rproc_coredump_read() 71 static ssize_t rproc_coredump_write(struct file *filp, in rproc_coredump_write() 126 static ssize_t rproc_trace_read(struct file *filp, char __user *userbuf, in rproc_trace_read() 155 static ssize_t rproc_name_read(struct file *filp, char __user *userbuf, in rproc_name_read() 175 static ssize_t rproc_recovery_read(struct file *filp, char __user *userbuf, in rproc_recovery_read() 209 rproc_recovery_write(struct file *filp, const char __user *user_buf, in rproc_recovery_write() 252 rproc_crash_write(struct file *filp, const char __user *user_buf, in rproc_crash_write()
|
/kernel/linux/linux-5.10/drivers/char/ipmi/ |
D | kcs_bmc.c | 238 static inline struct kcs_bmc *to_kcs_bmc(struct file *filp) in to_kcs_bmc() 243 static int kcs_bmc_open(struct inode *inode, struct file *filp) in kcs_bmc_open() 258 static __poll_t kcs_bmc_poll(struct file *filp, poll_table *wait) in kcs_bmc_poll() 273 static ssize_t kcs_bmc_read(struct file *filp, char __user *buf, in kcs_bmc_read() 335 static ssize_t kcs_bmc_write(struct file *filp, const char __user *buf, in kcs_bmc_write() 371 static long kcs_bmc_ioctl(struct file *filp, unsigned int cmd, in kcs_bmc_ioctl() 404 static int kcs_bmc_release(struct inode *inode, struct file *filp) in kcs_bmc_release()
|
/kernel/linux/linux-5.10/fs/ext4/ |
D | dir.c | 67 struct inode *dir, struct file *filp, in __ext4_check_dir_entry() 317 static inline loff_t hash2pos(struct file *filp, __u32 major, __u32 minor) in hash2pos() 326 static inline __u32 pos2maj_hash(struct file *filp, loff_t pos) in pos2maj_hash() 335 static inline __u32 pos2min_hash(struct file *filp, loff_t pos) in pos2min_hash() 347 static inline loff_t ext4_get_htree_eof(struct file *filp) in ext4_get_htree_eof() 417 static struct dir_private_info *ext4_htree_create_dir_info(struct file *filp, in ext4_htree_create_dir_info() 619 static int ext4_dir_open(struct inode * inode, struct file * filp) in ext4_dir_open() 626 static int ext4_release_dir(struct inode *inode, struct file *filp) in ext4_release_dir()
|