/illumos-gate/usr/src/uts/common/io/ |
H A D | fssnap.c | 165 static int snap_getchunk(struct snapshot_id *sidp, chunknumber_t chunk, 436 struct snapshot_id *sidp, *sidnextp; in snap_detach() local 449 for (sidp = snapshot; sidp != NULL; sidp = sidnextp) { in snap_detach() 450 ASSERT(SID_AVAILABLE(sidp) && in snap_detach() 451 !RW_LOCK_HELD(&sidp->sid_rwlock)); in snap_detach() 452 sidnextp = sidp->sid_next; in snap_detach() 453 rw_destroy(&sidp->sid_rwlock); in snap_detach() 454 kmem_free(sidp, sizeof (struct snapshot_id)); in snap_detach() 484 struct snapshot_id **sidpp, *sidp; in snap_open() local 512 sidp = *sidpp; in snap_open() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fssnap.h | 95 #define SID_BUSY(sidp) (((sidp)->sid_flags & SID_BLOCK_BUSY) || \ argument 96 ((sidp)->sid_flags & SID_CHAR_BUSY)) 99 #define SID_INACTIVE(sidp) (((sidp)->sid_flags & SID_DISABLED) || \ argument 100 ((sidp)->sid_flags & SID_DISABLING) || \ 101 ((sidp)->sid_flags & SID_CREATING) || \ 102 ((sidp)->sid_flags & SID_DELETE) || \ 103 ((sidp)->sid_cowinfo == NULL)) 106 #define SID_AVAILABLE(sidp) (!SID_BUSY(sidp) && \ argument 107 ((sidp)->sid_flags & SID_DISABLED))
|
/illumos-gate/usr/src/lib/libsec/common/ |
H A D | acltext.c | 142 getsidname(uid_t who, boolean_t user, char **sidp, boolean_t noresolve) in getsidname() argument 151 *sidp = NULL; in getsidname() 160 IDMAP_REQ_FLG_USE_CACHE, sidp, NULL); in getsidname() 163 IDMAP_REQ_FLG_USE_CACHE, sidp, NULL); in getsidname() 180 if (*sidp = malloc(len + 1)) { in getsidname() 181 (void) snprintf(*sidp, len + 1, in getsidname() 193 return (*sidp ? 0 : 1); in getsidname() 200 sid_string_by_id(uid_t who, boolean_t user, char **sidp, boolean_t noresolve) in sid_string_by_id() argument 202 return (getsidname(who, user, sidp, noresolve)); in sid_string_by_id() 414 char *sidp = NULL; in ace_type_txt() local [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4x_state.c | 355 rfs4_sid *sidp; in rfs4_session_create() local 374 sidp = (rfs4_sid *)&sp->sn_sessid; in rfs4_session_create() 375 sidp->impl_id.pad0 = 0x00000000; in rfs4_session_create() 376 sidp->impl_id.pad1 = 0xFFFFFFFF; in rfs4_session_create() 377 sidp->impl_id.start_time = nsrv4->rfs4_start_time; in rfs4_session_create() 378 sidp->impl_id.s_id = ap->cs_id; in rfs4_session_create()
|
H A D | nfs4_recovery.c | 3109 nfs4_server_t *sp, mntinfo4_t *mi, stateid4 *sidp, in errs_to_action() argument 3176 if (sidp) in errs_to_action() 3177 recovp->rc_stateid = *sidp; in errs_to_action() 3196 stateid4 *, sidp, int, op); in errs_to_action()
|
/illumos-gate/usr/src/uts/common/crypto/api/ |
H A D | kcf_session.c | 42 crypto_session_open(crypto_provider_t provider, crypto_session_id_t *sidp, in crypto_session_open() argument 62 rv = KCF_PROV_SESSION_OPEN(real_provider, sidp, in crypto_session_open() 67 KCF_OP_SESSION_OPEN, sidp, 0, CRYPTO_USER, NULL, in crypto_session_open()
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | adutils_impl.h | 156 int adutils_getsid(BerValue *bval, adutils_sid_t *sidp); 158 char *adutils_sid2txt(adutils_sid_t *sidp);
|
H A D | adutils.c | 111 adutils_getsid(BerValue *bval, adutils_sid_t *sidp) in adutils_getsid() argument 134 sidp->version = v[0]; in adutils_getsid() 135 sidp->sub_authority_count = v[1]; in adutils_getsid() 136 sidp->authority = in adutils_getsid() 144 for (i = 0; i < sidp->sub_authority_count; i++) { in adutils_getsid() 149 sidp->sub_authorities[i] = a; in adutils_getsid() 160 adutils_sid2txt(adutils_sid_t *sidp) in adutils_sid2txt() argument 165 if (sidp->version != 1) in adutils_sid2txt() 179 len += snprintf(NULL, 0, "%llu", sidp->authority); in adutils_sid2txt() 182 len += 1 + (sidp->sub_authority_count + 1) * 10; in adutils_sid2txt() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | session.c | 537 struct pid *pgidp, *sidp; in freectty() local 624 sidp = stp->sd_sidp; in freectty() 650 PID_RELE(sidp); in freectty()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 1046 sadb_ident_t *sidp; in parse_ps() local 1166 sidp = (sadb_ident_t *)((int)psp + psp->ps_localid_off); in parse_ps() 1167 sidp->sadb_ident_len = psp->ps_localid_len; in parse_ps() 1168 sidp->sadb_ident_type = locidtype; in parse_ps() 1169 (void) strlcpy((char *)(sidp + 1), locid, a_locidtotal); in parse_ps() 1200 sidp = (sadb_ident_t *)((int)psp + psp->ps_remoteid_off); in parse_ps() 1201 sidp->sadb_ident_len = psp->ps_remoteid_len; in parse_ps() 1202 sidp->sadb_ident_type = remidtype; in parse_ps() 1203 (void) strlcpy((char *)(sidp + 1), remid, a_remidtotal); in parse_ps()
|
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibcm/ |
H A D | ibcm_utils.c | 1204 ibcm_svc_lookup_t *sidp = (ibcm_svc_lookup_t *)p1; in ibcm_svc_compare() local 1206 ib_svc_id_t start_sid = sidp->sid; in ibcm_svc_compare() 1207 ib_svc_id_t end_sid = start_sid + sidp->num_sids - 1; in ibcm_svc_compare() 1211 sidp->sid, sidp->num_sids, svcp->svc_id, svcp->svc_num_sids); in ibcm_svc_compare()
|
/illumos-gate/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 102 md_get_sid(mdchain_t *mdp, i_ntsid_t **sidp) in md_get_sid() argument 132 *sidp = sid; in md_get_sid()
|