Home
last modified time | relevance | path

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

/hardware/google/gfxstream/guest/mesa/src/util/
Du_thread.c106 unsigned num_mask_bits) in util_set_thread_affinity() argument
115 memset(old_mask, 0, num_mask_bits / 8); in util_set_thread_affinity()
116 for (unsigned i = 0; i < num_mask_bits && i < CPU_SETSIZE; i++) { in util_set_thread_affinity()
123 for (unsigned i = 0; i < num_mask_bits && i < CPU_SETSIZE; i++) { in util_set_thread_affinity()
132 if (sizeof(m) > 4 && num_mask_bits > 32) in util_set_thread_affinity()
140 memset(old_mask, 0, num_mask_bits / 8); in util_set_thread_affinity()
Du_thread.h84 unsigned num_mask_bits);
89 unsigned num_mask_bits) in util_set_current_thread_affinity() argument
92 num_mask_bits); in util_set_current_thread_affinity()