Lines Matching refs:pool_id
680 int pool_id) in set_work_pool_and_keep_pending() argument
682 set_work_data(work, (unsigned long)pool_id << WORK_OFFQ_POOL_SHIFT, in set_work_pool_and_keep_pending()
687 int pool_id) in set_work_pool_and_clear_pending() argument
696 set_work_data(work, (unsigned long)pool_id << WORK_OFFQ_POOL_SHIFT, 0); in set_work_pool_and_clear_pending()
767 int pool_id; in get_work_pool() local
774 pool_id = data >> WORK_OFFQ_POOL_SHIFT; in get_work_pool()
775 if (pool_id == WORK_OFFQ_POOL_NONE) in get_work_pool()
778 return idr_find(&worker_pool_idr, pool_id); in get_work_pool()
800 unsigned long pool_id = get_work_pool_id(work); in mark_work_canceling() local
802 pool_id <<= WORK_OFFQ_POOL_SHIFT; in mark_work_canceling()
803 set_work_data(work, pool_id | WORK_OFFQ_CANCELING, WORK_STRUCT_PENDING); in mark_work_canceling()