Home
last modified time | relevance | path

Searched refs:u8s (Results 1 – 6 of 6) sorted by relevance

/illumos-gate/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()
395 u8s, HQ_HASH_HINT, hashno); in nfs_idmap_str_uid()
556 nfs_idmap_i2s_literal(uid, u8s); in nfs_idmap_uid_str()
696 if (!u8s || !u8s->utf8string_val || u8s->utf8string_len == 0 || in nfs_idmap_str_gid()
1440 bcopy(u8s->utf8string_val, newp->id_val, u8s->utf8string_len); in nfs_idmap_cache_s2i_insert()
1462 utf8string *u8s) in nfs_idmap_cache_i2s_lkup() argument
1600 bcopy(u8s->utf8string_val, newp->id_val, u8s->utf8string_len); in nfs_idmap_cache_i2s_insert()
1656 if (!is_stringified_id(u8s)) in nfs_idmap_s2i_literal()
1670 bcopy(u8s->utf8string_val, ids, u8s->utf8string_len); in nfs_idmap_s2i_literal()
1686 (void) str_to_utf8(ids, u8s); in nfs_idmap_i2s_literal()
[all …]
H A Dnfs4_subr.c545 utf8_to_fn(utf8string *u8s, uint_t *lenp, char *s) in utf8_to_fn() argument
549 if (u8s == NULL || u8s->utf8string_len <= 0 || in utf8_to_fn()
550 u8s->utf8string_val == NULL) in utf8_to_fn()
556 if (utf8_strchr(u8s, '/') != NULL) { in utf8_to_fn()
560 int len = u8s->utf8string_len; in utf8_to_fn()
563 bcopy(u8s->utf8string_val, path, len); in utf8_to_fn()
575 return (utf8_to_str(u8s, lenp, s)); in utf8_to_fn()
/illumos-gate/usr/src/common/unicode/
H A Duconv.c437 if (u8s == NULL || utf8len == NULL) in uconv_u16tou8()
483 u8s[u8l++] = (uchar_t)lo; in uconv_u16tou8()
613 if (u8s == NULL || utf8len == NULL) in uconv_u32tou8()
637 u8s[u8l++] = (uchar_t)lo; in uconv_u32tou8()
681 if (u8s == NULL || utf8len == NULL) in uconv_u8tou16()
700 if (u8s[u8l] == 0 && do_not_ignore_null) in uconv_u8tou16()
714 hi = (uint32_t)u8s[u8l++]; in uconv_u8tou16()
731 lo = (uint32_t)u8s[u8l++]; in uconv_u8tou16()
792 if (u8s == NULL || utf8len == NULL) in uconv_u8tou32()
814 hi = (uint32_t)u8s[u8l++]; in uconv_u8tou32()
[all …]
H A Du8_textprep.c175 u8s[start[(a)] + k] = u8s[start[(b)] + k]; \
499 u8s[1] = '\0'; in do_case_conv()
503 u8s[sz] = '\0'; in do_case_conv()
555 u8s[i] = '\0'; in do_case_conv()
765 u8s[2] = '\0'; in do_decomp()
802 u8s[3] = '\0'; in do_decomp()
833 u8s[4] = '\0'; in do_decomp()
839 u8s[0] = s[0]; in do_decomp()
960 u8s[i] = '\0'; in do_decomp()
1451 u8s[0] = *s; in collect_a_seq()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_test.c328 if (!u8s || !u8s->utf8string_val || !u8s->utf8string_len || in nfs_idmap_str_uid()
329 (u8s->utf8string_val[0] == '\0')) { in nfs_idmap_str_uid()
345 MAPID_ARG_LEN(u8s->utf8string_len)); in nfs_idmap_str_uid()
350 mapargp->u_arg.len = u8s->utf8string_len; in nfs_idmap_str_uid()
432 u8s->utf8string_len = strlen("nobody"); in nfs_idmap_uid_str()
433 u8s->utf8string_val = nobody_str; in nfs_idmap_uid_str()
478 u8s->utf8string_len = resp->u_res.len; in nfs_idmap_uid_str()
479 bcopy(resp->str, u8s->utf8string_val, u8s->utf8string_len); in nfs_idmap_uid_str()
502 if (!u8s || !u8s->utf8string_val || !u8s->utf8string_len || in nfs_idmap_str_gid()
503 (u8s->utf8string_val[0] == '\0')) { in nfs_idmap_str_gid()
[all …]
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4.h1460 extern int nfs_idmap_str_uid(utf8string *u8s, uid_t *, bool_t);
1461 extern int nfs_idmap_str_gid(utf8string *u8s, gid_t *, bool_t);
1462 extern int nfs_idmap_uid_str(uid_t, utf8string *u8s, bool_t);
1463 extern int nfs_idmap_gid_str(gid_t gid, utf8string *u8s, bool_t);