/titanic_41/usr/src/uts/common/idmap/ |
H A D | idmap_kapi.c | 72 uint32_t *rid; member 425 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, in kidmap_getuidbysid() argument 441 if (kidmap_cache_lookup_uidbysid(&zs->cache, sid_prefix, rid, uid) in kidmap_getuidbysid() 448 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getuidbysid() 471 new_sid_prefix, rid, *uid, in kidmap_getuidbysid() 502 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, in kidmap_getgidbysid() argument 518 if (kidmap_cache_lookup_gidbysid(&zs->cache, sid_prefix, rid, gid) in kidmap_getgidbysid() 525 mapping.id1.idmap_id_u.sid.rid = rid; in kidmap_getgidbysid() 548 new_sid_prefix, rid, *gid, in kidmap_getgidbysid() 579 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, in kidmap_getpidbysid() argument [all …]
|
H A D | kidmap_priv.h | 46 uint32_t rid; member 60 uint32_t rid; member 111 uint32_t rid, uid_t *uid); 115 uint32_t rid, gid_t *gid); 119 uint32_t rid, uid_t *pid, int *is_user); 123 uint32_t *rid, uid_t uid); 127 uint32_t *rid, gid_t gid); 132 uint32_t rid, uid_t uid, int direction); 136 uint32_t rid, gid_t gid, int direction); 140 uint32_t rid, uid_t pid, int is_user, int direction);
|
H A D | idmap_cache.c | 137 int64_t comp = ((int64_t)entry2->rid) - ((int64_t)entry1->rid); in kidmap_compare_sid() 321 uint32_t rid, uid_t *uid) in kidmap_cache_lookup_uidbysid() argument 330 entry.rid = rid; in kidmap_cache_lookup_uidbysid() 351 uint32_t rid, gid_t *gid) in kidmap_cache_lookup_gidbysid() argument 360 entry.rid = rid; in kidmap_cache_lookup_gidbysid() 381 uint32_t rid, uid_t *pid, int *is_user) in kidmap_cache_lookup_pidbysid() argument 390 entry.rid = rid; in kidmap_cache_lookup_pidbysid() 419 uint32_t *rid, uid_t uid) in kidmap_cache_lookup_sidbyuid() argument 436 *rid = result->rid; in kidmap_cache_lookup_sidbyuid() 449 uint32_t *rid, gid_t gid) in kidmap_cache_lookup_sidbygid() argument [all …]
|
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/sys/ |
H A D | kidmap.h | 84 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 88 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 92 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 97 uint32_t *rid); 101 uint32_t *rid); 121 const char *sid_prefix, uint32_t rid, 126 const char *sid_prefix, uint32_t rid, 131 const char *sid_prefix, uint32_t rid, 136 const char **sid_prefix, uint32_t *rid, idmap_stat *stat); 140 const char **sid_prefix, uint32_t *rid, idmap_stat *stat);
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | kidmap.h | 71 kidmap_getuidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 75 kidmap_getgidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 79 kidmap_getpidbysid(zone_t *zone, const char *sid_prefix, uint32_t rid, 84 uint32_t *rid); 88 uint32_t *rid); 108 const char *sid_prefix, uint32_t rid, 113 const char *sid_prefix, uint32_t rid, 118 const char *sid_prefix, uint32_t rid, 123 const char **sid_prefix, uint32_t *rid, idmap_stat *stat); 127 const char **sid_prefix, uint32_t *rid, idmap_stat *stat);
|
H A D | pcie.h | 701 rid :16; member 711 rid :16; member 720 rid :16; member 738 rid :16; member 747 rid :16; member 770 uint32_t rid :16, member 780 uint32_t rid :16, member 789 uint32_t rid :16, member 807 uint32_t rid :16, member 817 uint32_t rid :16, /* DW1 */ member
|
/titanic_41/usr/src/lib/libidmap/common/ |
H A D | idmap_cache.h | 51 idmap_cache_lookup_uidbysid(const char *sid_prefix, idmap_rid_t rid, 55 idmap_cache_lookup_gidbysid(const char *sid_prefix, idmap_rid_t rid, 59 idmap_cache_lookup_pidbysid(const char *sid_prefix, idmap_rid_t rid, 63 idmap_cache_lookup_sidbyuid(char **sid_prefix, idmap_rid_t *rid, 67 idmap_cache_lookup_sidbygid(char **sid_prefix, idmap_rid_t *rid, 85 idmap_cache_add_sid2uid(const char *sid_prefix, idmap_rid_t rid, uid_t uid, 89 idmap_cache_add_sid2gid(const char *sid_prefix, idmap_rid_t rid, gid_t gid, 93 idmap_cache_add_sid2pid(const char *sid_prefix, idmap_rid_t rid, uid_t pid,
|
H A D | idmap_cache.c | 95 idmap_rid_t rid; member 110 idmap_rid_t rid; member 198 int64_t comp = ((int64_t)entry2->rid) - ((int64_t)entry1->rid); in idmap_compare_sid() 478 idmap_rid_t rid, uid_t *uid) in idmap_cache_lookup_uidbysid() argument 487 entry.rid = rid; in idmap_cache_lookup_uidbysid() 509 idmap_rid_t rid, gid_t *gid) in idmap_cache_lookup_gidbysid() argument 518 entry.rid = rid; in idmap_cache_lookup_gidbysid() 541 idmap_rid_t rid, uid_t *pid, int *is_user) in idmap_cache_lookup_pidbysid() argument 550 entry.rid = rid; in idmap_cache_lookup_pidbysid() 578 idmap_rid_t *rid, uid_t uid) in idmap_cache_lookup_sidbyuid() argument [all …]
|
H A D | idmap_api.c | 758 idmap_rid_t *rid, uid_t *pid, char **winname, in idmap_iter_next_mapping() argument 769 if (rid) in idmap_iter_next_mapping() 770 *rid = UINT32_MAX; in idmap_iter_next_mapping() 835 if (rid) in idmap_iter_next_mapping() 836 *rid = mappings->mappings.mappings_val[iter->next].id1. in idmap_iter_next_mapping() 837 idmap_id_u.sid.rid; in idmap_iter_next_mapping() 966 idmap_get_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, in idmap_get_uidbysid() argument 969 return (idmap_getext_uidbysid(gh, sidprefix, rid, flag, uid, in idmap_get_uidbysid() 990 idmap_getext_uidbysid(idmap_get_handle_t *gh, char *sidprefix, idmap_rid_t rid, in idmap_getext_uidbysid() argument 1004 retcode = idmap_cache_lookup_uidbysid(sidprefix, rid, uid); in idmap_getext_uidbysid() [all …]
|
/titanic_41/usr/src/common/smbsrv/ |
H A D | smb_sid.c | 104 smb_sid_splice(smb_sid_t *domain_sid, uint32_t rid) in smb_sid_splice() argument 113 if ((sid = smb_sid_alloc(size + sizeof (rid))) == NULL) in smb_sid_splice() 118 sid->sid_subauth[domain_sid->sid_subauthcnt] = rid; in smb_sid_splice() 132 smb_sid_getrid(smb_sid_t *sid, uint32_t *rid) in smb_sid_getrid() argument 134 if (!smb_sid_isvalid(sid) || (rid == NULL) || in smb_sid_getrid() 138 *rid = sid->sid_subauth[sid->sid_subauthcnt - 1]; in smb_sid_getrid() 151 smb_sid_split(smb_sid_t *sid, uint32_t *rid) in smb_sid_split() argument 167 if (rid) in smb_sid_split() 168 *rid = domsid->sid_subauth[domsid->sid_subauthcnt]; in smb_sid_split() 183 smb_sid_splitstr(char *strsid, uint32_t *rid) in smb_sid_splitstr() argument [all …]
|
/titanic_41/usr/src/cmd/print/bsd-sysv-commands/ |
H A D | cancel.c | 55 int32_t rid = -1; in get_job_id_requested() local 59 "job-id-requested", &rid); in get_job_id_requested() 61 return (rid); in get_job_id_requested() 114 int32_t rid = -1; in main() local 173 rid = job_to_be_queried(svc, printer, id); in main() 174 if (rid < 0) { in main() 184 status = papiJobCancel(svc, printer, rid); in main() 232 rid = get_job_id_requested(*jobs); in main() 233 if (rid >= 0) in main() 235 printer, rid, mesg); in main()
|
H A D | common.c | 264 int rid = -1; in cancel_job() local 272 "job-id-requested", &rid); in cancel_job() 278 (match_job(rid, user, ac, av) < 0)) in cancel_job() 285 if (rid != -1) { in cancel_job() 286 if (match_job_rid(rid, ac, av) == -1) in cancel_job() 295 if (rid != -1) in cancel_job() 296 fprintf(fp, "%s-%d: %s\n", printer, rid, mesg); in cancel_job() 640 int32_t rid = -1; in job_to_be_queried() local 646 "job-id-requested", &rid); in job_to_be_queried() 653 if (rid == id) { in job_to_be_queried() [all …]
|
/titanic_41/usr/src/lib/pyzfs/common/ |
H A D | userspace.py | 62 def new_entry(options, isgroup, domain, rid): argument 66 idstr = "%s-%u" % (domain, rid) 68 idstr = "%u" % rid 84 if not options.noname and rid < 1<<31: 95 v["name.sort"] = "%20d" % rid 107 (domain, rid, value) = elem 112 rid = solaris.misc.sid_to_id("%s-%u" % (domain, rid), 117 key = (isgroup, domain, rid) 122 v = new_entry(options, isgroup, domain, rid)
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | adutils.c | 85 rid_t *rid; /* RID */ member 258 rid_t rid, in idmap_setqresults() argument 302 if (q->rid) in idmap_setqresults() 303 *q->rid = rid; in idmap_setqresults() 395 rid_t rid = 0; in idmap_extract_object() local 488 sid = adutils_bv_objsid2sidstr(bvalues[0], &rid); in idmap_extract_object() 495 sid, rid, sid_type, in idmap_extract_object() 592 char **sid, rid_t *rid, idmap_id_type *sid_type, char **unixname, in idmap_batch_add1() argument 618 q->rid = rid; in idmap_batch_add1() 670 if (rid != NULL) in idmap_batch_add1() [all …]
|
H A D | directory_provider_nsswitch.c | 48 unsigned int rid); 117 uint32_t rid = in directory_provider_nsswitch_get() local 122 if (rid < LOCALRID_UID_MIN) { in directory_provider_nsswitch_get() 127 if (rid <= LOCALRID_UID_MAX) { in directory_provider_nsswitch_get() 130 pwd = getpwuid(rid - LOCALRID_UID_MIN); in directory_provider_nsswitch_get() 144 } else if (rid >= LOCALRID_GID_MIN && in directory_provider_nsswitch_get() 145 rid <= LOCALRID_GID_MAX) { in directory_provider_nsswitch_get() 148 grp = getgrgid(rid - LOCALRID_GID_MIN); in directory_provider_nsswitch_get() 441 machine_sid_dav(directory_values_rpc *lvals, unsigned int rid) in machine_sid_dav() argument 450 _idmapdstate.cfg->pgcfg.machine_sid, rid); in machine_sid_dav()
|
H A D | wksids.c | 288 find_wksid_by_sid(const char *sid, int rid, idmap_id_type type) in find_wksid_by_sid() argument 325 if (wksids[i].rid != rid) in find_wksid_by_sid() 387 unsigned long rid; in find_wk_by_sid() local 405 rid = strtoul(sid + len + 1, &p, 10); in find_wk_by_sid() 409 if (rid != wksids[i].rid) in find_wk_by_sid()
|
H A D | adutils.h | 112 char **sid, rid_t *rid, idmap_id_type *sid_type, 130 const char *sid, const rid_t *rid, idmap_id_type esidtype, 140 char **dn, char **attr, char **value, char **sid, rid_t *rid, 149 char **dn, char **attr, char **value, char **sid, rid_t *rid,
|
H A D | dbutils.c | 1235 req->id1.idmap_id_u.sid.rid, res->id.idtype); in lookup_wksids_sid2pid() 1265 req->id1.idmap_id_u.sid.rid = wksid->rid; in lookup_wksids_sid2pid() 1351 res->id.idmap_id_u.sid.rid = wksid->rid; in lookup_wksids_pid2sid() 1422 idmap_rid_t *rid, in lookup_wksids_name2sid() argument 1451 if (rid != NULL) in lookup_wksids_name2sid() 1452 *rid = wksid->rid; in lookup_wksids_name2sid() 1551 req->id1.idmap_id_u.sid.rid, curtime); in lookup_cache_sid2pid() 1741 lookup_cache_sid2name(sqlite *cache, const char *sidprefix, idmap_rid_t rid, in lookup_cache_sid2name() argument 1767 sidprefix, rid, curtime); in lookup_cache_sid2name() 1825 idmap_rid_t rid; in lookup_name_cache() local [all …]
|
/titanic_41/usr/src/uts/common/fs/zfs/ |
H A D | zfs_fuid.c | 427 zfs_fuid_node_add(zfs_fuid_info_t **fuidpp, const char *domain, uint32_t rid, in zfs_fuid_node_add() argument 473 fuid->z_logfuid = FUID_ENCODE(fuididx, rid); in zfs_fuid_node_add() 479 fuidp->z_fuid_owner = FUID_ENCODE(fuididx, rid); in zfs_fuid_node_add() 481 fuidp->z_fuid_group = FUID_ENCODE(fuididx, rid); in zfs_fuid_node_add() 499 uint32_t rid; in zfs_fuid_create_cred() local 528 rid = ksid_getrid(ksid); in zfs_fuid_create_cred() 533 zfs_fuid_node_add(fuidp, kdomain, rid, idx, id, type); in zfs_fuid_create_cred() 535 return (FUID_ENCODE(idx, rid)); in zfs_fuid_create_cred() 557 uint32_t rid; in zfs_fuid_create() local 593 rid = FUID_RID(zfuid->z_logfuid); in zfs_fuid_create() [all …]
|
/titanic_41/usr/src/uts/sfmmu/vm/ |
H A D | hat_sfmmu.c | 90 #define SFMMU_VALIDATE_HMERID(hat, rid, saddr, len) \ argument 91 if (SFMMU_IS_SHMERID_VALID(rid)) { \ 95 ASSERT((rid) < SFMMU_MAX_HME_REGIONS); \ 96 ASSERT(SF_RGNMAP_TEST(hat->sfmmu_hmeregion_map, rid)); \ 101 _rgnp = _srdp->srd_hmergnp[(rid)]; \ 102 ASSERT(_rgnp != NULL && _rgnp->rgn_id == rid); \ 113 #define SFMMU_VALIDATE_SHAREDHBLK(hmeblkp, srdp, rgnp, rid) \ argument 122 ASSERT((rid) < SFMMU_MAX_HME_REGIONS); \ 123 ASSERT((rgnp)->rgn_id == rid); \ 145 #define SFMMU_VALIDATE_HMERID(hat, rid, addr, len) argument [all …]
|
/titanic_41/usr/src/lib/libast/common/comp/ |
H A D | spawnveg.c | 161 pid_t rid; 228 rid = pid; 233 rid = pid = -1; 243 rid = pid = -1; 261 return rid;
|
/titanic_41/usr/src/lib/libsqlite/test/ |
H A D | lastinsert.test | 271 create temp table rid (k integer primary key, rin, rout); 272 insert into rid values (1, NULL, NULL); 273 insert into rid values (2, NULL, NULL); 275 update rid set rin=last_insert_rowid() where k=1; 278 update rid set rout=last_insert_rowid() where k=1; 281 update rid set rin=last_insert_rowid() where k=2; 283 update rid set rout=last_insert_rowid() where k=2; 299 select rin from rid where k=1; 305 select rout from rid where k=1; 311 select rin from rid where k=2; [all …]
|
/titanic_41/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samr_svc.c | 156 DWORD rid) in samr_hdalloc() argument 167 data->kd_rid = rid; in samr_hdalloc() 582 param->rids.rid = NDR_NEW(mxa, DWORD); in samr_s_LookupNames() 593 ¶m->rids.rid[0]); in samr_s_LookupNames() 606 param->rids.rid[0] = account.a_rid; in samr_s_LookupNames() 651 id = samr_hdalloc(mxa, SAMR_KEY_USER, data->kd_type, param->rid); in samr_s_OpenUser() 838 group->rid = grp.sg_rid; in samr_s_QueryUserGroups() 885 id = samr_hdalloc(mxa, SAMR_KEY_GROUP, data->kd_type, param->rid); in samr_s_OpenGroup() 1268 user->rid = uinfo->su_rid; in samr_s_QueryDispInfo() 1368 param->groups->acct[0].rid = 513; in samr_s_EnumDomainGroups() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_print.c | 1912 mdb_ctf_id_t rid; in parse_member() local 1925 if (mdb_ctf_type_resolve(id, &rid) != 0) { in parse_member() 1936 delim = (mdb_ctf_type_kind(rid) == CTF_K_POINTER) ? in parse_member() 1944 kind = mdb_ctf_type_kind(rid); in parse_member() 1955 (void) mdb_ctf_type_reference(rid, &id); in parse_member() 1956 (void) mdb_ctf_type_resolve(id, &rid); in parse_member() 1962 kind = mdb_ctf_type_kind(rid); in parse_member() 1982 switch (mdb_ctf_type_kind(rid)) { in parse_member() 1984 size = mdb_ctf_type_size(rid); in parse_member() 1989 (void) mdb_ctf_type_reference(rid, &id); in parse_member() [all …]
|
/titanic_41/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_sam.c | 215 uint32_t rid; in smb_sam_lookup_sid() local 266 (void) smb_sid_getrid(sid, &rid); in smb_sam_lookup_sid() 267 rc = smb_lgrp_getbyrid(rid, SMB_DOMAIN_LOCAL, &grp); in smb_sam_lookup_sid() 561 uint32_t rid; in smb_lwka_lookup_sid() local 564 (void) smb_sid_getrid(sid, &rid); in smb_lwka_lookup_sid() 565 if (rid > 999) in smb_lwka_lookup_sid() 569 if (rid == lwka_tbl[i].lwka_rid) in smb_lwka_lookup_sid()
|