Home
last modified time | relevance | path

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

12345678910>>...25

/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A 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()
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()
251 static ssize_t xpcs_reg_addr_read(struct file *filp, char __user *buffer, in xpcs_reg_addr_read()
280 static ssize_t xpcs_reg_value_write(struct file *filp, in xpcs_reg_value_write()
327 static ssize_t xprop_reg_addr_write(struct file *filp, in xprop_reg_addr_write()
348 static ssize_t xprop_reg_value_write(struct file *filp, in xprop_reg_value_write()
379 static ssize_t xi2c_reg_addr_read(struct file *filp, char __user *buffer, in xi2c_reg_addr_read()
387 static ssize_t xi2c_reg_addr_write(struct file *filp, in xi2c_reg_addr_write()
[all …]
/openbmc/linux/drivers/media/mc/
H A 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()
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c734 static ssize_t rvu_dbg_rsrc_attach_status(struct file *filp, in rvu_dbg_rsrc_attach_status()
989 static ssize_t rvu_dbg_qsize_write(struct file *filp, in rvu_dbg_qsize_write()
1045 static ssize_t rvu_dbg_npa_qsize_write(struct file *filp, in rvu_dbg_npa_qsize_write()
1330 static ssize_t rvu_dbg_npa_ctx_write(struct file *filp, in rvu_dbg_npa_ctx_write()
1362 static ssize_t rvu_dbg_npa_aura_ctx_write(struct file *filp, in rvu_dbg_npa_aura_ctx_write()
1377 static ssize_t rvu_dbg_npa_pool_ctx_write(struct file *filp, in rvu_dbg_npa_pool_ctx_write()
2005 static ssize_t rvu_dbg_nix_queue_ctx_write(struct file *filp, in rvu_dbg_nix_queue_ctx_write()
2055 static ssize_t rvu_dbg_nix_sq_ctx_write(struct file *filp, in rvu_dbg_nix_sq_ctx_write()
2070 static ssize_t rvu_dbg_nix_rq_ctx_write(struct file *filp, in rvu_dbg_nix_rq_ctx_write()
2085 static ssize_t rvu_dbg_nix_cq_ctx_write(struct file *filp, in rvu_dbg_nix_cq_ctx_write()
[all …]
/openbmc/linux/fs/9p/
H A 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
/openbmc/linux/fs/
H A Dlocks.c529 struct file *filp = fl->fl_file; in lease_setup() local
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
1645 int fcntl_getlease(struct file *filp) in fcntl_getlease()
2132 int vfs_test_lock(struct file *filp, struct file_lock *fl) in vfs_test_lock()
2538 void locks_remove_posix(struct file *filp, fl_owner_t owner) in locks_remove_posix()
2619 void locks_remove_file(struct file *filp) in locks_remove_file()
2650 int vfs_cancel_lock(struct file *filp, struct file_lock *fl) in vfs_cancel_lock()
2827 struct file *filp, struct files_struct *files) in __show_fd_locks()
[all …]
H A Dfcntl.c37 static int setfl(int fd, struct file * filp, unsigned int arg) in setfl()
89 void __f_setown(struct file *filp, struct pid *pid, enum pid_type type, in __f_setown()
109 int f_setown(struct file *filp, int who, int force) in f_setown()
140 void f_delown(struct file *filp) in f_delown()
145 pid_t f_getown(struct file *filp) in f_getown()
161 static int f_setown_ex(struct file *filp, unsigned long arg) in f_setown_ex()
201 static int f_getown_ex(struct file *filp, unsigned long arg) in f_getown_ex()
241 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
259 static int f_getowner_uids(struct file *filp, unsigned long arg) in f_getowner_uids()
309 struct file *filp) in do_fcntl()
[all …]
H A 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()
/openbmc/linux/drivers/w1/slaves/
H A 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()
/openbmc/linux/net/sunrpc/
H A Dcache.c966 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()
1575 static long cache_ioctl_procfs(struct file *filp, in cache_ioctl_procfs()
1584 static int cache_open_procfs(struct inode *inode, struct file *filp) in cache_open_procfs()
1629 static int open_flush_procfs(struct inode *inode, struct file *filp) in open_flush_procfs()
1651 static ssize_t write_flush_procfs(struct file *filp, in write_flush_procfs()
1793 static long cache_ioctl_pipefs(struct file *filp, in cache_ioctl_pipefs()
1802 static int cache_open_pipefs(struct inode *inode, struct file *filp) in cache_open_pipefs()
[all …]
/openbmc/linux/net/qrtr/
H A 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()
/openbmc/linux/drivers/char/
H A 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()
/openbmc/linux/drivers/media/pci/dt3155/
H A 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()
/openbmc/linux/drivers/gpu/drm/radeon/
H A 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()
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()
661 struct drm_file *filp) in radeon_gem_va_ioctl()
[all …]
/openbmc/linux/fs/f2fs/
H A Dfile.c576 static int f2fs_file_open(struct inode *inode, struct file *filp) in f2fs_file_open()
2206 static int f2fs_ioc_commit_atomic_write(struct file *filp) in f2fs_ioc_commit_atomic_write()
2241 static int f2fs_ioc_abort_atomic_write(struct file *filp) in f2fs_ioc_abort_atomic_write()
2472 static int f2fs_ioc_get_encryption_policy_ex(struct file *filp, in f2fs_ioc_get_encryption_policy_ex()
2523 static int f2fs_ioc_gc(struct file *filp, unsigned long arg) in f2fs_ioc_gc()
2627 static int f2fs_ioc_write_checkpoint(struct file *filp) in f2fs_ioc_write_checkpoint()
2655 struct file *filp, in f2fs_defragment_range()
2999 static int __f2fs_ioc_move_range(struct file *filp, in __f2fs_ioc_move_range()
3390 static int f2fs_ioc_precache_extents(struct file *filp) in f2fs_ioc_precache_extents()
4200 static int f2fs_ioc_decompress_file(struct file *filp) in f2fs_ioc_decompress_file()
[all …]
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/
H A 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()
/openbmc/linux/drivers/s390/char/
H A 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()
/openbmc/linux/drivers/scsi/qedf/
H A 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()
/openbmc/linux/drivers/remoteproc/
H A 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()
/openbmc/linux/drivers/dax/
H A 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()
/openbmc/linux/include/linux/
H A 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()
H A Dfilelock.h221 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()
315 static inline int vfs_setlease(struct file *filp, int arg, in vfs_setlease()
[all …]
/openbmc/linux/net/handshake/
H A 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
/openbmc/linux/drivers/rapidio/devices/
H A Drio_mport_cdev.c109 struct file *filp; member
131 struct file *filp; member
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()
1142 static int rio_mport_free_dma(struct file *filp, void __user *arg) in rio_mport_free_dma()
1173 static int rio_mport_transfer_ioctl(struct file *filp, void *arg) in rio_mport_transfer_ioctl()
1938 static int mport_cdev_fasync(int fd, struct file *filp, int mode) in mport_cdev_fasync()
1946 static void mport_cdev_release_dma(struct file *filp) in mport_cdev_release_dma()
[all …]
/openbmc/linux/drivers/char/ipmi/
H A Dkcs_bmc_cdev_raw.c92 static inline struct kcs_bmc_raw *file_to_kcs_bmc_raw(struct file *filp) in file_to_kcs_bmc_raw()
97 static int kcs_bmc_raw_open(struct inode *inode, struct file *filp) in kcs_bmc_raw_open()
127 static __poll_t kcs_bmc_raw_poll(struct file *filp, poll_table *wait) in kcs_bmc_raw_poll()
147 static ssize_t kcs_bmc_raw_read(struct file *filp, char __user *buf, in kcs_bmc_raw_read()
251 static ssize_t kcs_bmc_raw_write(struct file *filp, const char __user *buf, in kcs_bmc_raw_write()
333 static int kcs_bmc_raw_release(struct inode *inode, struct file *filp) in kcs_bmc_raw_release()
/openbmc/linux/drivers/gpu/drm/
H A 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()
555 int drm_release_noglobal(struct inode *inode, struct file *filp) in drm_release_noglobal()
599 ssize_t drm_read(struct file *filp, char __user *buffer, in drm_read()
684 __poll_t drm_poll(struct file *filp, struct poll_table_struct *wait) in drm_poll()

12345678910>>...25