| /netbsd-src/sys/dev/dm/ |
| H A D | dm_pdev.c | 98 dmp->ref_cnt++; in dm_pdev_insert() 128 dmp->ref_cnt = 1; in dm_pdev_insert() 164 dmp->ref_cnt = 0; in dm_pdev_alloc() 235 if (--dmp->ref_cnt == 0) { in dm_pdev_decr() 256 dmp->name, dmp->ref_cnt, dmp->list_ref_cnt);
|
| H A D | dm_dev.c | 61 while (dmv->ref_cnt != 0) in disable_dev() 289 while (dmv->ref_cnt != 0) in dm_dev_destroy() 351 dmv->ref_cnt++; in dm_dev_busy() 359 KASSERT(dmv->ref_cnt != 0); in dm_dev_unbusy() 362 if (--dmv->ref_cnt == 0) in dm_dev_unbusy()
|
| H A D | dm_target.c | 58 atomic_inc_32(&target->ref_cnt); in dm_target_busy() 68 KASSERT(target->ref_cnt > 0); in dm_target_unbusy() 69 atomic_dec_32(&target->ref_cnt); in dm_target_unbusy() 209 if (dmt->ref_cnt > 0) { in dm_target_rem()
|
| H A D | dm.h | 120 int ref_cnt; /* reference counter for users of this pdev */ member 144 uint32_t ref_cnt; member 201 uint32_t ref_cnt; member
|
| H A D | dm_ioctl.c | 238 dmv->ref_cnt = 0; in dm_dev_create_ioctl()
|
| /netbsd-src/crypto/external/bsd/openssl/dist/crypto/bio/ |
| H A D | ossl_core_bio.c | 19 CRYPTO_REF_COUNT ref_cnt; member 32 cb->ref_cnt = 1; in core_bio_new() 40 return CRYPTO_UP_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_up_ref() 48 CRYPTO_DOWN_REF(&cb->ref_cnt, &ref, cb->ref_lock); in ossl_core_bio_free()
|
| /netbsd-src/crypto/external/bsd/heimdal/dist/lib/base/ |
| H A D | heimbase.c | 45 heim_base_atomic_type ref_cnt; member 54 heim_base_atomic_type ref_cnt; member 97 if (p->ref_cnt == heim_base_atomic_max) in heim_retain() 100 if ((heim_base_atomic_inc(&p->ref_cnt) - 1) == 0) in heim_retain() 121 if (p->ref_cnt == heim_base_atomic_max) in heim_release() 124 old = heim_base_atomic_dec(&p->ref_cnt) + 1; in heim_release() 163 p->ref_cnt = heim_base_atomic_max; in _heim_make_permanent() 303 p->ref_cnt = 1; in heim_alloc() 344 p->ref_cnt = 1; in _heim_alloc_object()
|
| /netbsd-src/sys/arch/ews4800mips/ews4800mips/ |
| H A D | tr2a_intr.c | 88 int ref_cnt; member 143 if (ic->ref_cnt++ == 0) in tr2a_intr_establish() 163 if (--ic->ref_cnt == 0) in tr2a_intr_disestablish()
|
| /netbsd-src/sys/dev/dm/doc/ |
| H A D | locking.txt | 50 uint32_t ref_cnt; 228 dmv->ref_cnt++; 235 KASSERT(dmv->ref_cnt != 0); 238 if (--dmv->ref_cnt == 0)
|
| H A D | proposal-dm.txt | 43 uint32_t ref_cnt;
|
| H A D | design.txt | 240 counters for all added pdevs (I remove pdevs with ref_cnt == 0).
|
| /netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/ |
| H A D | CXIndexDataConsumer.h | 245 unsigned ref_cnt; variable 265 void Retain() { ++ref_cnt; } in Retain() 267 assert (ref_cnt > 0 && "Reference count is already zero."); in Release() 268 if (--ref_cnt == 0) { in Release()
|
| H A D | CXIndexDataConsumer.cpp | 280 : SA(IdxCtx), ref_cnt(0) { in AttrListInfo()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/ |
| H A D | dnsrps.c | 282 rpsdb->ref_cnt = 1; in dns_dnsrps_rewrite_init() 372 ++rpsdb->ref_cnt; in rpsdb_attach() 381 REQUIRE(rpsdb->ref_cnt > 0); in rpsdb_detach() 388 if (--rpsdb->ref_cnt != 0) { in rpsdb_detach() 408 ++rpsdb->ref_cnt; in rpsdb_attachnode()
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/ |
| H A D | dnsrps.c | |
| /netbsd-src/crypto/external/cpl/trousers/dist/src/tcs/ |
| H A D | tcs_key_mem_cache.c | 397 entry->ref_cnt = 0; in mc_add_entry() 403 entry->ref_cnt = 1; in mc_add_entry() 528 entry->ref_cnt = 1; in mc_add_entry_init() 639 cur->ref_cnt++; in key_mgr_inc_ref_count() 659 cur->ref_cnt--; in key_mgr_dec_ref_count() 680 if (cur->ref_cnt == 0) { in key_mgr_ref_count()
|
| /netbsd-src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/ |
| H A D | dnsrps.h | 53 int ref_cnt; member
|
| /netbsd-src/external/mpl/bind/dist/lib/dns/include/dns/ |
| H A D | dnsrps.h | 53 int ref_cnt; 52 int ref_cnt; global() member
|
| /netbsd-src/crypto/external/cpl/trousers/dist/src/include/ |
| H A D | tcs_utils.h | 26 int ref_cnt; member
|