Lines Matching defs:pid
69 uid_t *pid;
572 * pid - POSIX ID if return == IDMAP_SUCCESS
580 uid_t *pid, int *is_user)
590 if (sid_prefix == NULL || pid == NULL || is_user == NULL)
595 if (kidmap_cache_lookup_pidbysid(&zs->cache, sid_prefix, rid, pid,
617 *pid = UID_NOBODY;
624 *pid = results.ids.ids_val[0].id.idmap_id_u.uid;
627 *pid = results.ids.ids_val[0].id.idmap_id_u.gid;
633 new_sid_prefix, rid, *pid,
640 *pid = UID_NOBODY;
647 *pid = UID_NOBODY;
931 result->pid = NULL;
992 result->pid = NULL;
1014 * pid - POSIX UID if stat == IDMAP_SUCCESS and is_user == 1
1023 uint32_t rid, uid_t *pid, int *is_user, idmap_stat *stat)
1028 if (get_handle == NULL || sid_prefix == NULL || pid == NULL ||
1033 rid, pid, is_user) == IDMAP_SUCCESS) {
1055 result->pid = pid;
1110 result->pid = NULL;
1165 result->pid = NULL;
1239 if (result->pid)
1240 *result->pid = UID_NOBODY;
1259 if (result->pid)
1260 *result->pid = id->idmap_id_u.uid;
1271 else if (*result->stat == IDMAP_SUCCESS && result->pid)
1282 if (result->pid)
1283 *result->pid = id->idmap_id_u.gid;
1294 else if (*result->stat == IDMAP_SUCCESS && result->pid)
1333 if (result->pid)
1334 *result->pid = UID_NOBODY;
1359 if (result->pid)
1360 *result->pid = UID_NOBODY;