Searched refs:nops (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_btree_staging.c | 136 struct xfs_btree_ops *nops; in xfs_btree_stage_afakeroot() local 142 nops = kmem_alloc(sizeof(struct xfs_btree_ops), KM_NOFS); in xfs_btree_stage_afakeroot() 143 memcpy(nops, cur->bc_ops, sizeof(struct xfs_btree_ops)); in xfs_btree_stage_afakeroot() 144 nops->alloc_block = xfs_btree_fakeroot_alloc_block; in xfs_btree_stage_afakeroot() 145 nops->free_block = xfs_btree_fakeroot_free_block; in xfs_btree_stage_afakeroot() 146 nops->init_ptr_from_cur = xfs_btree_fakeroot_init_ptr_from_cur; in xfs_btree_stage_afakeroot() 147 nops->set_root = xfs_btree_afakeroot_set_root; in xfs_btree_stage_afakeroot() 148 nops->dup_cursor = xfs_btree_fakeroot_dup_cursor; in xfs_btree_stage_afakeroot() 152 cur->bc_ops = nops; in xfs_btree_stage_afakeroot() 217 struct xfs_btree_ops *nops; in xfs_btree_stage_ifakeroot() local [all …]
|
/fs/nfs/ |
D | callback_xdr.c | 163 hdr->nops = ntohl(*p); in decode_compound_hdr_arg() 663 hdr->nops = xdr_reserve_space(xdr, 4); in encode_compound_hdr_res() 664 if (unlikely(hdr->nops == NULL)) in encode_compound_hdr_res() 932 unsigned int nops = 0; in nfs4_callback_compound() local 965 while (status == 0 && nops != hdr_arg.nops) { in nfs4_callback_compound() 966 status = process_op(nops, rqstp, &xdr_in, in nfs4_callback_compound() 969 nops++; in nfs4_callback_compound() 976 nops--; in nfs4_callback_compound() 980 *hdr_res.nops = htonl(nops); in nfs4_callback_compound()
|
D | callback.h | 55 unsigned nops; member 62 __be32 *nops; member
|
D | nfs4xdr.c | 944 uint32_t nops; member 1033 *p = cpu_to_be32(hdr->nops); in encode_compound_hdr() 1041 hdr->nops++; in encode_op_hdr() 1047 WARN_ON_ONCE(hdr->nops > NFS4_MAX_OPS); in encode_nops() 1048 *hdr->nops_p = htonl(hdr->nops); in encode_nops() 2359 .nops = 0, in nfs4_xdr_enc_open_confirm() 2719 .nops = 0, in nfs4_xdr_enc_renew() 2736 .nops = 0, in nfs4_xdr_enc_setclientid() 2753 .nops = 0, in nfs4_xdr_enc_setclientid_confirm() 3172 hdr->nops = be32_to_cpup(p); in decode_compound_hdr() [all …]
|
/fs/nfsd/ |
D | nfs4callback.c | 57 u32 nops; member 262 *p = cpu_to_be32(hdr->nops); /* argarray element count */ in encode_cb_compound4args() 270 BUG_ON(hdr->nops > NFS4_MAX_BACK_CHANNEL_OPS); in encode_cb_nops() 271 *hdr->nops_p = cpu_to_be32(hdr->nops); in encode_cb_nops() 299 hdr->nops = be32_to_cpup(p); in decode_cb_compound4res() 328 hdr->nops++; in encode_cb_recall4args() 363 hdr->nops++; in encode_cb_sequence4args() 573 hdr->nops++; in encode_cb_layout4args() 647 hdr.nops++; in nfs4_xdr_enc_cb_notify_lock() 726 hdr->nops++; in encode_cb_offload4args()
|