Home
last modified time | relevance | path

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

/linux-4.1.27/include/uapi/linux/
Dnfs_idmap.h43 #define IDMAP_NAMESZ 128 macro
59 char im_name[IDMAP_NAMESZ];
/linux-4.1.27/fs/nfsd/
Dnfs4idmap.c69 char name[IDMAP_NAMESZ];
70 char authname[IDMAP_NAMESZ];
219 if (len <= 0 || len >= IDMAP_NAMESZ) in idtoname_parse()
249 if (len < 0 || len >= IDMAP_NAMESZ) in idtoname_parse()
381 if (len <= 0 || len >= IDMAP_NAMESZ) in nametoid_parse()
393 if (len <= 0 || len >= IDMAP_NAMESZ) in nametoid_parse()
582 WARN_ON_ONCE(ret > IDMAP_NAMESZ); in idmap_id_to_name()
Didmap.h42 #define IDMAP_NAMESZ 128 macro
Dnfs4proc.c1764 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
1811 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
1815 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
/linux-4.1.27/fs/nfs/
Dnfs4idmap.c525 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
690 namelen_in = strnlen(im.im_name, IDMAP_NAMESZ); in idmap_pipe_downcall()
691 if (namelen_in == 0 || namelen_in == IDMAP_NAMESZ) { in idmap_pipe_downcall()
Dnfs4xdr.c82 #define decode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
103 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
104 #define nfs4_group_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
1004 char owner_name[IDMAP_NAMESZ]; in encode_attrs()
1005 char owner_group[IDMAP_NAMESZ]; in encode_attrs()
1030 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs()
1043 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs()