Home
last modified time | relevance | path

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

/kernel/power/
Dswap.c231 static void hib_init_batch(struct hib_bio_batch *hb) in hib_init_batch() argument
233 atomic_set(&hb->count, 0); in hib_init_batch()
234 init_waitqueue_head(&hb->wait); in hib_init_batch()
235 hb->error = BLK_STS_OK; in hib_init_batch()
240 struct hib_bio_batch *hb = bio->bi_private; in hib_end_io() local
255 if (bio->bi_status && !hb->error) in hib_end_io()
256 hb->error = bio->bi_status; in hib_end_io()
257 if (atomic_dec_and_test(&hb->count)) in hib_end_io()
258 wake_up(&hb->wait); in hib_end_io()
264 struct hib_bio_batch *hb) in hib_submit_io() argument
[all …]
/kernel/
Dfutex.c348 static inline void hb_waiters_inc(struct futex_hash_bucket *hb) in hb_waiters_inc() argument
351 atomic_inc(&hb->waiters); in hb_waiters_inc()
363 static inline void hb_waiters_dec(struct futex_hash_bucket *hb) in hb_waiters_dec() argument
366 atomic_dec(&hb->waiters); in hb_waiters_dec()
370 static inline int hb_waiters_pending(struct futex_hash_bucket *hb) in hb_waiters_pending() argument
373 return atomic_read(&hb->waiters); in hb_waiters_pending()
771 static struct futex_q *futex_top_waiter(struct futex_hash_bucket *hb, in futex_top_waiter() argument
776 plist_for_each_entry(this, &hb->chain, list) { in futex_top_waiter()
903 struct futex_hash_bucket *hb; in exit_pi_state_list() local
918 hb = hash_futex(&key); in exit_pi_state_list()
[all …]