Home
last modified time | relevance | path

Searched refs:filp (Results 1 - 25 of 1483) sorted by relevance

12345678910>>...60

/kernel/linux/linux-6.6/fs/
H A Dfcntl.c37 static int setfl(int fd, struct file * filp, unsigned int arg) in setfl() argument
39 struct inode * inode = file_inode(filp); in setfl()
46 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl()
50 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl()
51 if (!inode_owner_or_capable(file_mnt_idmap(filp), inode)) in setfl()
62 !(filp->f_mode & FMODE_CAN_ODIRECT)) in setfl()
65 if (filp->f_op->check_flags) in setfl()
66 error = filp->f_op->check_flags(arg); in setfl()
73 if (((arg ^ filp->f_flags) & FASYNC) && filp in setfl()
89 f_modown(struct file *filp, struct pid *pid, enum pid_type type, int force) f_modown() argument
107 __f_setown(struct file *filp, struct pid *pid, enum pid_type type, int force) __f_setown() argument
115 f_setown(struct file *filp, int who, int force) f_setown() argument
146 f_delown(struct file *filp) f_delown() argument
151 f_getown(struct file *filp) f_getown() argument
167 f_setown_ex(struct file *filp, unsigned long arg) f_setown_ex() argument
207 f_getown_ex(struct file *filp, unsigned long arg) f_getown_ex() argument
247 f_getowner_uids(struct file *filp, unsigned long arg) f_getowner_uids() argument
265 f_getowner_uids(struct file *filp, unsigned long arg) f_getowner_uids() argument
314 do_fcntl(int fd, unsigned int cmd, unsigned long arg, struct file *filp) do_fcntl() argument
862 fasync_remove_entry(struct file *filp, struct fasync_struct **fapp) fasync_remove_entry() argument
910 fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new) fasync_insert_entry() argument
944 fasync_add_entry(int fd, struct file *filp, struct fasync_struct **fapp) fasync_add_entry() argument
973 fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp) fasync_helper() argument
[all...]
H A Dlocks.c233 locks_check_ctx_file_list(struct file *filp, struct list_head *list, in locks_check_ctx_file_list() argument
237 struct inode *inode = file_inode(filp); in locks_check_ctx_file_list()
240 if (fl->fl_file == filp) 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() argument
433 fl->fl_file = filp; in flock_make_lock()
434 fl->fl_owner = filp; in flock_make_lock()
455 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock() argument
463 fl->fl_start = filp->f_pos; in flock64_to_posix_lock()
466 fl->fl_start = i_size_read(file_inode(filp)); in flock64_to_posix_lock()
494 fl->fl_file = filp; in flock64_to_posix_lock()
505 flock_to_posix_lock(struct file *filp, struct file_lock *fl, struct flock *l) flock_to_posix_lock() argument
529 struct file *filp = fl->fl_file; lease_setup() local
552 lease_init(struct file *filp, int type, struct file_lock *fl) lease_init() argument
570 lease_alloc(struct file *filp, int type) lease_alloc() argument
902 posix_test_lock(struct file *filp, struct file_lock *fl) posix_test_lock() argument
1346 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) posix_lock_file() argument
1398 struct file *filp = fl->fl_file; lease_modify() local
1645 fcntl_getlease(struct file *filp) fcntl_getlease() argument
1684 check_conflicting_open(struct file *filp, const int arg, int flags) check_conflicting_open() argument
1719 generic_add_lease(struct file *filp, int arg, struct file_lock **flp, void **priv) generic_add_lease() argument
1827 generic_delete_lease(struct file *filp, void *owner) generic_delete_lease() argument
1870 generic_setlease(struct file *filp, int arg, struct file_lock **flp, void **priv) generic_setlease() argument
1953 vfs_setlease(struct file *filp, int arg, struct file_lock **lease, void **priv) vfs_setlease() argument
1964 do_fcntl_add_lease(unsigned int fd, struct file *filp, int arg) do_fcntl_add_lease() argument
1999 fcntl_setlease(unsigned int fd, struct file *filp, int arg) fcntl_setlease() argument
2132 vfs_test_lock(struct file *filp, struct file_lock *fl) vfs_test_lock() argument
2209 fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) fcntl_getlk() argument
2283 vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) vfs_lock_file() argument
2293 do_lock_file_wait(struct file *filp, unsigned int cmd, struct file_lock *fl) do_lock_file_wait() argument
2335 fcntl_setlk(unsigned int fd, struct file *filp, unsigned int cmd, struct flock *flock) fcntl_setlk() argument
2416 fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) fcntl_getlk64() argument
2459 fcntl_setlk64(unsigned int fd, struct file *filp, unsigned int cmd, struct flock64 *flock) fcntl_setlk64() argument
2540 locks_remove_posix(struct file *filp, fl_owner_t owner) locks_remove_posix() argument
2577 locks_remove_flock(struct file *filp, struct file_lock_context *flctx) locks_remove_flock() argument
2599 locks_remove_lease(struct file *filp, struct file_lock_context *ctx) locks_remove_lease() argument
2621 locks_remove_file(struct file *filp) locks_remove_file() argument
2652 vfs_cancel_lock(struct file *filp, struct file_lock *fl) vfs_cancel_lock() argument
2827 __show_fd_locks(struct seq_file *f, struct list_head *head, int *id, struct file *filp, struct files_struct *files) __show_fd_locks() argument
2847 show_fd_locks(struct seq_file *f, struct file *filp, struct files_struct *files) show_fd_locks() argument
[all...]
H A Dioctl.c35 * @filp: open file to invoke ioctl method on
44 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl() argument
48 if (!filp->f_op->unlocked_ioctl) in vfs_ioctl()
51 error = filp->f_op->unlocked_ioctl(filp, cmd, arg); in vfs_ioctl()
59 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap() argument
61 struct inode *inode = file_inode(filp); in ioctl_fibmap()
83 sb->s_id, filp); in ioctl_fibmap()
200 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap() argument
204 struct inode *inode = file_inode(filp); in ioctl_fiemap()
270 ioctl_preallocate(struct file *filp, int mode, void __user *argp) ioctl_preallocate() argument
324 file_ioctl(struct file *filp, unsigned int cmd, int __user *p) file_ioctl() argument
342 ioctl_fionbio(struct file *filp, int __user *argp) ioctl_fionbio() argument
365 ioctl_fioasync(unsigned int fd, struct file *filp, int __user *argp) ioctl_fioasync() argument
387 ioctl_fsfreeze(struct file *filp) ioctl_fsfreeze() argument
404 ioctl_fsthaw(struct file *filp) ioctl_fsthaw() argument
773 do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, unsigned long arg) do_vfs_ioctl() argument
[all...]
/kernel/linux/linux-5.10/fs/
H A Dfcntl.c35 static int setfl(int fd, struct file * filp, unsigned long arg) in setfl() argument
37 struct inode * inode = file_inode(filp); in setfl()
44 if (((arg ^ filp->f_flags) & O_APPEND) && IS_APPEND(inode)) in setfl()
48 if ((arg & O_NOATIME) && !(filp->f_flags & O_NOATIME)) in setfl()
59 if (!filp->f_mapping || !filp->f_mapping->a_ops || in setfl()
60 !filp->f_mapping->a_ops->direct_IO) in setfl()
64 if (filp->f_op->check_flags) in setfl()
65 error = filp->f_op->check_flags(arg); in setfl()
72 if (((arg ^ filp in setfl()
87 f_modown(struct file *filp, struct pid *pid, enum pid_type type, int force) f_modown() argument
105 __f_setown(struct file *filp, struct pid *pid, enum pid_type type, int force) __f_setown() argument
113 f_setown(struct file *filp, unsigned long arg, int force) f_setown() argument
144 f_delown(struct file *filp) f_delown() argument
149 f_getown(struct file *filp) f_getown() argument
165 f_setown_ex(struct file *filp, unsigned long arg) f_setown_ex() argument
205 f_getown_ex(struct file *filp, unsigned long arg) f_getown_ex() argument
245 f_getowner_uids(struct file *filp, unsigned long arg) f_getowner_uids() argument
263 f_getowner_uids(struct file *filp, unsigned long arg) f_getowner_uids() argument
330 do_fcntl(int fd, unsigned int cmd, unsigned long arg, struct file *filp) do_fcntl() argument
879 fasync_remove_entry(struct file *filp, struct fasync_struct **fapp) fasync_remove_entry() argument
927 fasync_insert_entry(int fd, struct file *filp, struct fasync_struct **fapp, struct fasync_struct *new) fasync_insert_entry() argument
961 fasync_add_entry(int fd, struct file *filp, struct fasync_struct **fapp) fasync_add_entry() argument
990 fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp) fasync_helper() argument
[all...]
H A Dlocks.c42 * with a file pointer (filp). As a result they can be shared by a parent
308 locks_check_ctx_file_list(struct file *filp, struct list_head *list, in locks_check_ctx_file_list() argument
312 struct inode *inode = locks_inode(filp); in locks_check_ctx_file_list()
315 if (fl->fl_file == filp) in locks_check_ctx_file_list()
479 flock_make_lock(struct file *filp, unsigned int cmd, struct file_lock *fl) in flock_make_lock() argument
494 fl->fl_file = filp; in flock_make_lock()
495 fl->fl_owner = filp; in flock_make_lock()
518 static int flock64_to_posix_lock(struct file *filp, struct file_lock *fl, in flock64_to_posix_lock() argument
526 fl->fl_start = filp->f_pos; in flock64_to_posix_lock()
529 fl->fl_start = i_size_read(file_inode(filp)); in flock64_to_posix_lock()
568 flock_to_posix_lock(struct file *filp, struct file_lock *fl, struct flock *l) flock_to_posix_lock() argument
592 struct file *filp = fl->fl_file; lease_setup() local
615 lease_init(struct file *filp, long type, struct file_lock *fl) lease_init() argument
633 lease_alloc(struct file *filp, long type) lease_alloc() argument
952 posix_test_lock(struct file *filp, struct file_lock *fl) posix_test_lock() argument
1369 posix_lock_file(struct file *filp, struct file_lock *fl, struct file_lock *conflock) posix_lock_file() argument
1445 locks_mandatory_area(struct inode *inode, struct file *filp, loff_t start, loff_t end, unsigned char type) locks_mandatory_area() argument
1518 struct file *filp = fl->fl_file; lease_modify() local
1765 fcntl_getlease(struct file *filp) fcntl_getlease() argument
1804 check_conflicting_open(struct file *filp, const long arg, int flags) check_conflicting_open() argument
1836 generic_add_lease(struct file *filp, long arg, struct file_lock **flp, void **priv) generic_add_lease() argument
1951 generic_delete_lease(struct file *filp, void *owner) generic_delete_lease() argument
1994 generic_setlease(struct file *filp, long arg, struct file_lock **flp, void **priv) generic_setlease() argument
2101 vfs_setlease(struct file *filp, long arg, struct file_lock **lease, void **priv) vfs_setlease() argument
2112 do_fcntl_add_lease(unsigned int fd, struct file *filp, long arg) do_fcntl_add_lease() argument
2147 fcntl_setlease(unsigned int fd, struct file *filp, long arg) fcntl_setlease() argument
2275 vfs_test_lock(struct file *filp, struct file_lock *fl) vfs_test_lock() argument
2351 fcntl_getlk(struct file *filp, unsigned int cmd, struct flock *flock) fcntl_getlk() argument
2425 vfs_lock_file(struct file *filp, unsigned int cmd, struct file_lock *fl, struct file_lock *conf) vfs_lock_file() argument
2434 do_lock_file_wait(struct file *filp, unsigned int cmd, struct file_lock *fl) do_lock_file_wait() argument
2476 fcntl_setlk(unsigned int fd, struct file *filp, unsigned int cmd, struct flock *flock) fcntl_setlk() argument
2564 fcntl_getlk64(struct file *filp, unsigned int cmd, struct flock64 *flock) fcntl_getlk64() argument
2607 fcntl_setlk64(unsigned int fd, struct file *filp, unsigned int cmd, struct flock64 *flock) fcntl_setlk64() argument
2696 locks_remove_posix(struct file *filp, fl_owner_t owner) locks_remove_posix() argument
2733 locks_remove_flock(struct file *filp, struct file_lock_context *flctx) locks_remove_flock() argument
2755 locks_remove_lease(struct file *filp, struct file_lock_context *ctx) locks_remove_lease() argument
2777 locks_remove_file(struct file *filp) locks_remove_file() argument
2808 vfs_cancel_lock(struct file *filp, struct file_lock *fl) vfs_cancel_lock() argument
2946 __show_fd_locks(struct seq_file *f, struct list_head *head, int *id, struct file *filp, struct files_struct *files) __show_fd_locks() argument
2966 show_fd_locks(struct seq_file *f, struct file *filp, struct files_struct *files) show_fd_locks() argument
[all...]
H A Dioctl.c32 * @filp: open file to invoke ioctl method on
41 long vfs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) in vfs_ioctl() argument
45 if (!filp->f_op->unlocked_ioctl) in vfs_ioctl()
48 error = filp->f_op->unlocked_ioctl(filp, cmd, arg); in vfs_ioctl()
56 static int ioctl_fibmap(struct file *filp, int __user *p) in ioctl_fibmap() argument
58 struct inode *inode = file_inode(filp); in ioctl_fibmap()
80 sb->s_id, filp); in ioctl_fibmap()
196 static int ioctl_fiemap(struct file *filp, struct fiemap __user *ufiemap) in ioctl_fiemap() argument
200 struct inode *inode = file_inode(filp); in ioctl_fiemap()
473 ioctl_preallocate(struct file *filp, int mode, void __user *argp) ioctl_preallocate() argument
527 file_ioctl(struct file *filp, unsigned int cmd, int __user *p) file_ioctl() argument
545 ioctl_fionbio(struct file *filp, int __user *argp) ioctl_fionbio() argument
568 ioctl_fioasync(unsigned int fd, struct file *filp, int __user *argp) ioctl_fioasync() argument
590 ioctl_fsfreeze(struct file *filp) ioctl_fsfreeze() argument
607 ioctl_fsthaw(struct file *filp) ioctl_fsthaw() argument
667 do_vfs_ioctl(struct file *filp, unsigned int fd, unsigned int cmd, unsigned long arg) do_vfs_ioctl() argument
[all...]
/kernel/linux/linux-5.10/fs/verity/
H A Denable.c17 static int check_file_and_enable_verity(struct file *filp,
25 static int code_sign_copy_merkle_tree(struct file *filp, const void *_desc,
36 static int code_sign_copy_merkle_tree(struct file *filp, in code_sign_copy_merkle_tree() argument
48 static struct page *read_file_data_page(struct file *filp, pgoff_t index, in read_file_data_page() argument
54 page = find_get_page_flags(filp->f_mapping, index, FGP_ACCESSED); in read_file_data_page()
59 page_cache_sync_readahead(filp->f_mapping, ra, filp, in read_file_data_page()
61 page = read_mapping_page(filp->f_mapping, index, NULL); in read_file_data_page()
66 page_cache_async_readahead(filp->f_mapping, ra, filp, pag in read_file_data_page()
71 build_merkle_tree_level(struct file *filp, unsigned int level, u64 num_blocks_to_hash, const struct merkle_tree_params *params, u8 *pending_hashes, struct ahash_request *req) build_merkle_tree_level() argument
178 build_merkle_tree(struct file *filp, const struct merkle_tree_params *params, u8 *root_hash, size_t data_size) build_merkle_tree() argument
226 enable_verity(struct file *filp, const struct fsverity_enable_arg *arg) enable_verity() argument
274 fsverity_enable_with_descriptor(struct file *filp, void *_desc, size_t desc_size) fsverity_enable_with_descriptor() argument
402 fsverity_ioctl_enable(struct file *filp, const void __user *uarg) fsverity_ioctl_enable() argument
430 check_file_and_enable_verity(struct file *filp, const struct fsverity_enable_arg *arg) check_file_and_enable_verity() argument
492 code_sign_copy_merkle_tree(struct file *filp, const void *_desc, const struct merkle_tree_params *params) code_sign_copy_merkle_tree() argument
604 fsverity_ioctl_enable_code_sign(struct file *filp, const void __user *uarg) fsverity_ioctl_enable_code_sign() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_debugfs.c226 static void print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf);
228 static int rvu_dbg_mcs_port_stats_display(struct seq_file *filp, void *unused, int dir) in rvu_dbg_mcs_port_stats_display() argument
230 struct mcs *mcs = filp->private; in rvu_dbg_mcs_port_stats_display()
234 seq_puts(filp, "\n port stats\n"); in rvu_dbg_mcs_port_stats_display()
238 seq_printf(filp, "port%d: Tcam Miss: %lld\n", lmac, stats.tcam_miss_cnt); in rvu_dbg_mcs_port_stats_display()
239 seq_printf(filp, "port%d: Parser errors: %lld\n", lmac, stats.parser_err_cnt); in rvu_dbg_mcs_port_stats_display()
242 seq_printf(filp, "port%d: Preempt error: %lld\n", lmac, in rvu_dbg_mcs_port_stats_display()
245 seq_printf(filp, "port%d: Sectag insert error: %lld\n", lmac, 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() argument
254 return rvu_dbg_mcs_port_stats_display(filp, unuse in rvu_dbg_mcs_rx_port_stats_display()
259 rvu_dbg_mcs_tx_port_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_tx_port_stats_display() argument
266 rvu_dbg_mcs_sa_stats_display(struct seq_file *filp, void *unused, int dir) rvu_dbg_mcs_sa_stats_display() argument
305 rvu_dbg_mcs_rx_sa_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_rx_sa_stats_display() argument
312 rvu_dbg_mcs_tx_sa_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_tx_sa_stats_display() argument
319 rvu_dbg_mcs_tx_sc_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_tx_sc_stats_display() argument
349 rvu_dbg_mcs_rx_sc_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_rx_sc_stats_display() argument
386 rvu_dbg_mcs_flowid_stats_display(struct seq_file *filp, void *unused, int dir) rvu_dbg_mcs_flowid_stats_display() argument
409 rvu_dbg_mcs_tx_flowid_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_tx_flowid_stats_display() argument
416 rvu_dbg_mcs_rx_flowid_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_rx_flowid_stats_display() argument
423 rvu_dbg_mcs_tx_secy_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_tx_secy_stats_display() argument
466 rvu_dbg_mcs_rx_secy_stats_display(struct seq_file *filp, void *unused) rvu_dbg_mcs_rx_secy_stats_display() argument
575 rvu_dbg_lmtst_map_table_display(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_lmtst_map_table_display() argument
734 rvu_dbg_rsrc_attach_status(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_rsrc_attach_status() argument
839 rvu_dbg_rvu_pf_cgx_map_display(struct seq_file *filp, void *unused) rvu_dbg_rvu_pf_cgx_map_display() argument
944 rvu_dbg_qsize_display(struct seq_file *filp, void *unsused, int blktype) rvu_dbg_qsize_display() argument
989 rvu_dbg_qsize_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int blktype) rvu_dbg_qsize_write() argument
1047 rvu_dbg_npa_qsize_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_npa_qsize_write() argument
1055 rvu_dbg_npa_qsize_display(struct seq_file *filp, void *unused) rvu_dbg_npa_qsize_display() argument
1332 rvu_dbg_npa_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int ctype) rvu_dbg_npa_ctx_write() argument
1364 rvu_dbg_npa_aura_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_npa_aura_ctx_write() argument
1372 rvu_dbg_npa_aura_ctx_display(struct seq_file *filp, void *unused) rvu_dbg_npa_aura_ctx_display() argument
1379 rvu_dbg_npa_pool_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_npa_pool_ctx_write() argument
1387 rvu_dbg_npa_pool_ctx_display(struct seq_file *filp, void *unused) rvu_dbg_npa_pool_ctx_display() argument
1442 rvu_dbg_npa_ndc_cache_display(struct seq_file *filp, void *unused) rvu_dbg_npa_ndc_cache_display() argument
1477 rvu_dbg_nix_ndc_rx_cache_display(struct seq_file *filp, void *unused) rvu_dbg_nix_ndc_rx_cache_display() argument
1492 rvu_dbg_nix_ndc_tx_cache_display(struct seq_file *filp, void *unused) rvu_dbg_nix_ndc_tx_cache_display() argument
1507 rvu_dbg_npa_ndc_hits_miss_display(struct seq_file *filp, void *unused) rvu_dbg_npa_ndc_hits_miss_display() argument
1515 rvu_dbg_nix_ndc_rx_hits_miss_display(struct seq_file *filp, void *unused) rvu_dbg_nix_ndc_rx_hits_miss_display() argument
1530 rvu_dbg_nix_ndc_tx_hits_miss_display(struct seq_file *filp, void *unused) rvu_dbg_nix_ndc_tx_hits_miss_display() argument
1855 rvu_dbg_nix_queue_ctx_display(struct seq_file *filp, void *unused, int ctype) rvu_dbg_nix_queue_ctx_display() argument
2007 rvu_dbg_nix_queue_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos, int ctype) rvu_dbg_nix_queue_ctx_write() argument
2057 rvu_dbg_nix_sq_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_nix_sq_ctx_write() argument
2065 rvu_dbg_nix_sq_ctx_display(struct seq_file *filp, void *unused) rvu_dbg_nix_sq_ctx_display() argument
2072 rvu_dbg_nix_rq_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_nix_rq_ctx_write() argument
2080 rvu_dbg_nix_rq_ctx_display(struct seq_file *filp, void *unused) rvu_dbg_nix_rq_ctx_display() argument
2087 rvu_dbg_nix_cq_ctx_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_nix_cq_ctx_write() argument
2095 rvu_dbg_nix_cq_ctx_display(struct seq_file *filp, void *unused) rvu_dbg_nix_cq_ctx_display() argument
2102 print_nix_qctx_qsize(struct seq_file *filp, int qsize, unsigned long *bmap, char *qtype) print_nix_qctx_qsize() argument
2118 print_nix_qsize(struct seq_file *filp, struct rvu_pfvf *pfvf) print_nix_qsize() argument
2139 rvu_dbg_nix_qsize_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) rvu_dbg_nix_qsize_write() argument
2147 rvu_dbg_nix_qsize_display(struct seq_file *filp, void *unused) rvu_dbg_nix_qsize_display() argument
2501 rvu_dbg_derive_lmacid(struct seq_file *filp, int *lmac_id) rvu_dbg_derive_lmacid() argument
2514 rvu_dbg_cgx_stat_display(struct seq_file *filp, void *unused) rvu_dbg_cgx_stat_display() argument
2580 rvu_dbg_cgx_dmac_flt_display(struct seq_file *filp, void *unused) rvu_dbg_cgx_dmac_flt_display() argument
2669 rvu_dbg_npc_mcam_info_display(struct seq_file *filp, void *unsued) rvu_dbg_npc_mcam_info_display() argument
2736 rvu_dbg_npc_rx_miss_stats_display(struct seq_file *filp, void *unused) rvu_dbg_npc_rx_miss_stats_display() argument
3170 cpt_eng_sts_display(struct seq_file *filp, u8 eng_type) cpt_eng_sts_display() argument
3216 rvu_dbg_cpt_ae_sts_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_ae_sts_display() argument
3223 rvu_dbg_cpt_se_sts_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_se_sts_display() argument
3230 rvu_dbg_cpt_ie_sts_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_ie_sts_display() argument
3237 rvu_dbg_cpt_engines_info_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_engines_info_display() argument
3271 rvu_dbg_cpt_lfs_info_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_lfs_info_display() argument
3304 rvu_dbg_cpt_err_info_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_err_info_display() argument
3331 rvu_dbg_cpt_pc_display(struct seq_file *filp, void *unused) rvu_dbg_cpt_pc_display() argument
[all...]
/kernel/linux/linux-6.6/fs/9p/
H A Dvfs_file.c96 * @filp: file to be locked
104 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() argument
106 struct inode *inode = file_inode(filp); in v9fs_file_lock()
108 p9_debug(P9_DEBUG_VFS, "filp: %p lock: %p\n", filp, 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() argument
127 fid = filp->private_data; in v9fs_file_do_lock()
132 res = locks_lock_file_wait(filp, fl); in v9fs_file_do_lock()
160 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock()
214 locks_lock_file_wait(filp, f in v9fs_file_do_lock()
223 v9fs_file_getlock(struct file *filp, struct file_lock *fl) v9fs_file_getlock() argument
288 v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) v9fs_file_lock_dotl() argument
318 v9fs_file_flock_dotl(struct file *filp, int cmd, struct file_lock *fl) v9fs_file_flock_dotl() argument
452 v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) v9fs_file_fsync() argument
476 v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, int datasync) v9fs_file_fsync_dotl() argument
499 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) v9fs_file_mmap() argument
523 struct file *filp = vmf->vma->vm_file; v9fs_vm_page_mkwrite() local
[all...]
/kernel/linux/linux-5.10/fs/nfs/
H A Dfile.c65 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open() argument
69 dprintk("NFS: open file(%pD2)\n", filp); in nfs_file_open()
72 res = nfs_check_flags(filp->f_flags); in nfs_file_open()
76 res = nfs_open(inode, filp); in nfs_file_open()
81 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release() argument
83 dprintk("NFS: release(%pD2)\n", filp); in nfs_file_release()
86 nfs_file_clear_open_context(filp); in nfs_file_release()
94 * @filp: pointer to struct file
102 static int nfs_revalidate_file_size(struct inode *inode, struct file *filp) in nfs_revalidate_file_size() argument
106 if (filp in nfs_revalidate_file_size()
115 nfs_file_llseek(struct file *filp, loff_t offset, int whence) nfs_file_llseek() argument
552 struct file *filp = vmf->vma->vm_file; nfs_vm_page_mkwrite() local
600 nfs_need_check_write(struct file *filp, struct inode *inode, int error) nfs_need_check_write() argument
680 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_getlk() argument
709 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_unlk() argument
745 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_setlk() argument
789 nfs_lock(struct file *filp, int cmd, struct file_lock *fl) nfs_lock() argument
828 nfs_flock(struct file *filp, int cmd, struct file_lock *fl) nfs_flock() argument
[all...]
/kernel/linux/linux-5.10/drivers/media/mc/
H A Dmc-devnode.c70 static ssize_t media_read(struct file *filp, char __user *buf, in media_read() argument
73 struct media_devnode *devnode = media_devnode_data(filp); in media_read()
79 return devnode->fops->read(filp, buf, sz, off); in media_read()
82 static ssize_t media_write(struct file *filp, const char __user *buf, in media_write() argument
85 struct media_devnode *devnode = media_devnode_data(filp); in media_write()
91 return devnode->fops->write(filp, buf, sz, off); in media_write()
94 static __poll_t media_poll(struct file *filp, in media_poll() argument
97 struct media_devnode *devnode = media_devnode_data(filp); in media_poll()
103 return devnode->fops->poll(filp, poll); in media_poll()
107 __media_ioctl(struct file *filp, unsigne argument
122 media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) media_ioctl() argument
131 media_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) media_compat_ioctl() argument
142 media_open(struct inode *inode, struct file *filp) media_open() argument
180 media_release(struct inode *inode, struct file *filp) media_release() argument
[all...]
/kernel/linux/linux-6.6/drivers/media/mc/
H A Dmc-devnode.c70 static ssize_t media_read(struct file *filp, char __user *buf, in media_read() argument
73 struct media_devnode *devnode = media_devnode_data(filp); in media_read()
79 return devnode->fops->read(filp, buf, sz, off); in media_read()
82 static ssize_t media_write(struct file *filp, const char __user *buf, in media_write() argument
85 struct media_devnode *devnode = media_devnode_data(filp); in media_write()
91 return devnode->fops->write(filp, buf, sz, off); in media_write()
94 static __poll_t media_poll(struct file *filp, in media_poll() argument
97 struct media_devnode *devnode = media_devnode_data(filp); in media_poll()
103 return devnode->fops->poll(filp, poll); in media_poll()
107 __media_ioctl(struct file *filp, unsigne argument
122 media_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) media_ioctl() argument
131 media_compat_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) media_compat_ioctl() argument
142 media_open(struct inode *inode, struct file *filp) media_open() argument
180 media_release(struct inode *inode, struct file *filp) media_release() argument
[all...]
/kernel/linux/linux-5.10/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() argument
177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read()
182 static ssize_t xgmac_reg_addr_write(struct file *filp, in xgmac_reg_addr_write() argument
186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write()
192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read() argument
195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read()
203 static ssize_t xgmac_reg_value_write(struct file *filp, in xgmac_reg_value_write() argument
207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write()
234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read() argument
237 struct xgbe_prv_data *pdata = filp in xpcs_mmd_read()
242 xpcs_mmd_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_mmd_write() argument
251 xpcs_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_read() argument
259 xpcs_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_write() argument
268 xpcs_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_read() argument
280 xpcs_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_write() argument
319 xprop_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_read() argument
327 xprop_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_write() argument
337 xprop_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_read() argument
348 xprop_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_write() argument
379 xi2c_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_read() argument
387 xi2c_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_write() argument
397 xi2c_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_read() argument
408 xi2c_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_write() argument
[all...]
/kernel/linux/linux-6.6/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() argument
177 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_read()
182 static ssize_t xgmac_reg_addr_write(struct file *filp, in xgmac_reg_addr_write() argument
186 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_addr_write()
192 static ssize_t xgmac_reg_value_read(struct file *filp, char __user *buffer, in xgmac_reg_value_read() argument
195 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_read()
203 static ssize_t xgmac_reg_value_write(struct file *filp, in xgmac_reg_value_write() argument
207 struct xgbe_prv_data *pdata = filp->private_data; in xgmac_reg_value_write()
234 static ssize_t xpcs_mmd_read(struct file *filp, char __user *buffer, in xpcs_mmd_read() argument
237 struct xgbe_prv_data *pdata = filp in xpcs_mmd_read()
242 xpcs_mmd_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_mmd_write() argument
251 xpcs_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_read() argument
259 xpcs_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_addr_write() argument
268 xpcs_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_read() argument
280 xpcs_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xpcs_reg_value_write() argument
319 xprop_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_read() argument
327 xprop_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_addr_write() argument
337 xprop_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_read() argument
348 xprop_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xprop_reg_value_write() argument
379 xi2c_reg_addr_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_read() argument
387 xi2c_reg_addr_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_addr_write() argument
397 xi2c_reg_value_read(struct file *filp, char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_read() argument
408 xi2c_reg_value_write(struct file *filp, const char __user *buffer, size_t count, loff_t *ppos) xi2c_reg_value_write() argument
[all...]
/kernel/linux/linux-6.6/net/handshake/
H A Dhandshake-test.c212 struct file *filp; in handshake_req_submit_test4() local
222 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test4()
223 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filp); in handshake_req_submit_test4()
225 sock->file = filp; in handshake_req_submit_test4()
238 fput(filp); in handshake_req_submit_test4()
246 struct file *filp; in handshake_req_submit_test5() local
257 filp = sock_alloc_file(sock, O_NONBLOCK, NULL); in handshake_req_submit_test5()
258 KUNIT_ASSERT_NOT_ERR_OR_NULL(test, filp); in handshake_req_submit_test5()
260 sock->file = filp; in handshake_req_submit_test5()
275 fput(filp); in handshake_req_submit_test5()
283 struct file *filp; handshake_req_submit_test6() local
316 struct file *filp; handshake_req_cancel_test1() local
351 struct file *filp; handshake_req_cancel_test2() local
393 struct file *filp; handshake_req_cancel_test3() local
451 struct file *filp; handshake_req_destroy_test1() local
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dfsverity.h35 * @filp: a readonly file descriptor for the file
45 int (*begin_enable_verity)(struct file *filp);
50 * @filp: a readonly file descriptor for the file
67 int (*end_enable_verity)(struct file *filp, const void *desc,
140 int fsverity_ioctl_enable(struct file *filp, const void __user *arg);
141 int fsverity_enable_with_descriptor(struct file *filp,
146 int fsverity_ioctl_measure(struct file *filp, void __user *arg);
153 int __fsverity_file_open(struct inode *inode, struct file *filp);
171 int fsverity_ioctl_read_metadata(struct file *filp, const void __user *uarg);
189 static inline int fsverity_ioctl_enable(struct file *filp, in fsverity_ioctl_enable() argument
195 fsverity_enable_with_descriptor(struct file *filp, void *desc, size_t desc_size) fsverity_enable_with_descriptor() argument
203 fsverity_ioctl_measure(struct file *filp, void __user *arg) fsverity_ioctl_measure() argument
221 __fsverity_file_open(struct inode *inode, struct file *filp) __fsverity_file_open() argument
238 fsverity_ioctl_read_metadata(struct file *filp, const void __user *uarg) fsverity_ioctl_read_metadata() argument
281 fsverity_ioctl_enable_code_sign(struct file *filp, const void __user *uarg) fsverity_ioctl_enable_code_sign() argument
334 fsverity_file_open(struct inode *inode, struct file *filp) fsverity_file_open() argument
[all...]
/kernel/linux/linux-5.10/drivers/staging/blackbox/
H A Dblackbox_common.c46 struct file *filp = NULL; in full_write_file() local
57 filp = file_open(pfile_path, O_CREAT | O_RDWR | in full_write_file()
59 if (IS_ERR(filp)) { in full_write_file()
60 bbox_print_err("open %s failed! [%ld]\n", pfile_path, PTR_ERR(filp)); in full_write_file()
67 ret = vfs_write(filp, buf, buf_size, &pos); in full_write_file()
71 file_close(filp); in full_write_file()
74 pathname = getfullpath(filp); in full_write_file()
209 struct file *filp = NULL; in file_open() local
215 filp = filp_open(filename, open_mode, mode); in file_open()
218 return filp; in file_open()
221 file_close(struct file *filp) file_close() argument
227 file_delete(struct file *filp) file_delete() argument
252 getfullpath(struct file *filp) getfullpath() argument
[all...]
H A Dblackbox_storage.c76 struct file *filp = NULL; in is_pstore_part_ready() local
84 filp = file_open(PSTORE_MOUNT_POINT, O_RDONLY, 0); in is_pstore_part_ready()
85 if (IS_ERR(filp)) { in is_pstore_part_ready()
86 bbox_print_err("open %s failed! err is [%ld]\n", PSTORE_MOUNT_POINT, PTR_ERR(filp)); in is_pstore_part_ready()
94 root_dentry = filp->f_path.dentry; in is_pstore_part_ready()
113 file_close(filp); in is_pstore_part_ready()
122 struct file *filp = NULL; in get_log_by_pstore() local
139 filp = file_open(pstore_file, O_RDONLY, FILE_LIMIT); in get_log_by_pstore()
140 if (IS_ERR(filp)) { in get_log_by_pstore()
142 PTR_ERR(filp)); in get_log_by_pstore()
[all...]
/kernel/linux/linux-6.6/drivers/staging/blackbox/
H A Dblackbox_common.c53 struct file *filp = NULL; in full_write_file() local
66 filp = file_open(pfile_path, O_CREAT | O_RDWR | in full_write_file()
68 if (IS_ERR(filp)) { in full_write_file()
69 bbox_print_err("open %s failed! [%ld]\n", pfile_path, PTR_ERR(filp)); in full_write_file()
78 ret = vfs_write(filp, buf, buf_size, &pos); in full_write_file()
84 file_close(filp); in full_write_file()
87 pathname = getfullpath(filp); in full_write_file()
230 struct file *filp = NULL; in file_open() local
240 filp = filp_open(filename, open_mode, mode); in file_open()
245 return filp; in file_open()
248 file_close(struct file *filp) file_close() argument
254 file_delete(struct file *filp) file_delete() argument
283 getfullpath(struct file *filp) getfullpath() argument
[all...]
H A Dblackbox_storage.c76 struct file *filp = NULL; in is_pstore_part_ready() local
84 filp = file_open(PSTORE_MOUNT_POINT, O_RDONLY, 0); in is_pstore_part_ready()
85 if (IS_ERR(filp)) { in is_pstore_part_ready()
86 bbox_print_err("open %s failed! err is [%ld]\n", PSTORE_MOUNT_POINT, PTR_ERR(filp)); in is_pstore_part_ready()
94 root_dentry = filp->f_path.dentry; in is_pstore_part_ready()
113 file_close(filp); in is_pstore_part_ready()
122 struct file *filp = NULL; in get_log_by_pstore() local
139 filp = file_open(pstore_file, O_RDONLY, FILE_LIMIT); in get_log_by_pstore()
140 if (IS_ERR(filp)) { in get_log_by_pstore()
142 PTR_ERR(filp)); in get_log_by_pstore()
[all...]
/kernel/linux/linux-6.6/fs/verity/
H A Denable.c64 static int check_file_and_enable_verity(struct file *filp,
72 static int code_sign_copy_merkle_tree(struct file *filp, const void *_desc,
83 static int code_sign_copy_merkle_tree(struct file *filp, in code_sign_copy_merkle_tree() argument
99 static int build_merkle_tree(struct file *filp, in build_merkle_tree() argument
104 struct inode *inode = file_inode(filp); in build_merkle_tree()
144 bytes_read = __kernel_read(filp, buffers[-1].data, in build_merkle_tree()
210 static int enable_verity(struct file *filp, in enable_verity() argument
213 struct inode *inode = file_inode(filp); in enable_verity()
252 err = fsverity_enable_with_descriptor(filp, (void *)desc, desc_size); in enable_verity()
258 int fsverity_enable_with_descriptor(struct file *filp, in fsverity_enable_with_descriptor() argument
381 fsverity_ioctl_enable(struct file *filp, const void __user *uarg) fsverity_ioctl_enable() argument
409 check_file_and_enable_verity(struct file *filp, const struct fsverity_enable_arg *arg) check_file_and_enable_verity() argument
478 code_sign_copy_merkle_tree(struct file *filp, const void *_desc, const struct merkle_tree_params *params) code_sign_copy_merkle_tree() argument
583 fsverity_ioctl_enable_code_sign(struct file *filp, const void __user *uarg) fsverity_ioctl_enable_code_sign() argument
[all...]
/kernel/linux/linux-5.10/fs/9p/
H A Dvfs_file.c108 * @filp: file to be locked
116 static int v9fs_file_lock(struct file *filp, int cmd, struct file_lock *fl) in v9fs_file_lock() argument
119 struct inode *inode = file_inode(filp); in v9fs_file_lock()
121 p9_debug(P9_DEBUG_VFS, "filp: %p lock: %p\n", filp, 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() argument
144 fid = filp->private_data; in v9fs_file_do_lock()
150 res = locks_lock_file_wait(filp, fl); in v9fs_file_do_lock()
178 v9ses = v9fs_inode2v9ses(file_inode(filp)); in v9fs_file_do_lock()
232 locks_lock_file_wait(filp, f in v9fs_file_do_lock()
241 v9fs_file_getlock(struct file *filp, struct file_lock *fl) v9fs_file_getlock() argument
306 v9fs_file_lock_dotl(struct file *filp, int cmd, struct file_lock *fl) v9fs_file_lock_dotl() argument
341 v9fs_file_flock_dotl(struct file *filp, int cmd, struct file_lock *fl) v9fs_file_flock_dotl() argument
448 v9fs_file_fsync(struct file *filp, loff_t start, loff_t end, int datasync) v9fs_file_fsync() argument
472 v9fs_file_fsync_dotl(struct file *filp, loff_t start, loff_t end, int datasync) v9fs_file_fsync_dotl() argument
495 v9fs_file_mmap(struct file *filp, struct vm_area_struct *vma) v9fs_file_mmap() argument
508 v9fs_mmap_file_mmap(struct file *filp, struct vm_area_struct *vma) v9fs_mmap_file_mmap() argument
550 struct file *filp = vmf->vma->vm_file; v9fs_vm_page_mkwrite() local
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_gem.h50 int amdgpu_mode_dumb_mmap(struct drm_file *filp,
55 struct drm_file *filp);
57 struct drm_file *filp);
59 struct drm_file *filp);
61 struct drm_file *filp);
63 struct drm_file *filp);
66 struct drm_file *filp);
68 struct drm_file *filp);
71 struct drm_file *filp);
/kernel/linux/linux-6.6/fs/nfs/
H A Dfile.c61 nfs_file_open(struct inode *inode, struct file *filp) in nfs_file_open() argument
65 dprintk("NFS: open file(%pD2)\n", filp); in nfs_file_open()
68 res = nfs_check_flags(filp->f_flags); in nfs_file_open()
72 res = nfs_open(inode, filp); in nfs_file_open()
74 filp->f_mode |= FMODE_CAN_ODIRECT; in nfs_file_open()
79 nfs_file_release(struct inode *inode, struct file *filp) in nfs_file_release() argument
81 dprintk("NFS: release(%pD2)\n", filp); in nfs_file_release()
84 nfs_file_clear_open_context(filp); in nfs_file_release()
85 nfs_fscache_release_file(inode, filp); in nfs_file_release()
93 * @filp
101 nfs_revalidate_file_size(struct inode *inode, struct file *filp) nfs_revalidate_file_size() argument
114 nfs_file_llseek(struct file *filp, loff_t offset, int whence) nfs_file_llseek() argument
583 struct file *filp = vmf->vma->vm_file; nfs_vm_page_mkwrite() local
720 do_getlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_getlk() argument
749 do_unlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_unlk() argument
785 do_setlk(struct file *filp, int cmd, struct file_lock *fl, int is_local) do_setlk() argument
829 nfs_lock(struct file *filp, int cmd, struct file_lock *fl) nfs_lock() argument
867 nfs_flock(struct file *filp, int cmd, struct file_lock *fl) nfs_flock() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dfsverity.h23 * @filp: a readonly file descriptor for the file
33 int (*begin_enable_verity)(struct file *filp);
38 * @filp: a readonly file descriptor for the file
55 int (*end_enable_verity)(struct file *filp, const void *desc,
129 int fsverity_ioctl_enable(struct file *filp, const void __user *arg);
130 int fsverity_enable_with_descriptor(struct file *filp,
135 int fsverity_ioctl_measure(struct file *filp, void __user *arg);
139 int fsverity_file_open(struct inode *inode, struct file *filp);
159 static inline int fsverity_ioctl_enable(struct file *filp, in fsverity_ioctl_enable() argument
165 static inline int fsverity_enable_with_descriptor(struct file *filp, in fsverity_enable_with_descriptor() argument
173 fsverity_ioctl_measure(struct file *filp, void __user *arg) fsverity_ioctl_measure() argument
180 fsverity_file_open(struct inode *inode, struct file *filp) fsverity_file_open() argument
231 fsverity_ioctl_enable_code_sign(struct file *filp, const void __user *uarg) fsverity_ioctl_enable_code_sign() argument
[all...]

Completed in 20 milliseconds

12345678910>>...60