Home
last modified time | relevance | path

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

/linux-4.19.296/fs/nfsd/
Dnfs4acl.c836 } s2t_map[] = { variable
859 for (i = 0; i < ARRAY_SIZE(s2t_map); i++) { in nfs4_acl_get_whotype()
860 if (s2t_map[i].stringlen == len && in nfs4_acl_get_whotype()
861 0 == memcmp(s2t_map[i].string, p, len)) in nfs4_acl_get_whotype()
862 return s2t_map[i].type; in nfs4_acl_get_whotype()
872 for (i = 0; i < ARRAY_SIZE(s2t_map); i++) { in nfs4_acl_write_who()
873 if (s2t_map[i].type != who) in nfs4_acl_write_who()
875 p = xdr_reserve_space(xdr, s2t_map[i].stringlen + 4); in nfs4_acl_write_who()
878 p = xdr_encode_opaque(p, s2t_map[i].string, in nfs4_acl_write_who()
879 s2t_map[i].stringlen); in nfs4_acl_write_who()