Home
last modified time | relevance | path

Searched refs:IDMAP_NAMESZ (Results 1 - 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/include/uapi/linux/
H A Dnfs_idmap.h43 #define IDMAP_NAMESZ 128 macro
59 char im_name[IDMAP_NAMESZ];
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dnfs_idmap.h43 #define IDMAP_NAMESZ 128 macro
59 char im_name[IDMAP_NAMESZ];
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dnfs_idmap.h22 #define IDMAP_NAMESZ 128 macro
34 char im_name[IDMAP_NAMESZ];
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dnfs_idmap.h9 #define IDMAP_NAMESZ 128 macro
21 char im_name[IDMAP_NAMESZ];
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dnfs_idmap.h22 #define IDMAP_NAMESZ 128 macro
34 char im_name[IDMAP_NAMESZ];
/kernel/linux/linux-5.10/fs/nfsd/
H A Dnfs4idmap.c58 * XXX we know that IDMAP_NAMESZ < PAGE_SIZE, but it's ugly to rely on
66 char name[IDMAP_NAMESZ];
67 char authname[IDMAP_NAMESZ];
224 if (len <= 0 || len >= IDMAP_NAMESZ) in idtoname_parse()
254 if (len < 0 || len >= IDMAP_NAMESZ) in idtoname_parse()
393 if (len <= 0 || len >= IDMAP_NAMESZ) in nametoid_parse()
405 if (len <= 0 || len >= IDMAP_NAMESZ) in nametoid_parse()
594 WARN_ON_ONCE(ret > IDMAP_NAMESZ); in idmap_id_to_name()
H A Dnfs4proc.c2472 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
2525 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
2529 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
/kernel/linux/linux-6.6/fs/nfsd/
H A Dnfs4idmap.c59 * XXX we know that IDMAP_NAMESZ < PAGE_SIZE, but it's ugly to rely on
67 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()
595 WARN_ON_ONCE(ret > IDMAP_NAMESZ); in idmap_id_to_name()
H A Dnfs4proc.c2781 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
2855 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
2859 ret += IDMAP_NAMESZ + 4; in nfsd4_getattr_rsize()
/kernel/linux/linux-5.10/fs/nfs/
H A 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()
H A Dnfs4xdr.c89 #define decode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
111 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
112 #define nfs4_group_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
1075 char owner_name[IDMAP_NAMESZ]; in encode_attrs()
1076 char owner_group[IDMAP_NAMESZ]; in encode_attrs()
1100 owner_namelen = nfs_map_uid_to_name(server, iap->ia_uid, owner_name, IDMAP_NAMESZ); in encode_attrs()
1114 owner_grouplen = nfs_map_gid_to_group(server, iap->ia_gid, owner_group, IDMAP_NAMESZ); in encode_attrs()
/kernel/linux/linux-6.6/fs/nfs/
H A 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()
H A Dnfs4xdr.c90 #define decode_lockowner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
112 #define nfs4_owner_maxsz (1 + XDR_QUADLEN(IDMAP_NAMESZ))
113 #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()

Completed in 33 milliseconds