Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dlist_bl.h22 #define LIST_BL_LOCKMASK 1UL macro
24 #define LIST_BL_LOCKMASK 0UL macro
60 ((unsigned long)h->first & ~LIST_BL_LOCKMASK); in hlist_bl_first()
66 LIST_BL_BUG_ON((unsigned long)n & LIST_BL_LOCKMASK); in hlist_bl_set_first()
67 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first()
68 LIST_BL_LOCKMASK); in hlist_bl_set_first()
69 h->first = (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK); in hlist_bl_set_first()
74 return !((unsigned long)READ_ONCE(h->first) & ~LIST_BL_LOCKMASK); in hlist_bl_empty()
101 ((uintptr_t)n | ((uintptr_t)*pprev & LIST_BL_LOCKMASK))); in hlist_bl_add_before()
120 LIST_BL_BUG_ON((unsigned long)n & LIST_BL_LOCKMASK); in __hlist_bl_del()
[all …]
Drculist_bl.h14 LIST_BL_BUG_ON((unsigned long)n & LIST_BL_LOCKMASK); in hlist_bl_set_first_rcu()
15 LIST_BL_BUG_ON(((unsigned long)h->first & LIST_BL_LOCKMASK) != in hlist_bl_set_first_rcu()
16 LIST_BL_LOCKMASK); in hlist_bl_set_first_rcu()
18 (struct hlist_bl_node *)((unsigned long)n | LIST_BL_LOCKMASK)); in hlist_bl_set_first_rcu()
24 ((unsigned long)rcu_dereference_check(h->first, hlist_bl_is_locked(h)) & ~LIST_BL_LOCKMASK); in hlist_bl_first_rcu()