Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/udapl/libdat/common/
H A Ddat_sr.c167 data->ref_count = entry->ref_count; in dat_sr_insert()
318 if (0 == data->ref_count) { in dat_sr_provider_open()
322 data->ref_count++; in dat_sr_provider_open()
341 data->ref_count++; in dat_sr_provider_open()
370 if (1 == data->ref_count) { in dat_sr_provider_close()
377 data->ref_count--; in dat_sr_provider_close()
380 data->ref_count--; in dat_sr_provider_close()
H A Ddat_dr.c185 if (0 != data->ref_count) { in dat_dr_remove()
235 data->ref_count++; in dat_dr_provider_open()
263 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.c366 entry.ref_count = 0; in dat_sr_load_entry()
/illumos-gate/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.h62 int ref_count; /* number of threads using this structure */ member
/illumos-gate/usr/src/lib/udapl/libdat/include/
H A Ddat_sr.h66 DAT_COUNT ref_count; member
H A Ddat_dr.h60 DAT_COUNT ref_count; member
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibmf/
H A Dibmf_msg.c491 tnf_uint, ref_count, msgimplp->im_ref_count); in ibmf_i_find_msg()
540 tnf_uint, ref_count, msgimplp->im_ref_count); in ibmf_i_find_msg_client()
572 ref_count, msgimplp->im_ref_count); in ibmf_i_find_msg_client()
/illumos-gate/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
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_subr.c343 module->ref_count++; in cli_module_hold()
359 module->ref_count = MOD_REFCNT_INIT; in cli_module_hold()
379 if (--(module->ref_count) != 0) { in cli_module_rele()
1588 if (module->ref_count == MOD_REFCNT_INIT) { in rcmd_db_init()
1626 mod->ref_count++; in rcmd_db_sync()
1632 mod->ref_count--; in rcmd_db_sync()
H A Drcm_impl.h118 int ref_count; member
/illumos-gate/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.c7736 if (phyp->ref_count > 0) { in pmcs_handle_dead_phys()
7791 atomic_inc_32(&phyp->ref_count); in pmcs_inc_phy_ref_count()
7797 ASSERT(phyp->ref_count != 0); in pmcs_dec_phy_ref_count()
7798 atomic_dec_32(&phyp->ref_count); in pmcs_dec_phy_ref_count()
7880 while (ctmp->ref_count != 0) { in pmcs_reap_dead_phy()
8340 (void *)phyp, phyp->path, phyp->ref_count); in pmcs_add_dead_phys()
/illumos-gate/usr/src/uts/common/io/usb/usba/
H A Dusbai_pipe_mgmt.c241 int ref_count; in usba_get_ph_ref_count() local
244 ref_count = ph_impl->usba_ph_ref_count; in usba_get_ph_ref_count()
247 return (ref_count); in usba_get_ph_ref_count()
/illumos-gate/usr/src/uts/common/sys/scsi/adapters/pmcs/
H A Dpmcs.h115 int32_t ref_count; member
H A Dpmcs_def.h113 volatile uint32_t ref_count; /* Targets & work on this PHY */ member
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dobj.c2904 int i, ref_count; in update_deref_obj() local
2909 i = ref_count = 0; in update_deref_obj()
2917 ref_count ++; in update_deref_obj()
2922 if (i > 0 && ref_count == 0) { in update_deref_obj()
/illumos-gate/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()
/illumos-gate/usr/src/cmd/mdb/common/modules/pmcs/
H A Dpmcs.c2071 phy.ref_count, route_attr, route_method, in display_phy()