/titanic_50/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 …]
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | fssnap.h | 97 #define SID_BUSY(sidp) (((sidp)->sid_flags & SID_BLOCK_BUSY) || \ argument 98 ((sidp)->sid_flags & SID_CHAR_BUSY)) 101 #define SID_INACTIVE(sidp) (((sidp)->sid_flags & SID_DISABLED) || \ argument 102 ((sidp)->sid_flags & SID_DISABLING) || \ 103 ((sidp)->sid_flags & SID_CREATING) || \ 104 ((sidp)->sid_flags & SID_DELETE) || \ 105 ((sidp)->sid_cowinfo == NULL)) 108 #define SID_AVAILABLE(sidp) (!SID_BUSY(sidp) && \ argument 109 ((sidp)->sid_flags & SID_DISABLED))
|
/titanic_50/usr/src/lib/libsec/common/ |
H A D | acltext.c | 121 getsidname(uid_t who, boolean_t user, char **sidp, boolean_t noresolve) in getsidname() argument 130 *sidp = NULL; in getsidname() 139 IDMAP_REQ_FLG_USE_CACHE, sidp, NULL); in getsidname() 142 IDMAP_REQ_FLG_USE_CACHE, sidp, NULL); in getsidname() 159 if (*sidp = malloc(len + 1)) { in getsidname() 160 (void) snprintf(*sidp, len + 1, in getsidname() 172 return (*sidp ? 0 : 1); in getsidname() 384 char *sidp = NULL; in ace_type_txt() local 401 &sidp, flags & ACL_NORESOLVE)) in ace_type_txt() 403 error = str_append(dynstr, sidp); in ace_type_txt() [all …]
|
/titanic_50/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()
|
/titanic_50/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 | 110 adutils_getsid(BerValue *bval, adutils_sid_t *sidp) in adutils_getsid() argument 133 sidp->version = v[0]; in adutils_getsid() 134 sidp->sub_authority_count = v[1]; in adutils_getsid() 135 sidp->authority = in adutils_getsid() 143 for (i = 0; i < sidp->sub_authority_count; i++) { in adutils_getsid() 148 sidp->sub_authorities[i] = a; in adutils_getsid() 159 adutils_sid2txt(adutils_sid_t *sidp) in adutils_sid2txt() argument 164 if (sidp->version != 1) in adutils_sid2txt() 178 len += snprintf(NULL, 0, "%llu", sidp->authority); in adutils_sid2txt() 181 len += 1 + (sidp->sub_authority_count + 1) * 10; in adutils_sid2txt() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | session.c | 540 struct pid *pgidp, *sidp; in freectty() local 627 sidp = stp->sd_sidp; in freectty() 653 PID_RELE(sidp); in freectty()
|
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/ |
H A D | ikeadm.c | 1043 sadb_ident_t *sidp; in parse_ps() local 1163 sidp = (sadb_ident_t *)((int)psp + psp->ps_localid_off); in parse_ps() 1164 sidp->sadb_ident_len = psp->ps_localid_len; in parse_ps() 1165 sidp->sadb_ident_type = locidtype; in parse_ps() 1166 (void) strlcpy((char *)(sidp + 1), locid, a_locidtotal); in parse_ps() 1197 sidp = (sadb_ident_t *)((int)psp + psp->ps_remoteid_off); in parse_ps() 1198 sidp->sadb_ident_len = psp->ps_remoteid_len; in parse_ps() 1199 sidp->sadb_ident_type = remidtype; in parse_ps() 1200 (void) strlcpy((char *)(sidp + 1), remid, a_remidtotal); in parse_ps()
|
/titanic_50/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()
|
/titanic_50/usr/src/common/smbclnt/ |
H A D | smbfs_ntacl.c | 99 md_get_sid(mdchain_t *mdp, i_ntsid_t **sidp) in md_get_sid() argument 129 *sidp = sid; in md_get_sid()
|
/titanic_50/usr/src/uts/common/fs/nfs/ |
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()
|