Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/md/bcache/
Dclosure.c170 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) macro
186 work_data_bits(&cl->work)) ? "Q" : "", in debug_seq_show()
/linux-4.1.27/include/linux/
Dworkqueue.h26 #define work_data_bits(work) ((unsigned long *)(&(work)->data)) macro
186 return *work_data_bits(work) & WORK_STRUCT_STATIC; in work_static()
263 test_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))
/linux-4.1.27/kernel/
Dworkqueue.c459 if (test_bit(WORK_STRUCT_STATIC_BIT, work_data_bits(work))) { in work_fixup_activate()
596 return (*work_data_bits(work) >> WORK_STRUCT_COLOR_SHIFT) & in get_work_color()
1054 if (!(*work_data_bits(work) & WORK_STRUCT_LINKED)) in move_linked_works()
1131 __clear_bit(WORK_STRUCT_DELAYED_BIT, work_data_bits(work)); in pwq_activate_delayed_work()
1239 if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) in try_to_grab_pending()
1270 if (*work_data_bits(work) & WORK_STRUCT_DELAYED) in try_to_grab_pending()
1461 if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) { in queue_work_on()
1535 if (!test_and_set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(work))) { in queue_delayed_work_on()
2206 if (likely(!(*work_data_bits(work) & WORK_STRUCT_LINKED))) { in worker_thread()
2415 __set_bit(WORK_STRUCT_PENDING_BIT, work_data_bits(&barr->work)); in insert_wq_barrier()
[all …]