Lines Matching defs:buflen
181 static int nfs_map_numeric_to_string(__u32 id, char *buf, size_t buflen)
183 return snprintf(buf, buflen, "%u", id);
351 size_t buflen, struct idmap *idmap)
358 ret = nfs_idmap_get_key(id_str, id_len, type, buf, buflen, idmap);
779 int nfs_map_uid_to_name(const struct nfs_server *server, kuid_t uid, char *buf, size_t buflen)
787 ret = nfs_idmap_lookup_name(id, "user", buf, buflen, idmap);
789 ret = nfs_map_numeric_to_string(id, buf, buflen);
793 int nfs_map_gid_to_group(const struct nfs_server *server, kgid_t gid, char *buf, size_t buflen)
801 ret = nfs_idmap_lookup_name(id, "group", buf, buflen, idmap);
803 ret = nfs_map_numeric_to_string(id, buf, buflen);