Searched refs:TASK_TID_BITS (Results 1 – 3 of 3) sorted by relevance
58 #define TASK_TID_BITS 16 macro60 #define TASK_TID_MASK ((1 << TASK_TID_BITS) - 1)63 #define TASK_TID_COUNTER_MASK ((1 << TASK_TID_BITS) - TASK_TID_INCREMENT)66 #error MAX_TASKS does not fit in TASK_TID_BITS
58 #define EVENT_WITH_ORIGIN(evt, origin) (((evt) & EVT_MASK) | ((origin) << (32 - TASK_TID_BITS…59 #define EVENT_GET_ORIGIN(evt) ((evt) >> (32 - TASK_TID_BITS))
38 #define HANDLE_TO_TID(handle) (((handle) >> (32 - TASK_TID_BITS)) & TASK_TID_MASK)