Home
last modified time | relevance | path

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

12345678910>>...12

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeIndexDiscovery.cpp70 SmallVectorImpl<TiReference> &Refs) { in handleMethodOverloadList() argument
86 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleMethodOverloadList()
96 SmallVectorImpl<TiReference> &Refs) { in handleBaseClass() argument
101 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleBaseClass()
106 SmallVectorImpl<TiReference> &Refs) { in handleEnumerator() argument
116 SmallVectorImpl<TiReference> &Refs) { in handleDataMember() argument
122 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleDataMember()
128 SmallVectorImpl<TiReference> &Refs) { in handleOverloadedMethod() argument
133 Refs.push_back({TiRefKind::TypeRef, Offset + 4, 1}); in handleOverloadedMethod()
138 SmallVectorImpl<TiReference> &Refs) { in handleOneMethod() argument
156 handleNestedType(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleNestedType() argument
166 handleStaticDataMember(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleStaticDataMember() argument
177 handleVirtualBaseClass(ArrayRef<uint8_t> Data,uint32_t Offset,bool IsIndirect,SmallVectorImpl<TiReference> & Refs) handleVirtualBaseClass() argument
192 handleVFPtr(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleVFPtr() argument
201 handleListContinuation(ArrayRef<uint8_t> Data,uint32_t Offset,SmallVectorImpl<TiReference> & Refs) handleListContinuation() argument
210 handleFieldList(ArrayRef<uint8_t> Content,SmallVectorImpl<TiReference> & Refs) handleFieldList() argument
266 handlePointer(ArrayRef<uint8_t> Content,SmallVectorImpl<TiReference> & Refs) handlePointer() argument
275 discoverTypeIndices(ArrayRef<uint8_t> Content,TypeLeafKind Kind,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
361 discoverTypeIndices(ArrayRef<uint8_t> Content,SymbolKind Kind,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
458 discoverTypeIndices(const CVType & Type,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
463 resolveTypeIndexReferences(ArrayRef<uint8_t> RecordData,ArrayRef<TiReference> Refs,SmallVectorImpl<TypeIndex> & Indices) resolveTypeIndexReferences() argument
488 SmallVector<TiReference, 4> Refs; discoverTypeIndices() local
494 discoverTypeIndices(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TiReference> & Refs) discoverTypeIndices() argument
502 discoverTypeIndicesInSymbol(const CVSymbol & Sym,SmallVectorImpl<TiReference> & Refs) discoverTypeIndicesInSymbol() argument
508 discoverTypeIndicesInSymbol(ArrayRef<uint8_t> RecordData,SmallVectorImpl<TiReference> & Refs) discoverTypeIndicesInSymbol() argument
518 SmallVector<TiReference, 2> Refs; discoverTypeIndicesInSymbol() local
[all...]
/freebsd/sys/kern/
H A Dkern_module.c50 int refs; /* reference count */ member
164 newmod->refs = 1; in module_register()
186 MOD_DPF(REFS, ("module_reference: before, refs=%d\n", mod->refs)); in module_reference()
187 mod->refs++; in module_reference()
196 if (mod->refs <= 0) in module_release()
199 MOD_DPF(REFS, ("module_release: before, refs=%d\n", mod->refs)); in module_release()
201 mod->refs--; in module_release()
202 if (mod->refs == 0) { in module_release()
362 int refs; member
369 int refs; member
[all …]
H A Dsubr_kobj.c170 * Increment refs to make sure that the ops table is not freed. in kobj_class_compile_static()
172 cls->refs++; in kobj_class_compile_static()
241 if (cls->refs == 0) { in kobj_class_free()
265 cls->refs++; in kobj_init_common()
330 int refs; in kobj_delete() local
339 cls->refs--; in kobj_delete()
340 refs = cls->refs; in kobj_delete()
343 if (!refs) in kobj_delete()
/freebsd/sys/x86/iommu/
H A Damd_ctx.c161 KASSERT(domain->refs == 0, in amdiommu_domain_destroy()
162 ("destroying dom %p with refs %d", domain, domain->refs)); in amdiommu_domain_destroy()
284 ctx->context.refs = 1; in amdiommu_ctx_alloc()
295 KASSERT(domain->refs >= domain->ctx_cnt, in amdiommu_ctx_link()
296 ("dom %p ref underflow %d %d", domain, domain->refs, in amdiommu_ctx_link()
298 domain->refs++; in amdiommu_ctx_link()
310 KASSERT(domain->refs > 0, in amdiommu_ctx_unlink()
311 ("domain %p ctx dtr refs %d", domain, domain->refs)); in amdiommu_ctx_unlink()
312 KASSERT(domain->ctx_cnt >= domain->refs, in amdiommu_ctx_unlink()
313 ("domain %p ctx dtr refs %d ctx_cnt %d", domain, in amdiommu_ctx_unlink()
[all …]
H A Dintel_ctx.c278 domain->refs++; /* XXXKIB prevent free */ in domain_init_rmrr()
432 ctx->context.refs = 1; in dmar_ctx_alloc()
443 KASSERT(domain->refs >= domain->ctx_cnt, in dmar_ctx_link()
444 ("dom %p ref underflow %d %d", domain, domain->refs, in dmar_ctx_link()
446 domain->refs++; in dmar_ctx_link()
458 KASSERT(domain->refs > 0, in dmar_ctx_unlink()
459 ("domain %p ctx dtr refs %d", domain, domain->refs)); in dmar_ctx_unlink()
460 KASSERT(domain->ctx_cnt >= domain->refs, in dmar_ctx_unlink()
461 ("domain %p ctx dtr refs %d ctx_cnt %d", domain, in dmar_ctx_unlink()
462 domain->refs, domain->ctx_cnt)); in dmar_ctx_unlink()
[all …]
/freebsd/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/sbin/kldstat/
H A Dkldstat.c83 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile()
87 stat.id, stat.refs, PTR_WIDTH, stat.address, in printfile()
170 printf("Id Refs Name data..(int, uint, ulong)\n"); in main()
172 stat.id, stat.refs, stat.name, in main()
176 printf("Id Refs Name\n"); in main()
177 printf("%3d %4d %s\n", stat.id, stat.refs, in main()
195 printf("Id Refs Address%*c %5s Name\n", PTR_WIDTH - 7, in main()
198 printf("Id Refs Address%*c %8s Name\n", PTR_WIDTH - 7, in main()
H A Dkldstat.875 .Em Refs
79 Id Refs Address Size Name
99 Id Refs Address Size Name
111 Id Refs Address Size Name
123 Id Refs Name
132 Id Refs Name data..(int, uint, ulong)
/freebsd/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/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})
111 echo "Recording refs/tests/${DATE}"
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-split \
H A Dgit-filter-branch126 orig_namespace=refs/original/
252 # Make sure refs/original is empty
253 git for-each-ref > "$tempdir"/backup-refs || exit
266 done < "$tempdir"/backup-refs
268 # The refs should be updated if their heads were rewritten
270 --default HEAD "$@" > "$tempdir"/raw-refs || exit
281 done >"$tempdir"/heads <"$tempdir"/raw-refs
503 # Finally update the refs
544 # refs are updated, and their original heads stored in refs/original/
548 git for-each-ref --format='%(objectname) %(objecttype) %(refname)' refs/tags |
[all …]
/freebsd/sys/dev/usb/
H A Dusb_dev.c197 /* clear all refs */ in usb_ref_device()
229 * grabbing the FIFO refs to avoid deadlock at detach! in usb_ref_device()
308 /* clear all refs */ in usb_ref_device()
873 struct usb_cdev_refdata refs; in usb_open() local
889 err = usb_ref_device(cpd, &refs, 1); in usb_open()
898 err = usb_fifo_create(cpd, &refs); in usb_open()
902 usb_unref_device(cpd, &refs); in usb_open()
907 err = usb_fifo_open(cpd, refs.rxfifo, fflags); in usb_open()
910 usb_unref_device(cpd, &refs); in usb_open()
916 err = usb_fifo_open(cpd, refs.txfifo, fflags); in usb_open()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h142 std::vector<uint64_t> Refs;
188 io.mapOptional("Refs", summary.Refs);
221 std::vector<ValueInfo> Refs;
222 for (auto &RefGUID : FSum.Refs) {
225 Refs.push_back(ValueInfo(/*IsAnalysis=*/false, &*V.find(RefGUID)));
234 /*NumInsts=*/0, FunctionSummary::FFlags{}, /*EntryCount=*/0, Refs,
249 std::vector<uint64_t> Refs;
250 for (auto &VI : FSum->refs())
251 Refs.push_back(VI.getGUID());
258 FSum->flags().ImportType, Refs, FSum->type_tests(),
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DTypeIndexDiscovery.h27 SmallVectorImpl<TiReference> &Refs);
29 SmallVectorImpl<TiReference> &Refs);
38 SmallVectorImpl<TiReference> &Refs);
40 SmallVectorImpl<TiReference> &Refs);
/freebsd/contrib/llvm-project/clang/lib/ARCMigrate/
H A DTransforms.cpp215 ExprSet &Refs; member in __anon26e897370111::ReferenceClear
217 ReferenceClear(ExprSet &refs) : Refs(refs) { } in ReferenceClear() argument
218 bool VisitDeclRefExpr(DeclRefExpr *E) { Refs.erase(E); return true; } in VisitDeclRefExpr()
223 ExprSet &Refs; member in __anon26e897370111::ReferenceCollector
226 ReferenceCollector(ValueDecl *D, ExprSet &refs) in ReferenceCollector() argument
227 : Dcl(D), Refs(refs) { } in ReferenceCollector()
231 Refs.insert(E); in VisitDeclRefExpr()
300 void trans::clearRefsIn(Stmt *S, ExprSet &refs) { in clearRefsIn() argument
301 ReferenceClear(refs).TraverseStmt(S); in clearRefsIn()
304 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { in collectRefs() argument
[all …]
H A DTransProtectedScope.cpp27 SmallVectorImpl<DeclRefExpr *> &Refs; member in __anon2f6a04b40111::LocalRefsCollector
30 LocalRefsCollector(SmallVectorImpl<DeclRefExpr *> &refs) in LocalRefsCollector() argument
31 : Refs(refs) { } in LocalRefsCollector()
36 Refs.push_back(E); in VisitDeclRefExpr()
/freebsd/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/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()
232 dup_table->refs[index_at_port]) { in __mlx4_register_mac()
242 if (!table->refs[index_at_dup_port] || in __mlx4_register_mac()
251 if (!table->refs[i]) { in __mlx4_register_mac()
255 if (!dup_table->refs[i]) in __mlx4_register_mac()
265 ++table->refs[i]; in __mlx4_register_mac()
308 table->refs[free] = 1; in __mlx4_register_mac()
[all …]
/freebsd/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/sbin/savecore/tests/
H A Dlivedump_test.sh26 printf "Id Refs Address Size Name\n"
29 printf "%2d %4d %p %8x %s\n", $_lf->id, $_lf->refs, $_lf->address, $_lf->size, $_lf->filename
44 sed -i '' -n -e 's/^(kgdb) //' -e '/^Id Refs /,$p' out
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallString.h35 SmallString(std::initializer_list<StringRef> Refs) in SmallString() argument
37 this->append(Refs); in SmallString()
56 void assign(std::initializer_list<StringRef> Refs) { in assign() argument
58 append(Refs); in assign()
73 void append(std::initializer_list<StringRef> Refs) { in append() argument
76 for (const StringRef &Ref : Refs) in append()
79 for (const StringRef &Ref : Refs) { in append()
/freebsd/sys/contrib/dev/acpica/include/
H A Dacpredef.h373 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
377 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
381 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
385 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
389 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
393 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
397 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
401 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
405 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
409 METHOD_RETURNS (ACPI_RTYPE_PACKAGE)}}, /* Variable-length (Refs) */
[all …]

12345678910>>...12