Lines Matching refs:iothr_opt
190 iothread_create(struct iothreads_option *iothr_opt) in iothread_create() argument
198 if (iothr_opt == NULL) { in iothread_create()
205 end = base + iothr_opt->num; in iothread_create()
226 if (iothr_opt->cpusets != NULL) { in iothread_create()
227 memcpy(&(ioctx_x->cpuset), iothr_opt->cpusets + (i - base), sizeof(cpu_set_t)); in iothread_create()
231 "iothr-%d-%s", ioctx_x->idx, iothr_opt->tag) >= PTHREAD_NAME_MAX_LEN) { in iothread_create()
257 iothread_parse_options(char *str, struct iothreads_option *iothr_opt) in iothread_parse_options() argument
344 iothr_opt->num = num; in iothread_parse_options()
345 iothr_opt->cpusets = cpuset_list; in iothread_parse_options()
354 void iothread_free_options(struct iothreads_option *iothr_opt) in iothread_free_options() argument
356 if ((iothr_opt != NULL) && (iothr_opt->cpusets != NULL)) { in iothread_free_options()
357 free(iothr_opt->cpusets); in iothread_free_options()
358 iothr_opt->cpusets = NULL; in iothread_free_options()