Home
last modified time | relevance | path

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

12345

/freebsd-14.2/sys/kern/
H A Dkern_module.c165 newmod->refs = 1; in module_register()
188 mod->refs++; in module_reference()
202 mod->refs--; in module_release()
363 int refs; member
370 int refs; member
394 refs = mod->refs; in sys_modstat()
425 if ((error = copyout(&refs, &stat->refs, sizeof(int))) != 0) in sys_modstat()
486 int refs; member
494 int refs; member
519 refs = mod->refs; in freebsd32_modstat()
[all …]
H A Dsubr_kobj.c173 cls->refs++; in kobj_class_compile_static()
242 if (cls->refs == 0) { in kobj_class_free()
266 cls->refs++; in kobj_init_common()
331 int refs; in kobj_delete() local
340 cls->refs--; in kobj_delete()
341 refs = cls->refs; in kobj_delete()
344 if (!refs) in kobj_delete()
/freebsd-14.2/tools/tools/termcap/
H A Dtermcap.pl90 my %refs = ();
98 $refs{$ref} = $tcs;
110 $tca = $refs{$tca} if (defined $tca && defined $refs{$tca});
111 $tcb = $refs{$tcb} if (defined $tcb && defined $refs{$tca});
151 foreach my $ref (sort(keys(%refs))) {
152 next if ($refs{$ref} ne $tca);
/freebsd-14.2/contrib/unifdef/scripts/
H A Dgit.config6 fetch = :refs/remotes/git-svn
9 fetch = +refs/heads/*:refs/remotes/github/*
10 fetch = +refs/pull/*/head:refs/remotes/github/pull/*
/freebsd-14.2/sys/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 \
/freebsd-14.2/sys/dev/usb/
H A Dusb_dev.c1083 f = refs.txfifo; in usb_ioctl()
1087 f = refs.rxfifo; in usb_ioctl()
1265 f = refs.txfifo; in usb_kqfilter()
1272 f = refs.rxfifo; in usb_kqfilter()
1314 f = refs.txfifo; in usb_poll()
1318 if (!refs.is_usbfs) { in usb_poll()
1352 f = refs.rxfifo; in usb_poll()
1416 f = refs.rxfifo; in usb_read()
1431 if (refs.is_usbfs) { in usb_read()
1533 f = refs.txfifo; in usb_write()
[all …]
/freebsd-14.2/sys/x86/iommu/
H A Dintel_ctx.c434 ctx->context.refs = 1; in dmar_ctx_alloc()
448 domain->refs++; in dmar_ctx_link()
460 KASSERT(domain->refs > 0, in dmar_ctx_unlink()
465 domain->refs--; in dmar_ctx_unlink()
484 KASSERT(domain->refs == 0, in dmar_domain_destroy()
709 KASSERT(domain->refs >= 1, in dmar_unref_domain_locked()
711 domain->refs)); in dmar_unref_domain_locked()
716 if (domain->refs > 1) { in dmar_unref_domain_locked()
717 domain->refs--; in dmar_unref_domain_locked()
749 ctx->context.refs--; in dmar_free_ctx_locked()
[all …]
/freebsd-14.2/sys/i386/i386/
H A Dbpf_jit_machdep.h88 u_int *refs; member
424 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
425 stream.refs[stream.bpf_pc] + 5, 4); \
426 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
427 stream.refs[stream.bpf_pc]); \
430 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
431 stream.refs[stream.bpf_pc], 4); \
434 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
435 stream.refs[stream.bpf_pc], 4); \
441 JMP(stream.refs[stream.bpf_pc + (off)] - \
[all …]
H A Dbpf_jit_machdep.c66 if (stream->refs != NULL) in emit_length()
67 (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()
651 stream.refs[i] += stream.refs[i - 1]; in bpf_jit_compile()
667 free(stream.refs, M_BPFJIT); in bpf_jit_compile()
669 free(stream.refs); in bpf_jit_compile()
/freebsd-14.2/sys/amd64/amd64/
H A Dbpf_jit_machdep.h113 u_int *refs; member
479 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
480 stream.refs[stream.bpf_pc] + 5, 4); \
481 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
482 stream.refs[stream.bpf_pc]); \
485 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
486 stream.refs[stream.bpf_pc], 4); \
489 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
490 stream.refs[stream.bpf_pc], 4); \
496 JMP(stream.refs[stream.bpf_pc + (off)] - \
[all …]
H A Dbpf_jit_machdep.c66 if (stream->refs != NULL) in emit_length()
67 (stream->refs)[stream->bpf_pc] += len; in emit_length()
184 stream.refs = malloc((nins + 1) * sizeof(u_int), M_BPFJIT, in bpf_jit_compile()
187 stream.refs = calloc(nins + 1, sizeof(u_int)); in bpf_jit_compile()
189 if (stream.refs == NULL) in bpf_jit_compile()
621 stream.refs[i] += stream.refs[i - 1]; in bpf_jit_compile()
637 free(stream.refs, M_BPFJIT); in bpf_jit_compile()
639 free(stream.refs); in bpf_jit_compile()
/freebsd-14.2/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_plist.c72 plist->refs = 1; in bhnd_nvram_plist_new()
96 BHND_NV_ASSERT(plist->refs >= 1, ("plist over-released")); in bhnd_nvram_plist_retain()
98 refcount_acquire(&plist->refs); in bhnd_nvram_plist_retain()
114 BHND_NV_ASSERT(plist->refs >= 1, ("plist over-released")); in bhnd_nvram_plist_release()
117 if (!refcount_release(&plist->refs)) in bhnd_nvram_plist_release()
786 prop->refs = 1; in bhnd_nvram_prop_new()
861 BHND_NV_ASSERT(prop->refs >= 1, ("prop over-released")); in bhnd_nvram_prop_retain()
863 refcount_acquire(&prop->refs); in bhnd_nvram_prop_retain()
877 BHND_NV_ASSERT(prop->refs >= 1, ("prop over-released")); in bhnd_nvram_prop_release()
880 if (!refcount_release(&prop->refs)) in bhnd_nvram_prop_release()
H A Dbhnd_nvram_plistvar.h46 volatile u_int refs; /**< refcount */ member
68 volatile u_int refs; /**< refcount */ member
/freebsd-14.2/sbin/kldstat/
H A Dkldstat.c84 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile()
88 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile()
173 stat.id, stat.refs, stat.name, in main()
178 printf("%3d %4d %s\n", stat.id, stat.refs, in main()
/freebsd-14.2/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c69 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-14.2/sys/dev/xen/grant_table/
H A Dgrant_table.c209 gnttab_end_foreign_access_references(u_int count, grant_ref_t *refs) in gnttab_end_foreign_access_references() argument
216 tail = *refs; in gnttab_end_foreign_access_references()
217 last_ref = refs + count; in gnttab_end_foreign_access_references()
218 while (refs != last_ref) { in gnttab_end_foreign_access_references()
219 if (gnttab_end_foreign_access_ref(*refs)) { in gnttab_end_foreign_access_references()
220 gnttab_entry(*refs) = head; in gnttab_end_foreign_access_references()
221 head = *refs; in gnttab_end_foreign_access_references()
231 refs++; in gnttab_end_foreign_access_references()
/freebsd-14.2/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.h207 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 DTransforms.cpp216 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear() argument
225 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() argument
226 : Dcl(D), Refs(refs) { } in ReferenceCollector()
299 void trans::clearRefsIn(Stmt *S, ExprSet &refs) { in clearRefsIn() argument
300 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn()
303 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs() argument
304 ReferenceCollector(D, refs).TraverseStmt(S); in collectRefs()
/freebsd-14.2/sys/dev/bhnd/bhndb/
H A Dbhndb_private.h162 LIST_HEAD(, bhndb_dw_rentry) refs; /**< references */
247 KASSERT(LIST_EMPTY(&dw_free->refs), in bhndb_dw_next_free()
262 bool is_free = LIST_EMPTY(&dwa->refs); in bhndb_dw_is_free()
/freebsd-14.2/contrib/netbsd-tests/ipf/expected/
H A Dp217 # 'anonymous' table refs 2
20 # 'anonymous' table refs 2
/freebsd-14.2/contrib/openpam/misc/
H A Dgendoc.pl418 my @refs = ();
421 push(@refs, "$page $sect");
424 while ($_ = shift(@refs)) {
426 (@refs ? " ,\n" : "\n");
/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dcdev.h54 u_int refs; member
66 cdev->refs = 1; in cdev_init()
/freebsd-14.2/tools/regression/geom/ConfCmp/
H A DConfCmp.c75 LIST_HEAD(, ref) refs = LIST_HEAD_INITIALIZER(refs);
261 LIST_FOREACH(r, &refs, next) { in refcmp()
268 LIST_INSERT_HEAD(&refs, r, next); in refcmp()
/freebsd-14.2/sys/sys/
H A Dlinker.h72 int refs; /* reference count */ member
344 int refs; member
354 int refs; member

12345