Home
last modified time | relevance | path

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

/linux-6.12.1/include/uapi/linux/
Dnfs_idmap.h43 #define IDMAP_NAMESZ 128 macro
59 char im_name[IDMAP_NAMESZ];
/linux-6.12.1/fs/nfsd/
Dnfs4idmap.c67 char name[IDMAP_NAMESZ];
68 char authname[IDMAP_NAMESZ];
225 if (len <= 0 || len >= IDMAP_NAMESZ) in idtoname_parse()
255 if (len < 0 || len >= IDMAP_NAMESZ) in idtoname_parse()
394 if (len <= 0 || len >= IDMAP_NAMESZ) in nametoid_parse()
406 if (len <= 0 || len >= IDMAP_NAMESZ) in nametoid_parse()
596 WARN_ON_ONCE(ret > IDMAP_NAMESZ); in idmap_id_to_name()
Dnfs4proc.c2838 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
2912 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
2916 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
/linux-6.12.1/fs/nfs/
Dnfs4idmap.c527 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
702 namelen_in = strnlen(im.im_name, IDMAP_NAMESZ); in idmap_pipe_downcall()
703 if (namelen_in == 0 || namelen_in == IDMAP_NAMESZ) { in idmap_pipe_downcall()
Dnfs4xdr.c87 #define decode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
109 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
110 #define nfs4_group_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
1087 char owner_name[IDMAP_NAMESZ]; in encode_attrs()
1088 char owner_group[IDMAP_NAMESZ]; in encode_attrs()
1112 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs()
1126 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs()