Home
last modified time | relevance | path

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

1234567

/fs/
Deventfd.c59 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) in eventfd_signal()
75 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
84 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free() local
96 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
104 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() local
113 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() local
169 static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
188 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue()
207 struct eventfd_ctx *ctx = file->private_data; in eventfd_read() local
254 struct eventfd_ctx *ctx = file->private_data; in eventfd_write() local
[all …]
Duserfaultfd.c88 struct userfaultfd_ctx *ctx; member
97 struct userfaultfd_ctx *ctx; member
151 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
164 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
227 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
259 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
276 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
355 struct userfaultfd_ctx *ctx; in handle_userfault() local
584 static void userfaultfd_event_wait_completion(struct userfaultfd_ctx *ctx, in userfaultfd_event_wait_completion()
663 static void userfaultfd_event_complete(struct userfaultfd_ctx *ctx, in userfaultfd_event_complete()
[all …]
Dtimerfd.c51 static inline bool isalarm(struct timerfd_ctx *ctx) in isalarm()
62 static void timerfd_triggered(struct timerfd_ctx *ctx) in timerfd_triggered()
75 struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, in timerfd_tmrproc() local
84 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, in timerfd_alarmproc() local
99 struct timerfd_ctx *ctx; in timerfd_clock_was_set() local
117 static void __timerfd_remove_cancel(struct timerfd_ctx *ctx) in __timerfd_remove_cancel()
127 static void timerfd_remove_cancel(struct timerfd_ctx *ctx) in timerfd_remove_cancel()
134 static bool timerfd_canceled(struct timerfd_ctx *ctx) in timerfd_canceled()
142 static void timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) in timerfd_setup_cancel()
160 static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) in timerfd_get_remaining()
[all …]
Dio_uring.c314 struct io_ring_ctx *ctx; member
376 struct io_ring_ctx *ctx = file->private_data; in io_uring_get_socket() local
387 struct io_ring_ctx *ctx = container_of(ref, struct io_ring_ctx, refs); in io_ring_ctx_ref_free() local
394 struct io_ring_ctx *ctx; in io_ring_ctx_alloc() local
426 static inline bool __io_sequence_defer(struct io_ring_ctx *ctx, in __io_sequence_defer()
433 static inline bool io_sequence_defer(struct io_ring_ctx *ctx, in io_sequence_defer()
442 static struct io_kiocb *io_get_deferred_req(struct io_ring_ctx *ctx) in io_get_deferred_req()
455 static struct io_kiocb *io_get_timeout_req(struct io_ring_ctx *ctx) in io_get_timeout_req()
472 static void __io_commit_cqring(struct io_ring_ctx *ctx) in __io_commit_cqring()
487 static inline void io_queue_async_work(struct io_ring_ctx *ctx, in io_queue_async_work()
[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()
338 struct kioctx *ctx; in aio_ring_mremap() local
379 struct kioctx *ctx; in aio_migratepage() local
460 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events) in aio_setup_ring()
564 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
584 struct kioctx *ctx = container_of(to_rcu_work(work), struct kioctx, in free_ioctx() local
597 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
615 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()
211 struct dir_context ctx; member
218 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir()
302 struct dir_context ctx; member
309 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64()
404 struct dir_context ctx; member
409 static int compat_fillonedir(struct dir_context *ctx, const char *name, in compat_fillonedir()
472 struct dir_context ctx; member
[all …]
Dsignalfd.c63 struct signalfd_ctx *ctx = file->private_data; in signalfd_poll() local
166 static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, kernel_siginfo_t *info, in signalfd_dequeue()
215 struct signalfd_ctx *ctx = file->private_data; in signalfd_read() local
244 struct signalfd_ctx *ctx = f->private_data; in signalfd_show_fdinfo() local
265 struct signalfd_ctx *ctx; in do_signalfd4() local
Dfs_context.c519 struct legacy_fs_context *ctx = fc->fs_private; in legacy_fs_context_free() local
533 struct legacy_fs_context *ctx; in legacy_fs_context_dup() local
559 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_param() local
621 struct legacy_fs_context *ctx = fc->fs_private; in legacy_parse_monolithic() local
643 struct legacy_fs_context *ctx = fc->fs_private; in legacy_get_tree() local
664 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
932 struct file_lock_context *ctx; in posix_test_lock() local
1040 struct file_lock_context *ctx; in flock_lock_inode() local
1116 struct file_lock_context *ctx; in posix_lock_inode() local
1387 struct file_lock_context *ctx; in locks_mandatory_locked() local
1517 struct file_lock_context *ctx = inode->i_flctx; in time_out_leases() local
1553 struct file_lock_context *ctx = inode->i_flctx; in any_leases_conflict() local
1581 struct file_lock_context *ctx; in __break_lease() local
[all …]
/fs/xfs/
Dxfs_log_cil.c392 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
504 struct xfs_cil_ctx *ctx = in xlog_discard_endio_work() local
521 struct xfs_cil_ctx *ctx = bio->bi_private; in xlog_discard_endio() local
531 struct xfs_cil_ctx *ctx) in xlog_discard_busy_extents()
577 struct xfs_cil_ctx *ctx, in xlog_cil_committed()
619 struct xfs_cil_ctx *ctx; in xlog_cil_process_committed() local
648 struct xfs_cil_ctx *ctx; in xlog_cil_push() local
1062 struct xfs_cil_ctx *ctx; in xlog_cil_force_lsn() local
1155 struct xfs_cil_ctx *ctx; in xfs_log_item_in_current_chkpt() local
1180 struct xfs_cil_ctx *ctx; in xlog_cil_init() local
Dxfs_dir2_readdir.c46 struct dir_context *ctx) in xfs_dir2_sf_getdents()
135 struct dir_context *ctx) in xfs_dir2_block_getdents()
342 struct dir_context *ctx, in xfs_dir2_leaf_getdents()
497 struct dir_context *ctx, in xfs_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/proc/
Droot.c57 struct proc_fs_context *ctx = fc->fs_private; in proc_parse_param() local
89 struct proc_fs_context *ctx = fc->fs_private; in proc_apply_options() local
157 struct proc_fs_context *ctx = fc->fs_private; in proc_get_tree() local
165 struct proc_fs_context *ctx = fc->fs_private; in proc_fs_context_free() local
180 struct proc_fs_context *ctx; in proc_init_fs_context() local
255 static int proc_root_readdir(struct file *file, struct dir_context *ctx) in proc_root_readdir()
304 struct proc_fs_context *ctx; in pid_ns_prepare_proc() local
/fs/crypto/
Dpolicy.c154 struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_new_context_from_policy() local
170 struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_new_context_from_policy() local
210 const struct fscrypt_context_v1 *ctx = &ctx_u->v1; in fscrypt_policy_from_context() local
225 const struct fscrypt_context_v2 *ctx = &ctx_u->v2; in fscrypt_policy_from_context() local
250 union fscrypt_context ctx; in fscrypt_get_policy() local
273 union fscrypt_context ctx; in set_encryption_policy() local
511 union fscrypt_context ctx; in fscrypt_inherit_context() local
/fs/afs/
Dsuper.c232 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_source() local
323 struct afs_fs_context *ctx = fc->fs_private; in afs_parse_param() local
359 struct afs_fs_context *ctx = fc->fs_private; in afs_validate_fc() local
401 struct afs_fs_context *ctx = fc->fs_private; in afs_test_super() local
427 static int afs_fill_super(struct super_block *sb, struct afs_fs_context *ctx) in afs_fill_super()
494 struct afs_fs_context *ctx = fc->fs_private; in afs_alloc_sbi() local
545 struct afs_fs_context *ctx = fc->fs_private; in afs_get_tree() local
598 struct afs_fs_context *ctx = fc->fs_private; in afs_free_fc() local
618 struct afs_fs_context *ctx; in afs_init_fs_context() local
/fs/fuse/
Dreaddir.c16 static bool fuse_use_readdirplus(struct inode *dir, struct dir_context *ctx) in fuse_use_readdirplus()
112 static bool fuse_emit(struct file *file, struct dir_context *ctx, in fuse_emit()
125 struct dir_context *ctx) in parse_dirfile()
274 struct dir_context *ctx, u64 attr_version) in parse_dirplusfile()
317 static int fuse_readdir_uncached(struct file *file, struct dir_context *ctx) in fuse_readdir_uncached()
379 struct dir_context *ctx) in fuse_parse_cache()
431 static int fuse_readdir_cached(struct file *file, struct dir_context *ctx) in fuse_readdir_cached()
565 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()
846 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_external_attr_find()
1176 ntfs_attr_search_ctx *ctx) in ntfs_attr_lookup()
1203 static inline void ntfs_attr_init_search_ctx(ntfs_attr_search_ctx *ctx, in ntfs_attr_init_search_ctx()
1226 void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_reinit_search_ctx()
1257 ntfs_attr_search_ctx *ctx; in ntfs_attr_get_search_ctx() local
1272 void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_put_search_ctx()
1529 ntfs_attr_search_ctx *ctx; in ntfs_attr_make_non_resident() local
[all …]
Dinode.c431 static int ntfs_is_extended_system_file(ntfs_attr_search_ctx *ctx) in ntfs_is_extended_system_file()
531 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_inode() local
1199 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_attr_inode() local
1466 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_index_inode() local
1750 ntfs_attr_search_ctx *ctx; in ntfs_read_inode_mount() local
2338 ntfs_attr_search_ctx *ctx; in ntfs_truncate() local
2941 ntfs_attr_search_ctx *ctx; in __ntfs_write_inode() local
/fs/ext4/
Dreadpage.c98 struct bio_post_read_ctx *ctx = in decrypt_work() local
108 struct bio_post_read_ctx *ctx = in verity_work() local
116 static void bio_post_read_processing(struct bio_post_read_ctx *ctx) in bio_post_read_processing()
179 struct bio_post_read_ctx *ctx = bio->bi_private; in mpage_end_io() local
199 struct bio_post_read_ctx *ctx = NULL; in get_bio_post_read_ctx() local
403 struct bio_post_read_ctx *ctx; in ext4_mpage_readpages() local
/fs/nfs/
Dinode.c862 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
875 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
909 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context() local
930 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
961 struct nfs_open_context *ctx; in alloc_nfs_open_context() local
986 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
994 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
1016 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
1022 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
1031 void nfs_inode_attach_open_context(struct nfs_open_context *ctx) in nfs_inode_attach_open_context()
[all …]
Dfscache.h128 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
140 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
213 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
219 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
/fs/ubifs/
Dcrypto.c4 static int ubifs_crypt_get_context(struct inode *inode, void *ctx, size_t len) in ubifs_crypt_get_context()
10 static int ubifs_crypt_set_context(struct inode *inode, const void *ctx, in ubifs_crypt_set_context()
/fs/erofs/
Ddir.c24 static int erofs_fill_dentries(struct inode *dir, struct dir_context *ctx, in erofs_fill_dentries()
68 static int erofs_readdir(struct file *f, struct dir_context *ctx) in erofs_readdir()
/fs/orangefs/
Ddir.c190 struct dir_context *ctx) in fill_from_part()
243 struct dir_context *ctx) in orangefs_dir_fill()
305 struct dir_context *ctx) in orangefs_dir_iterate()
/fs/iomap/
Dfiemap.c49 struct fiemap_ctx *ctx = data; in iomap_fiemap_actor() local
70 struct fiemap_ctx ctx; in iomap_fiemap() local

1234567