/illumos-gate/usr/src/cmd/sendmail/db/mutex/ |
H A D | mutex.c | 83 #define TSL_SET(tsl) (!__TESTBITSSI(tsl, 0)) 85 #define TSL_SET(tsl) (!(int)_BBSSI(0, tsl)) 87 #define TSL_UNSET(tsl) (*(tsl) = 0) 88 #define TSL_INIT(tsl) TSL_UNSET(tsl) 115 #define TSL_INIT(tsl) 116 #define TSL_SET(tsl) (*(ts [all...] |
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 291 tsol_check_dest(const ts_label_t *tsl, const void *dst, argument 305 if (tsl == NULL) { 312 if (tsl->tsl_flags & TSLF_IMPLICIT_IN) { 317 ipaddr_t, dst, ts_label_t *, tsl); 353 if (dst_rhtp->tpc_tp.tp_doi != tsl->tsl_doi) { 357 tsol_tpc_t *, dst_rhtp, ts_label_t *, tsl); 362 &tsl->tsl_label)) { 365 bldominates(&tsl->tsl_label, 371 tsol_tpc_t *, dst_rhtp, ts_label_t *, tsl); 387 } else if (!(tsl 468 tsol_compute_label_v4(const ts_label_t *tsl, zoneid_t zoneid, ipaddr_t dst, uchar_t *opt_storage, ip_stack_t *ipst) argument 816 tsol_check_label_v4(const ts_label_t *tsl, zoneid_t zoneid, mblk_t **mpp, uint_t mac_mode, boolean_t zone_is_global, ip_stack_t *ipst, ts_label_t **effective_tslp) argument 970 tsol_compute_label_v6(const ts_label_t *tsl, zoneid_t zoneid, const in6_addr_t *dst, uchar_t *opt_storage, ip_stack_t *ipst) argument 1367 tsol_check_label_v6(const ts_label_t *tsl, zoneid_t zoneid, mblk_t **mpp, uint_t mac_mode, boolean_t zone_is_global, ip_stack_t *ipst, ts_label_t **effective_tslp) argument [all...] |
H A D | tnet.c | 1235 tsol_ire_match_gwattr(ire_t *ire, const ts_label_t *tsl) argument 1258 if (tsl == NULL || ire->ire_gw_secattr == NULL) { 1259 if (tsl != NULL) { 1263 "label(2)", ire_t *, ire, ts_label_t *, tsl); 1362 ire_t *, ire, ts_label_t *, tsl); 1381 if (tsl->tsl_doi != gcdb->gcdb_doi || 1382 !_blinrange(&tsl->tsl_label, &gcdb->gcdb_slrange)) { 1385 char *, "ire(1), tsl(2): all gc failed match", 1386 ire_t *, ire, ts_label_t *, tsl); 1398 if (tsl 1463 ts_label_t *tsl; local [all...] |
H A D | ip6_ire.c | 71 zoneid_t zoneid, const ts_label_t *tsl, int flags, 688 const ts_label_t *tsl, int match_flags) 865 (tsol_ire_match_gwattr(ire, tsl) == 0))) { 879 const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) 894 &ipv6_all_zeros, IRE_INTERFACE, ill, zoneid, tsl, match_flags, 918 zoneid_t zoneid, const ts_label_t *tsl, int flags, 939 tsl, flags, ipst); 972 margs.ift_tsl = tsl; 1007 ire = ire_alt_local(ire, zoneid, tsl, ill, generationp); 1020 zoneid_t zoneid, const ts_label_t *tsl, in 686 ire_match_args_v6(ire_t *ire, const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags) argument 878 ire_gateway_ok_zone_v6(const in6_addr_t *gateway, zoneid_t zoneid, ill_t *ill, const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) argument 916 ire_ftable_lookup_v6(const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument 1018 ire_ftable_lookup_impl_v6(const in6_addr_t *addr, const in6_addr_t *mask, const in6_addr_t *gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, ip_stack_t *ipst) argument 1164 ire_route_recursive_impl_v6(ire_t *ire, const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill_arg, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, in6_addr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument 1453 ire_route_recursive_v6(const in6_addr_t *nexthop, uint_t ire_type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, in6_addr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument [all...] |
H A D | ip_rts.c | 96 const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire, 100 const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, 306 ts_label_t *tsl = NULL; local 658 tsl = crgetlabel(ioc_cr); 664 if (tsl != NULL && 666 (tsl->tsl_doi != rtsap->rtsa_doi || 667 !bldominates(&tsl->tsl_label, 672 tsl = labelalloc( 701 tsl, match_flags_local, 0, ipst, NULL); 705 gw_addr, ill, zoneid, tsl, match_flag 981 ire_lookup_v4(ipaddr_t dst_addr, ipaddr_t net_mask, ipaddr_t gw_addr, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire, ipaddr_t *v4setsrcp, tsol_ire_gw_secattr_t **gwattrp) argument 1064 ire_lookup_v6(const in6_addr_t *dst_addr_v6, const in6_addr_t *net_mask_v6, const in6_addr_t *gw_addr_v6, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags, ip_stack_t *ipst, ire_t **pifire, in6_addr_t *v6setsrcp, tsol_ire_gw_secattr_t **gwattrp) argument [all...] |
H A D | ip_ftable.c | 96 int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, 130 margs.ift_tsl = tsl; 203 ire = ire_alt_local(ire, zoneid, tsl, ill, generationp); 525 /* XXX pass NULL tsl for now */ 1400 zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, 1428 (ill != NULL? ill : ill_arg), zoneid, tsl, 1696 zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, 1701 zoneid, tsl, match_args, irr_flags, xmit_hint, ipst, setsrcp, 95 ire_ftable_lookup_v4(ipaddr_t addr, ipaddr_t mask, ipaddr_t gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int flags, uint32_t xmit_hint, ip_stack_t *ipst, uint_t *generationp) argument 1398 ire_route_recursive_impl_v4(ire_t *ire, ipaddr_t nexthop, uint_t ire_type, const ill_t *ill_arg, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, ipaddr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument 1695 ire_route_recursive_v4(ipaddr_t nexthop, uint_t ire_type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, uint_t match_args, uint_t irr_flags, uint32_t xmit_hint, ip_stack_t *ipst, ipaddr_t *setsrcp, tsol_ire_gw_secattr_t **gwattrp, uint_t *generationp) argument
|
H A D | ip_attr.c | 970 ip_xmit_attr_replace_tsl(ip_xmit_attr_t *ixa, ts_label_t *tsl) argument 972 ASSERT(tsl != NULL); 980 ixa->ixa_tsl = tsl; 990 ip_recv_attr_replace_label(ip_recv_attr_t *ira, ts_label_t *tsl) argument 998 label_hold(tsl); 999 ira->ira_tsl = tsl;
|
H A D | sadb.c | 85 static sadb_sens_t *sadb_make_sens_ext(ts_label_t *tsl, int *len); 3453 ts_label_t *tsl, *effective_tsl; local 3460 tsl = sadb_label_from_sens(osens, bitmap); 3467 error = tsol_check_dest(tsl, peer_addr_ptr, 3471 label_rele(tsl); 3477 label_rele(tsl); 3478 tsl = effective_tsl; 3481 newbie->ipsa_otsl = tsl; 3483 zone = zone_find_by_label(tsl); 3496 error = tsol_compute_label_v6(tsl, zonei 4805 sadb_checkacquire(iacqf_t *bucket, ipsec_action_t *ap, ipsec_policy_t *pp, uint32_t *src, uint32_t *dst, uint32_t *isrc, uint32_t *idst, uint64_t unique_id, ts_label_t *tsl) argument 4876 ts_label_t *tsl = NULL; local 5398 sadb_sens_len_from_label(ts_label_t *tsl) argument 5405 sadb_sens_from_label(sadb_sens_t *sens, int exttype, ts_label_t *tsl, int senslen) argument 5432 sadb_make_sens_ext(ts_label_t *tsl, int *len) argument 5456 ts_label_t *tsl; local [all...] |
H A D | ip_sadb.c | 98 uint32_t *dst, sa_family_t af, uint8_t protocol, ts_label_t *tsl) 320 if (!ipsec_label_match(tsl, retval->ipsa_tsl)) 97 ipsec_getassocbyconn(isaf_t *bucket, ip_xmit_attr_t *ixa, uint32_t *src, uint32_t *dst, sa_family_t af, uint8_t protocol, ts_label_t *tsl) argument
|
H A D | ip_ire.c | 1862 const ts_label_t *tsl, int match_flags) 2025 (tsol_ire_match_gwattr(ire, tsl) == 0))) { 2039 ire_alt_local(ire_t *ire, zoneid_t zoneid, const ts_label_t *tsl, argument 2065 ill, zoneid, tsl, match_flags, IRR_ALLOCATE, 0, ipst, NULL, 2069 ill, zoneid, tsl, match_flags, IRR_ALLOCATE, 0, ipst, NULL, 2135 const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) 2153 * We only use margs for ill, zoneid, and tsl matching in 2159 margs.ift_tsl = tsl; 1860 ire_match_args(ire_t *ire, ipaddr_t addr, ipaddr_t mask, ipaddr_t gateway, int type, const ill_t *ill, zoneid_t zoneid, const ts_label_t *tsl, int match_flags) argument 2134 ire_gateway_ok_zone_v4(ipaddr_t gateway, zoneid_t zoneid, ill_t *ill, const ts_label_t *tsl, ip_stack_t *ipst, boolean_t lock_held) argument
|
H A D | ip6.c | 1996 ts_label_t *tsl = NULL; local 1999 mac_mode, (flags & IPDF_ZONE_IS_GLOBAL) != 0, &tsl); 2002 if (tsl != NULL) { 2004 ip_xmit_attr_replace_tsl(ixa, tsl);
|
H A D | ip.c | 3389 ts_label_t *tsl = NULL; local 3392 mac_mode, (flags & IPDF_ZONE_IS_GLOBAL) != 0, &tsl); 3395 if (tsl != NULL) { 3397 ip_xmit_attr_replace_tsl(ixa, tsl);
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_debug.c | 360 struct topstats_link *tsl, **ptsl; local 370 tsl = topstats_anchor; 371 while (tsl) { 372 if (mtm->mtm_tops == &tsl->ts_stats) { 374 *ptsl = tsl->ts_next; 375 kmem_free(tsl, sizeof (*tsl)); 378 ptsl = &tsl->ts_next; 379 tsl = tsl 388 struct topstats_link *tsl; local [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | tlabel.c | 233 ts_label_t *tsl = NULL; local 251 tsl = labelalloc(&ds_sl, default_doi, KM_SLEEP); 252 return (tsl); 377 ts_label_t *tsl; local 379 tsl = getflabel_zfs(rvfsp); 382 if (tsl != NULL) 383 return (tsl); 532 ts_label_t *tsl; local 535 if ((tsl = getflabel(vp)) == NULL) 538 if (copyout((caddr_t)label2bslabel(tsl), (caddr_ [all...] |
H A D | zone.c | 4315 ts_label_t *tsl; local 4321 tsl = labelalloc(&blab, doi, KM_NOSLEEP); 4322 if (tsl == NULL) 4325 zone->zone_slabel = tsl;
|
/illumos-gate/usr/src/uts/common/inet/udp/ |
H A D | udp_stats.c | 194 ts_label_t *tsl; local 196 tsl = connp->conn_ixa->ixa_tsl; 198 mlp.tme_doi = label2doi(tsl); 199 mlp.tme_label = *label2bslabel(tsl);
|
H A D | udp.c | 1646 ts_label_t *tsl; local 1668 if ((tsl = crgetlabel(cr)) == NULL) 1671 tsl->tsl_doi, KM_NOSLEEP);
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vfsops.c | 957 ts_label_t *tsl = NULL; local 1011 if (tsl != NULL) 1012 label_rele(tsl);
|
/illumos-gate/usr/src/uts/common/inet/iptun/ |
H A D | iptun.c | 2094 ts_label_t *tsl) 2140 ixas.ixa_tsl = tsl; 2151 ts_label_t *tsl) 2193 ixas.ixa_tsl = tsl; 2204 uint8_t type, uint8_t code, ts_label_t *tsl) 2212 iptun_sendicmp_v4(iptun, &icmp, orig_ipha, mp, tsl); 2217 mblk_t *mp, ts_label_t *tsl) 2226 iptun_sendicmp_v4(iptun, &icmp, orig_ipha, mp, tsl); 2231 uint8_t type, uint8_t code, uint32_t offset, ts_label_t *tsl) 2241 iptun_sendicmp_v6(iptun, &icmp6, orig_ip6h, mp, tsl); 2093 iptun_sendicmp_v4(iptun_t *iptun, icmph_t *icmp, ipha_t *orig_ipha, mblk_t *mp, ts_label_t *tsl) argument 2150 iptun_sendicmp_v6(iptun_t *iptun, icmp6_t *icmp6, ip6_t *orig_ip6h, mblk_t *mp, ts_label_t *tsl) argument 2203 iptun_icmp_error_v4(iptun_t *iptun, ipha_t *orig_ipha, mblk_t *mp, uint8_t type, uint8_t code, ts_label_t *tsl) argument 2216 iptun_icmp_fragneeded_v4(iptun_t *iptun, uint32_t newmtu, ipha_t *orig_ipha, mblk_t *mp, ts_label_t *tsl) argument 2230 iptun_icmp_error_v6(iptun_t *iptun, ip6_t *orig_ip6h, mblk_t *mp, uint8_t type, uint8_t code, uint32_t offset, ts_label_t *tsl) argument 2245 iptun_icmp_toobig_v6(iptun_t *iptun, uint32_t newmtu, ip6_t *orig_ip6h, mblk_t *mp, ts_label_t *tsl) argument [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_snmp.c | 779 ts_label_t *tsl; local 781 tsl = sctp->sctp_connp->conn_ixa->ixa_tsl; 783 mlp.tme_doi = label2doi(tsl); 784 mlp.tme_label = *label2bslabel(tsl);
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_stats.c | 225 ts_label_t *tsl; local 227 tsl = connp->conn_ixa->ixa_tsl; 229 mlp.tme_doi = label2doi(tsl); 230 mlp.tme_label = *label2bslabel(tsl);
|
/illumos-gate/usr/src/uts/common/c2/ |
H A D | audit.c | 2236 ts_label_t *tsl; local 2239 tsl = getflabel(vp); 2240 if (tsl == NULL) 2243 bsl = label2bslabel(tsl); 2247 label_rele(tsl);
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_subr.c | 5049 ts_label_t *tsl = NULL; local 5087 tsl = getflabel_cipso(vfsp); 5088 if (tsl == NULL) 5091 server_sl = label2bslabel(tsl); 5124 if (tsl != NULL) 5125 label_rele(tsl);
|