/illumos-gate/usr/src/uts/common/os/ |
H A D | logsubr.c | 462 if (tid->ti_sid != lc->sid && tid->ti_sid >= 0) 493 log_makemsg(int mid, int sid, int level, int sl, int pri, void *msg, argument 521 lc->sid = sid;
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | immu_qinv.c | 100 #define CC_INV_DSC_LOW(fm, sid, did, g) (((uint64_t)(fm) << 48) | \ 101 ((uint64_t)(sid) << 32) | \ 118 #define DEV_IOTLB_INV_DSC_LOW(sid, max_invs_pd) ( \ 119 ((uint64_t)(sid) << 32) | \ 171 static void qinv_dev_iotlb_common(immu_t *immu, uint16_t sid, 279 qinv_dev_iotlb_common(immu_t *immu, uint16_t sid, argument 284 dsc.lo = DEV_IOTLB_INV_DSC_LOW(sid, max_invs_pd);
|
H A D | immu_regs.c | 669 uint16_t sid, uint_t did, immu_context_inv_t type) 681 | CCMD_INV_SID(sid) | CCMD_INV_FM(function_mask); 668 context_flush(immu_t *immu, uint8_t function_mask, uint16_t sid, uint_t did, immu_context_inv_t type) argument
|
H A D | immu_intrmap.c | 67 SVT_ALL_VERIFY, /* using sid and sq to verify */ 442 uint16_t sid; local 451 sid = immu_dmar_ioapic_sid(ioapic_index); 463 sid = (immu_devi->imd_bus << 8) | immu_devi->imd_sec; 468 sid = (immu_devi->imd_bus << 8) | 475 return (sid | (svt << 18) | (sq << 16)); 538 uint16_t sid; local 552 /* get the fault reason, fault type and sid */ 555 sid = IMMU_FRR_GET_SID(val); 574 (sid >> [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/npi/ |
H A D | npi_vir.c | 1395 * sid - NPI defined data to set 1403 npi_fzc_sid_set(npi_handle_t handle, fzc_sid_t sid) argument 1407 ASSERT(LDG_VALID(sid.ldg)); 1408 if (!LDG_VALID(sid.ldg)) { 1412 sid.ldg)); 1413 return (NPI_FAILURE | NPI_VIR_LDG_INVALID(sid.ldg)); 1415 if (!sid.niu) { 1416 ASSERT(FUNC_VALID(sid.func)); 1417 if (!FUNC_VALID(sid.func)) { 1421 sid [all...] |
/illumos-gate/usr/src/uts/common/io/nxge/ |
H A D | nxge_fzc.c | 225 fzc_sid_t sid; local 240 sid.ldg = ldgp->ldg; 241 sid.niu = B_FALSE; 242 sid.func = ldgp->func; 243 sid.vector = ldgp->vector; 247 i, sid.func, sid.ldg, sid.vector)); 248 rs = npi_fzc_sid_set(handle, sid);
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | mach_cpu_module.c | 128 cpu_get_mem_addr(char *unum, char *sid, uint64_t offset, argument
|
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
H A D | emlxs_els.c | 390 "%s: sid=%x. Port not bound: Rejecting.", 444 "%s: sid=%x. Dropping.", 455 "%s: sid=%x. Dropping.", 467 "%s: sid=%x. Dropping.", 501 "%s: sid=%x. Rejecting.", 542 "Clean Address delay: sid=%x prev=%x RATOV %d", 669 "FLOGI: did=%x sid=%x prev=%x %s", 725 "FLOGI: did=%x sid=%x %s", did, port->did, buffer); 797 "FDISC: did=%x sid=%x %s", did, port->did, buffer); 831 uint32_t sid; local 1096 uint32_t sid; local 1171 uint32_t sid; local 1245 uint32_t sid; local 1320 uint32_t sid; local 1461 uint32_t sid; local 1551 uint32_t sid; local 1686 uint32_t sid; local 1735 uint32_t sid; local 1767 uint32_t sid; local 1906 uint32_t sid; local 2067 uint32_t sid; local 2130 uint32_t sid; local 2205 uint32_t sid; local 2356 uint32_t sid; local [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_acl.c | 28 #include <sys/sid.h> 442 smb_ace_wellknown_update(const char *sid, ace_t *zace) argument 445 char *sid; member in struct:__anon58 457 if (strcmp(sid, map[i].sid) == 0) {
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_domain.c | 220 smb_domain_lookup_sid(smb_sid_t *sid, smb_domain_t *di) argument 228 if (sid == NULL) 231 smb_sid_tostr(sid, sidstr); 466 smb_domain_set_basic_info(char *sid, char *nb_domain, char *fq_domain, argument 469 if (sid == NULL || nb_domain == NULL || fq_domain == NULL || 473 (void) strlcpy(di->di_sid, sid, SMB_SID_STRSZ); 481 smb_domain_set_dns_info(char *sid, char *nb_domain, char *fq_domain, argument 487 smb_domain_set_basic_info(sid, nb_domain, fq_domain, di); 494 smb_domain_set_trust_info(char *sid, char *nb_domain, char *fq_domain, argument 505 smb_domain_set_basic_info(sid, nb_domai [all...] |
/illumos-gate/usr/src/cmd/smbsrv/smbd/ |
H A D | smbd_doorsvc.c | 549 uint32_t sid = 0; local 552 xdr_uint32_t, &sid) != 0) 555 smbd_user_nonauth_logon(sid); 562 uint32_t sid = 0; local 565 xdr_uint32_t, &sid) != 0) 568 smbd_user_auth_logoff(sid); 635 smb_sid_t *sid; local 643 sid = smb_sid_fromstr(acct.a_sid); 644 acct.a_status = lsa_lookup_sid(sid, &ainfo); 645 smb_sid_free(sid); [all...] |
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/ |
H A D | new_host.c | 249 SC_GetTokenInfo(CK_SLOT_ID sid, CK_TOKEN_INFO_PTR pInfo) argument 260 if (sid != TPM_SLOTID) 275 CK_SLOT_ID sid, 292 if (sid != TPM_SLOTID) { 327 CK_SLOT_ID sid, 344 if (sid != TPM_SLOTID) { 372 CK_SLOT_ID sid, 386 if (sid != TPM_SLOTID) { 548 CK_SLOT_ID sid, 566 if (sid ! 274 SC_GetMechanismList( CK_SLOT_ID sid, CK_MECHANISM_TYPE_PTR pMechList, CK_ULONG_PTR count) argument 326 SC_GetMechanismInfo( CK_SLOT_ID sid, CK_MECHANISM_TYPE type, CK_MECHANISM_INFO_PTR pInfo) argument 371 SC_InitToken( CK_SLOT_ID sid, CK_CHAR_PTR pPin, CK_ULONG ulPinLen, CK_CHAR_PTR pLabel) argument 547 SC_OpenSession( CK_SLOT_ID sid, CK_FLAGS flags, CK_SESSION_HANDLE_PTR phSession) argument 630 SC_CloseAllSessions(CK_SLOT_ID sid) argument [all...] |
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | au_to.c | 432 pid_t pid, au_asid_t sid, au_tid_t *tid) 457 adr_int32(&adr, (int32_t *)&sid, 1); 475 pid_t pid, au_asid_t sid, au_tid_addr_t *tid) 510 adr_int32(&adr, (int32_t *)&sid, 1); 584 pid_t pid, au_asid_t sid, au_tid_t *tid) 609 adr_int32(&adr, (int32_t *)&sid, 1); 628 pid_t pid, au_asid_t sid, au_tid_addr_t *tid) 666 adr_int32(&adr, (int32_t *)&sid, 1); 431 au_to_process(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid) argument 474 au_to_process_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid) argument 583 au_to_subject(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_t *tid) argument 627 au_to_subject_ex(au_id_t auid, uid_t euid, gid_t egid, uid_t ruid, gid_t rgid, pid_t pid, au_asid_t sid, au_tid_addr_t *tid) argument
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 87 ifree_sid(i_ntsid_t *sid) argument 91 if (sid == NULL) 94 sz = I_SID_SIZE(sid->sid_subauthcount); 95 FREESZ(sid, sz); 101 i_ntsid_t *sid = NULL; local 114 if ((sid = MALLOC(sidsz)) == NULL) 117 bzero(sid, sidsz); 118 sid->sid_revision = revision; 119 sid->sid_subauthcount = subauthcount; 120 ERRCHK(md_get_mem(mdp, sid 138 mb_put_sid(mbchain_t *mbp, i_ntsid_t *sid) argument 654 smbfs_sid2str(i_ntsid_t *sid, char *obuf, size_t osz, uint32_t *ridp) argument 759 mkrq_idmap_sid2ux( idmap_get_handle_t *idmap_gh, struct mapinfo2uid *mip, i_ntsid_t *sid, int req_type) argument 1163 i_ntsid_t *sid = NULL; local 1351 i_ntsid_t *sid = NULL; local [all...] |
/illumos-gate/usr/src/cmd/fm/fmd/common/ |
H A D | fmd_ckpt.c | 856 fmd_ckpt_secptr(fmd_ckpt_t *ckp, fcf_secidx_t sid, uint_t type) argument 859 ckp->ckp_hdr->fcfh_secoff + ckp->ckp_hdr->fcfh_secsize * sid); 861 return (sid < ckp->ckp_secs && (sp->fcfs_type == type || 890 fmd_ckpt_strptr(fmd_ckpt_t *ckp, fcf_stridx_t sid, const char *defstr) argument 892 return (sid < ckp->ckp_strn ? ckp->ckp_strs + sid : defstr); 896 fmd_ckpt_restore_events(fmd_ckpt_t *ckp, fcf_secidx_t sid, argument 907 if ((sp = fmd_ckpt_secptr(ckp, sid, FCF_SECT_EVENTS)) == NULL) { 909 "invalid link to section %u: expected events\n", sid); 955 fmd_ckpt_restore_suspects(fmd_ckpt_t *ckp, fmd_case_t *cp, fcf_secidx_t sid) argument 996 fmd_ckpt_restore_bufs(fmd_ckpt_t *ckp, fmd_module_t *mp, fmd_case_t *cp, fcf_secidx_t sid) argument [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | ts.c | 1238 pid_t pid, pgid, sid; local 1271 sid = p->p_sessp->s_sid; 1287 if ((pid == sid) && (p->p_sessp->s_vp != NULL) && 1304 ia_set_process_group(sid, off, on); 2190 ia_set_process_group(pid_t sid, pid_t bg_pgid, pid_t fg_pgid) argument 2206 if ((leader = (proc_t *)prfind(sid)) == NULL) {
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_client_state.c | 448 * This returns the delegation stateid as 'sid'. Returns 1 if a successful 453 nfs4_get_deleg_stateid(rnode4_t *rp, nfs_opnum4 op, stateid4 *sid) argument 462 *sid = rp->r_deleg_stateid; 471 * This returns the lock stateid as 'sid'. Returns 1 if a successful lock 475 nfs4_get_lock_stateid(rnode4_t *rp, pid_t pid, stateid4 *sid) argument 487 *sid = lop->lock_stateid; 499 * This returns the open stateid as 'sid'. Returns 1 if a successful open 507 nfs4_get_open_stateid(rnode4_t *rp, cred_t *cr, mntinfo4_t *mi, stateid4 *sid) argument 537 *sid = osp->open_stateid; 557 stateid4 sid; local 601 stateid4 sid; local [all...] |
/illumos-gate/usr/src/uts/common/crypto/core/ |
H A D | kcf_sched.c | 112 crypto_session_id_t sid) 134 ctx->cc_session = sid; 111 kcf_new_ctx(crypto_call_req_t *crq, kcf_provider_desc_t *pd, crypto_session_id_t sid) argument
|
/illumos-gate/usr/src/uts/common/inet/ |
H A D | mi.c | 974 short sid; local 976 sid = 0; 1002 ret = strlog(mid, sid, level, flags, alloc_buf);
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_output.c | 136 uint16_t sid = sctp->sctp_def_stream; local 206 sid = sndrcv->sinfo_stream; 255 sctp_msg_hdr->smh_sid = sid; 268 sid >= sctp->sctp_num_ostr) { 1335 * entry for stream id, sid, for this message already exists, the 1337 * one. If an entry for this sid does not exist, one is created if 1347 uint16_t sid = htons(msg_hdr->smh_sid); local 1359 (*s)->ftsn_entries.ftsn_sid = sid; 1367 if (p->ftsn_entries.ftsn_sid == sid) { 1374 if (p->ftsn_entries.ftsn_sid == sid) { [all...] |
/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 408 /* the control sid is not linked into the snapshot list */ 1900 struct snapshot_id *sid = snapshot_id; local 1901 struct cow_info *cowp = sid->sid_cowinfo; 1920 struct snapshot_id *sid = snapshot_id; local 1921 struct cow_info *cowp = sid->sid_cowinfo; 1947 /* sid rwlock and cmap rwlock should be taken from fssnap_create */ 2148 * closed. The sid will not be reused until the device is not busy.
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_utils.c | 998 ib_svc_id_t sid; local 1000 sid = (ib_svc_id_t)(uintptr_t)vmem_alloc(ibcm_local_sid_arena, 1004 "num_sids %d", sid, num_sids); 1005 if (sid == 0) { 1011 sid += ibcm_local_sid_seed; 1013 "allocated 0x%llX:%d", sid, num_sids); 1015 return (sid); 1045 ib_svc_id_t sid; local 1047 sid = (ib_svc_id_t)(uintptr_t)vmem_alloc(ibcm_ip_sid_arena, 1, 1049 if (sid 1065 ibcm_free_ip_sid(ib_svc_id_t sid) argument 1233 ibcm_create_svc_entry(ib_svc_id_t sid, int num_sids) argument 1280 ibcm_find_svc_entry(ib_svc_id_t sid) argument [all...] |
/illumos-gate/usr/src/uts/common/io/tpm/ |
H A D | tpm.c | 2132 tpmrng_seed_random(crypto_provider_handle_t provider, crypto_session_id_t sid, argument 2199 crypto_session_id_t sid, uchar_t *buf, size_t len, crypto_req_handle_t req) 2198 tpmrng_generate_random(crypto_provider_handle_t provider, crypto_session_id_t sid, uchar_t *buf, size_t len, crypto_req_handle_t req) argument
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils.c | 207 sid2binsid(adutils_sid_t *sid, uchar_t *binsid, int binsidlen) argument 214 if (sid->version != 1 || 215 binsidlen != (1 + 1 + 6 + sid->sub_authority_count * 4)) 221 *p++ = sid->sub_authority_count; 223 a = sid->authority; 233 for (i = 0; i < sid->sub_authority_count; i++) { 234 r = sid->sub_authorities[i]; 254 adutils_sid_t sid = { 0 }; local 282 sid.version = 1; 283 sid 359 adutils_sid_t sid; local 382 char *sid; local 876 adutils_add_domain(adutils_ad_t *ad, const char *domain, const char *sid) argument 937 adutils_lookup_check_sid_prefix(adutils_query_state_t *qs, const char *sid) argument [all...] |
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | samr_svc.c | 290 param->sid = (struct samr_sid *)NDR_SIDDUP(mxa, di.di_binsid); 291 if (param->sid == NULL) { 397 if (!smb_domain_lookup_sid((smb_sid_t *)param->sid, &domain)) { 701 smb_sid_t *sid; local 722 if ((sid = smb_sid_splice(di.di_binsid, data->kd_rid)) == NULL) { 727 if (smb_sam_lookup_sid(sid, &account) != NT_STATUS_SUCCESS) { 754 smb_sid_free(sid); 758 smb_sid_free(sid); 903 * The member is specified by the sid in the request. 916 if (param->sid 1397 smb_sid_t *sid; local 1566 smb_sid_t *sid; local [all...] |