Home
last modified time | relevance | path

Searched refs:thread_num (Results 1 – 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/tm/
Dtm-tmspr.c95 int thread_num; in test_tmspr() local
101 thread_num = 10 * sysconf(_SC_NPROCESSORS_ONLN); in test_tmspr()
103 thread = malloc(thread_num * sizeof(pthread_t)); in test_tmspr()
108 for (i = 0; i < thread_num; i += 2) { in test_tmspr()
114 for (i = 1; i < thread_num; i += 2) { in test_tmspr()
119 for (i = 0; i < thread_num; i++) { in test_tmspr()
/kernel/linux/linux-5.10/kernel/sched/rtg/
Drtg_ctrl.c626 frame_thread_info.thread_num = MAX_TID_NUM; in clear_rtg_frame_thread()
656 frame_thread_info->thread_num = MAX_TID_NUM; in init_frame_thread_info()
682 frame_thread_info.prio, frame_thread_info.thread_num, proc_info.rtcnt); in parse_create_rtg_grp()
707 if ((frame_info->thread_num < 0) || (add_num < 0)) { in parse_add_rtg_thread()
712 if (frame_info->thread_num + add_num > MAX_TID_NUM) { in parse_add_rtg_thread()
716 add_index = frame_info->thread_num; in parse_add_rtg_thread()
724 frame_info->thread_num++; in parse_add_rtg_thread()
725 add_index = frame_info->thread_num; in parse_add_rtg_thread()
845 for (i = 0; i < frame_info->thread_num; i++) { in list_rtg_thread()
Dframe_rtg.c358 for (j = 0; j < frame_info->thread_num; j++) { in search_rtg()
553 int thread_num; in update_frame_thread_info() local
557 frame_thread_info->thread_num < 0) in update_frame_thread_info()
561 thread_num = frame_thread_info->thread_num; in update_frame_thread_info()
562 if (thread_num > MAX_TID_NUM) in update_frame_thread_info()
563 thread_num = MAX_TID_NUM; in update_frame_thread_info()
570 for (i = 0; i < thread_num; i++) { in update_frame_thread_info()
579 frame_info->thread_num = real_thread; in update_frame_thread_info()
1183 frame_info->thread_num = 0; in _init_frame_info()
Dframe_rtg.h67 int thread_num; member
/kernel/linux/linux-5.10/include/linux/sched/
Dframe_rtg.h29 int thread_num; member
/kernel/linux/linux-5.10/drivers/char/ipmi/
Dipmi_ssif.c1904 unsigned int thread_num; in ssif_probe() local
1906 thread_num = ((i2c_adapter_id(ssif_info->client->adapter) in ssif_probe()
1911 "kssif%4.4x", thread_num); in ssif_probe()