Lines Matching refs:flag
42 idmap_nfsv4_getuidbysid(const char *sid, int flag, uid_t *uid)
54 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
63 rc = idmap_get_w2u_mapping(sidprefix, &rid, NULL, NULL, flag,
66 if (rc == IDMAP_SUCCESS && (flag & IDMAP_REQ_FLG_USE_CACHE)) {
78 idmap_nfsv4_getgidbysid(const char *sid, int flag, gid_t *gid)
90 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
99 rc = idmap_get_w2u_mapping(sidprefix, &rid, NULL, NULL, flag,
102 if (rc == IDMAP_SUCCESS && (flag & IDMAP_REQ_FLG_USE_CACHE)) {
114 idmap_nfsv4_getwinnamebypid(uid_t pid, int is_user, int flag, char **name)
123 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
137 rc = idmap_get_u2w_mapping(&pid, NULL, flag, is_user, NULL,
160 if (flag & IDMAP_REQ_FLG_USE_CACHE) {
195 idmap_nfsv4_getwinnamebyuid(uid_t uid, int flag, char **name)
197 return (idmap_nfsv4_getwinnamebypid(uid, 1, flag, name));
205 idmap_nfsv4_getwinnamebygid(gid_t gid, int flag, char **name)
207 return (idmap_nfsv4_getwinnamebypid(gid, 0, flag, name));