Lines Matching refs:name
99 #define K_P4WQ_DEFINE(name, n_threads, stack_sz) \ argument
100 static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \
102 static struct k_thread _p4threads_##name[n_threads]; \
103 static struct k_p4wq name; \
105 _init_##name) = { \
108 .threads = _p4threads_##name, \
109 .stacks = &(_p4stacks_##name[0][0]), \
110 .queue = &name, \
126 #define K_P4WQ_ARRAY_DEFINE(name, n_threads, stack_sz, flg) \ argument
127 static K_THREAD_STACK_ARRAY_DEFINE(_p4stacks_##name, \
129 static struct k_thread _p4threads_##name[n_threads]; \
130 static struct k_p4wq name[n_threads]; \
132 _init_##name) = { \
135 .threads = _p4threads_##name, \
136 .stacks = &(_p4stacks_##name[0][0]), \
137 .queue = name, \