Home
last modified time | relevance | path

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

/linux/include/uapi/linux/
H A Dnfs_idmap.h43 #define IDMAP_NAMESZ 128 macro
59 char im_name[IDMAP_NAMESZ];
/linux/fs/nfsd/
H A 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()
H A Dnfs4proc.c3201 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
3275 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
3279 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
/linux/fs/nfs/
H A Dnfs4idmap.c514 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
689 namelen_in = strnlen(im.im_name, IDMAP_NAMESZ); in idmap_pipe_downcall()
690 if (namelen_in == 0 || namelen_in == IDMAP_NAMESZ) { in idmap_pipe_downcall()
H A Dnfs4xdr.c108 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
109 #define nfs4_group_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
1090 char owner_name[IDMAP_NAMESZ]; in encode_attrs()
1091 char owner_group[IDMAP_NAMESZ]; in encode_attrs()
1115 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs()
1129 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs()