Home
last modified time | relevance | path

Searched refs:refcount_t (Results 1 – 18 of 18) sorted by relevance

/tools/include/linux/
A Drefcount.h54 } refcount_t; typedef
58 static inline void refcount_set(refcount_t *r, unsigned int n) in refcount_set()
63 static inline void refcount_set_release(refcount_t *r, unsigned int n) in refcount_set_release()
68 static inline unsigned int refcount_read(const refcount_t *r) in refcount_read()
81 bool refcount_inc_not_zero(refcount_t *r) in refcount_inc_not_zero()
112 static inline void refcount_inc(refcount_t *r) in refcount_inc()
126 bool refcount_sub_and_test(unsigned int i, refcount_t *r) in refcount_sub_and_test()
151 bool refcount_dec_and_test(refcount_t *r) in refcount_dec_and_test()
/tools/lib/perf/include/internal/
A Dcpumap.h17 refcount_t refcnt; in DECLARE_RC_STRUCT()
30 static inline refcount_t *perf_cpu_map__refcnt(struct perf_cpu_map *map) in perf_cpu_map__refcnt()
A Dthreadmap.h15 refcount_t refcnt;
A Dmmap.h29 refcount_t refcnt;
/tools/perf/util/
A Dmem-info.h14 refcount_t refcnt; in DECLARE_RC_STRUCT()
50 static inline refcount_t *mem_info__refcnt(struct mem_info *mi) in mem_info__refcnt()
A Dcgroup.h17 refcount_t refcnt;
A Dnamespaces.h40 refcount_t refcnt; in DECLARE_RC_STRUCT()
A Dcomm.c13 refcount_t refcnt; in DECLARE_RC_STRUCT()
44 static refcount_t *comm_str__refcnt(struct comm_str *cs) in comm_str__refcnt()
A Dmaps.h47 refcount_t *maps__refcnt(struct maps *maps); /* Test only. */
A Dmap.h32 refcount_t refcnt; in DECLARE_RC_STRUCT()
92 static inline refcount_t *map__refcnt(struct map *map) in map__refcnt()
A Dthread.h42 refcount_t refcnt; in DECLARE_RC_STRUCT()
194 static inline refcount_t *thread__refcnt(struct thread *thread) in thread__refcnt()
A Dkvm-stat.h31 refcount_t refcnt;
A Dnamespaces.c212 static refcount_t *nsinfo__refcnt(struct nsinfo *nsi) in nsinfo__refcnt()
A Dmaps.c43 refcount_t refcnt; in DECLARE_RC_STRUCT()
180 refcount_t *maps__refcnt(struct maps *maps) in maps__refcnt()
A Ddso.h287 refcount_t refcnt; in DECLARE_RC_STRUCT()
/tools/testing/selftests/bpf/progs/
A Dkfree_skb.c37 } refcount_t; typedef
45 refcount_t users;
/tools/testing/selftests/bpf/test_kmods/
A Dbpf_testmod_kfunc.h25 refcount_t cnt;
85 refcount_t usage;
/tools/testing/vma/
A Dvma_internal.h173 refcount_t refcount;
381 refcount_t vm_refcnt;

Completed in 31 milliseconds