Lines Matching defs:uid
27 * There are well defined policies for mapping uid and gid values to and
35 * started, the policy is to _always_ work with stringified uid's
99 * a) If the otw string is a stringified uid (ie. does _not_ contain
100 * an '@' sign and is of the form "12345") then the literal uid is
298 * Convert a user utf-8 string identifier into its local uid.
301 nfs_idmap_str_uid(utf8string *u8s, uid_t *uid, bool_t isserver)
319 *uid = UID_NOBODY;
327 *uid = UID_NOBODY;
350 error = nfs_idmap_s2i_literal(u8s, uid, isserver);
362 if (nfs_idmap_cache_s2i_lkup(&nig->s2u_ci, u8s, &hashno, uid)) {
393 *uid = resp->u_res.uid;
394 nfs_idmap_cache_s2i_insert(&nig->s2u_ci, *uid,
407 *uid = resp->u_res.uid;
434 *uid = UID_NOBODY;
495 * _know_ this _can't_ be a stringified uid.
504 *uid = UID_NOBODY;
511 * Convert a uid into its utf-8 string representation.
514 nfs_idmap_uid_str(uid_t uid, utf8string *u8s, bool_t isserver)
531 * If the supplied uid is "nobody", then we don't look at the
533 * tell two strings apart from caching the same uid.
535 if (uid == UID_NOBODY) {
544 * We fall back to answering with stringified uid's.
556 nfs_idmap_i2s_literal(uid, u8s);
561 if (nfs_idmap_cache_i2s_lkup(&nig->u2s_ci, uid, &hashno, u8s)) {
568 maparg.u_arg.uid = uid;
592 nfs_idmap_cache_i2s_insert(&nig->u2s_ci, uid,
670 nfs_idmap_i2s_literal(uid, u8s);
1131 * the dnlc as it will have cached uid/gid's.
1137 * Invalidate the attrs of all rnodes to force new uid and gids