Home
last modified time | relevance | path

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

/include/linux/
Drefcount.h99 atomic_t refs; member
102 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), }
123 atomic_set(&r->refs, n); in refcount_set()
134 return atomic_read(&r->refs); in refcount_read()
162 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &old, old + i)); in refcount_add_not_zero()
188 int old = atomic_fetch_add_relaxed(i, &r->refs); in refcount_add()
253 int old = atomic_fetch_sub_release(i, &r->refs); in refcount_sub_and_test()
296 if (unlikely(atomic_fetch_sub_release(1, &r->refs) <= 1)) in refcount_dec()
Dfile.h48 extern struct file *fget_many(unsigned int fd, unsigned int refs);
Drmap.h319 #define try_to_unmap(page, refs) false argument
Dbpf_verifier.h187 struct bpf_reference_state *refs; member
Dproperty.h403 const struct software_node_ref_args *refs; member
Dhugetlb.h44 struct kref refs; member
/include/uapi/xen/
Dgntdev.h64 struct ioctl_gntdev_grant_ref refs[1]; member
250 __u32 refs[1]; member
292 __u32 refs[1]; member
/include/uapi/linux/
Dxdp_diag.h69 __u32 refs; member
Dbtrfs_tree.h479 __le64 refs; member
485 __le32 refs; member
622 __le32 refs; member
/include/trace/events/
Dbtrfs.h261 __field( int, refs )
274 __entry->refs = refcount_read(&map->refs);
290 __entry->refs, __entry->compress_type)
491 __field( int, refs )
505 __entry->refs = refcount_read(&ordered->refs);
525 __entry->compress_type, __entry->refs)
994 __field( int, refs )
1003 __entry->refs = atomic_read(&buf->refs);
1012 __entry->refs,
/include/net/netfilter/
Dnf_tables.h432 refcount_t refs; member
472 return refcount_read(&s->refs) != 1; in nft_set_gc_is_pending()
/include/sound/
Dpcm.h437 refcount_t refs; member