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

12345

/openbsd-current/sys/sys/
H A Drefcnt.h1 /* $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 Deventvar.h35 #include <sys/refcnt.h>
52 struct refcnt kq_refcnt; /* [a] # of references */
H A Ducred.h38 #include <sys/refcnt.h>
45 struct refcnt cr_refcnt; /* reference count */
H A Dresourcevar.h38 #include <sys/refcnt.h>
48 struct refcnt pl_refcnt;
H A Dunpcb.h35 #include <sys/refcnt.h>
70 struct refcnt unp_refcnt; /* references to this pcb */
/openbsd-current/gnu/llvm/lldb/examples/summaries/
H A Dpysummary.py7 refcnt = value.GetChildMemberWithName("ob_refcnt")
12 refcnt_value = "rc = %d" % (refcnt.GetValueAsUnsigned(0))
/openbsd-current/sys/dev/dt/
H A Ddt_prov_static.c95 * 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 DSyslog.xs132 U32 refcnt;
137 refcnt = SvREFCNT(ident_svptr);
138 if (refcnt) {
140 if (refcnt == 1)
/openbsd-current/usr.bin/sndiod/
H A Dopt.h38 int refcnt; member in struct:opt
H A Dopt.c241 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 Dtransport.c83 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 Dtransport.h137 int refcnt; member in struct:transport
/openbsd-current/sys/kern/
H A Dkern_synch.c49 #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 Dex_visual.c128 ++sp->refcnt;
129 ++sp->ep->refcnt;
/openbsd-current/sys/dev/vmm/
H A Dvmm.h19 #include <sys/refcnt.h>
137 struct refcnt vm_refcnt; /* [a] */
164 struct refcnt sc_refcnt;
/openbsd-current/usr.sbin/bgpd/
H A Drde.h166 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 Drde_prefix.c57 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 Dmdesc.h91 int refcnt; member in struct:md_name
100 int refcnt; member in struct:md_data
/openbsd-current/usr.bin/mandoc/
H A Dmdoc.h72 unsigned int refcnt; member in struct:mdoc_arg
/openbsd-current/bin/pax/
H A Dftree.c55 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 Dexf.h19 int refcnt; /* Reference count. */ member in struct:_exf
/openbsd-current/gnu/usr.bin/perl/cpan/Scalar-List-Utils/t/
H A Dfirst.t87 my $refcnt = &Internals::SvREFCNT(\&huge);
89 is(&Internals::SvREFCNT(\&huge), $refcnt, "Refcount unchanged");
/openbsd-current/sys/net/
H A Dbpfdesc.h101 struct refcnt bd_refcnt; /* reference count */
/openbsd-current/usr.sbin/npppd/npppd/
H A Dradius_req.h97 int refcnt; member in struct:_radius_req_setting
/openbsd-current/gnu/usr.bin/binutils/gdb/
H A Dserial.c183 scb->refcnt++;
219 scb->refcnt = 1;
247 scb->refcnt++;
267 scb->refcnt = 1;
302 scb->refcnt--;
303 if (scb->refcnt > 0)

Completed in 413 milliseconds

12345