Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 138) 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
175 static void eventfd_ctx_do_read(struct eventfd_ctx *ctx, __u64 *cnt) in eventfd_ctx_do_read()
194 int eventfd_ctx_remove_wait_queue(struct eventfd_ctx *ctx, wait_queue_entry_t *wait, in eventfd_ctx_remove_wait_queue()
224 ssize_t eventfd_ctx_read(struct eventfd_ctx *ctx, int no_wait, __u64 *cnt) in eventfd_ctx_read()
[all …]
Duserfaultfd.c76 struct userfaultfd_ctx *ctx; member
85 struct userfaultfd_ctx *ctx; member
139 static void userfaultfd_ctx_get(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_get()
153 static void userfaultfd_ctx_put(struct userfaultfd_ctx *ctx) in userfaultfd_ctx_put()
216 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
248 static inline bool userfaultfd_huge_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_huge_must_wait()
265 static inline bool userfaultfd_must_wait(struct userfaultfd_ctx *ctx, in userfaultfd_must_wait()
341 struct userfaultfd_ctx *ctx; in handle_userfault() local
572 static void userfaultfd_event_wait_completion(struct userfaultfd_ctx *ctx, in userfaultfd_event_wait_completion()
650 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 …]
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()
295 static void aio_free_ring(struct kioctx *ctx) in aio_free_ring()
332 struct kioctx *ctx; in aio_ring_mremap() local
373 struct kioctx *ctx; in aio_migratepage() local
454 static int aio_setup_ring(struct kioctx *ctx, unsigned int nr_events) in aio_setup_ring()
558 struct kioctx *ctx = req->ki_ctx; in kiocb_set_cancel_fn() local
601 struct kioctx *ctx = container_of(work, struct kioctx, free_work); in free_ioctx() local
614 struct kioctx *ctx = container_of(head, struct kioctx, free_rcu); in free_ioctx_rcufn() local
622 struct kioctx *ctx = container_of(ref, struct kioctx, reqs); in free_ioctx_reqs() local
[all …]
Dreaddir.c26 int iterate_dir(struct file *file, struct dir_context *ctx) in iterate_dir()
121 struct dir_context ctx; member
126 static int fillonedir(struct dir_context *ctx, const char *name, int namlen, in fillonedir()
194 struct dir_context ctx; member
201 static int filldir(struct dir_context *ctx, const char *name, int namlen, in filldir()
284 struct dir_context ctx; member
291 static int filldir64(struct dir_context *ctx, const char *name, int namlen, in filldir64()
379 struct dir_context ctx; member
384 static int compat_fillonedir(struct dir_context *ctx, const char *name, in compat_fillonedir()
447 struct dir_context ctx; member
[all …]
Dsignalfd.c63 struct signalfd_ctx *ctx = file->private_data; in signalfd_poll() local
154 static ssize_t signalfd_dequeue(struct signalfd_ctx *ctx, siginfo_t *info, in signalfd_dequeue()
202 struct signalfd_ctx *ctx = file->private_data; in signalfd_read() local
231 struct signalfd_ctx *ctx = f->private_data; in signalfd_show_fdinfo() local
254 struct signalfd_ctx *ctx; in SYSCALL_DEFINE4() local
Dlocks.c218 struct file_lock_context *ctx; in locks_get_lock_context() local
260 struct file_lock_context *ctx = inode->i_flctx; in locks_check_ctx_lists() local
293 struct file_lock_context *ctx = inode->i_flctx; in locks_free_lock_context() local
825 struct file_lock_context *ctx; in posix_test_lock() local
930 struct file_lock_context *ctx; in flock_lock_inode() local
1004 struct file_lock_context *ctx; in posix_lock_inode() local
1270 struct file_lock_context *ctx; in locks_mandatory_locked() local
1401 struct file_lock_context *ctx = inode->i_flctx; in time_out_leases() local
1427 struct file_lock_context *ctx = inode->i_flctx; in any_leases_conflict() local
1455 struct file_lock_context *ctx; in __break_lease() 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.c21 const struct fscrypt_context *ctx, in is_encryption_context_consistent_with_policy()
36 struct fscrypt_context ctx; in create_encryption_context_from_policy() local
63 struct fscrypt_context ctx; in fscrypt_ioctl_set_policy() local
111 struct fscrypt_context ctx; in fscrypt_ioctl_get_policy() local
244 struct fscrypt_context ctx; in fscrypt_inherit_context() local
Dbio.c58 struct fscrypt_ctx *ctx = in completion_pages() local
67 void fscrypt_enqueue_decrypt_bio(struct fscrypt_ctx *ctx, struct bio *bio) in fscrypt_enqueue_decrypt_bio()
77 struct fscrypt_ctx *ctx; in fscrypt_pullback_bio_page() local
99 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
197 struct page *fscrypt_alloc_bounce_page(struct fscrypt_ctx *ctx, in fscrypt_alloc_bounce_page()
245 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/xfs/
Dxfs_log_cil.c408 struct xfs_cil_ctx *ctx = cil->xc_ctx; in xlog_cil_insert_items() local
521 struct xfs_cil_ctx *ctx = in xlog_discard_endio_work() local
538 struct xfs_cil_ctx *ctx = bio->bi_private; in xlog_discard_endio() local
548 struct xfs_cil_ctx *ctx) in xlog_discard_busy_extents()
597 struct xfs_cil_ctx *ctx = args; in xlog_cil_committed() local
647 struct xfs_cil_ctx *ctx; in xlog_cil_push() local
1052 struct xfs_cil_ctx *ctx; in xlog_cil_force_lsn() local
1145 struct xfs_cil_ctx *ctx; in xfs_log_item_in_current_chkpt() local
1170 struct xfs_cil_ctx *ctx; in xlog_cil_init() local
Dxfs_dir2_readdir.c61 struct dir_context *ctx) in xfs_dir2_sf_getdents()
150 struct dir_context *ctx) in xfs_dir2_block_getdents()
359 struct dir_context *ctx, in xfs_dir2_leaf_getdents()
514 struct dir_context *ctx, in xfs_readdir()
/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
1232 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_attr_inode() local
1500 ntfs_attr_search_ctx *ctx; in ntfs_read_locked_index_inode() local
1785 ntfs_attr_search_ctx *ctx; in ntfs_read_inode_mount() local
2370 ntfs_attr_search_ctx *ctx; in ntfs_truncate() local
2970 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/nfs/
Dinode.c792 static struct nfs_lock_context *__nfs_find_lock_context(struct nfs_open_context *ctx) in __nfs_find_lock_context()
806 struct nfs_lock_context *nfs_get_lock_context(struct nfs_open_context *ctx) in nfs_get_lock_context()
836 struct nfs_open_context *ctx = l_ctx->open_context; in nfs_put_lock_context() local
856 void nfs_close_context(struct nfs_open_context *ctx, int is_sync) in nfs_close_context()
887 struct nfs_open_context *ctx; in alloc_nfs_open_context() local
913 struct nfs_open_context *get_nfs_open_context(struct nfs_open_context *ctx) in get_nfs_open_context()
921 static void __put_nfs_open_context(struct nfs_open_context *ctx, int is_sync) in __put_nfs_open_context()
943 void put_nfs_open_context(struct nfs_open_context *ctx) in put_nfs_open_context()
949 static void put_nfs_open_context_sync(struct nfs_open_context *ctx) in put_nfs_open_context_sync()
958 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
291 struct nfs_open_dir_context *ctx = desc->file->private_data; in nfs_readdir_search_for_cookie() local
355 struct nfs_open_dir_context *ctx = file->private_data; in nfs_readdir_xdr_filler() local
419 bool nfs_use_readdirplus(struct inode *dir, struct dir_context *ctx) in nfs_use_readdirplus()
776 struct nfs_open_dir_context *ctx = file->private_data; in nfs_do_filldir() local
823 struct nfs_open_dir_context *ctx = desc->file->private_data; in uncached_readdir() local
858 static int nfs_readdir(struct file *file, struct dir_context *ctx) in nfs_readdir()
[all …]
/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/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/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.c219 static int proc_readfd_common(struct file *file, struct dir_context *ctx, in proc_readfd_common()
262 static int proc_readfd(struct file *file, struct dir_context *ctx) in proc_readfd()
340 static int proc_readfdinfo(struct file *file, struct dir_context *ctx) in proc_readfdinfo()
/fs/overlayfs/
Dreaddir.c41 struct dir_context ctx; member
250 static int ovl_fill_merge(struct dir_context *ctx, const char *name, in ovl_fill_merge()
489 static int ovl_fill_plain(struct dir_context *ctx, const char *name, in ovl_fill_plain()
601 struct dir_context ctx; member
605 static int ovl_fill_real(struct dir_context *ctx, const char *name, in ovl_fill_real()
641 static int ovl_iterate_real(struct file *file, struct dir_context *ctx) in ovl_iterate_real()
677 static int ovl_iterate(struct file *file, struct dir_context *ctx) in ovl_iterate()
918 static int ovl_check_d_type(struct dir_context *ctx, const char *name, in ovl_check_d_type()
/fs/isofs/
Ddir.c83 struct dir_context *ctx, in do_isofs_readdir()
250 static int isofs_readdir(struct file *file, struct dir_context *ctx) in isofs_readdir()

123456