Home
last modified time | relevance | path

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

123456

/fs/
Deventfd.c54 __u64 eventfd_signal(struct eventfd_ctx *ctx, __u64 n) in eventfd_signal()
70 static void eventfd_free_ctx(struct eventfd_ctx *ctx) in eventfd_free_ctx()
77 struct eventfd_ctx *ctx = container_of(kref, struct eventfd_ctx, kref); in eventfd_free() local
88 struct eventfd_ctx *eventfd_ctx_get(struct eventfd_ctx *ctx) in eventfd_ctx_get()
102 void eventfd_ctx_put(struct eventfd_ctx *ctx) in eventfd_ctx_put()
110 struct eventfd_ctx *ctx = file->private_data; in eventfd_release() local
119 struct eventfd_ctx *ctx = file->private_data; in eventfd_poll() local
137 static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
156 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_t *wait, in eventfd_ctx_remove_wait_queue()
186 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt) in eventfd_ctx_read()
[all …]
Dtimerfd.c50 static inline bool isalarm(struct timerfd_ctx *ctx) in isalarm()
61 static void timerfd_triggered(struct timerfd_ctx *ctx) in timerfd_triggered()
74 struct timerfd_ctx *ctx = container_of(htmr, struct timerfd_ctx, in timerfd_tmrproc() local
83 struct timerfd_ctx *ctx = container_of(alarm, struct timerfd_ctx, in timerfd_alarmproc() local
98 struct timerfd_ctx *ctx; in timerfd_clock_was_set() local
116 static void __timerfd_remove_cancel(struct timerfd_ctx *ctx) in __timerfd_remove_cancel()
126 static void timerfd_remove_cancel(struct timerfd_ctx *ctx) in timerfd_remove_cancel()
133 static bool timerfd_canceled(struct timerfd_ctx *ctx) in timerfd_canceled()
141 static void timerfd_setup_cancel(struct timerfd_ctx *ctx, int flags) in timerfd_setup_cancel()
159 static ktime_t timerfd_get_remaining(struct timerfd_ctx *ctx) in timerfd_get_remaining()
[all …]
Duserfaultfd.c65 struct userfaultfd_ctx *ctx; member
117 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
131 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
191 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
264 struct userfaultfd_ctx *ctx; in handle_userfault() local
428 struct userfaultfd_ctx *ctx = file->private_data; in userfaultfd_release() local
496 struct userfaultfd_ctx *ctx) in find_userfault()
516 struct userfaultfd_ctx *ctx = file->private_data; in userfaultfd_poll() local
551 static ssize_t userfaultfd_ctx_read(struct userfaultfd_ctx *ctx, int no_wait, in userfaultfd_ctx_read()
630 struct userfaultfd_ctx *ctx = file->private_data; in userfaultfd_read() local
[all …]
Daio.c207 static struct file *aio_private_file(struct kioctx *ctx, loff_t nr_pages) in aio_private_file()
276 static void put_aio_ring_file(struct kioctx *ctx) in put_aio_ring_file()
292 static void aio_free_ring(struct kioctx *ctx) in aio_free_ring()
329 struct kioctx *ctx; in aio_ring_mremap() local
370 struct kioctx *ctx; in aio_migratepage() local
443 static int aio_setup_ring(struct kioctx *ctx) in aio_setup_ring()
543 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
586 struct kioctx *ctx = container_of(work, struct kioctx, free_work); in free_ioctx() local
599 struct kioctx *ctx = container_of(head, struct kioctx, free_rcu); in free_ioctx_rcufn() local
607 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
[all …]
Dreaddir.c24 int iterate_dir(struct file *file, struct dir_context *ctx) in iterate_dir()
106 struct dir_context ctx; member
111 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir()
179 struct dir_context ctx; member
186 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir()
267 struct dir_context ctx; member
274 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64()
Dsignalfd.c52 struct signalfd_ctx *ctx = file->private_data; in signalfd_poll() local
149 static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, siginfo_t *info, in signalfd_dequeue()
197 struct signalfd_ctx *ctx = file->private_data; in signalfd_read() local
226 struct signalfd_ctx *ctx = f->private_data; in signalfd_show_fdinfo() local
249 struct signalfd_ctx *ctx; in SYSCALL_DEFINE4() local
Dlocks.c208 struct file_lock_context *ctx; in locks_get_lock_context() local
237 locks_free_lock_context(struct file_lock_context *ctx) in locks_free_lock_context()
766 struct file_lock_context *ctx; in posix_test_lock() local
873 struct file_lock_context *ctx; in flock_lock_inode() local
944 struct file_lock_context *ctx; in __posix_lock_file() local
1205 struct file_lock_context *ctx; in locks_mandatory_locked() local
1339 struct file_lock_context *ctx = inode->i_flctx; in time_out_leases() local
1365 struct file_lock_context *ctx = inode->i_flctx; in any_leases_conflict() local
1393 struct file_lock_context *ctx; in __break_lease() local
1500 struct file_lock_context *ctx; in lease_get_mtime() local
[all …]
/fs/cifs/
Dasn1.c109 asn1_open(struct asn1_ctx *ctx, unsigned char *buf, unsigned int len) in asn1_open()
118 asn1_octet_decode(struct asn1_ctx *ctx, unsigned char *ch) in asn1_octet_decode()
151 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode()
167 asn1_id_decode(struct asn1_ctx *ctx, in asn1_id_decode()
187 asn1_length_decode(struct asn1_ctx *ctx, unsigned int *def, unsigned int *len) in asn1_length_decode()
223 asn1_header_decode(struct asn1_ctx *ctx, in asn1_header_decode()
248 asn1_eoc_decode(struct asn1_ctx *ctx, unsigned char *eoc) in asn1_eoc_decode()
401 asn1_subid_decode(struct asn1_ctx *ctx, unsigned long *subid) in asn1_subid_decode()
418 asn1_oid_decode(struct asn1_ctx *ctx, in asn1_oid_decode()
497 struct asn1_ctx ctx; in decode_negTokenInit() local
/fs/crypto/
Dpolicy.c20 const struct fscrypt_context *ctx, in is_encryption_context_consistent_with_policy()
35 struct fscrypt_context ctx; in create_encryption_context_from_policy() local
62 struct fscrypt_context ctx; in fscrypt_ioctl_set_policy() local
108 struct fscrypt_context ctx; in fscrypt_ioctl_get_policy() local
240 struct fscrypt_context ctx; in fscrypt_inherit_context() local
Dbio.c57 struct fscrypt_ctx *ctx = in completion_pages() local
66 void fscrypt_enqueue_decrypt_bio(struct fscrypt_ctx *ctx, struct bio *bio) in fscrypt_enqueue_decrypt_bio()
76 struct fscrypt_ctx *ctx; in fscrypt_pullback_bio_page() local
98 struct fscrypt_ctx *ctx; in fscrypt_zeroout_range() local
Dcrypto.c69 void fscrypt_release_ctx(struct fscrypt_ctx *ctx) in fscrypt_release_ctx()
100 struct fscrypt_ctx *ctx = NULL; in fscrypt_get_ctx() local
195 struct page *fscrypt_alloc_bounce_page(struct fscrypt_ctx *ctx, in fscrypt_alloc_bounce_page()
243 struct fscrypt_ctx *ctx; in fscrypt_encrypt_page() local
366 struct fscrypt_ctx *ctx; in fscrypt_restore_control_page() local
409 struct fscrypt_ctx *ctx; in fscrypt_initialize() local
/fs/ext4/
Dcrypto.c71 void ext4_release_crypto_ctx(struct ext4_crypto_ctx *ctx) in ext4_release_crypto_ctx()
100 struct ext4_crypto_ctx *ctx = NULL; in ext4_get_crypto_ctx() local
202 struct ext4_crypto_ctx *ctx; in ext4_init_crypto() local
229 struct ext4_crypto_ctx *ctx = in ext4_restore_control_page() local
315 static struct page *alloc_bounce_page(struct ext4_crypto_ctx *ctx, in alloc_bounce_page()
344 struct ext4_crypto_ctx *ctx; in ext4_encrypt() local
394 struct ext4_crypto_ctx *ctx; in ext4_encrypted_zeroout() local
Dcrypto_policy.c33 struct ext4_encryption_context ctx; in ext4_is_encryption_context_consistent_with_policy() local
52 struct ext4_encryption_context ctx; in ext4_create_encryption_context_from_policy() local
128 struct ext4_encryption_context ctx; in ext4_get_policy() local
229 struct ext4_encryption_context ctx; in ext4_inherit_context() local
Dreadpage.c57 struct ext4_crypto_ctx *ctx = in completion_pages() local
122 struct ext4_crypto_ctx *ctx = bio->bi_private; in mpage_end_io() local
317 struct ext4_crypto_ctx *ctx = NULL; in ext4_mpage_readpages() local
/fs/ntfs/
Dattrib.c84 int ntfs_map_runlist_nolock(ntfs_inode *ni, VCN vcn, ntfs_attr_search_ctx *ctx) in ntfs_map_runlist_nolock()
465 ntfs_attr_search_ctx *ctx) in ntfs_attr_find_vcn_nolock()
591 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_attr_find()
860 const u8 *val, const u32 val_len, ntfs_attr_search_ctx *ctx) in ntfs_external_attr_find()
1190 ntfs_attr_search_ctx *ctx) in ntfs_attr_lookup()
1217 static inline void ntfs_attr_init_search_ctx(ntfs_attr_search_ctx *ctx, in ntfs_attr_init_search_ctx()
1240 void ntfs_attr_reinit_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_reinit_search_ctx()
1271 ntfs_attr_search_ctx *ctx; in ntfs_attr_get_search_ctx() local
1286 void ntfs_attr_put_search_ctx(ntfs_attr_search_ctx *ctx) in ntfs_attr_put_search_ctx()
1543 ntfs_attr_search_ctx *ctx; in ntfs_attr_make_non_resident() local
[all …]
Dinode.c457 static int ntfs_is_extended_system_file(ntfs_attr_search_ctx *ctx) in ntfs_is_extended_system_file()
557 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_inode() local
1238 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_attr_inode() local
1506 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_index_inode() local
1791 ntfs_attr_search_ctx *ctx; in ntfs_read_inode_mount() local
2382 ntfs_attr_search_ctx *ctx; in ntfs_truncate() local
2982 ntfs_attr_search_ctx *ctx; in __ntfs_write_inode() local
Dnamei.c179 ntfs_attr_search_ctx *ctx; in ntfs_lookup() local
305 ntfs_attr_search_ctx *ctx; in ntfs_get_parent() local
/fs/xfs/
Dxfs_log_cil.c283 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
382 struct xfs_cil_ctx *ctx = args; in xlog_cil_committed() local
436 struct xfs_cil_ctx *ctx; in xlog_cil_push() local
837 struct xfs_cil_ctx *ctx; in xlog_cil_force_lsn() local
930 struct xfs_cil_ctx *ctx; in xfs_log_item_in_current_chkpt() local
955 struct xfs_cil_ctx *ctx; in xlog_cil_init() local
Dxfs_dir2_readdir.c61 struct dir_context *ctx) in xfs_dir2_sf_getdents()
160 struct dir_context *ctx) in xfs_dir2_block_getdents()
482 struct dir_context *ctx, in xfs_dir2_leaf_getdents()
663 struct dir_context *ctx, in xfs_readdir()
/fs/nfs/
Dinode.c705 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
721 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
751 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context() local
771 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
798 struct nfs_open_context *ctx; in alloc_nfs_open_context() local
823 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
831 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
853 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
859 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
868 void nfs_inode_attach_open_context(struct nfs_open_context *ctx) in nfs_inode_attach_open_context()
[all …]
Dfscache.h117 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
129 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
202 static inline int nfs_readpage_from_fscache(struct nfs_open_context *ctx, in nfs_readpage_from_fscache()
208 static inline int nfs_readpages_from_fscache(struct nfs_open_context *ctx, in nfs_readpages_from_fscache()
Ddir.c73 struct nfs_open_dir_context *ctx; in alloc_nfs_open_dir_context() local
89 static void put_nfs_open_dir_context(struct inode *dir, struct nfs_open_dir_context *ctx) in put_nfs_open_dir_context()
105 struct nfs_open_dir_context *ctx; in nfs_opendir() local
158 struct dir_context *ctx; member
315 struct nfs_open_dir_context *ctx = desc->file->private_data; in nfs_readdir_search_for_cookie() local
384 struct nfs_open_dir_context *ctx = file->private_data; in nfs_readdir_xdr_filler() local
443 bool nfs_use_readdirplus(struct inode *dir, struct dir_context *ctx) in nfs_use_readdirplus()
788 struct nfs_open_dir_context *ctx = file->private_data; in nfs_do_filldir() local
841 struct nfs_open_dir_context *ctx = desc->file->private_data; in uncached_readdir() local
876 static int nfs_readdir(struct file *file, struct dir_context *ctx) in nfs_readdir()
[all …]
/fs/9p/
Dvfs_dir.c101 static int v9fs_dir_readdir(struct file *file, struct dir_context *ctx) in v9fs_dir_readdir()
163 static int v9fs_dir_readdir_dotl(struct file *file, struct dir_context *ctx) in v9fs_dir_readdir_dotl()
/fs/proc/
Dfd.c229 static int proc_readfd_common(struct file *file, struct dir_context *ctx, in proc_readfd_common()
271 static int proc_readfd(struct file *file, struct dir_context *ctx) in proc_readfd()
350 static int proc_readfdinfo(struct file *file, struct dir_context *ctx) in proc_readfdinfo()
/fs/isofs/
Ddir.c82 struct dir_context *ctx, in do_isofs_readdir()
250 static int isofs_readdir(struct file *file, struct dir_context *ctx) in isofs_readdir()

123456