Home
last modified time | relevance | path

Searched refs:use_count (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_debugfs.c195 int use_count; in debugfs_usecount_show() local
197 use_count = vchiq_instance_get_use_count(instance); in debugfs_usecount_show()
198 seq_printf(f, "%d\n", use_count); in debugfs_usecount_show()
276 struct dentry *top, *use_count, *trace; in vchiq_debugfs_add_instance() local
286 use_count = debugfs_create_file("use_count", in vchiq_debugfs_add_instance()
290 if (!use_count) in vchiq_debugfs_add_instance()
305 debugfs_remove(use_count); in vchiq_debugfs_add_instance()
H A Dvchiq_arm.c2665 int use_count; in vchiq_dump_service_use_state() member
2691 service_data[j++].use_count = service_ptr-> in vchiq_dump_service_use_state()
2716 service_data[i].use_count, in vchiq_dump_service_use_state()
2717 service_data[i].use_count ? nz : ""); in vchiq_dump_service_use_state()
2847 int use_count = 0, i; in vchiq_instance_get_use_count() local
2851 use_count += service->service_use_count; in vchiq_instance_get_use_count()
2854 return use_count; in vchiq_instance_get_use_count()
2863 int len, use_count; in proc_read_use_count() local
2865 use_count = vchiq_instance_get_use_count(instance); in proc_read_use_count()
2866 len = snprintf(page+off, count, "%d\n", use_count); in proc_read_use_count()
[all …]
H A Dvchiq_core.h281 short use_count; member
H A Dvchiq_core.c1115 slot->use_count++; in claim_slot()
1142 if (release_count == slot_info->use_count) { in release_slot()
1658 state->rx_info->use_count = 1; in parse_rx_slots()
2757 if (slot_info->release_count != slot_info->use_count) { in release_service_messages()
3686 if (slot_info.use_count != slot_info.release_count) { in vchiq_dump_shared_state()
3688 " %d: %d/%d", i, slot_info.use_count, in vchiq_dump_shared_state()
/freebsd/usr.sbin/bhyve/amd64/
H A Dpci_irq.c67 int use_count; member
143 pirqs[i].use_count = 0; in pci_irq_init()
215 best_count = pirqs[0].use_count; in pirq_alloc_pin()
217 if (pirqs[pin].use_count < best_count) { in pirq_alloc_pin()
219 best_count = pirqs[pin].use_count; in pirq_alloc_pin()
223 pirqs[best_pin].use_count++; in pirq_alloc_pin()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_origin.h88 int use_count = h.use_count(); in CreateChainedOrigin() local
89 if (use_count > flags().origin_history_per_stack_limit) in CreateChainedOrigin()
/freebsd/contrib/llvm-project/compiler-rt/lib/msan/
H A Dmsan_origin.h126 int use_count = h.use_count(); in CreateChainedOrigin() local
127 if (use_count > flags()->origin_history_per_stack_limit) return prev; in CreateChainedOrigin()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.h30 int use_count() const;
H A Dsanitizer_stackdepot.cpp65 int StackDepotHandle::use_count() const { in use_count() function in __sanitizer::StackDepotHandle
/freebsd/sys/dev/ocs_fc/
H A Docs_ddump.c565 OCS_STAT(ocs_ddump_value(textbuf, "use_count", "%d", eq->use_count)); in hw_queue_ddump()
569 OCS_STAT(ocs_ddump_value(textbuf, "use_count", "%d", cq->use_count)); in hw_queue_ddump()
576 OCS_STAT(ocs_ddump_value(textbuf, "use_count", "%d", mq->use_count)); in hw_queue_ddump()
583 OCS_STAT(ocs_ddump_value(textbuf, "use_count", "%d", wq->use_count)); in hw_queue_ddump()
593 OCS_STAT(ocs_ddump_value(textbuf, "use_count", "%d", rq->use_count)); in hw_queue_ddump()
H A Docs_hw.h1108 uint32_t use_count; member
1124 uint32_t use_count; member
1144 uint32_t use_count; member
1189 uint32_t use_count; /*<< use count */ member
1220 uint32_t use_count; member
H A Docs_hw_queues.c1747 …OCS_STAT({ hw_rq_t *rq = hw->hw_rq[hw->hw_rq_lookup[rqindex]]; rq->use_count++; rq->hdr_use_count+… in ocs_hw_rqpair_process_rq()
1854 …OCS_STAT({ hw_rq_t *rq = hw->hw_rq[hw->hw_rq_lookup[rqindex]]; rq->use_count++; rq->hdr_use_count+… in ocs_hw_rqpair_process_auto_xfr_rdy_cmd()
H A Docs_hw.c2150 OCS_STAT(eq->use_count++); in ocs_hw_process()
4003 OCS_STAT(io->wq->use_count++); in ocs_hw_srrs_send()
4317 OCS_STAT(io->wq->use_count++); in ocs_hw_io_send()
4396 OCS_STAT(wq->use_count++); in ocs_hw_send_frame()
12043 OCS_STAT(io->wq->use_count++); in ocs_hw_reque_xri()
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dshared_ptr.h162 …_LIBCPP_HIDE_FROM_ABI long use_count() const _NOEXCEPT { return __libcpp_relaxed_load(&__shared_ow… in use_count() function
190 _LIBCPP_HIDE_FROM_ABI long use_count() const _NOEXCEPT { return __shared_count::use_count(); } in use_count() function
747 …_LIBCPP_HIDE_FROM_ABI long use_count() const _NOEXCEPT { return __cntrl_ ? __cntrl_->use_count() :…
750 …EPRECATED_IN_CXX17 _LIBCPP_HIDE_FROM_ABI bool unique() const _NOEXCEPT { return use_count() == 1; }
1362 …_LIBCPP_HIDE_FROM_ABI long use_count() const _NOEXCEPT { return __cntrl_ ? __cntrl_->use_count() :…
1363 …OM_ABI bool expired() const _NOEXCEPT { return __cntrl_ == nullptr || __cntrl_->use_count() == 0; }
/freebsd/contrib/llvm-project/libcxx/src/
H A Dfuture.cpp146 if (!__state_->__has_value() && __state_->use_count() > 1)
/freebsd/contrib/llvm-project/lldb/source/Core/
H A DModuleList.cpp354 if (pos->use_count() == 1) { in RemoveIfOrphaned()
385 if (pos->use_count() == 1) { in RemoveOrphans()
/freebsd/sys/dev/mpt/
H A Dmpt.h183 u_int use_count; /* Instances using personality*/ member
H A Dmpt.c2183 pers->use_count++; in mpt_attach()
2227 pers->use_count--; in mpt_detach()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmemory631 long use_count() const noexcept;
769 long use_count() const noexcept;
H A Dfuture1161 if (!__state_->__has_value() && __state_->use_count() > 1)
1276 if (!__state_->__has_value() && __state_->use_count() > 1)
/freebsd/contrib/llvm-project/lldb/source/Commands/
H A DCommandObjectTarget.cpp3387 ref_count = module_sp.use_count() - 1; in PrintModule()
H A DOptions.td940 "the shared module cache (Y/N), and its shared pointer use_count.">;
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DCompilerInvocation.cpp208 if (Storage.use_count() > 1) in ensureOwned()