/fs/xfs/ |
D | xfs_attr_list.c | 54 struct xfs_attr_list_context *context) in xfs_attr_shortform_list() argument 56 struct xfs_attrlist_cursor_kern *cursor = &context->cursor; in xfs_attr_shortform_list() 57 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_af.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 | 191 struct xfs_attr_list_context *context, in __xfs_xattr_put_listent() argument 200 if (context->count < 0 || context->seen_enough) in __xfs_xattr_put_listent() 203 if (!context->buffer) in __xfs_xattr_put_listent() 206 arraytop = context->count + prefix_len + namelen + 1; in __xfs_xattr_put_listent() 207 if (arraytop > context->firstu) { in __xfs_xattr_put_listent() 208 context->count = -1; /* insufficient space */ in __xfs_xattr_put_listent() 209 context->seen_enough = 1; in __xfs_xattr_put_listent() 212 offset = context->buffer + context->count; in __xfs_xattr_put_listent() 220 context->count += prefix_len + namelen + 1; in __xfs_xattr_put_listent() 226 struct xfs_attr_list_context *context, in xfs_xattr_put_listent() argument [all …]
|
D | xfs_ioctl.c | 136 void *context, in xfs_handle_acceptable() argument 306 struct xfs_attr_list_context *context, in xfs_ioc_attr_put_listent() argument 312 struct xfs_attrlist *alist = context->buffer; in xfs_ioc_attr_put_listent() 316 ASSERT(!context->seen_enough); in xfs_ioc_attr_put_listent() 317 ASSERT(context->count >= 0); in xfs_ioc_attr_put_listent() 318 ASSERT(context->count < (ATTR_MAX_VALUELEN/8)); in xfs_ioc_attr_put_listent() 319 ASSERT(context->firstu >= sizeof(*alist)); in xfs_ioc_attr_put_listent() 320 ASSERT(context->firstu <= context->bufsize); in xfs_ioc_attr_put_listent() 325 if (context->attr_filter != (flags & XFS_ATTR_NSP_ONDISK_MASK)) in xfs_ioc_attr_put_listent() 329 context->count * sizeof(alist->al_offset[0]); in xfs_ioc_attr_put_listent() [all …]
|
/fs/ocfs2/ |
D | move_extents.c | 50 struct ocfs2_move_extents_context *context, in __ocfs2_move_extent() argument 55 struct inode *inode = context->inode; in __ocfs2_move_extent() 60 u64 ino = ocfs2_metadata_cache_owner(context->et.et_ci); in __ocfs2_move_extent() 76 path = ocfs2_new_path_from_et(&context->et); in __ocfs2_move_extent() 108 ret = ocfs2_split_extent(handle, &context->et, path, index, in __ocfs2_move_extent() 109 &replace_rec, context->meta_ac, in __ocfs2_move_extent() 110 &context->dealloc); in __ocfs2_move_extent() 116 context->new_phys_cpos = new_p_cpos; in __ocfs2_move_extent() 126 len, context->meta_ac, in __ocfs2_move_extent() 127 &context->dealloc, 1); in __ocfs2_move_extent() [all …]
|
D | refcounttree.c | 55 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() 3165 static int ocfs2_di_get_clusters(struct ocfs2_cow_context *context, in ocfs2_di_get_clusters() argument 3170 return ocfs2_get_clusters(context->inode, v_cluster, p_cluster, in ocfs2_di_get_clusters() 3175 struct ocfs2_cow_context *context, in ocfs2_make_clusters_writable() argument 3185 struct ocfs2_caching_info *ref_ci = &context->ref_tree->rf_ci; in ocfs2_make_clusters_writable() [all …]
|
/fs/xfs/scrub/ |
D | attr.c | 93 struct xfs_attr_list_context context; member 107 struct xfs_attr_list_context *context, in xchk_xattr_listent() argument 117 sx = container_of(context, struct xchk_xattr, context); in xchk_xattr_listent() 120 context->seen_enough = error; in xchk_xattr_listent() 126 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/smb/server/ |
D | asn1.c | 162 int ksmbd_gssapi_this_mech(void *context, size_t hdrlen, unsigned char tag, in ksmbd_gssapi_this_mech() argument 179 int ksmbd_neg_token_init_mech_type(void *context, size_t hdrlen, in ksmbd_neg_token_init_mech_type() argument 183 struct ksmbd_conn *conn = context; in ksmbd_neg_token_init_mech_type() 211 static int ksmbd_neg_token_alloc(void *context, size_t hdrlen, in ksmbd_neg_token_alloc() argument 215 struct ksmbd_conn *conn = context; in ksmbd_neg_token_alloc() 229 int ksmbd_neg_token_init_mech_token(void *context, size_t hdrlen, in ksmbd_neg_token_init_mech_token() argument 233 return ksmbd_neg_token_alloc(context, hdrlen, tag, value, vlen); in ksmbd_neg_token_init_mech_token() 236 int ksmbd_neg_token_targ_resp_token(void *context, size_t hdrlen, in ksmbd_neg_token_targ_resp_token() argument 240 return ksmbd_neg_token_alloc(context, hdrlen, tag, value, vlen); in ksmbd_neg_token_targ_resp_token()
|
D | auth.c | 670 struct kvec context; member 675 struct kvec label, struct kvec context, __u8 *key, in generate_key() argument 729 context.iov_base, in generate_key() 730 context.iov_len); in generate_key() 778 rc = generate_key(conn, sess, signing->label, signing->context, key, in generate_smb3signingkey() 802 d.context.iov_base = "SmbSign"; in ksmbd_gen_smb30_signingkey() 803 d.context.iov_len = 8; in ksmbd_gen_smb30_signingkey() 822 d.context.iov_base = preauth_sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey() 824 d.context.iov_base = sess->Preauth_HashValue; in ksmbd_gen_smb311_signingkey() 826 d.context.iov_len = 64; in ksmbd_gen_smb311_signingkey() [all …]
|
D | smb2pdu.c | 2599 struct create_context *context; in smb2_create_sd_buffer() local 2606 context = smb2_find_context_vals(req, SMB2_CREATE_SD_BUFFER, 4); in smb2_create_sd_buffer() 2607 if (!context) in smb2_create_sd_buffer() 2609 else if (IS_ERR(context)) in smb2_create_sd_buffer() 2610 return PTR_ERR(context); in smb2_create_sd_buffer() 2614 sd_buf = (struct create_sd_buf_req *)context; in smb2_create_sd_buffer() 2615 if (le16_to_cpu(context->DataOffset) + in smb2_create_sd_buffer() 2616 le32_to_cpu(context->DataLength) < in smb2_create_sd_buffer() 2662 struct create_context *context; in smb2_open() local 2805 context = smb2_find_context_vals(req, SMB2_CREATE_EA_BUFFER, 4); in smb2_open() [all …]
|
/fs/smb/client/ |
D | smb2transport.c | 309 struct kvec context, __u8 *key, unsigned int key_size) in generate_key() argument 360 rc = crypto_shash_update(server->secmech.hmacsha256, context.iov_base, context.iov_len); in generate_key() 391 struct kvec context; member 431 ptriplet->signing.context, in generate_smb3signingkey() 438 ptriplet->signing.context, in generate_smb3signingkey() 451 ptriplet->encryption.context, in generate_smb3signingkey() 457 ptriplet->decryption.context, in generate_smb3signingkey() 504 d->context.iov_base = "SmbSign"; in generate_smb30signingkey() 505 d->context.iov_len = 8; in generate_smb30signingkey() 510 d->context.iov_base = "ServerIn "; in generate_smb30signingkey() [all …]
|
D | asn1.c | 22 int cifs_gssapi_this_mech(void *context, size_t hdrlen, in cifs_gssapi_this_mech() argument 39 int cifs_neg_token_init_mech_type(void *context, size_t hdrlen, in cifs_neg_token_init_mech_type() argument 43 struct TCP_Server_Info *server = context; in cifs_neg_token_init_mech_type()
|
/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() 423 void *context) in exportfs_decode_fh_raw() argument 463 if (!acceptable(context, result)) { in exportfs_decode_fh_raw() 484 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh_raw() 553 alias = find_acceptable_alias(result, acceptable, context); in exportfs_decode_fh_raw() 571 void *context) in exportfs_decode_fh() argument 576 acceptable, context); in exportfs_decode_fh()
|
/fs/crypto/ |
D | hkdf.c | 118 int fscrypt_hkdf_expand(const struct fscrypt_hkdf *hkdf, u8 context, in fscrypt_hkdf_expand() argument 136 prefix[8] = context; in fscrypt_hkdf_expand()
|
D | keysetup.c | 278 u8 context, const u8 *info, in fscrypt_derive_siphash_key() argument 283 err = fscrypt_hkdf_expand(&mk->mk_secret.hkdf, context, info, infolen, in fscrypt_derive_siphash_key()
|
/fs/ceph/ |
D | snap.c | 614 capsnap->context = old_snapc; in ceph_queue_cap_snap() 672 ceph_vinop(inode), capsnap, capsnap->context, in __ceph_finish_cap_snap() 673 capsnap->context->seq, ceph_cap_string(capsnap->dirty), in __ceph_finish_cap_snap() 682 ceph_vinop(inode), capsnap, capsnap->context, in __ceph_finish_cap_snap() 683 capsnap->context->seq, ceph_cap_string(capsnap->dirty), in __ceph_finish_cap_snap() 691 __func__, inode, ceph_vinop(inode), capsnap, capsnap->context, in __ceph_finish_cap_snap() 692 capsnap->context->seq, ceph_cap_string(capsnap->dirty), in __ceph_finish_cap_snap()
|
D | addr.c | 103 snapc = ceph_get_snap_context(capsnap->context); in ceph_dirty_folio() 524 capsnap->context, capsnap->dirty_pages); in get_oldest_context() 529 if (snapc && capsnap->context != page_snapc) in get_oldest_context() 548 snapc = ceph_get_snap_context(capsnap->context); in get_oldest_context() 582 if (capsnap->context == snapc) { in get_writepages_data_length()
|
/fs/nfs/filelayout/ |
D | filelayout.c | 211 err = filelayout_async_handle_error(task, hdr->args.context->state, in filelayout_read_done_cb() 272 if (unlikely(test_bit(NFS_CONTEXT_BAD, &hdr->args.context->flags))) { in filelayout_read_prepare() 289 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() 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() 1393 t->prstatus.pr_exec_fdpic_loadmap = p->mm->context.exec_fdpic_loadmap; in elf_dump_thread_status() 1394 t->prstatus.pr_interp_fdpic_loadmap = p->mm->context.interp_fdpic_loadmap; in elf_dump_thread_status()
|
D | fhandle.c | 134 static int vfs_dentry_acceptable(void *context, struct dentry *dentry) in vfs_dentry_acceptable() argument
|
D | binfmt_flat.c | 707 current->mm->context.end_brk = memp + memp_size - stack_len; in load_flat_file() 906 ((current->mm->context.end_brk + stack_len + 3) & ~3) - 4; in load_flat_binary()
|
/fs/nfs/ |
D | fs_context.c | 1006 memset(data->context, 0, sizeof(data->context)); in nfs23_parse_monolithic() 1087 if (data->context[0]){ in nfs23_parse_monolithic() 1091 data->context[NFS_MAX_CONTEXT_LEN] = '\0'; in nfs23_parse_monolithic() 1093 data->context, strlen(data->context)); in nfs23_parse_monolithic()
|
D | pagelist.c | 675 if (hdr->args.context) in nfs_pgio_data_destroy() 676 put_nfs_open_context(hdr->args.context); in nfs_pgio_data_destroy() 715 hdr->args.context = get_nfs_open_context(nfs_req_openctx(req)); in nfs_pgio_rpcsetup()
|
/fs/xfs/libxfs/ |
D | xfs_attr_leaf.h | 86 struct xfs_attr_list_context *context);
|
/fs/incfs/ |
D | format.h | 322 void *context; member
|
D | data_mgmt.c | 1527 struct data_file *df = handler->context; in process_blockmap_md() 1546 struct data_file *df = handler->context; in process_file_signature_md() 1621 struct data_file *df = handler->context; in process_status_md() 1641 struct data_file *df = handler->context; in process_file_verity_signature_md() 1681 handler->context = df; in incfs_scan_metadata_chain()
|