Home
last modified time | relevance | path

Searched defs:filp (Results 1 – 25 of 620) sorted by relevance

12345678910>>...25

/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-debugfs.c174 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 …]
/linux-6.6.21/drivers/media/mc/
Dmc-devnode.c70 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()
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_debugfs.c228 static int rvu_dbg_mcs_port_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_port_stats_display()
252 static int rvu_dbg_mcs_rx_port_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_rx_port_stats_display()
259 static int rvu_dbg_mcs_tx_port_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_port_stats_display()
266 static int rvu_dbg_mcs_sa_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_sa_stats_display()
305 static int rvu_dbg_mcs_rx_sa_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_rx_sa_stats_display()
312 static int rvu_dbg_mcs_tx_sa_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_sa_stats_display()
319 static int rvu_dbg_mcs_tx_sc_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_sc_stats_display()
349 static int rvu_dbg_mcs_rx_sc_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_rx_sc_stats_display()
386 static int rvu_dbg_mcs_flowid_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_flowid_stats_display()
409 static int rvu_dbg_mcs_tx_flowid_stats_display(struct seq_file *filp, void *unused) in rvu_dbg_mcs_tx_flowid_stats_display()
[all …]
/linux-6.6.21/fs/
Dlocks.c233 locks_check_ctx_file_list(struct file *filp, struct list_head *list, in locks_check_ctx_file_list()
429 static void flock_make_lock(struct file *filp, struct file_lock *fl, int type) in flock_make_lock()
455 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock()
505 static int flock_to_posix_lock(struct file *filp, struct file_lock *fl, in flock_to_posix_lock()
529 struct file *filp = fl->fl_file; in lease_setup() local
552 static int lease_init(struct file *filp, int type, struct file_lock *fl) in lease_init()
570 static struct file_lock *lease_alloc(struct file *filp, int type) in lease_alloc()
902 posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
1346 int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
1398 struct file *filp = fl->fl_file; in lease_modify() local
[all …]
Dfcntl.c37 static int setfl(int fd, struct file * filp, unsigned int arg) in setfl()
89 static void f_modown(struct file *filp, struct pid *pid, enum pid_type type, in f_modown()
107 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
115 int f_setown(struct file *filp, int who, int force) in f_setown()
146 void f_delown(struct file *filp) in f_delown()
151 pid_t f_getown(struct file *filp) in f_getown()
167 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex()
207 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex()
247 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
265 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
[all …]
Dioctl.c44 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl()
59 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap()
200 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap()
270 static int ioctl_preallocate(struct file *filp, int mode, void __user *argp) in ioctl_preallocate()
324 static int file_ioctl(struct file *filp, unsigned int cmd, int __user *p) in file_ioctl()
342 static int ioctl_fionbio(struct file *filp, int __user *argp) in ioctl_fionbio()
365 static int ioctl_fioasync(unsigned int fd, struct file *filp, in ioctl_fioasync()
387 static int ioctl_fsfreeze(struct file *filp) in ioctl_fsfreeze()
404 static int ioctl_fsthaw(struct file *filp) in ioctl_fsthaw()
773 static int do_vfs_ioctl(struct file *filp, unsigned int fd, in do_vfs_ioctl()
/linux-6.6.21/fs/9p/
Dvfs_file.c104 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock()
118 static int v9fs_file_do_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_do_lock()
223 static int v9fs_file_getlock(struct file *filp, struct file_lock *fl) in v9fs_file_getlock()
288 static int v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock_dotl()
318 static int v9fs_file_flock_dotl(struct file *filp, int cmd, in v9fs_file_flock_dotl()
452 static int v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync()
476 int v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, in v9fs_file_fsync_dotl()
499 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) in v9fs_file_mmap()
523 struct file *filp = vmf->vma->vm_file; in v9fs_vm_page_mkwrite() local
/linux-6.6.21/net/sunrpc/
Dcache.c826 static ssize_t cache_read(struct file *filp, char __user *buf, size_t count, in cache_read()
946 static ssize_t cache_write(struct file *filp, const char __user *buf, in cache_write()
966 static __poll_t cache_poll(struct file *filp, poll_table *wait, in cache_poll()
993 static int cache_ioctl(struct inode *ino, struct file *filp, in cache_ioctl()
1022 static int cache_open(struct inode *inode, struct file *filp, in cache_open()
1049 static int cache_release(struct inode *inode, struct file *filp, in cache_release()
1552 static ssize_t cache_read_procfs(struct file *filp, char __user *buf, in cache_read_procfs()
1560 static ssize_t cache_write_procfs(struct file *filp, const char __user *buf, in cache_write_procfs()
1568 static __poll_t cache_poll_procfs(struct file *filp, poll_table *wait) in cache_poll_procfs()
1575 static long cache_ioctl_procfs(struct file *filp, in cache_ioctl_procfs()
[all …]
/linux-6.6.21/drivers/w1/slaves/
Dw1_ds2408.c67 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()
/linux-6.6.21/fs/f2fs/
Dfile.c537 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open()
1856 static int f2fs_release_file(struct inode *inode, struct file *filp) in f2fs_release_file()
2043 static int f2fs_ioc_getversion(struct file *filp, unsigned long arg) in f2fs_ioc_getversion()
2050 static int f2fs_ioc_start_atomic_write(struct file *filp, bool truncate) in f2fs_ioc_start_atomic_write()
2158 static int f2fs_ioc_commit_atomic_write(struct file *filp) in f2fs_ioc_commit_atomic_write()
2190 static int f2fs_ioc_abort_atomic_write(struct file *filp) in f2fs_ioc_abort_atomic_write()
2214 static int f2fs_ioc_shutdown(struct file *filp, unsigned long arg) in f2fs_ioc_shutdown()
2291 static int f2fs_ioc_fitrim(struct file *filp, unsigned long arg) in f2fs_ioc_fitrim()
2336 static int f2fs_ioc_set_encryption_policy(struct file *filp, unsigned long arg) in f2fs_ioc_set_encryption_policy()
2348 static int f2fs_ioc_get_encryption_policy(struct file *filp, unsigned long arg) in f2fs_ioc_get_encryption_policy()
[all …]
/linux-6.6.21/drivers/media/pci/dt3155/
Ddt3155.c292 static int dt3155_querycap(struct file *filp, void *p, in dt3155_querycap()
300 static int dt3155_enum_fmt_vid_cap(struct file *filp, in dt3155_enum_fmt_vid_cap()
309 static int dt3155_fmt_vid_cap(struct file *filp, void *p, struct v4l2_format *f) in dt3155_fmt_vid_cap()
323 static int dt3155_g_std(struct file *filp, void *p, v4l2_std_id *norm) in dt3155_g_std()
331 static int dt3155_s_std(struct file *filp, void *p, v4l2_std_id norm) in dt3155_s_std()
352 static int dt3155_enum_input(struct file *filp, void *p, in dt3155_enum_input()
368 static int dt3155_g_input(struct file *filp, void *p, unsigned int *i) in dt3155_g_input()
376 static int dt3155_s_input(struct file *filp, void *p, unsigned int i) in dt3155_s_input()
/linux-6.6.21/drivers/gpu/drm/radeon/
Dradeon_gem.c297 struct drm_file *filp) in radeon_gem_info_ioctl()
315 struct drm_file *filp) in radeon_gem_create_ioctl()
348 struct drm_file *filp) in radeon_gem_userptr_ioctl()
439 struct drm_file *filp) in radeon_gem_set_domain_ioctl()
467 int radeon_mode_dumb_mmap(struct drm_file *filp, in radeon_mode_dumb_mmap()
489 struct drm_file *filp) in radeon_gem_mmap_ioctl()
497 struct drm_file *filp) in radeon_gem_busy_ioctl()
524 struct drm_file *filp) in radeon_gem_wait_idle_ioctl()
558 struct drm_file *filp) in radeon_gem_set_tiling_ioctl()
576 struct drm_file *filp) in radeon_gem_get_tiling_ioctl()
[all …]
/linux-6.6.21/drivers/char/
Dpowernv-op-panel.c38 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()
89 static ssize_t oppanel_write(struct file *filp, const char __user *userbuf, in oppanel_write()
115 static int oppanel_open(struct inode *inode, struct file *filp) in oppanel_open()
124 static int oppanel_release(struct inode *inode, struct file *filp) in oppanel_release()
/linux-6.6.21/net/qrtr/
Dtun.c31 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()
/linux-6.6.21/drivers/scsi/qedf/
Dqedf_debugfs.c99 qedf_dbg_fp_int_cmd_read(struct file *filp, char __user *buffer, size_t count, in qedf_dbg_fp_int_cmd_read()
136 qedf_dbg_fp_int_cmd_write(struct file *filp, const char __user *buffer, in qedf_dbg_fp_int_cmd_write()
146 qedf_dbg_debug_cmd_read(struct file *filp, char __user *buffer, size_t count, in qedf_dbg_debug_cmd_read()
161 qedf_dbg_debug_cmd_write(struct file *filp, const char __user *buffer, in qedf_dbg_debug_cmd_write()
192 qedf_dbg_stop_io_on_error_cmd_read(struct file *filp, char __user *buffer, in qedf_dbg_stop_io_on_error_cmd_read()
210 qedf_dbg_stop_io_on_error_cmd_write(struct file *filp, in qedf_dbg_stop_io_on_error_cmd_write()
386 qedf_dbg_clear_stats_cmd_read(struct file *filp, char __user *buffer, in qedf_dbg_clear_stats_cmd_read()
398 qedf_dbg_clear_stats_cmd_write(struct file *filp, in qedf_dbg_clear_stats_cmd_write()
/linux-6.6.21/drivers/s390/char/
Dtape_char.c129 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()
432 tapechar_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_ioctl()
448 tapechar_compat_ioctl(struct file *filp, unsigned int no, unsigned long data) in tapechar_compat_ioctl()
/linux-6.6.21/drivers/net/ethernet/intel/ixgbe/
Dixgbe_debugfs.c13 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()
/linux-6.6.21/drivers/remoteproc/
Dremoteproc_debugfs.c42 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()
/linux-6.6.21/drivers/rapidio/devices/
Drio_mport_cdev.c109 struct file *filp; member
131 struct file *filp; member
359 rio_mport_create_outbound_mapping(struct mport_dev *md, struct file *filp, in rio_mport_create_outbound_mapping()
393 rio_mport_get_outbound_mapping(struct mport_dev *md, struct file *filp, in rio_mport_get_outbound_mapping()
425 static int rio_mport_obw_map(struct file *filp, void __user *arg) in rio_mport_obw_map()
459 static int rio_mport_obw_free(struct file *filp, void __user *arg) in rio_mport_obw_free()
537 struct file *filp; member
806 rio_dma_transfer(struct file *filp, u32 transfer_mode, in rio_dma_transfer()
961 static int rio_mport_transfer_ioctl(struct file *filp, void __user *arg) in rio_mport_transfer_ioctl()
1008 static int rio_mport_wait_for_async_dma(struct file *filp, void __user *arg) in rio_mport_wait_for_async_dma()
[all …]
/linux-6.6.21/drivers/dax/
Ddevice.c80 struct file *filp = vmf->vma->vm_file; in dax_set_mapping() local
233 struct file *filp = vmf->vma->vm_file; in dev_dax_huge_fault() local
264 struct file *filp = vma->vm_file; in dev_dax_may_split() local
274 struct file *filp = vma->vm_file; in dev_dax_pagesize() local
287 static int dax_mmap(struct file *filp, struct vm_area_struct *vma) in dax_mmap()
310 static unsigned long dax_get_unmapped_area(struct file *filp, in dax_get_unmapped_area()
346 static int dax_open(struct inode *inode, struct file *filp) in dax_open()
365 static int dax_release(struct inode *inode, struct file *filp) in dax_release()
/linux-6.6.21/include/linux/
Dfilelock.h216 static inline int fcntl_setlease(unsigned int fd, struct file *filp, int arg) in fcntl_setlease()
221 static inline int fcntl_getlease(struct file *filp) in fcntl_getlease()
246 static inline void locks_remove_posix(struct file *filp, fl_owner_t owner) in locks_remove_posix()
251 static inline void locks_remove_file(struct file *filp) in locks_remove_file()
256 static inline void posix_test_lock(struct file *filp, struct file_lock *fl) in posix_test_lock()
261 static inline int posix_lock_file(struct file *filp, struct file_lock *fl, in posix_lock_file()
272 static inline int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
277 static inline int vfs_lock_file(struct file *filp, unsigned int cmd, in vfs_lock_file()
283 static inline int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
309 static inline int generic_setlease(struct file *filp, int arg, in generic_setlease()
[all …]
Dfsverity.h186 static inline int fsverity_ioctl_enable(struct file *filp, in fsverity_ioctl_enable()
194 static inline int fsverity_ioctl_measure(struct file *filp, void __user *arg) in fsverity_ioctl_measure()
212 static inline int __fsverity_file_open(struct inode *inode, struct file *filp) in __fsverity_file_open()
229 static inline int fsverity_ioctl_read_metadata(struct file *filp, in fsverity_ioctl_read_metadata()
297 static inline int fsverity_file_open(struct inode *inode, struct file *filp) in fsverity_file_open()
/linux-6.6.21/net/handshake/
Dhandshake-test.c212 struct file *filp; in handshake_req_submit_test4() local
246 struct file *filp; in handshake_req_submit_test5() local
283 struct file *filp; in handshake_req_submit_test6() local
316 struct file *filp; in handshake_req_cancel_test1() local
351 struct file *filp; in handshake_req_cancel_test2() local
393 struct file *filp; in handshake_req_cancel_test3() local
451 struct file *filp; in handshake_req_destroy_test1() local
/linux-6.6.21/drivers/gpu/drm/
Ddrm_file.c298 static void drm_close_helper(struct file *filp) in drm_close_helper()
333 int drm_open_helper(struct file *filp, struct drm_minor *minor) in drm_open_helper()
409 int drm_open(struct inode *inode, struct file *filp) in drm_open()
483 int drm_release(struct inode *inode, struct file *filp) in drm_release()
508 void drm_file_update_pid(struct drm_file *filp) in drm_file_update_pid()
557 int drm_release_noglobal(struct inode *inode, struct file *filp) in drm_release_noglobal()
601 ssize_t drm_read(struct file *filp, char __user *buffer, in drm_read()
686 __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait) in drm_poll()
/linux-6.6.21/fs/nfs/
Dfile.c61 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open()
79 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release()
101 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size()
114 loff_t nfs_file_llseek(struct file *filp, loff_t offset, int whence) in nfs_file_llseek()
583 struct file *filp = vmf->vma->vm_file; in nfs_vm_page_mkwrite() local
720 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_getlk()
749 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_unlk()
785 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) in do_setlk()
829 int nfs_lock(struct file *filp, int cmd, struct file_lock *fl) in nfs_lock()
867 int nfs_flock(struct file *filp, int cmd, struct file_lock *fl) in nfs_flock()

12345678910>>...25