Home
last modified time | relevance | path

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

/kernel/power/
Dswap.c232 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument
234 atomic_set(&hb->count, 0); in hib_init_batch()
235 init_waitqueue_head(&hb->wait); in hib_init_batch()
236 hb->error = BLK_STS_OK; in hib_init_batch()
237 blk_start_plug(&hb->plug); in hib_init_batch()
240 static void hib_finish_batch(struct hib_bio_batch *hb) in hib_finish_batch() argument
242 blk_finish_plug(&hb->plug); in hib_finish_batch()
247 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local
262 if (bio->bi_status && !hb->error) in hib_end_io()
263 hb->error = bio->bi_status; in hib_end_io()
[all …]
/kernel/futex/
Dcore.c320 static inline void hb_waiters_inc(struct futex_hash_bucket *hb) in hb_waiters_inc() argument
323 atomic_inc(&hb->waiters); in hb_waiters_inc()
335 static inline void hb_waiters_dec(struct futex_hash_bucket *hb) in hb_waiters_dec() argument
338 atomic_dec(&hb->waiters); in hb_waiters_dec()
342 static inline int hb_waiters_pending(struct futex_hash_bucket *hb) in hb_waiters_pending() argument
349 return atomic_read(&hb->waiters); in hb_waiters_pending()
706 static struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, in futex_top_waiter() argument
711 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
856 struct futex_hash_bucket *hb; in exit_pi_state_list() local
871 hb = hash_futex(&key); in exit_pi_state_list()
[all …]