Lines Matching refs:UINT

37 UINT  _tx_thread_lowest_set_bit_calculate(ULONG map)  in _tx_thread_lowest_set_bit_calculate()
39 UINT bit_set; in _tx_thread_lowest_set_bit_calculate()
43 bit_set = ((UINT) 0); in _tx_thread_lowest_set_bit_calculate()
50 bit_set = ((UINT) 1); in _tx_thread_lowest_set_bit_calculate()
54 bit_set = ((UINT) 9); in _tx_thread_lowest_set_bit_calculate()
55 map = map >> ((UINT) 8); in _tx_thread_lowest_set_bit_calculate()
59 bit_set = ((UINT) 17); in _tx_thread_lowest_set_bit_calculate()
60 map = map >> ((UINT) 16); in _tx_thread_lowest_set_bit_calculate()
64 bit_set = ((UINT) 25); in _tx_thread_lowest_set_bit_calculate()
65 map = map >> ((UINT) 24); in _tx_thread_lowest_set_bit_calculate()
69 map = map >> ((UINT) 4); in _tx_thread_lowest_set_bit_calculate()
70 bit_set = bit_set + ((UINT) 4); in _tx_thread_lowest_set_bit_calculate()
74 map = map >> ((UINT) 2); in _tx_thread_lowest_set_bit_calculate()
75 bit_set = bit_set + ((UINT) 2); in _tx_thread_lowest_set_bit_calculate()
77 bit_set = bit_set - (UINT) (map & (ULONG) 0x1); in _tx_thread_lowest_set_bit_calculate()
89 UINT _tx_thread_smp_next_priority_find(UINT priority) in _tx_thread_smp_next_priority_find()
98 found_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
99 if (priority < ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
101 map_index = priority/((UINT) 32); in _tx_thread_smp_next_priority_find()
103 priority_bit = (((ULONG) 1) << (priority % ((UINT) 32))); in _tx_thread_smp_next_priority_find()
104 local_priority_map = local_priority_map & ~(priority_bit - ((UINT)1)); in _tx_thread_smp_next_priority_find()
108 found_priority = (map_index * ((UINT) 32)) + first_bit_set; in _tx_thread_smp_next_priority_find()
114 if (map_index < (((UINT) TX_MAX_PRIORITIES)/((UINT) 32))) in _tx_thread_smp_next_priority_find()
117 … local_priority_map_active = _tx_thread_priority_map_active & ~(priority_bit - ((UINT) 1)); in _tx_thread_smp_next_priority_find()
123 found_priority = (map_index * ((UINT) 32)) + first_bit_set; in _tx_thread_smp_next_priority_find()
132 UINT _tx_thread_smp_next_priority_find(UINT priority) in _tx_thread_smp_next_priority_find()
134 UINT first_bit_set; in _tx_thread_smp_next_priority_find()
136 UINT next_priority; in _tx_thread_smp_next_priority_find()
143 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
147 if (next_priority >= ((UINT) TX_MAX_PRIORITIES)) in _tx_thread_smp_next_priority_find()
149 next_priority = ((UINT) TX_MAX_PRIORITIES); in _tx_thread_smp_next_priority_find()
166 UINT i; in _tx_thread_smp_schedule_list_clear()
185 i = ((UINT) 6); in _tx_thread_smp_schedule_list_clear()
189 while (i < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_schedule_list_clear()
212 UINT j; in _tx_thread_smp_execute_list_clear()
230 j = ((UINT) 6); in _tx_thread_smp_execute_list_clear()
234 while (j < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_execute_list_clear()
259 UINT j; in _tx_thread_smp_schedule_list_setup()
276 j = ((UINT) 6); in _tx_thread_smp_schedule_list_setup()
279 while (j < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_schedule_list_setup()
302 VOID _tx_thread_smp_core_interrupt(TX_THREAD *thread_ptr, UINT current_core, UINT target_core) in _tx_thread_smp_core_interrupt()
336 VOID _tx_thread_smp_core_wakeup(UINT current_core, UINT target_core) in _tx_thread_smp_core_wakeup()
351 VOID _tx_thread_smp_execute_list_setup(UINT core_index) in _tx_thread_smp_execute_list_setup()
355 UINT i; in _tx_thread_smp_execute_list_setup()
359 i = ((UINT) 0); in _tx_thread_smp_execute_list_setup()
362 while (i < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_execute_list_setup()
398 UINT j; in _tx_thread_smp_available_cores_get()
435 j = ((UINT) 6); in _tx_thread_smp_available_cores_get()
438 while (j < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_available_cores_get()
468 UINT j; in _tx_thread_smp_possible_cores_get()
512 j = ((UINT) 6); in _tx_thread_smp_possible_cores_get()
515 while (j < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_possible_cores_get()
542 UINT _tx_thread_smp_lowest_priority_get(void) in _tx_thread_smp_lowest_priority_get()
546 UINT j; in _tx_thread_smp_lowest_priority_get()
549 UINT lowest_priority; in _tx_thread_smp_lowest_priority_get()
551 lowest_priority = ((UINT) 0); in _tx_thread_smp_lowest_priority_get()
608 j = ((UINT) 6); in _tx_thread_smp_lowest_priority_get()
611 while (j < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_lowest_priority_get()
643 UINT _tx_thread_smp_remap_solution_find(TX_THREAD *schedule_thread, ULONG available_cores, ULONG t… in _tx_thread_smp_remap_solution_find()
646 UINT core; in _tx_thread_smp_remap_solution_find()
647 UINT previous_core; in _tx_thread_smp_remap_solution_find()
650 UINT queue_first, queue_last; in _tx_thread_smp_remap_solution_find()
651 UINT core_queue[TX_THREAD_SMP_MAX_CORES-1]; in _tx_thread_smp_remap_solution_find()
664 queue_first = ((UINT) 0); in _tx_thread_smp_remap_solution_find()
665 queue_last = ((UINT) 0); in _tx_thread_smp_remap_solution_find()
821 core = ((UINT) TX_THREAD_SMP_MAX_CORES); in _tx_thread_smp_remap_solution_find()
829 ULONG _tx_thread_smp_preemptable_threads_get(UINT priority, TX_THREAD *possible_preemption_list[TX… in _tx_thread_smp_preemptable_threads_get()
832 UINT i, j, k; in _tx_thread_smp_preemptable_threads_get()
855 j = ((UINT) 6); in _tx_thread_smp_preemptable_threads_get()
859 while (j < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_preemptable_threads_get()
880 i = ((UINT) 0); in _tx_thread_smp_preemptable_threads_get()
881 j = ((UINT) 0); in _tx_thread_smp_preemptable_threads_get()
883 while (i < ((UINT) TX_THREAD_SMP_MAX_CORES)) in _tx_thread_smp_preemptable_threads_get()
919 if (j > ((UINT) 1)) in _tx_thread_smp_preemptable_threads_get()
923 i = ((UINT) 0); in _tx_thread_smp_preemptable_threads_get()
931 k = i + ((UINT) 1); in _tx_thread_smp_preemptable_threads_get()
990 while (i < (j-((UINT) 1))); in _tx_thread_smp_preemptable_threads_get()
997 VOID _tx_thread_smp_simple_priority_change(TX_THREAD *thread_ptr, UINT new_priority) in _tx_thread_smp_simple_priority_change()
1000 UINT priority; in _tx_thread_smp_simple_priority_change()
1005 UINT map_index; in _tx_thread_smp_simple_priority_change()
1040 map_index = priority/((UINT) 32); in _tx_thread_smp_simple_priority_change()
1105 map_index = new_priority/((UINT) 32); in _tx_thread_smp_simple_priority_change()