Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dnfs_idmap.h43 #define IDMAP_NAMESZ 128 macro
59 char im_name[IDMAP_NAMESZ];
/linux-3.4.99/fs/nfsd/
Didmap.h42 #define IDMAP_NAMESZ 128 macro
Dnfs4idmap.c67 char name[IDMAP_NAMESZ];
68 char authname[IDMAP_NAMESZ];
258 else if (len >= IDMAP_NAMESZ) in idtoname_parse()
412 if (error <= 0 || error >= IDMAP_NAMESZ) in nametoid_parse()
566 BUG_ON(ret > IDMAP_NAMESZ); in idmap_id_to_name()
Dnfs4proc.c1317 #define op_encode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
1320 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
Dnfs4xdr.c1941 if (*buflen < (XDR_QUADLEN(IDMAP_NAMESZ) << 2) + 4) in nfsd4_encode_name()
/linux-3.4.99/fs/nfs/
Didmap.c633 ret = match_strlcpy(im->im_name, &substr, IDMAP_NAMESZ); in nfs_idmap_prepare_message()
754 namelen_in = strnlen(im.im_name, IDMAP_NAMESZ); in idmap_pipe_downcall()
755 if (namelen_in == 0 || namelen_in == IDMAP_NAMESZ) { in idmap_pipe_downcall()
Dnfs4xdr.c79 #define decode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
100 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
101 #define nfs4_group_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
973 char owner_name[IDMAP_NAMESZ]; in encode_attrs()
974 char owner_group[IDMAP_NAMESZ]; in encode_attrs()
998 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs()
1010 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs()