Home
last modified time | relevance | path

Searched refs:array_len (Results 1 – 16 of 16) sorted by relevance

/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_dispatch.c554 resp->array_len = 0; in rfs4_minorvers_mismatch()
584 rbp->array_len = 1; in rfs4_resource_err()
585 rbp->array = kmem_zalloc(rbp->array_len * sizeof (nfs_resop4), in rfs4_resource_err()
611 kmem_free(rbp->array, rbp->array_len * sizeof (nfs_resop4)); in rfs4_resource_err()
H A Dnfs4_client_secinfo.c472 args.array_len = 1; in secinfo_tryroot_otw()
666 num_argops = args.array_len; in nfs4secinfo_otw()
695 if (res.array_len == 1) { in nfs4secinfo_otw()
713 ncomp = res.array_len - 1; in nfs4secinfo_otw()
779 numops = res.array_len; in nfs4secinfo_otw()
927 args.array_len = num_argops; in nfs4_secinfo_fh_otw()
H A Dnfs4_callback.c575 resp->array_len = 0; in cb_compound()
595 resp->array_len = args->array_len; in cb_compound()
596 resp->array = kmem_zalloc(args->array_len * sizeof (nfs_cb_resop4), in cb_compound()
599 for (i = 0; i < args->array_len && cs.cont; i++) { in cb_compound()
640 if ((i + 1) < args->array_len && !cs.cont) { in cb_compound()
647 args->array_len * sizeof (nfs_cb_resop4)); in cb_compound()
649 resp->array_len = i + 1; in cb_compound()
666 for (i = 0; i < resp->array_len; i++) { in cb_compound_free()
690 resp->array_len * sizeof (nfs_cb_resop4)); in cb_compound_free()
1418 args.array_len = numops; in nfs4delegreturn_otw()
H A Dnfs4_vnops.c869 args.array_len = numops; in nfs4open_otw()
930 args.array_len = numops; in nfs4open_otw()
1239 if (res.status != NFS4_OK && res.array_len <= idx_fattr + 1) { in nfs4open_otw()
1785 args.array_len = 4; in nfs4_reopen()
2457 args.array_len = 3; in nfs4close_otw()
3199 args.array_len = 2; in nfs4write()
3425 args.array_len = 2; in nfs4read()
3860 args.array_len = numops; in nfs4setattr()
3971 if (res.array_len == numops) { in nfs4setattr()
4077 if ((verify_argop == -1) || (res.array_len != 3)) { in nfs4setattr()
[all …]
H A Dnfs4_xdr.c5008 (uint_t *)&objp->array_len, NFS4_COMPOUND_LIMIT, in xdr_COMPOUND4args_clnt()
5023 (uint_t *)&objp->array_len, NFS4_COMPOUND_LIMIT, in xdr_COMPOUND4args_srv()
5026 return (xdr_snfs_argop4_free(xdrs, &objp->array, objp->array_len)); in xdr_COMPOUND4args_srv()
5061 if (!xdr_int(xdrs, (int32_t *)&objp->array_len)) in xdr_COMPOUND4res_clnt()
5064 if (objp->array_len > objp->argsp->array_len) in xdr_COMPOUND4res_clnt()
5068 objp->array_len != objp->argsp->array_len) in xdr_COMPOUND4res_clnt()
5073 len = objp->array_len * sizeof (nfs_resop4); in xdr_COMPOUND4res_clnt()
5077 for (len = 0; len < objp->array_len; in xdr_COMPOUND4res_clnt()
5086 objp->array_len, in xdr_COMPOUND4res_clnt()
5094 objp->array_len, objp->decode_len)); in xdr_COMPOUND4res_clnt()
[all …]
H A Dnfs4_common.c205 for (i = 0; i < res->array_len; i++) { in nfs4_need_to_bump_seqid()
H A Dnfs4_vfsops.c1254 args.array_len = 2; in getlinktext_otw()
1776 num_argops = args.array_len; in nfs4getfh_otw()
1880 where = res.array_len - 2; in nfs4getfh_otw()
1888 nthcomp = res.array_len/3 - 1; in nfs4getfh_otw()
1897 nthcomp = res.array_len/3 - 1; in nfs4getfh_otw()
1913 resop = &res.array[res.array_len - 2]; in nfs4getfh_otw()
1972 nthcomp = (res.array_len - 2)/3; in nfs4getfh_otw()
3428 args.array_len = 3; in nfs4setclientid_otw()
3468 if ((res.array_len >= 2) && in nfs4setclientid_otw()
3562 args.array_len = 1; in nfs4setclientid_otw()
H A Dnfs4_subr.c1710 num_argops = args.array_len; in remap_lookup()
1718 resop = &res.array[res.array_len - 2]; in remap_lookup()
1737 resop = &res.array[res.array_len - 1]; in remap_lookup()
1742 if ((int)res.array_len - 5 <= 0) in remap_lookup()
1746 resop = &res.array[res.array_len - 5]; in remap_lookup()
1765 resop = &res.array[res.array_len - 4]; in remap_lookup()
H A Dnfs4_srv_deleg.c724 arglen = args->array_len; in rfs4freeargres()
858 cb4_args.array_len = numops; in rfs4_do_cb_recall()
888 rec_resp = (cb4_res.array_len == 0) ? NULL : in rfs4_do_cb_recall()
H A Dnfs4_srv.c5829 resp->array_len = 0; in rfs4_compound()
5843 if (args->array_len == 0) { in rfs4_compound()
5865 resp->array_len = args->array_len; in rfs4_compound()
5866 resp->array = kmem_zalloc(args->array_len * sizeof (nfs_resop4), in rfs4_compound()
5888 for (i = 0; i < args->array_len && cs.cont; i++) { in rfs4_compound()
5930 if ((i + 1) < args->array_len && !cs.cont) { in rfs4_compound()
5936 args->array_len * sizeof (nfs_resop4)); in rfs4_compound()
5938 resp->array_len = i + 1; in rfs4_compound()
5986 for (i = 0; i < resp->array_len; i++) { in rfs4_compound_free()
5997 kmem_free(resp->array, resp->array_len * sizeof (nfs_resop4)); in rfs4_compound_free()
[all …]
H A Dnfs4_client_state.c1932 args.array_len = 3; in nfs4_open_downgrade()
2082 args.array_len = 4; in nfs4_resend_open_otw()
H A Dnfs4_client.c874 args.array_len = 2; in nfs4_getattr_otw_norecovery()
982 args.array_len = 2; in nfs4_attr_otw()
3465 args.array_len = 1; in nfs4renew()
H A Dnfs4_stub_vnops.c1431 args.array_len = 3; in nfs4_fetch_locations()
1474 if (res.status != NFS4_OK || res.array_len < 3 || in nfs4_fetch_locations()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs4_kprot.h1529 uint_t array_len; member
1537 uint_t array_len; member
1544 uint_t array_len; member
1554 uint_t array_len; member
1618 uint_t array_len; member
1626 uint_t array_len; member
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c627 int array_len, const char *buf) in zap_leaf_array_equal() argument
631 while (bseen < array_len) { in zap_leaf_array_equal()
634 int toread = MIN(array_len - bseen, ZAP_LEAF_ARRAY_BYTES); in zap_leaf_array_equal()
644 return (bseen == array_len); in zap_leaf_array_equal()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzap_leaf.c284 int array_int_len, int array_len, int buf_int_len, uint64_t buf_len, in zap_leaf_array_read() argument
287 int len = MIN(array_len, buf_len); in zap_leaf_array_read()
309 buf_len > array_len + ZAP_LEAF_ARRAY_BYTES) { in zap_leaf_array_read()