| /freebsd-13.1/contrib/ntp/lib/isc/include/isc/ |
| H A D | refcount.h | 103 isc_int32_t refs; member 141 int refs; 159 ++((rp)->refs); \ 161 *_tmp = ((rp)->refs); \ 170 ++((rp)->refs); \ 172 *_tmp = ((rp)->refs); \ 182 --((rp)->refs); \ 184 *_tmp = ((rp)->refs); \ 192 int refs; 211 _n = ++(rp)->refs; \ [all …]
|
| /freebsd-13.1/sys/kern/ |
| H A D | kern_module.c | 167 newmod->refs = 1; in module_register() 190 mod->refs++; in module_reference() 204 mod->refs--; in module_release() 365 int refs; member 372 int refs; member 396 refs = mod->refs; in sys_modstat() 427 if ((error = copyout(&refs, &stat->refs, sizeof(int))) != 0) in sys_modstat() 488 int refs; member 496 int refs; member 521 refs = mod->refs; in freebsd32_modstat() [all …]
|
| H A D | subr_kobj.c | 175 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()
|
| /freebsd-13.1/tools/tools/termcap/ |
| H A D | termcap.pl | 91 my %refs = (); 99 $refs{$ref} = $tcs; 111 $tca = $refs{$tca} if (defined $tca && defined $refs{$tca}); 112 $tcb = $refs{$tcb} if (defined $tcb && defined $refs{$tca}); 152 foreach my $ref (sort(keys(%refs))) { 153 next if ($refs{$ref} ne $tca);
|
| /freebsd-13.1/sys/mips/broadcom/ |
| H A D | bcm_mips.c | 93 sc->isrcs[ivec].refs = 0; in bcm_mips_register_isrcs() 133 cpuirq->refs = 0; in bcm_mips_init_cpuirq_unavail() 214 cpuirq->refs = 0; in bcm_mips_init_cpuirq() 245 if (cpuirq->refs != 0) { in bcm_mips_fini_cpuirq() 543 if (isrc->refs == UINT_MAX) in bcm_mips_retain_cpu_intr() 546 isrc->refs++; in bcm_mips_retain_cpu_intr() 624 cpuirq->refs++; in bcm_mips_retain_cpu_intr() 627 isrc->refs++; in bcm_mips_retain_cpu_intr() 656 isrc->refs--; in bcm_mips_release_cpu_intr() 659 if (isrc->refs > 0) in bcm_mips_release_cpu_intr() [all …]
|
| H A D | bcm_mipsvar.h | 75 u_int refs; /**< isrc consumer refcount */ member 84 u_int refs; /**< active reference count */ member
|
| /freebsd-13.1/sys/contrib/device-tree/scripts/ |
| H A D | cronjob | 28 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 D | filter.sh | 14 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 \
|
| /freebsd-13.1/sys/dev/usb/ |
| H A D | usb_dev.c | 1084 f = refs.txfifo; in usb_ioctl() 1088 f = refs.rxfifo; in usb_ioctl() 1266 f = refs.txfifo; in usb_kqfilter() 1273 f = refs.rxfifo; in usb_kqfilter() 1315 f = refs.txfifo; in usb_poll() 1319 if (!refs.is_usbfs) { in usb_poll() 1353 f = refs.rxfifo; in usb_poll() 1417 f = refs.rxfifo; in usb_read() 1432 if (refs.is_usbfs) { in usb_read() 1534 f = refs.txfifo; in usb_write() [all …]
|
| /freebsd-13.1/sys/i386/i386/ |
| H A D | bpf_jit_machdep.h | 90 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 D | bpf_jit_machdep.c | 68 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()
|
| /freebsd-13.1/sys/x86/iommu/ |
| H A D | intel_ctx.c | 449 ctx->refs = 1; in dmar_ctx_alloc() 463 domain->refs++; in dmar_ctx_link() 480 domain->refs--; in dmar_ctx_unlink() 722 domain->refs)); in dmar_unref_domain_locked() 727 if (domain->refs > 1) { in dmar_unref_domain_locked() 728 domain->refs--; in dmar_unref_domain_locked() 752 KASSERT(ctx->refs >= 1, in dmar_free_ctx_locked() 759 if (ctx->refs > 1) { in dmar_free_ctx_locked() 760 ctx->refs--; in dmar_free_ctx_locked() 784 if (ctx->refs > 1) { in dmar_free_ctx_locked() [all …]
|
| /freebsd-13.1/sys/amd64/amd64/ |
| H A D | bpf_jit_machdep.h | 115 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 D | bpf_jit_machdep.c | 68 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()
|
| /freebsd-13.1/contrib/ntp/lib/isc/ |
| H A D | ratelimiter.c | 41 int refs; member 71 rl->refs = 1; in isc_ratelimiter_create() 92 rl->refs++; in isc_ratelimiter_create() 256 REQUIRE(source->refs > 0); in isc_ratelimiter_attach() 257 source->refs++; in isc_ratelimiter_attach() 258 INSIST(source->refs > 0); in isc_ratelimiter_attach() 269 REQUIRE(rl->refs > 0); in isc_ratelimiter_detach() 270 rl->refs--; in isc_ratelimiter_detach() 271 if (rl->refs == 0) in isc_ratelimiter_detach()
|
| H A D | hash.c | 337 unsigned int refs; in isc_hash_ctxdetach() local 342 isc_refcount_decrement(&hctx->refcnt, &refs); in isc_hash_ctxdetach() 343 if (refs == 0) in isc_hash_ctxdetach() 351 unsigned int refs; in isc_hash_destroy() local 355 isc_refcount_decrement(&hash->refcnt, &refs); in isc_hash_destroy() 356 INSIST(refs == 0); in isc_hash_destroy()
|
| /freebsd-13.1/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_plist.c | 74 plist->refs = 1; in bhnd_nvram_plist_new() 98 BHND_NV_ASSERT(plist->refs >= 1, ("plist over-released")); in bhnd_nvram_plist_retain() 100 refcount_acquire(&plist->refs); in bhnd_nvram_plist_retain() 116 BHND_NV_ASSERT(plist->refs >= 1, ("plist over-released")); in bhnd_nvram_plist_release() 119 if (!refcount_release(&plist->refs)) in bhnd_nvram_plist_release() 788 prop->refs = 1; in bhnd_nvram_prop_new() 863 BHND_NV_ASSERT(prop->refs >= 1, ("prop over-released")); in bhnd_nvram_prop_retain() 865 refcount_acquire(&prop->refs); in bhnd_nvram_prop_retain() 879 BHND_NV_ASSERT(prop->refs >= 1, ("prop over-released")); in bhnd_nvram_prop_release() 882 if (!refcount_release(&prop->refs)) in bhnd_nvram_prop_release()
|
| H A D | bhnd_nvram_plistvar.h | 47 volatile u_int refs; /**< refcount */ member 69 volatile u_int refs; /**< refcount */ member
|
| /freebsd-13.1/sbin/kldstat/ |
| H A D | kldstat.c | 86 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile() 90 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile() 175 stat.id, stat.refs, stat.name, in main() 180 printf("%3d %4d %s\n", stat.id, stat.refs, in main()
|
| /freebsd-13.1/sys/dev/mlx4/mlx4_core/ |
| H A D | mlx4_port.c | 69 table->refs[i] = 0; in mlx4_init_mac_table() 83 table->refs[i] = 0; in mlx4_init_vlan_table() 118 if (table->refs[i] && in find_index() 157 if (!table->refs[i]) in mlx4_find_cached_mac() 265 ++table->refs[i]; in __mlx4_register_mac() 308 table->refs[free] = 1; in __mlx4_register_mac() 666 ++table->refs[i]; in __mlx4_register_vlan() 920 if (!t1->refs[i]) { in mlx4_unbond_mac_table() 925 if (!t2->refs[i]) { in mlx4_unbond_mac_table() 1027 if (!t1->refs[i]) { in mlx4_unbond_vlan_table() [all …]
|
| /freebsd-13.1/sys/dev/xen/grant_table/ |
| H A D | grant_table.c | 217 gnttab_end_foreign_access_references(u_int count, grant_ref_t *refs) in gnttab_end_foreign_access_references() argument 224 tail = *refs; in gnttab_end_foreign_access_references() 225 last_ref = refs + count; in gnttab_end_foreign_access_references() 226 while (refs != last_ref) { in gnttab_end_foreign_access_references() 227 if (gnttab_end_foreign_access_ref(*refs)) { in gnttab_end_foreign_access_references() 228 gnttab_entry(*refs) = head; in gnttab_end_foreign_access_references() 229 head = *refs; in gnttab_end_foreign_access_references() 239 refs++; in gnttab_end_foreign_access_references()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ARCMigrate/ |
| H A D | Transforms.h | 207 void clearRefsIn(Stmt *S, ExprSet &refs); 209 void clearRefsIn(iterator begin, iterator end, ExprSet &refs) { in clearRefsIn() argument 211 clearRefsIn(*begin, refs); in clearRefsIn() 214 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
|
| H A D | Transforms.cpp | 218 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear() argument 227 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() argument 228 : Dcl(D), Refs(refs) { } in ReferenceCollector() 301 void trans::clearRefsIn(Stmt *S, ExprSet &refs) { in clearRefsIn() argument 302 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn() 305 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs() argument 306 ReferenceCollector(D, refs).TraverseStmt(S); in collectRefs()
|
| /freebsd-13.1/sys/dev/bhnd/bhndb/ |
| H A D | bhndb_private.h | 163 LIST_HEAD(, bhndb_dw_rentry) refs; /**< references */ 248 KASSERT(LIST_EMPTY(&dw_free->refs), in bhndb_dw_next_free() 263 bool is_free = LIST_EMPTY(&dwa->refs); in bhndb_dw_is_free()
|
| /freebsd-13.1/contrib/netbsd-tests/ipf/expected/ |
| H A D | p2 | 17 # 'anonymous' table refs 2 20 # 'anonymous' table refs 2
|