Home
last modified time | relevance | path

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

123456789

/fs/
Deventfd.c46 __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, __poll_t 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.c61 struct userfaultfd_ctx *ctx; member
70 struct userfaultfd_ctx *ctx; member
82 static bool userfaultfd_is_initialized(struct userfaultfd_ctx *ctx) in userfaultfd_is_initialized()
94 struct userfaultfd_ctx *ctx = vma->vm_userfaultfd_ctx.ctx; in userfaultfd_wp_unpopulated() local
162 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
175 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
240 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
270 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
285 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
377 struct userfaultfd_ctx *ctx; in handle_userfault() local
[all …]
Dtimerfd.c52 static inline bool isalarm(struct timerfd_ctx *ctx) in isalarm()
63 static void timerfd_triggered(struct timerfd_ctx *ctx) in timerfd_triggered()
76 struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, in timerfd_tmrproc() local
85 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, in timerfd_alarmproc() local
100 struct timerfd_ctx *ctx; in timerfd_clock_was_set() local
134 static void __timerfd_remove_cancel(struct timerfd_ctx *ctx) in __timerfd_remove_cancel()
144 static void timerfd_remove_cancel(struct timerfd_ctx *ctx) in timerfd_remove_cancel()
151 static bool timerfd_canceled(struct timerfd_ctx *ctx) in timerfd_canceled()
159 static void timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) in timerfd_setup_cancel()
177 static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) in timerfd_get_remaining()
[all …]
Daio.c261 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file()
309 static void put_aio_ring_file(struct kioctx *ctx) in put_aio_ring_file()
328 static void aio_free_ring(struct kioctx *ctx) in aio_free_ring()
368 struct kioctx *ctx; in aio_ring_mremap() local
410 struct kioctx *ctx; in aio_migrate_folio() local
491 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events) in aio_setup_ring()
594 struct kioctx *ctx; in kiocb_set_cancel_fn() local
625 struct kioctx *ctx = container_of(to_rcu_work(work), struct kioctx, in free_ioctx() local
638 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
656 struct kioctx *ctx = container_of(ref, struct kioctx, users); in free_ioctx_users() local
[all …]
Dreaddir.c34 struct dir_context *ctx, in wrap_directory_iterator()
87 int iterate_dir(struct file *file, struct dir_context *ctx) in iterate_dir()
174 struct dir_context ctx; member
179 static bool fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir()
251 struct dir_context ctx; member
258 static bool filldir(struct dir_context *ctx, const char *name, int namlen, in filldir()
339 struct dir_context ctx; member
346 static bool filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64()
431 struct dir_context ctx; member
436 static bool compat_fillonedir(struct dir_context *ctx, const char *name, in compat_fillonedir()
[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()
205 struct signalfd_ctx *ctx = file->private_data; in signalfd_read() local
234 struct signalfd_ctx *ctx = f->private_data; in signalfd_show_fdinfo() local
255 struct signalfd_ctx *ctx; in do_signalfd4() local
Dlocks.c176 struct file_lock_context *ctx; in locks_get_lock_context() local
218 struct file_lock_context *ctx = inode->i_flctx; in locks_check_ctx_lists() local
251 struct file_lock_context *ctx = locks_inode_context(inode); in locks_free_lock_context() local
905 struct file_lock_context *ctx; in posix_test_lock() local
1026 struct file_lock_context *ctx; in flock_lock_inode() local
1102 struct file_lock_context *ctx; in posix_lock_inode() local
1423 struct file_lock_context *ctx = inode->i_flctx; in time_out_leases() local
1462 struct file_lock_context *ctx = inode->i_flctx; in any_leases_conflict() local
1490 struct file_lock_context *ctx; in __break_lease() local
1604 struct file_lock_context *ctx; in lease_get_mtime() local
[all …]
Dfs_context.c538 struct legacy_fs_context *ctx = fc->fs_private; in legacy_fs_context_free() local
552 struct legacy_fs_context *ctx; in legacy_fs_context_dup() local
578 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_param() local
636 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_monolithic() local
658 struct legacy_fs_context *ctx = fc->fs_private; in legacy_get_tree() local
679 struct legacy_fs_context *ctx = fc->fs_private; in legacy_reconfigure() local
/fs/smb/client/
Dfs_context.c202 cifs_parse_security_flavors(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_security_flavors()
259 cifs_parse_cache_flavor(struct fs_context *fc, char *value, struct smb3_fs_context *ctx) in cifs_parse_cache_flavor()
309 struct smb3_fs_context *ctx) in parse_reparse_flavor()
342 smb3_fs_context_dup(struct smb3_fs_context *new_ctx, struct smb3_fs_context *ctx) in smb3_fs_context_dup()
375 cifs_parse_smb_version(struct fs_context *fc, char *value, struct smb3_fs_context *ctx, bool is_smb… in cifs_parse_smb_version()
526 char *smb3_fs_context_fullpath(const struct smb3_fs_context *ctx, char dirsep) in smb3_fs_context_fullpath()
553 smb3_parse_devname(const char *devname, struct smb3_fs_context *ctx) in smb3_parse_devname()
703 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_fs_context_validate() local
776 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_get_tree_common() local
807 struct smb3_fs_context *ctx = smb3_fc2context(fc); in smb3_fs_context_free() local
[all …]
Ddfs.c22 struct smb3_fs_context *ctx) in dfs_parse_target_referral()
58 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in get_session() local
74 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in add_root_smb_session() local
85 static inline int parse_dfs_target(struct smb3_fs_context *ctx, in parse_dfs_target()
102 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in set_ref_paths() local
129 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in __dfs_referral_walk() local
216 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in __dfs_mount_share() local
268 static int update_fs_context_dstaddr(struct smb3_fs_context *ctx) in update_fs_context_dstaddr()
284 struct smb3_fs_context *ctx = mnt_ctx->fs_ctx; in dfs_mount_share() local
Dconnect.c1484 match_security(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in match_security()
1508 struct smb3_fs_context *ctx, in match_server()
1599 cifs_find_tcp_session(struct smb3_fs_context *ctx) in cifs_find_tcp_session()
1680 cifs_get_tcp_session(struct smb3_fs_context *ctx, in cifs_get_tcp_session()
1865 static int match_session(struct cifs_ses *ses, struct smb3_fs_context *ctx) in match_session()
1923 cifs_setup_ipc(struct cifs_ses *ses, struct smb3_fs_context *ctx) in cifs_setup_ipc()
1978 cifs_find_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_find_smb_ses()
2087 cifs_set_cifscreds(struct smb3_fs_context *ctx, struct cifs_ses *ses) in cifs_set_cifscreds()
2228 cifs_set_cifscreds(struct smb3_fs_context *ctx __attribute__((unused)), in cifs_set_cifscreds()
2245 cifs_get_smb_ses(struct TCP_Server_Info *server, struct smb3_fs_context *ctx) in cifs_get_smb_ses()
[all …]
/fs/smb/server/
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
226 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_auth_ntlmv2() local
580 struct ksmbd_crypto_ctx *ctx; in ksmbd_sign_smb2_pdu() local
631 struct ksmbd_crypto_ctx *ctx; in ksmbd_sign_smb3_pdu() local
687 struct ksmbd_crypto_ctx *ctx; in generate_key() local
926 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_gen_preauth_integrity_hash() local
970 struct ksmbd_crypto_ctx *ctx = NULL; in ksmbd_gen_sd_hash() local
1119 struct ksmbd_crypto_ctx *ctx; in ksmbd_crypt_message() local
/fs/xfs/
Dxfs_log_cil.c101 struct xfs_cil_ctx *ctx; in xlog_cil_ctx_alloc() local
121 struct xfs_cil_ctx *ctx) in xlog_cil_push_pcp_aggregate()
157 struct xfs_cil_ctx *ctx) in xlog_cil_insert_pcp_aggregate()
189 struct xfs_cil_ctx *ctx) in xlog_cil_ctx_switch()
556 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
717 struct xfs_cil_ctx *ctx) in xlog_cil_committed()
763 struct xfs_cil_ctx *ctx; in xlog_cil_process_committed() local
780 struct xfs_cil_ctx *ctx, in xlog_cil_set_ctx_write_state()
859 struct xfs_cil_ctx *ctx; in xlog_cil_order_write() local
909 struct xfs_cil_ctx *ctx, in xlog_cil_write_chain()
[all …]
/fs/proc/
Droot.c60 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_hidepid_param() local
91 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_subset_param() local
114 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_param() local
149 struct proc_fs_context *ctx = fc->fs_private; in proc_apply_options() local
161 struct proc_fs_context *ctx = fc->fs_private; in proc_fill_super() local
231 struct proc_fs_context *ctx = fc->fs_private; in proc_fs_context_free() local
246 struct proc_fs_context *ctx; in proc_init_fs_context() local
331 static int proc_root_readdir(struct file *file, struct dir_context *ctx) in proc_root_readdir()
/fs/afs/
Dsuper.c227 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_source() local
322 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_param() local
358 struct afs_fs_context *ctx = fc->fs_private; in afs_validate_fc() local
422 struct afs_fs_context *ctx = fc->fs_private; in afs_test_super() local
448 static int afs_fill_super(struct super_block *sb, struct afs_fs_context *ctx) in afs_fill_super()
508 struct afs_fs_context *ctx = fc->fs_private; in afs_alloc_sbi() local
560 struct afs_fs_context *ctx = fc->fs_private; in afs_get_tree() local
613 struct afs_fs_context *ctx = fc->fs_private; in afs_free_fc() local
633 struct afs_fs_context *ctx; in afs_init_fs_context() local
/fs/crypto/
Dpolicy.c334 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context() local
350 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context() local
395 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context() local
410 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context() local
436 union fscrypt_context ctx; in fscrypt_get_policy() local
460 union fscrypt_context ctx; in set_encryption_policy() local
623 union fscrypt_context ctx; in fscrypt_ioctl_get_nonce() local
745 int fscrypt_context_for_new_inode(void *ctx, struct inode *inode) in fscrypt_context_for_new_inode()
773 union fscrypt_context ctx; in fscrypt_set_context() local
/fs/nfs/
Dfs_context.c312 static bool nfs_server_transport_udp_invalid(const struct nfs_fs_context *ctx) in nfs_server_transport_udp_invalid()
317 static bool nfs_server_transport_udp_invalid(const struct nfs_fs_context *ctx) in nfs_server_transport_udp_invalid()
329 struct nfs_fs_context *ctx) in nfs_validate_transport_protocol()
363 static void nfs_set_mount_transport_protocol(struct nfs_fs_context *ctx) in nfs_set_mount_transport_protocol()
408 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_security_flavors() local
467 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_xprtsec_policy() local
490 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_version_string() local
533 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_fs_context_parse_param() local
954 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_source() local
1040 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs23_parse_monolithic() local
[all …]
Dinode.c937 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
950 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
984 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context() local
1005 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
1035 struct nfs_open_context *ctx; in alloc_nfs_open_context() local
1060 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
1068 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
1090 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
1096 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
1105 void nfs_inode_attach_open_context(struct nfs_open_context *ctx) in nfs_inode_attach_open_context()
[all …]
/fs/overlayfs/
Dparams.c288 struct ovl_fs_context *ctx = fc->fs_private; in ovl_mount_dir_check() local
329 struct ovl_fs_context *ctx = fc->fs_private; in ovl_ctx_realloc_lower() local
352 struct ovl_fs_context *ctx = fc->fs_private; in ovl_add_layer() local
417 static void ovl_reset_lowerdirs(struct ovl_fs_context *ctx) in ovl_reset_lowerdirs()
445 struct ovl_fs_context *ctx = fc->fs_private; in ovl_parse_param_lowerdir() local
562 struct ovl_fs_context *ctx = fc->fs_private; in ovl_parse_param() local
654 static inline void ovl_fs_context_free(struct ovl_fs_context *ctx) in ovl_fs_context_free()
666 struct ovl_fs_context *ctx = fc->fs_private; in ovl_free() local
720 struct ovl_fs_context *ctx; in ovl_init_fs_context() local
796 int ovl_fs_params_verify(const struct ovl_fs_context *ctx, in ovl_fs_params_verify()
/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/verity/
Dverify.c272 fsverity_init_verification_context(struct fsverity_verification_context *ctx, in fsverity_init_verification_context()
283 fsverity_clear_pending_blocks(struct fsverity_verification_context *ctx) in fsverity_clear_pending_blocks()
295 fsverity_verify_pending_blocks(struct fsverity_verification_context *ctx) in fsverity_verify_pending_blocks()
341 fsverity_add_data_blocks(struct fsverity_verification_context *ctx, in fsverity_add_data_blocks()
382 struct fsverity_verification_context ctx; in fsverity_verify_blocks() local
412 struct fsverity_verification_context ctx; in fsverity_verify_bio() local
/fs/ext4/
Dreadpage.c92 struct bio_post_read_ctx *ctx = in decrypt_work() local
104 struct bio_post_read_ctx *ctx = in verity_work() local
124 static void bio_post_read_processing(struct bio_post_read_ctx *ctx) in bio_post_read_processing()
173 struct bio_post_read_ctx *ctx = bio->bi_private; in mpage_end_io() local
202 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
409 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_reconfigure() local
421 struct vboxsf_fs_context *ctx = fc->fs_private; in vboxsf_free_fc() local
437 struct vboxsf_fs_context *ctx; in vboxsf_init_fs_context() local

123456789