/fs/xfs/ |
D | xfs_attr_list.c | 52 xfs_attr_shortform_list(xfs_attr_list_context_t *context) in xfs_attr_shortform_list() argument 61 ASSERT(context != NULL); in xfs_attr_shortform_list() 62 dp = context->dp; in xfs_attr_shortform_list() 69 cursor = context->cursor; in xfs_attr_shortform_list() 72 trace_xfs_attr_list_sf(context); in xfs_attr_shortform_list() 83 if (context->bufsize == 0 || in xfs_attr_shortform_list() 85 (dp->i_afp->if_bytes + sf->hdr.count * 16) < context->bufsize)) { in xfs_attr_shortform_list() 87 context->put_listent(context, in xfs_attr_shortform_list() 96 if (context->seen_enough) in xfs_attr_shortform_list() 100 trace_xfs_attr_list_sf_all(context); in xfs_attr_shortform_list() [all …]
|
D | xfs_xattr.c | 121 struct xfs_attr_list_context *context, in __xfs_xattr_put_listent() argument 130 if (context->count < 0 || context->seen_enough) in __xfs_xattr_put_listent() 133 if (!context->alist) in __xfs_xattr_put_listent() 136 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent() 137 if (arraytop > context->firstu) { in __xfs_xattr_put_listent() 138 context->count = -1; /* insufficient space */ in __xfs_xattr_put_listent() 139 context->seen_enough = 1; in __xfs_xattr_put_listent() 142 offset = (char *)context->alist + context->count; in __xfs_xattr_put_listent() 150 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent() 156 struct xfs_attr_list_context *context, in xfs_xattr_put_listent() argument [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() 111 context->et.et_root_bh, in __ocfs2_move_extent() 118 ret = ocfs2_split_extent(handle, &context->et, path, index, in __ocfs2_move_extent() 119 &replace_rec, context->meta_ac, in __ocfs2_move_extent() 120 &context->dealloc); in __ocfs2_move_extent() 126 ocfs2_journal_dirty(handle, context->et.et_root_bh); in __ocfs2_move_extent() 128 context->new_phys_cpos = new_p_cpos; in __ocfs2_move_extent() [all …]
|
D | refcounttree.c | 57 int (*get_clusters)(struct ocfs2_cow_context *context, 3112 struct ocfs2_cow_context *context, in ocfs2_replace_clusters() argument 3118 struct ocfs2_caching_info *ci = context->data_et.et_ci; in ocfs2_replace_clusters() 3126 ret = context->cow_duplicate_clusters(handle, context->inode, in ocfs2_replace_clusters() 3134 ret = ocfs2_clear_ext_refcount(handle, &context->data_et, in ocfs2_replace_clusters() 3136 context->meta_ac, &context->dealloc); in ocfs2_replace_clusters() 3193 static int ocfs2_di_get_clusters(struct ocfs2_cow_context *context, in ocfs2_di_get_clusters() argument 3198 return ocfs2_get_clusters(context->inode, v_cluster, p_cluster, in ocfs2_di_get_clusters() 3203 struct ocfs2_cow_context *context, in ocfs2_make_clusters_writable() argument 3213 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() 155 args.geo = context->dp->i_mount->m_attr_geo; in xchk_xattr_listent() 157 args.dp = context->dp; in xchk_xattr_listent() 161 args.trans = context->tp; in xchk_xattr_listent() 165 error = xfs_attr_get_ilocked(context->dp, &args); in xchk_xattr_listent() [all …]
|
/fs/cifs/ |
D | smb2transport.c | 234 struct kvec context, __u8 *key, unsigned int key_size) in generate_key() argument 288 context.iov_base, context.iov_len); in generate_key() 316 struct kvec context; member 332 ptriplet->signing.context, ses->smb3signingkey, in generate_smb3signingkey() 338 ptriplet->encryption.context, ses->smb3encryptionkey, in generate_smb3signingkey() 344 ptriplet->decryption.context, in generate_smb3signingkey() 380 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 381 d->context.iov_len = 8; in generate_smb30signingkey() 386 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() 387 d->context.iov_len = 10; in generate_smb30signingkey() [all …]
|
/fs/nfs/ |
D | fscache-index.c | 107 static void nfs_fh_get_context(void *cookie_netfs_data, void *context) in nfs_fh_get_context() argument 109 get_nfs_open_context(context); in nfs_fh_get_context() 117 static void nfs_fh_put_context(void *cookie_netfs_data, void *context) in nfs_fh_put_context() argument 119 if (context) in nfs_fh_put_context() 120 put_nfs_open_context(context); in nfs_fh_put_context()
|
D | fscache.c | 376 void *context, in nfs_readpage_from_fscache_complete() argument 381 page, context, error); in nfs_readpage_from_fscache_complete() 389 error = nfs_readpage_async(context, page->mapping->host, page); in nfs_readpage_from_fscache_complete()
|
D | super.c | 2037 memset(data->context, 0, sizeof(data->context)); in nfs23_validate_mount_data() 2107 if (data->context[0]){ in nfs23_validate_mount_data() 2110 data->context[NFS_MAX_CONTEXT_LEN] = '\0'; in nfs23_validate_mount_data() 2111 rc = security_add_mnt_opt("context", data->context, in nfs23_validate_mount_data() 2112 strlen(data->context), &args->lsm_opts); in nfs23_validate_mount_data()
|
D | pagelist.c | 538 if (hdr->args.context) in nfs_pgio_data_destroy() 539 put_nfs_open_context(hdr->args.context); in nfs_pgio_data_destroy() 578 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 | 331 void *fscache_get_context(struct fscache_cookie *cookie, void *context) in fscache_get_context() argument 334 cookie->def->get_context(cookie->netfs_data, context); in fscache_get_context() 335 return context; in fscache_get_context() 342 void fscache_put_context(struct fscache_cookie *cookie, void *context) in fscache_put_context() argument 345 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 | 115 int fscrypt_hkdf_expand(struct fscrypt_hkdf *hkdf, u8 context, in fscrypt_hkdf_expand() argument 133 prefix[8] = context; in fscrypt_hkdf_expand()
|
D | fscrypt_private.h | 315 extern int fscrypt_hkdf_expand(struct fscrypt_hkdf *hkdf, u8 context,
|
/fs/nfs/filelayout/ |
D | filelayout.c | 208 err = filelayout_async_handle_error(task, hdr->args.context->state, in filelayout_read_done_cb() 269 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { in filelayout_read_prepare() 286 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, in filelayout_read_prepare() 320 err = filelayout_async_handle_error(task, hdr->args.context->state, in filelayout_write_done_cb() 369 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { in filelayout_write_prepare() 384 if (nfs4_set_rw_stateid(&hdr->args.stateid, hdr->args.context, in filelayout_write_prepare()
|
/fs/ceph/ |
D | snap.c | 561 capsnap->context = old_snapc; in ceph_queue_cap_snap() 620 capsnap->context, capsnap->context->seq, in __ceph_finish_cap_snap() 628 inode, capsnap, capsnap->context, in __ceph_finish_cap_snap() 629 capsnap->context->seq, ceph_cap_string(capsnap->dirty), in __ceph_finish_cap_snap()
|
D | addr.c | 102 snapc = ceph_get_snap_context(capsnap->context); in ceph_set_page_dirty() 500 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 505 if (snapc && capsnap->context != page_snapc) in get_oldest_context() 524 snapc = ceph_get_snap_context(capsnap->context); in get_oldest_context() 558 if (capsnap->context == snapc) { in get_writepages_data_length()
|
/fs/ |
D | binfmt_elf_fdpic.c | 364 current->mm->context.exec_fdpic_loadmap = 0; in load_elf_fdpic_binary() 365 current->mm->context.interp_fdpic_loadmap = 0; in load_elf_fdpic_binary() 433 current->mm->context.end_brk = current->mm->start_brk; in load_elf_fdpic_binary() 570 current->mm->context.exec_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables() 583 current->mm->context.interp_fdpic_loadmap = (unsigned long) sp; in create_elf_fdpic_tables() 1374 prstatus->pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; in fill_prstatus() 1375 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
|
D | binfmt_flat.c | 733 current->mm->context.end_brk = memp + memp_size - stack_len; in load_flat_file() 977 ((current->mm->context.end_brk + stack_len + 3) & ~3) - 4; in load_flat_binary()
|
/fs/xfs/libxfs/ |
D | xfs_attr_leaf.h | 71 struct xfs_attr_list_context *context);
|
/fs/incfs/ |
D | data_mgmt.c | 828 struct data_file *df = handler->context; in process_blockmap_md() 846 struct data_file *df = handler->context; in process_file_attr_md() 865 struct data_file *df = handler->context; in process_file_signature_md() 947 handler->context = df; in incfs_scan_metadata_chain()
|
D | format.h | 276 void *context; member
|
/fs/cachefiles/ |
D | internal.h | 111 void *context; member
|