Home
last modified time | relevance | path

Searched refs:ref_count (Results 1 – 21 of 21) sorted by relevance

/titanic_50/usr/src/lib/udapl/libdat/common/
H A Ddat_sr.c169 data->ref_count = entry->ref_count; in dat_sr_insert()
320 if (0 == data->ref_count) { in dat_sr_provider_open()
324 data->ref_count++; in dat_sr_provider_open()
343 data->ref_count++; in dat_sr_provider_open()
372 if (1 == data->ref_count) { in dat_sr_provider_close()
379 data->ref_count--; in dat_sr_provider_close()
382 data->ref_count--; in dat_sr_provider_close()
H A Ddat_dr.c187 if (0 != data->ref_count) { in dat_dr_remove()
237 data->ref_count++; in dat_dr_provider_open()
265 data->ref_count--; in dat_dr_provider_close()
H A Dudat.c103 entry.ref_count = 0; in dat_registry_add_provider()
H A Dudat_sr_parser.c369 entry.ref_count = 0; in dat_sr_load_entry()
/titanic_50/usr/src/lib/libnsl/yp/
H A Dyp_bind.c128 if (p->ref_count != 0) { in free_dom_binding()
417 pdomb->ref_count = 0; in load_dom_binding()
515 pdomb->ref_count = 0; in load_dom_binding_rsvdport()
566 (*binding)->ref_count += 1; in __yp_dobind_cflookup()
593 (*binding)->ref_count += 1; in __yp_dobind_cflookup()
649 pdomb->ref_count += 1; in __yp_dobind_cflookup()
684 binding->ref_count -= 1; in __yp_rel_binding()
685 if (binding->need_free && binding->ref_count == 0) in __yp_rel_binding()
747 pdomb->ref_count += 1; in __yp_dobind_rsvdport_cflookup()
805 pdomb->ref_count += 1; in __yp_dobind_rsvdport_cflookup()
H A Dyp_b.h64 int ref_count; /* number of threads using this structure */ member
/titanic_50/usr/src/lib/udapl/libdat/include/
H A Ddat_sr.h68 DAT_COUNT ref_count; member
H A Ddat_dr.h62 DAT_COUNT ref_count; member
/titanic_50/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_msg.c493 tnf_uint, ref_count, msgimplp->im_ref_count); in ibmf_i_find_msg()
542 tnf_uint, ref_count, msgimplp->im_ref_count); in ibmf_i_find_msg_client()
574 ref_count, msgimplp->im_ref_count); in ibmf_i_find_msg_client()
/titanic_50/usr/src/uts/common/sys/fibre-channel/fca/oce/
H A Doce_io.h108 uint32_t ref_count; member
157 uint32_t ref_count; member
/titanic_50/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c345 module->ref_count++; in cli_module_hold()
361 module->ref_count = MOD_REFCNT_INIT; in cli_module_hold()
381 if (--(module->ref_count) != 0) { in cli_module_rele()
1590 if (module->ref_count == MOD_REFCNT_INIT) { in rcmd_db_init()
1628 mod->ref_count++; in rcmd_db_sync()
1634 mod->ref_count--; in rcmd_db_sync()
H A Drcm_impl.h120 int ref_count; member
/titanic_50/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c240 int ref_count; in usba_get_ph_ref_count() local
243 ref_count = ph_impl->usba_ph_ref_count; in usba_get_ph_ref_count()
246 return (ref_count); in usba_get_ph_ref_count()
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_scsa.c339 tgt->ref_count++; in pmcs_scsa_tran_tgt_init()
394 if (tgt && tgt->ref_count == 0) { in pmcs_scsa_tran_tgt_init()
430 ASSERT(lun->target->ref_count > 0); in pmcs_scsa_tran_tgt_free()
470 if (--target->ref_count == 0) { in pmcs_scsa_tran_tgt_free()
1329 tgt->ref_count++; in pmcs_smp_init()
1414 if (--tgt->ref_count == 0) { in pmcs_smp_free()
3213 for (int idx = 0; idx < tgt->ref_count; idx++) { in pmcs_get_target()
H A Dpmcs_subr.c7732 if (phyp->ref_count > 0) { in pmcs_handle_dead_phys()
7787 atomic_inc_32(&phyp->ref_count); in pmcs_inc_phy_ref_count()
7793 ASSERT(phyp->ref_count != 0); in pmcs_dec_phy_ref_count()
7794 atomic_dec_32(&phyp->ref_count); in pmcs_dec_phy_ref_count()
7876 while (ctmp->ref_count != 0) { in pmcs_reap_dead_phy()
8336 (void *)phyp, phyp->path, phyp->ref_count); in pmcs_add_dead_phys()
/titanic_50/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs_def.h113 volatile uint32_t ref_count; /* Targets & work on this PHY */ member
H A Dpmcs.h115 int32_t ref_count; member
/titanic_50/usr/src/cmd/isns/isnsd/
H A Dobj.c2897 int i, ref_count; in update_deref_obj() local
2902 i = ref_count = 0; in update_deref_obj()
2910 ref_count ++; in update_deref_obj()
2915 if (i > 0 && ref_count == 0) { in update_deref_obj()
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_queue.c278 atomic_inc_32(&eq->ref_count); in oce_cq_create()
311 atomic_dec_32(&cq->eq->ref_count); in oce_cq_del()
/titanic_50/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c2064 phy.ref_count, route_attr, route_method, in display_phy()
/titanic_50/usr/src/lib/libnsl/common/
H A Dllib-lnsl1016 int ref_count;