/include/linux/ |
D | freelist.h | 19 atomic_t refs; member 50 atomic_set_release(&node->refs, 1); in __freelist_add() 57 if (atomic_fetch_add_release(REFS_ON_FREELIST - 1, &node->refs) == 1) in __freelist_add() 70 if (!atomic_fetch_add_release(REFS_ON_FREELIST, &node->refs)) { in freelist_add() 82 unsigned int refs; in freelist_try_get() local 86 refs = atomic_read(&head->refs); in freelist_try_get() 87 if ((refs & REFS_MASK) == 0 || in freelist_try_get() 88 !atomic_try_cmpxchg_acquire(&head->refs, &refs, refs+1)) { in freelist_try_get() 106 WARN_ON_ONCE(atomic_read(&head->refs) & REFS_ON_FREELIST); in freelist_try_get() 112 atomic_fetch_add(-2, &head->refs); in freelist_try_get() [all …]
|
D | refcount.h | 112 atomic_t refs; member 115 #define REFCOUNT_INIT(n) { .refs = ATOMIC_INIT(n), } 136 atomic_set(&r->refs, n); in refcount_set() 147 return atomic_read(&r->refs); in refcount_read() 157 } while (!atomic_try_cmpxchg_relaxed(&r->refs, &old, old + i)); in __refcount_add_not_zero() 193 int old = atomic_fetch_add_relaxed(i, &r->refs); in __refcount_add() 272 int old = atomic_fetch_sub_release(i, &r->refs); in __refcount_sub_and_test() 338 int old = atomic_fetch_sub_release(1, &r->refs); in __refcount_dec()
|
D | io_uring_types.h | 185 atomic_t refs; member 215 struct percpu_ref refs; member 578 atomic_t refs; member
|
D | mm_inline.h | 138 static inline int lru_tier_from_refs(int refs) in lru_tier_from_refs() argument 140 VM_WARN_ON_ONCE(refs > BIT(LRU_REFS_WIDTH)); in lru_tier_from_refs() 143 return order_base_2(refs + 1); in lru_tier_from_refs()
|
D | bpf_verifier.h | 318 struct bpf_reference_state *refs; member
|
D | hugetlb.h | 57 struct kref refs; member 111 struct kref refs; member
|
D | mm.h | 1441 bool __put_devmap_managed_page_refs(struct page *page, int refs); 1442 static inline bool put_devmap_managed_page_refs(struct page *page, int refs) in put_devmap_managed_page_refs() argument 1448 return __put_devmap_managed_page_refs(page, refs); in put_devmap_managed_page_refs() 1451 static inline bool put_devmap_managed_page_refs(struct page *page, int refs) in put_devmap_managed_page_refs() argument 1527 static inline void folio_put_refs(struct folio *folio, int refs) in folio_put_refs() argument 1529 if (folio_ref_sub_and_test(folio, refs)) in folio_put_refs()
|
D | blkdev.h | 455 refcount_t refs; member
|
/include/uapi/xen/ |
D | gntdev.h | 70 struct ioctl_gntdev_grant_ref refs[1]; member 256 __u32 refs[1]; member 298 __u32 refs[1]; member
|
/include/kvm/ |
D | iommu.h | 51 atomic_t refs; member
|
/include/media/ |
D | v4l2-h264.h | 39 } refs[V4L2_H264_NUM_DPB_ENTRIES]; member
|
/include/net/ |
D | mctpdevice.h | 22 refcount_t refs; member
|
D | mctp.h | 155 refcount_t refs; member 244 refcount_t refs; member
|
/include/uapi/linux/ |
D | xdp_diag.h | 71 __u32 refs; member
|
D | btrfs_tree.h | 742 __le64 refs; member 748 __le32 refs; member 884 __le32 refs; member
|
/include/trace/events/ |
D | btrfs.h | 301 __field( int, refs ) 314 __entry->refs = refcount_read(&map->refs); 330 __entry->refs, __entry->compress_type) 531 __field( int, refs ) 545 __entry->refs = refcount_read(&ordered->refs); 564 __entry->compress_type, __entry->refs) 1121 __field( int, refs ) 1130 __entry->refs = atomic_read(&buf->refs); 1139 __entry->refs,
|
/include/net/netfilter/ |
D | nf_tables.h | 546 refcount_t refs; member 597 return refcount_read(&s->refs) != 1; in nft_set_gc_is_pending()
|
/include/sound/ |
D | pcm.h | 448 refcount_t refs; member
|