Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/
Dworkqueue.c901 static void work_offqd_unpack(struct work_offq_data *offqd, unsigned long data) in work_offqd_unpack() argument
905 offqd->pool_id = shift_and_mask(data, WORK_OFFQ_POOL_SHIFT, in work_offqd_unpack()
907 offqd->disable = shift_and_mask(data, WORK_OFFQ_DISABLE_SHIFT, in work_offqd_unpack()
909 offqd->flags = data & WORK_OFFQ_FLAG_MASK; in work_offqd_unpack()
912 static unsigned long work_offqd_pack_flags(struct work_offq_data *offqd) in work_offqd_pack_flags() argument
914 return ((unsigned long)offqd->disable << WORK_OFFQ_DISABLE_SHIFT) | in work_offqd_pack_flags()
915 ((unsigned long)offqd->flags); in work_offqd_pack_flags()
2354 struct work_offq_data offqd; in clear_pending_if_disabled() local
2360 work_offqd_unpack(&offqd, data); in clear_pending_if_disabled()
2361 set_work_pool_and_clear_pending(work, offqd.pool_id, in clear_pending_if_disabled()
[all …]