Home
last modified time | relevance | path

Searched refs:gcgrp (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/common/inet/ip/
H A Dtnet.c448 gc_create(struct rtsa_s *rp, tsol_gcgrp_t *gcgrp, boolean_t *gcgrp_xtrarefp) in gc_create() argument
455 rw_enter(&gcgrp->gcgrp_rwlock, RW_WRITER); in gc_create()
457 rw_exit(&gcgrp->gcgrp_rwlock); in gc_create()
461 for (gc = gcgrp->gcgrp_head; gc != NULL; gc = gc->gc_next) { in gc_create()
463 ASSERT(gc->gc_grp == gcgrp); in gc_create()
472 tsol_gc_t *, gc, tsol_gcgrp_t *, gcgrp); in gc_create()
473 rw_exit(&gcgrp->gcgrp_rwlock); in gc_create()
480 if (gcgrp->gcgrp_head == NULL) { in gc_create()
481 gcgrp->gcgrp_head = gcgrp->gcgrp_tail = gc; in gc_create()
483 gcgrp->gcgrp_tail->gc_next = gc; in gc_create()
[all …]
H A Dip_rts.c304 tsol_gcgrp_t *gcgrp = NULL; in ip_rts_request_common() local
786 gcgrp = gcgrp_lookup(&ga, B_TRUE); in ip_rts_request_common()
787 if (gcgrp == NULL) { in ip_rts_request_common()
855 gcgrp = gcgrp_lookup(&ga, B_TRUE); in ip_rts_request_common()
856 if (gcgrp == NULL) { in ip_rts_request_common()
918 ASSERT(gcgrp != NULL); in ip_rts_request_common()
928 gc = gc_create(rtsap, gcgrp, &gcgrp_xtraref); in ip_rts_request_common()
958 GCGRP_REFRELE(gcgrp); in ip_rts_request_common()
1232 tsol_gcgrp_t *gcgrp = NULL; in rts_rtmget() local
1255 gcgrp = gc->gc_grp; in rts_rtmget()
[all …]
H A Dip6_if.c404 tsol_gcgrp_t *gcgrp = NULL; in ip_rt_add_v6() local
770 gcgrp = gcgrp_lookup(&ga, B_TRUE); in ip_rt_add_v6()
771 if (gcgrp == NULL) { in ip_rt_add_v6()
785 gc = gc_create(sp, gcgrp, &gcgrp_xtraref); in ip_rt_add_v6()
788 GCGRP_REFRELE(gcgrp); in ip_rt_add_v6()
814 GCGRP_REFRELE(gcgrp); in ip_rt_add_v6()
H A Dip.c10922 tsol_gcgrp_t *gcgrp = NULL; in ip_snmp_get2_v4() local
10940 gcgrp = gc->gc_grp; in ip_snmp_get2_v4()
10941 ASSERT(gcgrp != NULL); in ip_snmp_get2_v4()
10942 rw_enter(&gcgrp->gcgrp_rwlock, RW_READER); in ip_snmp_get2_v4()
11029 if (gcgrp != NULL) in ip_snmp_get2_v4()
11030 rw_exit(&gcgrp->gcgrp_rwlock); in ip_snmp_get2_v4()
11044 tsol_gcgrp_t *gcgrp = NULL; in ip_snmp_get2_v6_route() local
11062 gcgrp = gc->gc_grp; in ip_snmp_get2_v6_route()
11063 ASSERT(gcgrp != NULL); in ip_snmp_get2_v6_route()
11064 rw_enter(&gcgrp->gcgrp_rwlock, RW_READER); in ip_snmp_get2_v6_route()
[all …]
H A Dip_if.c5413 tsol_gcgrp_t *gcgrp = NULL; in ip_rt_add() local
5788 gcgrp = gcgrp_lookup(&ga, B_TRUE); in ip_rt_add()
5789 if (gcgrp == NULL) { in ip_rt_add()
5803 gc = gc_create(sp, gcgrp, &gcgrp_xtraref); in ip_rt_add()
5808 GCGRP_REFRELE(gcgrp); in ip_rt_add()
5832 GCGRP_REFRELE(gcgrp); in ip_rt_add()