Home
last modified time | relevance | path

Searched refs:child_num (Results 1 – 3 of 3) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/pipe/
Dpipe13.c46 unsigned int child_num = tcases[n]; in verify_pipe() local
47 int pid[child_num]; in verify_pipe()
50 tst_res(TINFO, "Creating %d child processes", child_num); in verify_pipe()
52 for (i = 0; i < child_num; i++) { in verify_pipe()
63 while (cnt < child_num && sleep_us < 1000000) { in verify_pipe()
69 for (i = 0; i < child_num; i++) { in verify_pipe()
79 for (i = 0; i < child_num; i++) { in verify_pipe()
/third_party/ltp/testcases/kernel/mem/lib/
Dmem.c323 static void ksm_child_memset(int child_num, int size, int total_unit, in ksm_child_memset() argument
329 tst_res(TINFO, "child %d continues...", child_num); in ksm_child_memset()
333 child_num, size, ksm_merge_data.data); in ksm_child_memset()
338 child_num, size, ksm_merge_data.data); in ksm_child_memset()
353 static void create_ksm_child(int child_num, int size, int unit, in create_ksm_child() argument
373 tst_res(TINFO, "child %d stops.", child_num); in create_ksm_child()
380 ksm_child_memset(child_num, size, total_unit, in create_ksm_child()
385 tst_res(TINFO, "child %d stops.", child_num); in create_ksm_child()
390 verify(memory, 'e', child_num, total_unit - 1, in create_ksm_child()
392 verify(memory, ksm_merge_data[j].data, child_num, in create_ksm_child()
[all …]
/third_party/ltp/testcases/kernel/mce-test/stress/tools/page-poisoning/
Dpage-poisoning.c84 static int child_num = INSTANCE_NUM; variable
655 if (((child_num - 1) % test_types) >= t_shm) in setup_ipc()
656 shm_child_num = (child_num - 1) / test_types + 1; in setup_ipc()
658 shm_child_num = (child_num - 1) / test_types; in setup_ipc()
850 child_num = strtol(optarg, NULL, 0); in main()
851 if (child_num > INSTANCE_NUM) in main()
852 child_num = INSTANCE_NUM; in main()
880 if (!child_num) { in main()
889 rc = run_test(child_num); in main()