| /linux/tools/testing/selftests/ftrace/test.d/ftrace/ |
| H A D | func-filter-notrace-pid.tc | 11 if [ ! -f options/function-fork ]; then 20 orig_value=`grep function-fork trace_options` 49 echo nofunction-fork > trace_options 71 echo function-fork > trace_options
|
| H A D | func-filter-pid.tc | 13 if [ ! -f options/function-fork ]; then 27 orig_value=`grep function-fork trace_options` 64 echo nofunction-fork > trace_options 86 echo function-fork > trace_options
|
| /linux/tools/testing/selftests/arm64/fp/ |
| H A D | Makefile | 13 za-fork za-ptrace 25 EXTRA_CLEAN += $(OUTPUT)/asm-utils.o $(OUTPUT)/rdvl.o $(OUTPUT)/za-fork-asm.o 43 $(OUTPUT)/za-fork: za-fork.c $(OUTPUT)/za-fork-asm.o
|
| /linux/Documentation/admin-guide/cgroup-v1/ |
| H A D | pids.rst | 9 new tasks from being fork()'d or clone()'d after a certain limit is reached. 27 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the 39 - max: Number of times fork failed in the cgroup because limit was hit in 65 sh: fork: Resource temporary unavailable 80 sh: fork: Resource temporary unavailable 89 sh: fork: Resource temporary unavailable 92 sh: fork: Resource temporary unavailable
|
| /linux/tools/testing/selftests/ftrace/test.d/event/ |
| H A D | event-pid.tc | 10 echo 0 > options/event-fork 20 echo 0 > options/event-fork 49 echo 1 > options/event-fork
|
| H A D | event-no-pid.tc | 11 echo 0 > options/event-fork 64 echo 0 > options/event-fork 92 echo 1 > options/event-fork
|
| /linux/tools/testing/selftests/perf_events/ |
| H A D | remove_on_exec.c | 103 pid_t pid = fork(); in TEST_F() 131 pid_only_fork = fork(); in TEST_F() 139 pid_exec = fork(); in TEST_F() 179 pid_exec = fork(); in TEST_F() 204 pids[i] = fork(); in TEST_F()
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | stackdump_test.c | 178 pid = fork(); 306 pid_coredump_server = fork(); in TEST_F() 378 pid = fork(); in TEST_F() 415 pid_coredump_server = fork(); in TEST_F() 465 pid = fork(); in TEST_F() 514 pid = fork(); in TEST_F() 545 pid_coredump_server = fork(); in TEST_F() 577 pid = fork(); in TEST_F() 741 pid_coredump_server = fork(); in TEST_F() 829 pid = fork(); in TEST_F() [all …]
|
| /linux/tools/testing/selftests/pid_namespace/ |
| H A D | pid_max.c | 70 pid = fork(); in pid_max_cb() 116 pids[0] = fork(); in pid_max_nested_inner() 125 pids[1] = fork(); in pid_max_nested_inner() 140 pid = fork(); in pid_max_nested_inner() 196 pid = fork(); in pid_max_nested_outer() 261 pid = fork(); in pid_max_nested_limit_inner()
|
| H A D | regression_enomem.c | 31 pid = fork(); in TEST() 39 pid = fork(); in TEST()
|
| /linux/Documentation/translations/zh_CN/mm/ |
| H A D | vmalloced-kernel-stacks.rst | 94 线程栈分配是由clone()、fork()、vfork()、kernel_thread()通过kernel_clone() 98 `kernel/fork.c <https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/kernel/fork…
|
| /linux/tools/perf/bench/ |
| H A D | inject-buildid.c | 159 memset(&event, 0, sizeof(event.fork) + bench_id_hdr_size); in synthesize_fork() 163 event.header.size = sizeof(event.fork) + bench_id_hdr_size; in synthesize_fork() 165 event.fork.ppid = 1; in synthesize_fork() 166 event.fork.ptid = 1; in synthesize_fork() 167 event.fork.pid = data->pid; in synthesize_fork() 168 event.fork.tid = data->pid; in synthesize_fork() 291 data->pid = fork(); in setup_injection()
|
| /linux/tools/testing/selftests/namespaces/ |
| H A D | nsid_test.c | 66 pid = fork(); in TEST() 175 pid = fork(); in TEST() 284 pid = fork(); in TEST() 393 pid = fork(); in TEST() 502 pid = fork(); in TEST() 617 pid = fork(); in TEST() 636 pid_t grandchild = fork(); in TEST() 741 pid = fork(); in TEST() 760 pid_t grandchild = fork(); in TEST() 896 pid = fork(); in TEST()
|
| /linux/tools/testing/selftests/x86/ |
| H A D | amx.c | 319 parent = fork(); in test_dynamic_state() 337 child = fork(); in test_dynamic_state() 368 grandchild = fork(); in test_dynamic_state() 439 child = fork(); in test_fork() 457 grandchild = fork(); in test_fork()
|
| /linux/tools/testing/selftests/powerpc/benchmarks/ |
| H A D | Makefile | 2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall 19 $(OUTPUT)/fork: LDLIBS += -lpthread
|
| /linux/tools/testing/selftests/sched_ext/ |
| H A D | init_enable_count.c | 43 pids[i] = fork(); in run_test() 71 pids[i] = fork(); in run_test() 101 pids[i] = fork(); in run_test()
|
| /linux/tools/testing/selftests/proc/ |
| H A D | proc-loadavg-001.c | 36 pid = fork(); in main() 56 pid = fork(); in main()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | prctl_thp_disable.c | 160 TEST_F(prctl_thp_disable_completely, fork) in TEST_F() argument 166 pid = fork(); in TEST_F() 268 TEST_F(prctl_thp_disable_except_madvise, fork) in TEST_F() argument 274 pid = fork(); in TEST_F()
|
| /linux/fs/hfsplus/ |
| H A D | inode.c | 461 void hfsplus_inode_read_fork(struct inode *inode, struct hfsplus_fork_raw *fork) in hfsplus_inode_read_fork() argument 469 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork() 471 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork() 477 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork() 478 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork() 483 be32_to_cpu(fork->clump_size) >> sbi->alloc_blksz_shift; in hfsplus_inode_read_fork() 492 struct hfsplus_fork_raw *fork) in hfsplus_inode_write_fork() argument 494 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork() 496 fork->total_size = cpu_to_be64(inode->i_size); in hfsplus_inode_write_fork() 497 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
|
| /linux/tools/testing/selftests/powerpc/math/ |
| H A D | fpu_syscall.c | 53 pid_t pid = fork(); in test_syscall_fpu() 58 pid2 = fork(); in test_syscall_fpu()
|
| H A D | vmx_syscall.c | 59 pid = fork(); in test_vmx_syscall() 62 pid2 = fork(); in test_vmx_syscall()
|
| /linux/tools/testing/selftests/riscv/vector/ |
| H A D | vstate_exec_nolibc.c | 26 pid = fork(); in main() 47 pid = fork(); in main()
|
| /linux/tools/testing/selftests/connector/ |
| H A D | proc_filter.c | 157 event->event_data.fork.child_pid, in handle_packet() 158 event->event_data.fork.child_tgid, in handle_packet() 159 event->event_data.fork.parent_pid, in handle_packet() 160 event->event_data.fork.parent_tgid); in handle_packet()
|
| /linux/tools/perf/util/ |
| H A D | event.c | 414 event->fork.pid, event->fork.tid, in perf_event__fprintf_task() 415 event->fork.ppid, event->fork.ptid); in perf_event__fprintf_task() 440 event->fork.pid, in perf_event__exit_del_thread() 441 event->fork.tid); in perf_event__exit_del_thread() 443 dump_printf("(%d:%d):(%d:%d)\n", event->fork.pid, event->fork.tid, in perf_event__exit_del_thread() 444 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
|
| H A D | data-convert-bt.c | 915 __FUNC_PROCESS_NON_SAMPLE(fork, 916 __NON_SAMPLE_SET_FIELD(fork, u32, pid); 917 __NON_SAMPLE_SET_FIELD(fork, u32, ppid); 918 __NON_SAMPLE_SET_FIELD(fork, u32, tid); 919 __NON_SAMPLE_SET_FIELD(fork, u32, ptid); 920 __NON_SAMPLE_SET_FIELD(fork, u64, time); 924 __NON_SAMPLE_SET_FIELD(fork, u32, pid); 925 __NON_SAMPLE_SET_FIELD(fork, u32, ppid); 926 __NON_SAMPLE_SET_FIELD(fork, u32, tid); 927 __NON_SAMPLE_SET_FIELD(fork, u32, ptid); [all …]
|