Home
last modified time | relevance | path

Searched refs:utf8string_len (Results 1 – 25 of 30) sorted by relevance

12

/titanic_41/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_test.c205 str.utf8string_len = strlen(argv[1]); in do_test()
216 str.utf8string_len = strlen(argv[1]); in do_test()
330 if (!u8s || !u8s->utf8string_val || !u8s->utf8string_len || in nfs_idmap_str_uid()
345 if ((mapargp = malloc(MAPID_ARG_LEN(u8s->utf8string_len))) == NULL) { in nfs_idmap_str_uid()
347 MAPID_ARG_LEN(u8s->utf8string_len)); in nfs_idmap_str_uid()
352 mapargp->u_arg.len = u8s->utf8string_len; in nfs_idmap_str_uid()
434 u8s->utf8string_len = strlen("nobody"); in nfs_idmap_uid_str()
480 u8s->utf8string_len = resp->u_res.len; in nfs_idmap_uid_str()
481 bcopy(resp->str, u8s->utf8string_val, u8s->utf8string_len); in nfs_idmap_uid_str()
504 if (!u8s || !u8s->utf8string_val || !u8s->utf8string_len || in nfs_idmap_str_gid()
[all …]
H A Dnfsmapid_server.c622 if (nfsfsloc_args->utf8string_len >= MAXHOSTNAMELEN) { in nfsmapid_server_netinfo()
631 snprintf(host, nfsfsloc_args->utf8string_len + 1, in nfsmapid_server_netinfo()
902 (uint_t *)&objp->utf8string_len, NFS4_MAX_UTF8STRING)); in xdr_utf8string()
/titanic_41/usr/src/stand/lib/fs/nfs/
H A Dnfs4ops.c77 str.utf8string_len = sizeof (tagname) - 1; in nfs4read()
196 str.utf8string_len = sizeof (tagname) - 1; in nfs4getattr()
403 str.utf8string_len = sizeof (tagname) - 1; in nfs4lookup()
418 lookupargs.la_pathname.utf8string_len = strlen(name); in nfs4lookup()
420 bkmem_alloc(lookupargs.la_pathname.utf8string_len); in nfs4lookup()
426 lookupargs.la_pathname.utf8string_len); in nfs4lookup()
457 lookupargs.la_pathname.utf8string_len); in nfs4lookup()
470 lookupargs.la_pathname.utf8string_len); in nfs4lookup()
489 lookupargs.la_pathname.utf8string_len); in nfs4lookup()
516 str.utf8string_len = sizeof (tagname) - 1; in nfs4lookupp()
[all …]
H A Dgetdents4.c106 str.utf8string_len = sizeof (tagname) - 1; in nfs4getdents()
129 rdbuf.etlist[j].b_name.utf8string_len = NFS_MAXNAMLEN; in nfs4getdents()
231 if ((namlen = ep->b_name.utf8string_len) == 0) in nfs4getdents()
H A Dnfs4_xdr.c48 (uint_t *)&objp->utf8string_len, NFS4_MAX_UTF8STRING)); in xdr_b_utf8string()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_idmap.c317 if (!u8s || !u8s->utf8string_val || u8s->utf8string_len == 0 || in nfs_idmap_str_uid()
368 mapargp = kmem_alloc(MAPID_ARG_LEN(u8s->utf8string_len), KM_SLEEP); in nfs_idmap_str_uid()
370 mapargp->u_arg.len = u8s->utf8string_len; in nfs_idmap_str_uid()
437 kmem_free(mapargp, MAPID_ARG_LEN(u8s->utf8string_len)); in nfs_idmap_str_uid()
444 kmem_free(mapargp, MAPID_ARG_LEN(u8s->utf8string_len)); in nfs_idmap_str_uid()
696 if (!u8s || !u8s->utf8string_val || u8s->utf8string_len == 0 || in nfs_idmap_str_gid()
747 mapargp = kmem_alloc(MAPID_ARG_LEN(u8s->utf8string_len), KM_SLEEP); in nfs_idmap_str_gid()
749 mapargp->u_arg.len = u8s->utf8string_len; in nfs_idmap_str_gid()
817 kmem_free(mapargp, MAPID_ARG_LEN(u8s->utf8string_len)); in nfs_idmap_str_gid()
824 kmem_free(mapargp, MAPID_ARG_LEN(u8s->utf8string_len)); in nfs_idmap_str_gid()
[all …]
H A Dnfs4_srv_readdir.c445 owner.utf8string_len = group.utf8string_len = 0; in rfs4_op_readdir()
1229 if (owner.utf8string_len != 0) { in rfs4_op_readdir()
1231 owner.utf8string_len); in rfs4_op_readdir()
1232 owner.utf8string_len = 0; in rfs4_op_readdir()
1245 (owner.utf8string_len / in rfs4_op_readdir()
1260 owner.utf8string_len); in rfs4_op_readdir()
1262 rndup = RNDUP(owner.utf8string_len) / in rfs4_op_readdir()
1267 owner.utf8string_len); in rfs4_op_readdir()
1285 if (group.utf8string_len != 0) { in rfs4_op_readdir()
1288 group.utf8string_len); in rfs4_op_readdir()
[all …]
H A Dnfs4_dispatch.c550 kmem_alloc(argsp->tag.utf8string_len, KM_SLEEP); in rfs4_minorvers_mismatch()
551 resp->tag.utf8string_len = argsp->tag.utf8string_len; in rfs4_minorvers_mismatch()
553 resp->tag.utf8string_len); in rfs4_minorvers_mismatch()
579 kmem_alloc(argsp->tag.utf8string_len, KM_SLEEP); in rfs4_resource_err()
580 rbp->tag.utf8string_len = argsp->tag.utf8string_len; in rfs4_resource_err()
582 rbp->tag.utf8string_len); in rfs4_resource_err()
H A Dnfs4_xdr.c156 (uint_t *)&objp->utf8string_len, NFS4_MAX_UTF8STRING)); in xdr_utf8string()
159 kmem_free(objp->utf8string_val, objp->utf8string_len); in xdr_utf8string()
677 objp->who.utf8string_len = 0; in xdr_nfsace4()
681 (uint_t *)&objp->who.utf8string_len, in xdr_nfsace4()
689 kmem_free(objp->who.utf8string_val, objp->who.utf8string_len); in xdr_nfsace4()
782 (ug)->u_last.utf8string_len = (ug)->u_curr.utf8string_len; \
792 (ug)->g_last.utf8string_len = (ug)->g_curr.utf8string_len; \
807 pug->u_curr.utf8string_len = 0; in alloc_ugcache()
808 pug->u_last.utf8string_len = 0; in alloc_ugcache()
809 pug->g_curr.utf8string_len = 0; in alloc_ugcache()
[all …]
H A Dnfs4_acl.c266 if ((ace4->who.utf8string_len > 0) && in vs_ace4_destroy()
269 ace4->who.utf8string_len); in vs_ace4_destroy()
272 ace4->who.utf8string_len = 0; in vs_ace4_destroy()
784 if ((acep->who.utf8string_len > 0) && in ln_aent_to_ace4()
787 acep->who.utf8string_len); in ln_aent_to_ace4()
1116 if ((ace4p->who.utf8string_len == 6) && in ace4_to_aent_legal()
1452 if ((ace4p->who.utf8string_len == 6) && in ln_ace4_to_aent()
1466 } else if ((ace4p->who.utf8string_len == 9) && in ln_ace4_to_aent()
1473 } else if ((ace4p->who.utf8string_len == 6) && in ln_ace4_to_aent()
1808 if ((nfsace4->who.utf8string_len == 6) && in ace4_to_acet()
[all …]
H A Dnfs4_attr.c357 RNDUP(na[attrcnt].owner.utf8string_len); in vattr_to_fattr4()
363 na[attrcnt].owner_group.utf8string_len); in vattr_to_fattr4()
380 RNDUP(tmpacl[j].who.utf8string_len); in vattr_to_fattr4()
422 na[uid_attr].owner.utf8string_len); in vattr_to_fattr4()
426 na[gid_attr].owner_group.utf8string_len); in vattr_to_fattr4()
H A Dnfs4_subr.c549 if (u8s == NULL || u8s->utf8string_len <= 0 || in utf8_to_fn()
560 int len = u8s->utf8string_len; in utf8_to_fn()
596 len = str->utf8string_len; in utf8_to_str()
640 str->utf8string_len = 0; in str_to_utf8()
647 str->utf8string_len = len; in str_to_utf8()
661 if (src->utf8string_len > 0) { in utf8_copy()
662 dest->utf8string_val = kmem_alloc(src->utf8string_len, in utf8_copy()
665 src->utf8string_len); in utf8_copy()
666 dest->utf8string_len = src->utf8string_len; in utf8_copy()
669 dest->utf8string_len = 0; in utf8_copy()
[all …]
H A Dnfs4_client_secinfo.c588 comp->utf8string_len = strlen(comp_start); in comp_getn()
596 comp->utf8string_len = 0; in comp_getn()
668 argop[num_argops - 1].nfs_argop4_u.opsecinfo.name.utf8string_len = in nfs4secinfo_otw()
669 comp.utf8string_len; in nfs4secinfo_otw()
H A Dnfs4_stub_vnops.c1750 kmem_zalloc(fsp->server_val->utf8string_len + 1, KM_SLEEP); in nfs4_trigger_esi_create_referral()
1752 fsp->server_val->utf8string_len); in nfs4_trigger_esi_create_referral()
1753 esi->esi_hostname[fsp->server_val->utf8string_len] = '\0'; in nfs4_trigger_esi_create_referral()
1795 if ((p - esi->esi_path) + comp->utf8string_len + 1 > MAXPATHLEN) in nfs4_trigger_esi_create_referral()
1797 bcopy(comp->utf8string_val, p, comp->utf8string_len); in nfs4_trigger_esi_create_referral()
1798 p += comp->utf8string_len; in nfs4_trigger_esi_create_referral()
1817 kmem_free(esi->esi_hostname, fsp->server_val->utf8string_len + 1); in nfs4_trigger_esi_create_referral()
H A Dnfs4_callback.c565 resp->tag.utf8string_len = args->tag.utf8string_len; in cb_compound()
566 resp->tag.utf8string_val = kmem_alloc(resp->tag.utf8string_len, in cb_compound()
569 args->tag.utf8string_len); in cb_compound()
H A Dnfs4_vfsops.c1513 svp->sv_hostname = kmem_zalloc(host->utf8string_len + 1, KM_SLEEP); in update_servinfo4()
1514 bcopy(host->utf8string_val, svp->sv_hostname, host->utf8string_len); in update_servinfo4()
1515 svp->sv_hostname[host->utf8string_len] = '\0'; in update_servinfo4()
1516 svp->sv_hostnamelen = host->utf8string_len + 1; in update_servinfo4()
1534 if ((p - spath) + comp->utf8string_len + 1 > MAXPATHLEN) { in update_servinfo4()
1539 bcopy(comp->utf8string_val, p, comp->utf8string_len); in update_servinfo4()
1540 p += comp->utf8string_len; in update_servinfo4()
H A Dnfs4_recovery.c2404 kmem_free(filep->utf8string_val, filep->utf8string_len); in nfs4_free_lost_rqst()
3043 destfp->utf8string_len = srcfp->utf8string_len; in nfs4_save_lost_rqst()
3045 srcfp->utf8string_len = 0; in nfs4_save_lost_rqst()
H A Dnfs4_srv_attr.c1532 utf8s->utf8string_len == 0) in rfs4_free_pathname4()
1535 kmem_free(utf8s->utf8string_val, utf8s->utf8string_len); in rfs4_free_pathname4()
H A Dnfs4_state.c174 kmem_alloc(sacep->who.utf8string_len, KM_SLEEP); in deep_open_copy()
176 sacep->who.utf8string_len); in deep_open_copy()
198 kmem_free(acep->who.utf8string_val, acep->who.utf8string_len); in deep_open_free()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dref_subr.c62 str->utf8string_len = 0; in str_to_utf8()
71 str->utf8string_len = 0; in str_to_utf8()
74 str->utf8string_len = len; in str_to_utf8()
96 len = str->utf8string_len; in utf8_to_str()
263 (uint_t *)&objp->utf8string_len, NFS4_MAX_UTF8STRING)); in xdr_utf8string()
/titanic_41/usr/src/uts/common/nfs/
H A Dnfs4_idmap_impl.h55 #define id_len id_str.utf8string_len
H A Dnfs4.h1046 kmem_free((str).utf8string_val, (str).utf8string_len); \
1048 (str).utf8string_len = 0;
H A Dnfs4_kprot.h165 uint_t utf8string_len; member
/titanic_41/usr/src/cmd/dtrace/test/tst/common/nfs/
H A Dtst.call.c79 args.tag.utf8string_len = strlen(tag); in dotest()
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dnfs4_xdr.c135 (uint_t *)&objp->utf8string_len, NFS4_MAX_UTF8STRING)) in xdr_utf8string()
363 objp->who.utf8string_len = 0; in xdr_nfsace4()
366 (uint_t *)&objp->who.utf8string_len, in xdr_nfsace4()

12