Lines Matching defs:ug
489 struct unix_gid *ug = container_of(item, struct unix_gid, h);
492 put_group_info(ug->gi);
493 kfree(ug);
530 struct unix_gid *ug = container_of(h, struct unix_gid, h);
532 snprintf(tuid, 20, "%u", ug->uid);
555 struct unix_gid ug, *ugp;
564 ug.uid = uid;
574 ug.gi = groups_alloc(gids);
575 if (!ug.gi)
584 GROUP_AT(ug.gi, i) = gid;
590 ug.h.flags = 0;
591 ug.h.expiry_time = expiry;
593 &ug.h, &ugp->h,
604 if (ug.gi)
605 put_group_info(ug.gi);
613 struct unix_gid *ug;
621 ug = container_of(h, struct unix_gid, h);
624 glen = ug->gi->ngroups;
628 seq_printf(m, "%u %d:", ug->uid, glen);
630 seq_printf(m, " %d", GROUP_AT(ug->gi, i));
652 struct unix_gid ug;
655 ug.uid = uid;
656 ch = sunrpc_cache_lookup(&unix_gid_cache, &ug.h,
666 struct unix_gid *ug;
670 ug = unix_gid_lookup(uid);
671 if (!ug)
673 ret = cache_check(&unix_gid_cache, &ug->h, &rqstp->rq_chandle);
678 gi = get_group_info(ug->gi);
679 cache_put(&ug->h, &unix_gid_cache);