/openbsd-current/sys/sys/ |
H A D | refcnt.h | 1 /* $OpenBSD: refcnt.h,v 1.12 2023/08/28 14:50:02 bluhm Exp $ */ 28 struct refcnt { struct 37 void refcnt_init(struct refcnt *); 38 void refcnt_init_trace(struct refcnt *, int id); 39 void refcnt_take(struct refcnt *); 40 int refcnt_rele(struct refcnt *); 41 void refcnt_rele_wake(struct refcnt *); 42 void refcnt_finalize(struct refcnt *, const char *); 43 int refcnt_shared(struct refcnt *); 44 unsigned int refcnt_read(struct refcnt *); [all...] |
H A D | eventvar.h | 35 #include <sys/refcnt.h> 52 struct refcnt kq_refcnt; /* [a] # of references */
|
H A D | ucred.h | 38 #include <sys/refcnt.h> 45 struct refcnt cr_refcnt; /* reference count */
|
H A D | resourcevar.h | 38 #include <sys/refcnt.h> 48 struct refcnt pl_refcnt;
|
H A D | unpcb.h | 35 #include <sys/refcnt.h> 70 struct refcnt unp_refcnt; /* references to this pcb */
|
/openbsd-current/gnu/llvm/lldb/examples/summaries/ |
H A D | pysummary.py | 7 refcnt = value.GetChildMemberWithName("ob_refcnt") 12 refcnt_value = "rc = %d" % (refcnt.GetValueAsUnsigned(0))
|
/openbsd-current/sys/dev/dt/ |
H A D | dt_prov_static.c | 95 * reference counting, keep in sync with sys/refcnt.h 97 DT_STATIC_PROBE0(refcnt, none); 98 DT_STATIC_PROBE3(refcnt, ethmulti, "void *", "int", "int"); 99 DT_STATIC_PROBE3(refcnt, ifaddr, "void *", "int", "int"); 100 DT_STATIC_PROBE3(refcnt, ifmaddr, "void *", "int", "int"); 101 DT_STATIC_PROBE3(refcnt, inpcb, "void *", "int", "int"); 102 DT_STATIC_PROBE3(refcnt, rtentry, "void *", "int", "int"); 103 DT_STATIC_PROBE3(refcnt, syncache, "void *", "int", "int"); 104 DT_STATIC_PROBE3(refcnt, tdb, "void *", "int", "int"); 149 /* refcnt */ [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/Sys-Syslog/ |
H A D | Syslog.xs | 132 U32 refcnt; 137 refcnt = SvREFCNT(ident_svptr); 138 if (refcnt) { 140 if (refcnt == 1)
|
/openbsd-current/usr.bin/sndiod/ |
H A D | opt.h | 38 int refcnt; member in struct:opt
|
H A D | opt.c | 241 o->refcnt = 0; 356 if (o->refcnt != 0) { 424 if (o->refcnt > 0) { 475 if (o->refcnt == 0) { 496 d->refcnt++; 507 o->refcnt++; 519 o->refcnt--; 520 if (o->refcnt == 0) {
|
/openbsd-current/sbin/isakmpd/ |
H A D | transport.c | 83 t->refcnt = 0; 89 t->refcnt = 1; 98 t->refcnt++; 101 t->refcnt)); 112 t->refcnt)); 113 if (--t->refcnt) 129 "transport_report: transport %p flags %x refcnt %d", t, 130 t->flags, t->refcnt));
|
H A D | transport.h | 137 int refcnt; member in struct:transport
|
/openbsd-current/sys/kern/ |
H A D | kern_synch.c | 49 #include <sys/refcnt.h> 793 refcnt_init(struct refcnt *r) 799 refcnt_init_trace(struct refcnt *r, int idx) 803 TRACEINDEX(refcnt, r->r_traceidx, r, 0, +1); 807 refcnt_take(struct refcnt *r) 813 TRACEINDEX(refcnt, r->r_traceidx, r, refs - 1, +1); 818 refcnt_rele(struct refcnt *r) 825 TRACEINDEX(refcnt, r->r_traceidx, r, refs + 1, -1); 834 refcnt_rele_wake(struct refcnt *r) 841 refcnt_finalize(struct refcnt * [all...] |
/openbsd-current/usr.bin/vi/ex/ |
H A D | ex_visual.c | 128 ++sp->refcnt; 129 ++sp->ep->refcnt;
|
/openbsd-current/sys/dev/vmm/ |
H A D | vmm.h | 19 #include <sys/refcnt.h> 137 struct refcnt vm_refcnt; /* [a] */ 164 struct refcnt sc_refcnt;
|
/openbsd-current/usr.sbin/bgpd/ |
H A D | rde.h | 166 int refcnt; member in struct:attr 177 int refcnt; member in struct:rde_community 213 int refcnt; member in struct:rde_aspath 247 int refcnt; member in struct:nexthop 261 uint32_t refcnt; member in struct:pt_entry 453 if (comm->refcnt == 0) 455 comm->refcnt++; 466 if (--comm->refcnt == 1) /* last ref is hold internally */ 513 ++pt->refcnt; 514 if (pt->refcnt [all...] |
H A D | rde_prefix.c | 57 uint32_t refcnt; member in struct:pt_entry4 66 uint32_t refcnt; member in struct:pt_entry6 75 uint32_t refcnt; member in struct:pt_entry_vpn4 89 uint32_t refcnt; member in struct:pt_entry_vpn6 103 uint32_t refcnt; member in struct:pt_entry_flow 200 pte4.refcnt = UINT32_MAX; 210 pte6.refcnt = UINT32_MAX; 220 pte_vpn4.refcnt = UINT32_MAX; 234 pte_vpn6.refcnt = UINT32_MAX; 318 if (pte->refcnt ! [all...] |
/openbsd-current/usr.sbin/ldomctl/ |
H A D | mdesc.h | 91 int refcnt; member in struct:md_name 100 int refcnt; member in struct:md_data
|
/openbsd-current/usr.bin/mandoc/ |
H A D | mdoc.h | 72 unsigned int refcnt; member in struct:mdoc_arg
|
/openbsd-current/bin/pax/ |
H A D | ftree.c | 55 int refcnt; /* has tree had a selected file? */ member in struct:ftree 175 ft->refcnt = 0; 203 ftcur->refcnt = 1; 257 if ((ft->refcnt > 0) || ft->newercnt > 0 || ft->chflg)
|
/openbsd-current/usr.bin/vi/common/ |
H A D | exf.h | 19 int refcnt; /* Reference count. */ member in struct:_exf
|
/openbsd-current/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/ |
H A D | first.t | 87 my $refcnt = &Internals::SvREFCNT(\&huge); 89 is(&Internals::SvREFCNT(\&huge), $refcnt, "Refcount unchanged");
|
/openbsd-current/sys/net/ |
H A D | bpfdesc.h | 101 struct refcnt bd_refcnt; /* reference count */
|
/openbsd-current/usr.sbin/npppd/npppd/ |
H A D | radius_req.h | 97 int refcnt; member in struct:_radius_req_setting
|
/openbsd-current/gnu/usr.bin/binutils/gdb/ |
H A D | serial.c | 183 scb->refcnt++; 219 scb->refcnt = 1; 247 scb->refcnt++; 267 scb->refcnt = 1; 302 scb->refcnt--; 303 if (scb->refcnt > 0)
|