Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 188) sorted by relevance

12345678

/fs/
Deventfd.c46 __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, unsigned mask) in eventfd_signal_mask()
88 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) in eventfd_signal()
94 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
103 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free() local
115 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
123 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() local
132 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() local
188 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
210 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue()
229 struct eventfd_ctx *ctx = file->private_data; in eventfd_read() local
[all …]
Duserfaultfd.c84 struct userfaultfd_ctx *ctx; member
93 struct userfaultfd_ctx *ctx; member
105 static bool userfaultfd_is_initialized(struct userfaultfd_ctx *ctx) in userfaultfd_is_initialized()
155 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
162 struct userfaultfd_ctx *ctx = container_of(head, struct userfaultfd_ctx, in __free_userfaultfd_ctx() local
175 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
235 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
267 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
284 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
364 struct userfaultfd_ctx *ctx; in userfaultfd_using_sigbus() local
[all …]
Dtimerfd.c54 static inline bool isalarm(struct timerfd_ctx *ctx) in isalarm()
65 static void timerfd_triggered(struct timerfd_ctx *ctx) in timerfd_triggered()
78 struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, in timerfd_tmrproc() local
87 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, in timerfd_alarmproc() local
102 struct timerfd_ctx *ctx; in timerfd_clock_was_set() local
136 static void __timerfd_remove_cancel(struct timerfd_ctx *ctx) in __timerfd_remove_cancel()
146 static void timerfd_remove_cancel(struct timerfd_ctx *ctx) in timerfd_remove_cancel()
153 static bool timerfd_canceled(struct timerfd_ctx *ctx) in timerfd_canceled()
161 static void timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) in timerfd_setup_cancel()
179 static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) in timerfd_get_remaining()
[all …]
Daio.c235 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file()
282 static void put_aio_ring_file(struct kioctx *ctx) in put_aio_ring_file()
301 static void aio_free_ring(struct kioctx *ctx) in aio_free_ring()
341 struct kioctx *ctx; in aio_ring_mremap() local
383 struct kioctx *ctx; in aio_migratepage() local
464 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events) in aio_setup_ring()
568 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
595 struct kioctx *ctx = container_of(to_rcu_work(work), struct kioctx, in free_ioctx() local
608 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
626 struct kioctx *ctx = container_of(ref, struct kioctx, users); in free_ioctx_users() local
[all …]
Dreaddir.c40 int iterate_dir(struct file *file, struct dir_context *ctx) in iterate_dir()
138 struct dir_context ctx; member
143 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir()
215 struct dir_context ctx; member
222 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir()
303 struct dir_context ctx; member
310 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64()
395 struct dir_context ctx; member
400 static int compat_fillonedir(struct dir_context *ctx, const char *name, in compat_fillonedir()
467 struct dir_context ctx; member
[all …]
Dsignalfd.c53 struct signalfd_ctx *ctx = file->private_data; in signalfd_poll() local
155 static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, kernel_siginfo_t *info, in signalfd_dequeue()
204 struct signalfd_ctx *ctx = file->private_data; in signalfd_read() local
233 struct signalfd_ctx *ctx = f->private_data; in signalfd_show_fdinfo() local
254 struct signalfd_ctx *ctx; in do_signalfd4() local
Dfs_context.c487 struct legacy_fs_context *ctx = fc->fs_private; in legacy_fs_context_free() local
501 struct legacy_fs_context *ctx; in legacy_fs_context_dup() local
527 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_param() local
585 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_monolithic() local
607 struct legacy_fs_context *ctx = fc->fs_private; in legacy_get_tree() local
628 struct legacy_fs_context *ctx = fc->fs_private; in legacy_reconfigure() local
Dlocks.c251 struct file_lock_context *ctx; in locks_get_lock_context() local
293 struct file_lock_context *ctx = inode->i_flctx; in locks_check_ctx_lists() local
326 struct file_lock_context *ctx = inode->i_flctx; in locks_free_lock_context() local
955 struct file_lock_context *ctx; in posix_test_lock() local
1063 struct file_lock_context *ctx; in flock_lock_inode() local
1139 struct file_lock_context *ctx; in posix_lock_inode() local
1446 struct file_lock_context *ctx = inode->i_flctx; in time_out_leases() local
1485 struct file_lock_context *ctx = inode->i_flctx; in any_leases_conflict() local
1513 struct file_lock_context *ctx; in __break_lease() local
1627 struct file_lock_context *ctx; in lease_get_mtime() local
[all …]
/fs/cifs/
Dfs_context.c194 cifs_parse_security_flavors(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_security_flavors()
249 cifs_parse_cache_flavor(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_cache_flavor()
303 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup()
334 cifs_parse_smb_version(struct fs_context *fc, char *value, struct smb3_fs_context *ctx, bool is_smb… in cifs_parse_smb_version()
478 smb3_parse_devname(const char *devname, struct smb3_fs_context *ctx) in smb3_parse_devname()
569 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_fs_context_parse_monolithic() local
627 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_fs_context_validate() local
690 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_get_tree_common() local
717 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_fs_context_free() local
776 #define STEAL_STRING(cifs_sb, ctx, field) \ argument
[all …]
Dconnect.c1254 match_security(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_security()
1276 static int match_server(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_server()
1330 cifs_find_tcp_session(struct smb3_fs_context *ctx) in cifs_find_tcp_session()
1414 cifs_get_tcp_session(struct smb3_fs_context *ctx) in cifs_get_tcp_session()
1583 static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx) in match_session()
1638 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc()
1712 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_find_smb_ses()
1806 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
1943 cifs_set_cifscreds(struct smb3_fs_context *ctx __attribute__((unused)), in cifs_set_cifscreds()
1960 cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_get_smb_ses()
[all …]
/fs/xfs/
Dxfs_log_cil.c59 struct xfs_cil_ctx *ctx; in xlog_cil_ctx_alloc() local
71 struct xfs_cil_ctx *ctx) in xlog_cil_ctx_switch()
427 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
539 struct xfs_cil_ctx *ctx = in xlog_discard_endio_work() local
556 struct xfs_cil_ctx *ctx = bio->bi_private; in xlog_discard_endio() local
566 struct xfs_cil_ctx *ctx) in xlog_discard_busy_extents()
612 struct xfs_cil_ctx *ctx) in xlog_cil_committed()
654 struct xfs_cil_ctx *ctx; in xlog_cil_process_committed() local
671 struct xfs_cil_ctx *ctx, in xlog_cil_set_ctx_write_state()
750 struct xfs_cil_ctx *ctx; in xlog_cil_order_write() local
[all …]
Dxfs_dir2_readdir.c47 struct dir_context *ctx) in xfs_dir2_sf_getdents()
141 struct dir_context *ctx) in xfs_dir2_block_getdents()
346 struct dir_context *ctx, in xfs_dir2_leaf_getdents()
506 struct dir_context *ctx, in xfs_readdir()
/fs/ksmbd/
Dcrypto_ctx.c100 static void ctx_free(struct ksmbd_crypto_ctx *ctx) in ctx_free()
113 struct ksmbd_crypto_ctx *ctx; in ksmbd_find_crypto_ctx() local
150 void ksmbd_release_crypto_ctx(struct ksmbd_crypto_ctx *ctx) in ksmbd_release_crypto_ctx()
170 struct ksmbd_crypto_ctx *ctx; in ____crypto_shash_ctx_find() local
213 struct ksmbd_crypto_ctx *ctx; in ____crypto_aead_ctx_find() local
241 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypto_destroy() local
254 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypto_create() local
Dauth.c82 struct ksmbd_crypto_ctx *ctx; in ksmbd_gen_sess_key() local
130 struct ksmbd_crypto_ctx *ctx; in calc_ntlmv2_hash() local
224 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_auth_ntlmv2() local
578 struct ksmbd_crypto_ctx *ctx; in ksmbd_sign_smb2_pdu() local
629 struct ksmbd_crypto_ctx *ctx; in ksmbd_sign_smb3_pdu() local
685 struct ksmbd_crypto_ctx *ctx; in generate_key() local
924 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_gen_preauth_integrity_hash() local
968 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_gen_sd_hash() local
1117 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypt_message() local
/fs/proc/
Droot.c63 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_hidepid_param() local
94 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_subset_param() local
117 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_param() local
152 struct proc_fs_context *ctx = fc->fs_private; in proc_apply_options() local
164 struct proc_fs_context *ctx = fc->fs_private; in proc_fill_super() local
234 struct proc_fs_context *ctx = fc->fs_private; in proc_fs_context_free() local
249 struct proc_fs_context *ctx; in proc_init_fs_context() local
328 static int proc_root_readdir(struct file *file, struct dir_context *ctx) in proc_root_readdir()
/fs/afs/
Dsuper.c226 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_source() local
321 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_param() local
357 struct afs_fs_context *ctx = fc->fs_private; in afs_validate_fc() local
421 struct afs_fs_context *ctx = fc->fs_private; in afs_test_super() local
447 static int afs_fill_super(struct super_block *sb, struct afs_fs_context *ctx) in afs_fill_super()
507 struct afs_fs_context *ctx = fc->fs_private; in afs_alloc_sbi() local
559 struct afs_fs_context *ctx = fc->fs_private; in afs_get_tree() local
612 struct afs_fs_context *ctx = fc->fs_private; in afs_free_fc() local
632 struct afs_fs_context *ctx; in afs_init_fs_context() local
/fs/crypto/
Dpolicy.c341 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context() local
357 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context() local
402 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context() local
417 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context() local
443 union fscrypt_context ctx; in fscrypt_get_policy() local
467 union fscrypt_context ctx; in set_encryption_policy() local
630 union fscrypt_context ctx; in fscrypt_ioctl_get_nonce() local
752 int fscrypt_context_for_new_inode(void *ctx, struct inode *inode) in fscrypt_context_for_new_inode()
780 union fscrypt_context ctx; in fscrypt_set_context() local
/fs/nfs/
Dfs_context.c289 static bool nfs_server_transport_udp_invalid(const struct nfs_fs_context *ctx) in nfs_server_transport_udp_invalid()
294 static bool nfs_server_transport_udp_invalid(const struct nfs_fs_context *ctx) in nfs_server_transport_udp_invalid()
306 struct nfs_fs_context *ctx) in nfs_validate_transport_protocol()
328 static void nfs_set_mount_transport_protocol(struct nfs_fs_context *ctx) in nfs_set_mount_transport_protocol()
373 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_security_flavors() local
432 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_version_string() local
475 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_fs_context_parse_param() local
868 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_source() local
956 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs23_parse_monolithic() local
1189 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs4_parse_monolithic() local
[all …]
Dinode.c936 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
949 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
983 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context() local
1004 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
1034 struct nfs_open_context *ctx; in alloc_nfs_open_context() local
1059 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
1067 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
1089 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
1095 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
1104 void nfs_inode_attach_open_context(struct nfs_open_context *ctx) in nfs_inode_attach_open_context()
[all …]
Dsuper.c769 static int nfs_verify_authflavors(struct nfs_fs_context *ctx, in nfs_verify_authflavors()
823 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_request_mount() local
880 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_try_mount_request() local
951 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_try_get_tree() local
978 struct nfs_fs_context *ctx) in nfs_compare_remount_data()
1004 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_reconfigure() local
1038 static void nfs_fill_super(struct super_block *sb, struct nfs_fs_context *ctx) in nfs_fill_super()
1212 struct nfs_fs_context *ctx) in nfs_get_cache_cookie()
1245 struct nfs_fs_context *ctx) in nfs_get_cache_cookie()
1252 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_get_tree_common() local
/fs/fuse/
Dreaddir.c16 static bool fuse_use_readdirplus(struct inode *dir, struct dir_context *ctx) in fuse_use_readdirplus()
116 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit()
129 struct dir_context *ctx) in parse_dirfile()
289 struct dir_context *ctx, u64 attr_version) in parse_dirplusfile()
332 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached()
394 struct dir_context *ctx) in fuse_parse_cache()
446 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached()
586 int fuse_readdir(struct file *file, struct dir_context *ctx) in fuse_readdir()
/fs/ntfs/
Dattrib.c70 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock()
451 ntfs_attr_search_ctx *ctx) in ntfs_attr_find_vcn_nolock()
577 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_attr_find()
870 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_external_attr_find()
1200 ntfs_attr_search_ctx *ctx) in ntfs_attr_lookup()
1227 static inline void ntfs_attr_init_search_ctx(ntfs_attr_search_ctx *ctx, in ntfs_attr_init_search_ctx()
1250 void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_reinit_search_ctx()
1281 ntfs_attr_search_ctx *ctx; in ntfs_attr_get_search_ctx() local
1296 void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_put_search_ctx()
1553 ntfs_attr_search_ctx *ctx; in ntfs_attr_make_non_resident() local
[all …]
/fs/ext4/
Dreadpage.c94 struct bio_post_read_ctx *ctx = in decrypt_work() local
106 struct bio_post_read_ctx *ctx = in verity_work() local
126 static void bio_post_read_processing(struct bio_post_read_ctx *ctx) in bio_post_read_processing()
175 struct bio_post_read_ctx *ctx = bio->bi_private; in mpage_end_io() local
204 struct bio_post_read_ctx *ctx = in ext4_set_bio_post_read_ctx() local
/fs/vboxsf/
Dsuper.c56 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_parse_param() local
121 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_fill_super() local
408 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_reconfigure() local
420 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_free_fc() local
436 struct vboxsf_fs_context *ctx; in vboxsf_init_fs_context() local
/fs/erofs/
Dsuper.c421 static void erofs_default_options(struct erofs_fs_context *ctx) in erofs_default_options()
473 struct erofs_fs_context *ctx = fc->fs_private; in erofs_fc_set_dax_mode() local
498 struct erofs_fs_context *ctx = fc->fs_private; in erofs_fc_parse_param() local
635 struct erofs_fs_context *ctx = fc->fs_private; in erofs_fc_fill_super() local
719 struct erofs_fs_context *ctx = fc->fs_private; in erofs_fc_reconfigure() local
757 struct erofs_fs_context *ctx = fc->fs_private; in erofs_fc_free() local
772 struct erofs_fs_context *ctx = kzalloc(sizeof(*ctx), GFP_KERNEL); in erofs_init_fs_context() local

12345678