Home
last modified time | relevance | path

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

1234567

/fs/
Deventfd.c48 __u64 eventfd_signal_mask(struct eventfd_ctx *ctx, __u64 n, unsigned mask) in eventfd_signal_mask()
90 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) in eventfd_signal()
96 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
105 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free() local
117 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
125 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() local
134 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() local
190 void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
212 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue()
231 struct eventfd_ctx *ctx = file->private_data; in eventfd_read() local
[all …]
Duserfaultfd.c83 struct userfaultfd_ctx *ctx; member
92 struct userfaultfd_ctx *ctx; member
104 static bool userfaultfd_is_initialized(struct userfaultfd_ctx *ctx) in userfaultfd_is_initialized()
154 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
161 struct userfaultfd_ctx *ctx = container_of(head, struct userfaultfd_ctx, in __free_userfaultfd_ctx() local
174 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
234 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
266 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
283 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
363 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
120 static void __timerfd_remove_cancel(struct timerfd_ctx *ctx) in __timerfd_remove_cancel()
130 static void timerfd_remove_cancel(struct timerfd_ctx *ctx) in timerfd_remove_cancel()
137 static bool timerfd_canceled(struct timerfd_ctx *ctx) in timerfd_canceled()
145 static void timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) in timerfd_setup_cancel()
163 static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) in timerfd_get_remaining()
[all …]
Daio.c236 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file()
283 static void put_aio_ring_file(struct kioctx *ctx) in put_aio_ring_file()
302 static void aio_free_ring(struct kioctx *ctx) in aio_free_ring()
342 struct kioctx *ctx; in aio_ring_mremap() local
384 struct kioctx *ctx; in aio_migratepage() local
465 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events) in aio_setup_ring()
569 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
596 struct kioctx *ctx = container_of(to_rcu_work(work), struct kioctx, in free_ioctx() local
609 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
627 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
156 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.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
1412 struct file_lock_context *ctx; in locks_mandatory_locked() local
1543 struct file_lock_context *ctx = inode->i_flctx; in time_out_leases() local
1582 struct file_lock_context *ctx = inode->i_flctx; in any_leases_conflict() local
1610 struct file_lock_context *ctx; in __break_lease() local
[all …]
Dfs_context.c464 struct legacy_fs_context *ctx = fc->fs_private; in legacy_fs_context_free() local
478 struct legacy_fs_context *ctx; in legacy_fs_context_dup() local
504 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_param() local
567 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_monolithic() local
589 struct legacy_fs_context *ctx = fc->fs_private; in legacy_get_tree() local
610 struct legacy_fs_context *ctx = fc->fs_private; in legacy_reconfigure() 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
327 static int proc_root_readdir(struct file *file, struct dir_context *ctx) in proc_root_readdir()
/fs/cifs/
Dasn1.c98 asn1_open(struct asn1_ctx *ctx, unsigned char *buf, unsigned int len) in asn1_open()
107 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode()
140 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode()
156 asn1_id_decode(struct asn1_ctx *ctx, in asn1_id_decode()
176 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) in asn1_length_decode()
212 asn1_header_decode(struct asn1_ctx *ctx, in asn1_header_decode()
237 asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_eoc_decode()
390 asn1_subid_decode(struct asn1_ctx *ctx, unsigned long *subid) in asn1_subid_decode()
407 asn1_oid_decode(struct asn1_ctx *ctx, in asn1_oid_decode()
486 struct asn1_ctx ctx; in decode_negTokenInit() local
/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/xfs/
Dxfs_log_cil.c391 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
503 struct xfs_cil_ctx *ctx = in xlog_discard_endio_work() local
520 struct xfs_cil_ctx *ctx = bio->bi_private; in xlog_discard_endio() local
530 struct xfs_cil_ctx *ctx) in xlog_discard_busy_extents()
576 struct xfs_cil_ctx *ctx) in xlog_cil_committed()
617 struct xfs_cil_ctx *ctx; in xlog_cil_process_committed() local
648 struct xfs_cil_ctx *ctx; in xlog_cil_push_work() local
1091 struct xfs_cil_ctx *ctx; in xlog_cil_force_seq() local
1205 struct xfs_cil_ctx *ctx; in xlog_cil_init() local
Dxfs_dir2_readdir.c47 struct dir_context *ctx) in xfs_dir2_sf_getdents()
141 struct dir_context *ctx) in xfs_dir2_block_getdents()
348 struct dir_context *ctx, in xfs_dir2_leaf_getdents()
508 struct dir_context *ctx, in xfs_readdir()
/fs/fuse/
Dreaddir.c16 static bool fuse_use_readdirplus(struct inode *dir, struct dir_context *ctx) in fuse_use_readdirplus()
114 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit()
127 struct dir_context *ctx) in parse_dirfile()
287 struct dir_context *ctx, u64 attr_version) in parse_dirplusfile()
330 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached()
392 struct dir_context *ctx) in fuse_parse_cache()
444 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached()
584 int fuse_readdir(struct file *file, struct dir_context *ctx) in fuse_readdir()
/fs/crypto/
Dpolicy.c269 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context() local
285 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context() local
329 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context() local
344 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context() local
369 union fscrypt_context ctx; in fscrypt_get_policy() local
393 union fscrypt_context ctx; in set_encryption_policy() local
556 union fscrypt_context ctx; in fscrypt_ioctl_get_nonce() local
680 union fscrypt_context ctx; in fscrypt_set_context() local
/fs/nfs/
Dfs_context.c275 static void nfs_validate_transport_protocol(struct nfs_fs_context *ctx) in nfs_validate_transport_protocol()
291 static void nfs_set_mount_transport_protocol(struct nfs_fs_context *ctx) in nfs_set_mount_transport_protocol()
338 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_security_flavors() local
397 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_version_string() local
440 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_fs_context_parse_param() local
804 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_parse_source() local
892 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs23_parse_monolithic() local
1120 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs4_parse_monolithic() local
1235 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_fs_context_validate() local
1353 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_get_tree() local
[all …]
Dinode.c891 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
904 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
938 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context() local
959 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
990 struct nfs_open_context *ctx; in alloc_nfs_open_context() local
1015 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
1023 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
1045 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
1051 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
1060 void nfs_inode_attach_open_context(struct nfs_open_context *ctx) in nfs_inode_attach_open_context()
[all …]
Dsuper.c752 static int nfs_verify_authflavors(struct nfs_fs_context *ctx, in nfs_verify_authflavors()
806 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_request_mount() local
863 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_try_mount_request() local
934 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_try_get_tree() local
961 struct nfs_fs_context *ctx) in nfs_compare_remount_data()
987 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_reconfigure() local
1021 static void nfs_fill_super(struct super_block *sb, struct nfs_fs_context *ctx) in nfs_fill_super()
1191 struct nfs_fs_context *ctx) in nfs_get_cache_cookie()
1224 struct nfs_fs_context *ctx) in nfs_get_cache_cookie()
1231 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_get_tree_common() local
Dnfs4namespace.c131 struct nfs_fs_context *ctx) in nfs4_validate_fspath()
290 struct nfs_fs_context *ctx = nfs_fc2context(fc); in try_location() local
370 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_follow_referral() local
406 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_do_refmount() local
447 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs4_submount() local
Dnamespace.c147 struct nfs_fs_context *ctx; in nfs_d_automount() local
261 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_do_submount() local
301 struct nfs_fs_context *ctx = nfs_fc2context(fc); in nfs_submount() local
/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 …]
Dinode.c432 static int ntfs_is_extended_system_file(ntfs_attr_search_ctx *ctx) in ntfs_is_extended_system_file()
532 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_inode() local
1206 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_attr_inode() local
1473 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_index_inode() local
1757 ntfs_attr_search_ctx *ctx; in ntfs_read_inode_mount() local
2362 ntfs_attr_search_ctx *ctx; in ntfs_truncate() local
2959 ntfs_attr_search_ctx *ctx; in __ntfs_write_inode() local
/fs/ext4/
Dreadpage.c99 struct bio_post_read_ctx *ctx = in decrypt_work() local
109 struct bio_post_read_ctx *ctx = in verity_work() local
129 static void bio_post_read_processing(struct bio_post_read_ctx *ctx) in bio_post_read_processing()
192 struct bio_post_read_ctx *ctx = bio->bi_private; in mpage_end_io() local
221 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/btrfs/
Dtree-log.h26 static inline void btrfs_init_log_ctx(struct btrfs_log_ctx *ctx, in btrfs_init_log_ctx()
38 static inline void btrfs_release_log_ctx_extents(struct btrfs_log_ctx *ctx) in btrfs_release_log_ctx_extents()

1234567