Home
last modified time | relevance | path

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

/linux-6.1.9/fs/nfsd/
Dnfs4acl.c805 } s2t_map[] = { variable
828 for (i = 0; i < ARRAY_SIZE(s2t_map); i++) { in nfs4_acl_get_whotype()
829 if (s2t_map[i].stringlen == len && in nfs4_acl_get_whotype()
830 0 == memcmp(s2t_map[i].string, p, len)) in nfs4_acl_get_whotype()
831 return s2t_map[i].type; in nfs4_acl_get_whotype()
841 for (i = 0; i < ARRAY_SIZE(s2t_map); i++) { in nfs4_acl_write_who()
842 if (s2t_map[i].type != who) in nfs4_acl_write_who()
844 p = xdr_reserve_space(xdr, s2t_map[i].stringlen + 4); in nfs4_acl_write_who()
847 p = xdr_encode_opaque(p, s2t_map[i].string, in nfs4_acl_write_who()
848 s2t_map[i].stringlen); in nfs4_acl_write_who()