Searched refs:TASK_TID_BITS (Results 1 – 3 of 3) sorted by relevance
63 #define TASK_TID_BITS 16 macro65 #define TASK_TID_MASK ((1 << TASK_TID_BITS) - 1)68 #define TASK_TID_COUNTER_MASK ((1 << TASK_TID_BITS) - TASK_TID_INCREMENT)71 #error MAX_TASKS does not fit in TASK_TID_BITS
39 #define EVENT_WITH_ORIGIN(evt, origin) (((evt) & EVT_MASK) | ((origin) << (32 - TASK_TID_BITS…40 #define EVENT_GET_ORIGIN(evt) ((evt) >> (32 - TASK_TID_BITS))
69 #define HANDLE_TO_TID(handle) (((handle) >> (32 - TASK_TID_BITS)) & TASK_TID_MASK)