Searched refs:usecnt (Results 1 – 5 of 5) sorted by relevance
189 ctx->usecnt = 0; in exclaves_ipc_buffer_cache_alloc()226 ctx->usecnt = 0; in exclaves_ipc_buffer_cache_free()294 assert(ctx->usecnt == 0); in exclaves_xnuproxy_ctx_alloc()333 assert(ctx->usecnt == 0); in exclaves_xnuproxy_ctx_alloc()347 assert(ctx->usecnt == 0); in exclaves_xnuproxy_ctx_free()378 ctx->usecnt = 0; in exclaves_xnuproxy_ctx_free()616 exclaves_bootstrap_ctx.usecnt = 1; in exclaves_xnuproxy_init()
795 assert(thread->th_exclaves_ipc_ctx.usecnt == 0); in exclaves_allocate_ipc_buffer()800 assert(thread->th_exclaves_ipc_ctx.usecnt == 0); in exclaves_allocate_ipc_buffer()802 thread->th_exclaves_ipc_ctx.usecnt++; in exclaves_allocate_ipc_buffer()833 assert(thread->th_exclaves_ipc_ctx.usecnt > 0); in exclaves_free_ipc_buffer()834 if (--thread->th_exclaves_ipc_ctx.usecnt > 0) { in exclaves_free_ipc_buffer()858 thread->th_exclaves_ipc_ctx.usecnt = 0; in exclaves_thread_terminate()
1050 uint32_t usecnt = 0; in pp_buflet_metadata_dtor() local1069 KBUF_DTOR(kbft, usecnt); in pp_buflet_metadata_dtor()1071 SK_KVA(objaddr), usecnt); in pp_buflet_metadata_dtor()1072 if (__probable(usecnt == 0)) { in pp_buflet_metadata_dtor()2744 uint32_t usecnt = 0; in pp_free_buflet_common() local2748 KBUF_DTOR(kbft, usecnt); in pp_free_buflet_common()2750 SK_KVA(pp), SK_KVA(objaddr), usecnt); in pp_free_buflet_common()2751 if (__probable(usecnt == 0)) { in pp_free_buflet_common()
749 uint32_t usecnt = 0; in kern_packet_clone_internal() local762 KBUF_DTOR(p2_buf, usecnt); in kern_packet_clone_internal()
996 uint64_t usecnt; member