Searched refs:refs (Results 1 - 25 of 92) sorted by relevance

1234

/freebsd-11-stable/contrib/ntp/lib/isc/include/isc/
H A Drefcount.h103 isc_int32_t refs; member in struct:isc_refcount
106 #define isc_refcount_destroy(rp) REQUIRE((rp)->refs == 0)
107 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
113 prev = isc_atomic_xadd(&(rp)->refs, 1); \
122 prev = isc_atomic_xadd(&(rp)->refs, 1); \
132 prev = isc_atomic_xadd(&(rp)->refs, -1); \
141 int refs;
148 REQUIRE((rp)->refs == 0); \
152 #define isc_refcount_current(rp) ((unsigned int)((rp)->refs))
159 ++((rp)->refs); \
[all...]
/freebsd-11-stable/tools/tools/termcap/
H A Dtermcap.pl91 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-11-stable/contrib/ntp/lib/isc/
H A Drefcount.c31 ref->refs = n;
H A Dratelimiter.c41 int refs; member in struct:isc_ratelimiter
71 rl->refs = 1;
92 rl->refs++;
256 REQUIRE(source->refs > 0);
257 source->refs++;
258 INSIST(source->refs > 0);
269 REQUIRE(rl->refs > 0);
270 rl->refs--;
271 if (rl->refs == 0)
H A Dhash.c337 unsigned int refs; local
342 isc_refcount_decrement(&hctx->refcnt, &refs);
343 if (refs == 0)
351 unsigned int refs; local
355 isc_refcount_decrement(&hash->refcnt, &refs);
356 INSIST(refs == 0);
/freebsd-11-stable/share/doc/psd/18.gprof/
H A DMakefile6 postp.me present.me refs.me
/freebsd-11-stable/sys/kern/
H A Dkern_module.c53 int refs; /* reference count */ member in struct:module
167 newmod->refs = 1;
189 MOD_DPF(REFS, ("module_reference: before, refs=%d\n", mod->refs));
190 mod->refs++;
199 if (mod->refs <= 0)
202 MOD_DPF(REFS, ("module_release: before, refs=%d\n", mod->refs));
204 mod->refs--;
205 if (mod->refs
365 int refs; member in struct:module_stat_v1
375 int id, namelen, refs, version; local
461 int refs; member in struct:module_stat32
472 int id, namelen, refs, version; local
[all...]
H A Dsubr_kobj.c165 * Increment refs to make sure that the ops table is not freed.
167 cls->refs++;
236 if (cls->refs == 0) {
278 cls->refs++;
321 int refs; local
330 cls->refs--;
331 refs = cls->refs;
334 if (!refs)
/freebsd-11-stable/contrib/gcc/
H A Dtree-ssa-loop-prefetch.c180 struct mem_ref *refs; /* References in the group. */ member in struct:mem_ref_group
252 group->refs = NULL;
269 for (aref = &group->refs; *aref; aref = &(*aref)->next)
312 for (ref = groups->refs; ref; ref = next_r)
436 gather_memory_references_ref (struct loop *loop, struct mem_ref_group **refs, argument
448 agrp = find_or_create_group (refs, base, step);
462 struct mem_ref_group *refs = NULL; local
482 gather_memory_references_ref (loop, &refs, rhs, false, stmt);
484 gather_memory_references_ref (loop, &refs, lhs, true, stmt);
489 return refs;
656 prune_ref_by_reuse(struct mem_ref *ref, struct mem_ref *refs) argument
901 determine_unroll_factor(struct loop *loop, struct mem_ref_group *refs, unsigned ahead, unsigned ninsns, struct tree_niter_desc *desc) argument
958 struct mem_ref_group *refs; local
[all...]
H A Dregs.h59 int refs; /* # of times (REG n) is used or set */ member in struct:reg_info_def
77 #define REG_N_REFS(N) (VEC_index (reg_info_p, reg_n_info, N)->refs)
/freebsd-11-stable/sys/i386/i386/
H A Dbpf_jit_machdep.h88 u_int *refs; member in struct:bpf_bin_stream
406 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
407 stream.refs[stream.bpf_pc] + 5, 4); \
408 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
409 stream.refs[stream.bpf_pc]); \
412 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
413 stream.refs[stream.bpf_pc], 4); \
416 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
417 stream.refs[stream.bpf_pc], 4); \
423 JMP(stream.refs[strea
[all...]
H A Dbpf_jit_machdep.c67 if (stream->refs != NULL)
68 (stream->refs)[stream->bpf_pc] += len;
185 stream.refs = malloc((nins + 1) * sizeof(u_int), M_BPFJIT,
188 stream.refs = calloc(nins + 1, sizeof(u_int));
190 if (stream.refs == NULL)
653 stream.refs[i] += stream.refs[i - 1];
669 free(stream.refs, M_BPFJIT);
671 free(stream.refs);
/freebsd-11-stable/sys/dev/usb/
H A Dusb_dev.c197 /* clear all refs */
229 * grabbing the FIFO refs to avoid deadlock at detach!
308 /* clear all refs */
875 struct usb_cdev_refdata refs; local
892 err = usb_ref_device(cpd, &refs, 1);
901 err = usb_fifo_create(cpd, &refs);
905 usb_unref_device(cpd, &refs);
910 err = usb_fifo_open(cpd, refs.rxfifo, fflags);
913 usb_unref_device(cpd, &refs);
919 err = usb_fifo_open(cpd, refs
942 struct usb_cdev_refdata refs; local
1059 struct usb_cdev_refdata refs; local
1252 struct usb_cdev_refdata refs; local
1302 struct usb_cdev_refdata refs; local
1407 struct usb_cdev_refdata refs; local
1530 struct usb_cdev_refdata refs; local
[all...]
/freebsd-11-stable/sys/x86/iommu/
H A Dintel_ctx.c256 domain->refs++; /* XXXKIB prevent free */
342 ctx->refs = 1;
353 KASSERT(domain->refs >= domain->ctx_cnt,
354 ("dom %p ref underflow %d %d", domain, domain->refs,
356 domain->refs++;
368 KASSERT(domain->refs > 0,
369 ("domain %p ctx dtr refs %d", domain, domain->refs));
370 KASSERT(domain->ctx_cnt >= domain->refs,
371 ("domain %p ctx dtr refs
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dcdev.h55 u_int refs; member in struct:linux_cdev
65 cdev->refs = 1;
75 cdev->refs = 1;
/freebsd-11-stable/sbin/kldstat/
H A Dkldstat.c81 stat.id, stat.refs, stat.address, buf, stat.name);
84 stat.id, stat.refs, stat.address, stat.size, stat.name);
171 printf("%3d %4d %s (%d, %u, 0x%lx)\n", stat.id, stat.refs, stat.name,
175 printf("%3d %4d %s\n", stat.id, stat.refs, stat.name);
/freebsd-11-stable/sys/amd64/amd64/
H A Dbpf_jit_machdep.h113 u_int *refs; member in struct:bpf_bin_stream
461 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
462 stream.refs[stream.bpf_pc] + 5, 4); \
463 JMP(stream.refs[stream.bpf_pc + ins->jf] - \
464 stream.refs[stream.bpf_pc]); \
467 emitm(&stream, stream.refs[stream.bpf_pc + ins->jt] - \
468 stream.refs[stream.bpf_pc], 4); \
471 emitm(&stream, stream.refs[stream.bpf_pc + ins->jf] - \
472 stream.refs[stream.bpf_pc], 4); \
478 JMP(stream.refs[strea
[all...]
H A Dbpf_jit_machdep.c67 if (stream->refs != NULL)
68 (stream->refs)[stream->bpf_pc] += len;
184 stream.refs = malloc((nins + 1) * sizeof(u_int), M_BPFJIT,
187 stream.refs = calloc(nins + 1, sizeof(u_int));
189 if (stream.refs == NULL)
624 stream.refs[i] += stream.refs[i - 1];
640 free(stream.refs, M_BPFJIT);
642 free(stream.refs);
/freebsd-11-stable/contrib/binutils/ld/
H A Dldcref.c62 struct cref_ref *refs; member in struct:cref_hash_entry
140 ret->refs = NULL;
174 for (r = h->refs; r != NULL; r = r->next)
183 r->next = h->refs;
184 h->refs = r;
226 for (r = c->refs; r != NULL; r = r->next)
257 for (r = c->refs; r != NULL; r = r->next)
299 for (r = c->refs; r != NULL; r = r->next)
417 for (r = h->refs; r != NULL; r = r->next)
429 for (r = h->refs;
[all...]
/freebsd-11-stable/sys/dev/bhnd/bhndb/
H A Dbhndb_private.h154 LIST_HEAD(, bhndb_dw_rentry) refs; /**< references */ member in struct:bhndb_dw_alloc
219 KASSERT(LIST_EMPTY(&dw_free->refs),
220 ("free list out of sync with refs"));
234 bool is_free = LIST_EMPTY(&dwa->refs);
237 ("refs out of sync with free list"));
/freebsd-11-stable/sys/dev/xen/grant_table/
H A Dgrant_table.c217 gnttab_end_foreign_access_references(u_int count, grant_ref_t *refs) argument
224 tail = *refs;
225 last_ref = refs + count;
226 while (refs != last_ref) {
228 if (gnttab_end_foreign_access_ref(*refs)) {
229 gnttab_entry(*refs) = head;
230 head = *refs;
240 refs++;
/freebsd-11-stable/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) { argument
211 clearRefsIn(*begin, refs);
214 void collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs);
H A DTransforms.cpp217 ReferenceClear(ExprSet &refs) : Refs(refs) { } argument
226 ReferenceCollector(ValueDecl *D, ExprSet &refs) argument
227 : Dcl(D), Refs(refs) { }
300 void trans::clearRefsIn(Stmt *S, ExprSet &refs) { argument
301 ReferenceClear(refs).TraverseStmt(S);
304 void trans::collectRefs(ValueDecl *D, Stmt *S, ExprSet &refs) { argument
305 ReferenceCollector(D, refs).TraverseStmt(S);
/freebsd-11-stable/sys/dev/mlx4/mlx4_core/
H A Dmlx4_port.c69 table->refs[i] = 0;
83 table->refs[i] = 0;
118 if (table->refs[i] &&
157 if (!table->refs[i])
232 dup_table->refs[index_at_port]) {
242 if (!table->refs[index_at_dup_port] ||
251 if (!table->refs[i]) {
255 if (!dup_table->refs[i])
265 ++table->refs[i];
308 table->refs[fre
[all...]
/freebsd-11-stable/contrib/gdb/gdb/
H A Ddcache.c134 int refs; member in struct:dcache_block
230 db->refs++;
407 db->refs = 0;
572 paddr (p->addr), p->refs);

Completed in 190 milliseconds

1234