Lines Matching defs:id
99 id_t id;
1354 int (*lookup_fn)(struct cpio *, const char **, id_t), id_t id)
1372 slot = id % cache->size;
1374 if (cache->cache[slot].id == id) {
1382 if (lookup_fn(cpio, &name, id)) {
1384 snprintf(asnum, sizeof(asnum), "%u", (unsigned)id);
1390 cache->cache[slot].id = id;
1410 lookup_uname_helper(struct cpio *cpio, const char **name, id_t id)
1417 pwent = getpwuid((uid_t)id);
1421 cpio_i64toa((int64_t)id));
1437 lookup_gname_helper(struct cpio *cpio, const char **name, id_t id)
1444 grent = getgrgid((gid_t)id);
1448 cpio_i64toa((int64_t)id));