/fs/xfs/ |
D | xfs_attr_list.c | 53 struct xfs_attr_list_context *context) in xfs_attr_shortform_list() argument 55 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() 56 struct xfs_inode *dp = context->dp; in xfs_attr_shortform_list() 69 trace_xfs_attr_list_sf(context); in xfs_attr_shortform_list() 80 if (context->bufsize == 0 || in xfs_attr_shortform_list() 82 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list() 84 if (XFS_IS_CORRUPT(context->dp->i_mount, in xfs_attr_shortform_list() 88 context->put_listent(context, in xfs_attr_shortform_list() 97 if (context->seen_enough) in xfs_attr_shortform_list() 101 trace_xfs_attr_list_sf_all(context); in xfs_attr_shortform_list() [all …]
|
D | xfs_xattr.c | 97 struct xfs_attr_list_context *context, in __xfs_xattr_put_listent() argument 106 if (context->count < 0 || context->seen_enough) in __xfs_xattr_put_listent() 109 if (!context->buffer) in __xfs_xattr_put_listent() 112 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent() 113 if (arraytop > context->firstu) { in __xfs_xattr_put_listent() 114 context->count = -1; /* insufficient space */ in __xfs_xattr_put_listent() 115 context->seen_enough = 1; in __xfs_xattr_put_listent() 118 offset = context->buffer + context->count; in __xfs_xattr_put_listent() 126 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent() 132 struct xfs_attr_list_context *context, in xfs_xattr_put_listent() argument [all …]
|
D | xfs_ioctl.c | 134 void *context, in xfs_handle_acceptable() argument 304 struct xfs_attr_list_context *context, in xfs_ioc_attr_put_listent() argument 310 struct xfs_attrlist *alist = context->buffer; in xfs_ioc_attr_put_listent() 314 ASSERT(!context->seen_enough); in xfs_ioc_attr_put_listent() 315 ASSERT(context->count >= 0); in xfs_ioc_attr_put_listent() 316 ASSERT(context->count < (ATTR_MAX_VALUELEN/8)); in xfs_ioc_attr_put_listent() 317 ASSERT(context->firstu >= sizeof(*alist)); in xfs_ioc_attr_put_listent() 318 ASSERT(context->firstu <= context->bufsize); in xfs_ioc_attr_put_listent() 323 if (context->attr_filter != (flags & XFS_ATTR_NSP_ONDISK_MASK)) in xfs_ioc_attr_put_listent() 327 context->count * sizeof(alist->al_offset[0]); in xfs_ioc_attr_put_listent() [all …]
|
/fs/ocfs2/ |
D | move_extents.c | 52 struct ocfs2_move_extents_context *context, in __ocfs2_move_extent() argument 57 struct inode *inode = context->inode; in __ocfs2_move_extent() 62 u64 ino = ocfs2_metadata_cache_owner(context->et.et_ci); in __ocfs2_move_extent() 78 path = ocfs2_new_path_from_et(&context->et); in __ocfs2_move_extent() 110 ret = ocfs2_split_extent(handle, &context->et, path, index, in __ocfs2_move_extent() 111 &replace_rec, context->meta_ac, in __ocfs2_move_extent() 112 &context->dealloc); in __ocfs2_move_extent() 118 context->new_phys_cpos = new_p_cpos; in __ocfs2_move_extent() 128 len, context->meta_ac, in __ocfs2_move_extent() 129 &context->dealloc, 1); in __ocfs2_move_extent() [all …]
|
D | refcounttree.c | 57 int (*get_clusters)(struct ocfs2_cow_context *context, 3114 struct ocfs2_cow_context *context, in ocfs2_replace_clusters() argument 3120 struct ocfs2_caching_info *ci = context->data_et.et_ci; in ocfs2_replace_clusters() 3128 ret = context->cow_duplicate_clusters(handle, context->inode, in ocfs2_replace_clusters() 3136 ret = ocfs2_clear_ext_refcount(handle, &context->data_et, in ocfs2_replace_clusters() 3138 context->meta_ac, &context->dealloc); in ocfs2_replace_clusters() 3195 static int ocfs2_di_get_clusters(struct ocfs2_cow_context *context, in ocfs2_di_get_clusters() argument 3200 return ocfs2_get_clusters(context->inode, v_cluster, p_cluster, in ocfs2_di_get_clusters() 3205 struct ocfs2_cow_context *context, in ocfs2_make_clusters_writable() argument 3215 struct ocfs2_caching_info *ref_ci = &context->ref_tree->rf_ci; in ocfs2_make_clusters_writable() [all …]
|
/fs/xfs/scrub/ |
D | attr.c | 94 struct xfs_attr_list_context context; member 108 struct xfs_attr_list_context *context, in xchk_xattr_listent() argument 118 sx = container_of(context, struct xchk_xattr, context); in xchk_xattr_listent() 121 context->seen_enough = error; in xchk_xattr_listent() 127 xchk_ino_set_preen(sx->sc, context->dp->i_ino); in xchk_xattr_listent() 146 context->seen_enough = error; in xchk_xattr_listent() 152 args.geo = context->dp->i_mount->m_attr_geo; in xchk_xattr_listent() 154 args.dp = context->dp; in xchk_xattr_listent() 158 args.trans = context->tp; in xchk_xattr_listent() 174 context->seen_enough = 1; in xchk_xattr_listent() [all …]
|
/fs/cifs/ |
D | smb2transport.c | 297 struct kvec context, __u8 *key, unsigned int key_size) in generate_key() argument 352 context.iov_base, context.iov_len); in generate_key() 386 struct kvec context; member 416 ptriplet->signing.context, in generate_smb3signingkey() 423 ptriplet->signing.context, in generate_smb3signingkey() 433 ptriplet->encryption.context, in generate_smb3signingkey() 439 ptriplet->decryption.context, in generate_smb3signingkey() 485 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 486 d->context.iov_len = 8; in generate_smb30signingkey() 491 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() [all …]
|
/fs/nfs/ |
D | fscache-index.c | 109 static void nfs_fh_get_context(void *cookie_netfs_data, void *context) in nfs_fh_get_context() argument 111 get_nfs_open_context(context); in nfs_fh_get_context() 119 static void nfs_fh_put_context(void *cookie_netfs_data, void *context) in nfs_fh_put_context() argument 121 if (context) in nfs_fh_put_context() 122 put_nfs_open_context(context); in nfs_fh_put_context()
|
D | fscache.c | 381 void *context, in nfs_readpage_from_fscache_complete() argument 386 page, context, error); in nfs_readpage_from_fscache_complete() 394 error = nfs_readpage_async(context, page->mapping->host, page); in nfs_readpage_from_fscache_complete()
|
D | fs_context.c | 921 memset(data->context, 0, sizeof(data->context)); in nfs23_parse_monolithic() 1002 if (data->context[0]){ in nfs23_parse_monolithic() 1006 data->context[NFS_MAX_CONTEXT_LEN] = '\0'; in nfs23_parse_monolithic() 1008 data->context, strlen(data->context)); in nfs23_parse_monolithic()
|
D | pagelist.c | 681 if (hdr->args.context) in nfs_pgio_data_destroy() 682 put_nfs_open_context(hdr->args.context); in nfs_pgio_data_destroy() 721 hdr->args.context = get_nfs_open_context(nfs_req_openctx(req)); in nfs_pgio_rpcsetup()
|
/fs/exportfs/ |
D | expfs.c | 44 int (*acceptable)(void *context, struct dentry *dentry), in find_acceptable_alias() argument 45 void *context) in find_acceptable_alias() 50 if (acceptable(context, result)) in find_acceptable_alias() 60 if (dentry != result && acceptable(context, dentry)) { in find_acceptable_alias() 422 int (*acceptable)(void *, struct dentry *), void *context) in exportfs_decode_fh() argument 464 if (!acceptable(context, result)) { in exportfs_decode_fh() 485 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh() 553 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh()
|
/fs/fscache/ |
D | internal.h | 333 void *fscache_get_context(struct fscache_cookie *cookie, void *context) in fscache_get_context() argument 336 cookie->def->get_context(cookie->netfs_data, context); in fscache_get_context() 337 return context; in fscache_get_context() 344 void fscache_put_context(struct fscache_cookie *cookie, void *context) in fscache_put_context() argument 347 cookie->def->put_context(cookie->netfs_data, context); in fscache_put_context()
|
D | page.c | 293 if (op->context) in fscache_release_retrieval_op() 294 fscache_put_context(op->cookie, op->context); in fscache_release_retrieval_op() 306 void *context) in fscache_alloc_retrieval() argument 326 op->context = context; in fscache_alloc_retrieval() 333 if (context) in fscache_alloc_retrieval() 334 fscache_get_context(op->cookie, context); in fscache_alloc_retrieval() 432 void *context, in __fscache_read_or_alloc_page() argument 459 end_io_func, context); in __fscache_read_or_alloc_page() 563 void *context, in __fscache_read_or_alloc_pages() argument 590 op = fscache_alloc_retrieval(cookie, mapping, end_io_func, context); in __fscache_read_or_alloc_pages()
|
/fs/crypto/ |
D | hkdf.c | 116 int fscrypt_hkdf_expand(const struct fscrypt_hkdf *hkdf, u8 context, in fscrypt_hkdf_expand() argument 134 prefix[8] = context; in fscrypt_hkdf_expand()
|
D | keysetup.c | 258 u8 context, const u8 *info, in fscrypt_derive_siphash_key() argument 263 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key()
|
/fs/nfs/filelayout/ |
D | filelayout.c | 209 err = filelayout_async_handle_error(task, hdr->args.context->state, in filelayout_read_done_cb() 270 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { in filelayout_read_prepare() 287 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, in filelayout_read_prepare() 321 err = filelayout_async_handle_error(task, hdr->args.context->state, in filelayout_write_done_cb() 370 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { in filelayout_write_prepare() 385 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, in filelayout_write_prepare()
|
/fs/ |
D | binfmt_elf_fdpic.c | 363 current->mm->context.exec_fdpic_loadmap = 0; in load_elf_fdpic_binary() 364 current->mm->context.interp_fdpic_loadmap = 0; in load_elf_fdpic_binary() 432 current->mm->context.end_brk = current->mm->start_brk; in load_elf_fdpic_binary() 569 current->mm->context.exec_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables() 582 current->mm->context.interp_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables() 1336 prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; in fill_prstatus() 1337 prstatus->pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap; in fill_prstatus()
|
D | fhandle.c | 134 static int vfs_dentry_acceptable(void *context, struct dentry *dentry) in vfs_dentry_acceptable() argument
|
/fs/ceph/ |
D | snap.c | 578 capsnap->context = old_snapc; in ceph_queue_cap_snap() 637 capsnap->context, capsnap->context->seq, in __ceph_finish_cap_snap() 645 inode, capsnap, capsnap->context, in __ceph_finish_cap_snap() 646 capsnap->context->seq, ceph_cap_string(capsnap->dirty), in __ceph_finish_cap_snap()
|
D | addr.c | 100 snapc = ceph_get_snap_context(capsnap->context); in ceph_set_page_dirty() 512 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 517 if (snapc && capsnap->context != page_snapc) in get_oldest_context() 536 snapc = ceph_get_snap_context(capsnap->context); in get_oldest_context() 570 if (capsnap->context == snapc) { in get_writepages_data_length()
|
/fs/xfs/libxfs/ |
D | xfs_attr_leaf.h | 87 struct xfs_attr_list_context *context);
|
/fs/incfs/ |
D | format.h | 322 void *context; member
|
D | data_mgmt.c | 1525 struct data_file *df = handler->context; in process_blockmap_md() 1544 struct data_file *df = handler->context; in process_file_signature_md() 1619 struct data_file *df = handler->context; in process_status_md() 1639 struct data_file *df = handler->context; in process_file_verity_signature_md() 1679 handler->context = df; in incfs_scan_metadata_chain()
|
/fs/cachefiles/ |
D | internal.h | 111 void *context; member
|