Home
last modified time | relevance | path

Searched refs:refs (Results 1 – 25 of 41) sorted by relevance

12

/f-stack/freebsd/kern/
H A Dkern_module.c167 newmod->refs = 1; in module_register()
190 mod->refs++; in module_reference()
199 if (mod->refs <= 0) in module_release()
204 mod->refs--; in module_release()
205 if (mod->refs == 0) { in module_release()
365 int refs; member
386 refs = mod->refs; in sys_modstat()
406 if ((error = copyout(&refs, &stat->refs, sizeof(int))) != 0) in sys_modstat()
461 int refs; member
484 refs = mod->refs; in freebsd32_modstat()
[all …]
H A Dsubr_kobj.c175 cls->refs++; in kobj_class_compile_static()
244 if (cls->refs == 0) { in kobj_class_free()
268 cls->refs++; in kobj_init_common()
333 int refs; in kobj_delete() local
342 cls->refs--; in kobj_delete()
343 refs = cls->refs; in kobj_delete()
346 if (!refs) in kobj_delete()
H A Dkern_linker.c188 ((kobj_class_t)lc)->refs++; /* XXX: kobj_mtx */ in linker_add_class()
431 lf->refs++; in linker_load_file()
516 (*result)->refs++; in linker_reference_module()
615 lf->refs = 1; in linker_make_file()
650 if (file->refs > 1) { in linker_file_unload()
651 file->refs--; in linker_file_unload()
1298 stat->refs = lf->refs; in kern_kldstat()
1646 linker_kernel_file->refs++; in linker_preload()
1671 mod->container->refs++; in linker_preload()
2170 linker_kernel_file->refs++; in linker_load_dependencies()
[all …]
/f-stack/freebsd/mips/broadcom/
H A Dbcm_mips.c94 sc->isrcs[ivec].refs = 0; in bcm_mips_register_isrcs()
134 cpuirq->refs = 0; in bcm_mips_init_cpuirq_unavail()
215 cpuirq->refs = 0; in bcm_mips_init_cpuirq()
246 if (cpuirq->refs != 0) { in bcm_mips_fini_cpuirq()
544 if (isrc->refs == UINT_MAX) in bcm_mips_retain_cpu_intr()
547 isrc->refs++; in bcm_mips_retain_cpu_intr()
625 cpuirq->refs++; in bcm_mips_retain_cpu_intr()
628 isrc->refs++; in bcm_mips_retain_cpu_intr()
657 isrc->refs--; in bcm_mips_release_cpu_intr()
660 if (isrc->refs > 0) in bcm_mips_release_cpu_intr()
[all …]
H A Dbcm_mipsvar.h76 u_int refs; /**< isrc consumer refcount */ member
85 u_int refs; /**< active reference count */ member
/f-stack/freebsd/contrib/device-tree/scripts/
H A Dcronjob28 if ! git show-ref --quiet --verify refs/tags/v${LATEST_VERSION} ; then
31 if ! git show-ref --quiet --verify refs/tags/v${LATEST_VERSION}-dts ; then
38 REF=$(git show-ref --verify refs/heads/${branch})
89 REF=$(git show-ref --verify refs/heads/${TESTBRANCH})
112 git update-ref refs/tests/${DATE} ${TESTBRANCH}
119 REF=$(git show-ref --verify refs/heads/${branch})
H A Dfilter.sh14 LAST=$(git show-ref -s refs/heads/$UPSTREAM_MASTER||true)
28 rm -f .git/refs/original/refs/heads/${UPSTREAM_REWRITTEN}
37 --prune-empty --state-branch refs/heads/filter-state \
H A Dmerge-new-release.sh40 … export GIT_COMMITTER_DATE="$(git for-each-ref --format='%(taggerdate)' "refs/tags/${v%-dts}")"
/f-stack/freebsd/i386/i386/
H A Dbpf_jit_machdep.h90 u_int *refs; member
426 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
427 stream.refs[stream.bpf_pc] + 5, 4); \
428 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
429 stream.refs[stream.bpf_pc]); \
432 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
433 stream.refs[stream.bpf_pc], 4); \
436 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
437 stream.refs[stream.bpf_pc], 4); \
443 JMP(stream.refs[stream.bpf_pc + (off)] - \
[all …]
H A Dbpf_jit_machdep.c68 if (stream->refs != NULL) in emit_length()
69 (stream->refs)[stream->bpf_pc] += len; in emit_length()
188 stream.refs = malloc((nins + 1) * sizeof(u_int), M_BPFJIT, in bpf_jit_compile()
191 stream.refs = calloc(nins + 1, sizeof(u_int)); in bpf_jit_compile()
193 if (stream.refs == NULL) in bpf_jit_compile()
653 stream.refs[i] += stream.refs[i - 1]; in bpf_jit_compile()
669 free(stream.refs, M_BPFJIT); in bpf_jit_compile()
671 free(stream.refs); in bpf_jit_compile()
/f-stack/freebsd/amd64/amd64/
H A Dbpf_jit_machdep.h115 u_int *refs; member
481 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
482 stream.refs[stream.bpf_pc] + 5, 4); \
483 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
484 stream.refs[stream.bpf_pc]); \
487 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
488 stream.refs[stream.bpf_pc], 4); \
491 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
492 stream.refs[stream.bpf_pc], 4); \
498 JMP(stream.refs[stream.bpf_pc + (off)] - \
[all …]
H A Dbpf_jit_machdep.c68 if (stream->refs != NULL) in emit_length()
69 (stream->refs)[stream->bpf_pc] += len; in emit_length()
186 stream.refs = malloc((nins + 1) * sizeof(u_int), M_BPFJIT, in bpf_jit_compile()
189 stream.refs = calloc(nins + 1, sizeof(u_int)); in bpf_jit_compile()
191 if (stream.refs == NULL) in bpf_jit_compile()
623 stream.refs[i] += stream.refs[i - 1]; in bpf_jit_compile()
639 free(stream.refs, M_BPFJIT); in bpf_jit_compile()
641 free(stream.refs); in bpf_jit_compile()
/f-stack/freebsd/x86/iommu/
H A Dintel_ctx.c450 ctx->refs = 1; in dmar_ctx_alloc()
464 domain->refs++; in dmar_ctx_link()
481 domain->refs--; in dmar_ctx_unlink()
723 domain->refs)); in dmar_unref_domain_locked()
728 if (domain->refs > 1) { in dmar_unref_domain_locked()
729 domain->refs--; in dmar_unref_domain_locked()
753 KASSERT(ctx->refs >= 1, in dmar_free_ctx_locked()
760 if (ctx->refs > 1) { in dmar_free_ctx_locked()
761 ctx->refs--; in dmar_free_ctx_locked()
785 if (ctx->refs > 1) { in dmar_free_ctx_locked()
[all …]
H A Dintel_dmar.h68 u_int refs; /* (u) Refs, including ctx */ member
80 u_int refs; /* (u) References from tags */ member
/f-stack/tools/compat/include/sys/
H A Dlinker.h72 int refs; /* reference count */ member
305 int refs; member
315 int refs; member
/f-stack/freebsd/sys/
H A Dlinker.h74 int refs; /* reference count */ member
328 int refs; member
338 int refs; member
H A Dkobj.h61 u_int refs; /* reference count */ \
H A Dmodule.h261 int refs; member
/f-stack/freebsd/libkern/
H A Diconv.c133 dcp->refs++; in iconv_register_converter()
141 dcp->refs--; in iconv_unregister_converter()
142 if (dcp->refs > 1) { in iconv_unregister_converter()
143 ICDEBUG("converter has %d references left\n", dcp->refs); in iconv_unregister_converter()
/f-stack/freebsd/netgraph/
H A Dng_socket.c184 int refs; member
576 priv->refs++; in ng_attach_cntl()
583 priv->refs++; in ng_attach_cntl()
669 priv->refs--; in ng_socket_free_priv()
671 if (priv->refs == 0) { in ng_socket_free_priv()
678 if ((priv->refs == 1) && (priv->node != NULL)) { in ng_socket_free_priv()
742 priv->refs++; in ng_connect_data()
H A Dng_base.c663 type->refs++; in ng_make_node_common()
1292 tp->refs = 1; /* first ref is linked list */ in ng_newtype()
1305 if (tp->refs != 1) { in ng_rmtype()
2188 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2240 refcount_acquire(&item->apply->refs); in ng_snd_item()
2344 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2498 if (refcount_release(&apply->refs)) in ng_apply_item()
2764 tp->numnodes = type->refs - 1; /* don't count list */ in ng_generic_msg()
3100 type->refs--; /* undo it */ in ng_mod_event()
3107 if (type->refs > 1) { /* make sure no nodes exist! */ in ng_mod_event()
[all …]
/f-stack/freebsd/vm/
H A Dvm_pageout.c729 int act_delta, error, numpagedout, queue, refs, starting_target; in vm_pageout_launder() local
810 refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; in vm_pageout_launder()
823 act_delta = refs; in vm_pageout_launder()
1180 int act_delta, max_scan, ps_delta, refs, scan_tick; in vm_pageout_scan_active() local
1280 refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; in vm_pageout_scan_active()
1299 act_delta = refs; in vm_pageout_scan_active()
1436 int act_delta, addl_page_shortage, starting_page_shortage, refs; in vm_pageout_scan_inactive() local
1530 refs = object->ref_count != 0 ? pmap_ts_referenced(m) : 0; in vm_pageout_scan_inactive()
1543 act_delta = refs; in vm_pageout_scan_inactive()
/f-stack/freebsd/contrib/device-tree/Bindings/hwmon/
H A Dg762.txt25 at http://natisbad.org/NAS/refs/GMT_EDS-762_763-080710-0.2.pdf.
/f-stack/lib/
H A Dff_ng_base.c667 type->refs++; in ng_make_node_common()
809 node->nd_type->refs--; /* XXX maybe should get types lock? */ in ng_unref_node()
1298 tp->refs = 1; /* first ref is linked list */ in ng_newtype()
1311 if (tp->refs != 1) { in ng_rmtype()
2195 if (refcount_release(&item->apply->refs)) { in ng_flush_input_queue()
2250 refcount_acquire(&item->apply->refs); in ng_snd_item()
2362 if (refcount_release(&item->apply->refs)) { in ng_snd_item()
2518 if (refcount_release(&apply->refs)) in ng_apply_item()
2784 tp->numnodes = type->refs - 1; /* don't count list */ in ng_generic_msg()
3124 type->refs--; /* undo it */ in ng_mod_event()
[all …]
/f-stack/freebsd/opencrypto/
H A Dcryptodev.c321 volatile u_int refs; member
670 refcount_init(&cse->refs, 1); in cse_create()
709 refcount_acquire(&cse->refs); in cse_find()
722 if (!refcount_release(&cse->refs)) in cse_free()
1354 KASSERT(refcount_load(&cse->refs) == 1, in fcrypt_dtor()
1356 refcount_load(&cse->refs))); in fcrypt_dtor()

12