Home
last modified time | relevance | path

Searched refs:fork (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/linux/tools/testing/selftests/ftrace/test.d/ftrace/
A Dfunc-filter-pid.tc12 if [ ! -f options/function-fork ]; then
21 orig_value=`grep function-fork trace_options`
49 echo nofunction-fork > trace_options
71 echo function-fork > trace_options
A Dfunc-filter-notrace-pid.tc11 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
/linux/Documentation/admin-guide/cgroup-v1/
A Dpids.rst9 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 because limit was hit.
64 sh: fork: Resource temporary unavailable
79 sh: fork: Resource temporary unavailable
88 sh: fork: Resource temporary unavailable
91 sh: fork: Resource temporary unavailable
/linux/tools/testing/selftests/perf_events/
A Dremove_on_exec.c103 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/ftrace/test.d/event/
A Devent-pid.tc10 echo 0 > options/event-fork
20 echo 0 > options/event-fork
49 echo 1 > options/event-fork
A Devent-no-pid.tc11 echo 0 > options/event-fork
64 echo 0 > options/event-fork
92 echo 1 > options/event-fork
/linux/tools/perf/bench/
A Dinject-buildid.c158 memset(&event, 0, sizeof(event.fork) + bench_id_hdr_size); in synthesize_fork()
162 event.header.size = sizeof(event.fork) + bench_id_hdr_size; in synthesize_fork()
164 event.fork.ppid = 1; in synthesize_fork()
165 event.fork.ptid = 1; in synthesize_fork()
166 event.fork.pid = data->pid; in synthesize_fork()
167 event.fork.tid = data->pid; in synthesize_fork()
290 data->pid = fork(); in setup_injection()
/linux/fs/hfsplus/
A Dinode.c461 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()
A Dsuper.c104 struct hfsplus_fork_raw *fork; in hfsplus_system_write_inode() local
109 fork = &vhdr->ext_file; in hfsplus_system_write_inode()
113 fork = &vhdr->cat_file; in hfsplus_system_write_inode()
117 fork = &vhdr->alloc_file; in hfsplus_system_write_inode()
120 fork = &vhdr->start_file; in hfsplus_system_write_inode()
123 fork = &vhdr->attr_file; in hfsplus_system_write_inode()
130 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
134 hfsplus_inode_write_fork(inode, fork); in hfsplus_system_write_inode()
A Dcatalog.c334 struct hfsplus_fork_raw fork; in hfsplus_delete_cat() local
384 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
385 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_DATA); in hfsplus_delete_cat()
390 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
391 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_RSRC); in hfsplus_delete_cat()
/linux/tools/testing/selftests/pid_namespace/
A Dregression_enomem.c31 pid = fork(); in TEST()
39 pid = fork(); in TEST()
/linux/tools/testing/selftests/powerpc/benchmarks/
A DMakefile2 TEST_GEN_PROGS := gettimeofday context_switch fork mmap_bench futex_bench null_syscall
18 $(OUTPUT)/fork: LDLIBS += -lpthread
A Dfork.c50 pid = fork(); in start_process_on()
88 pid_t pid = fork(); in bench_fork()
/linux/tools/testing/selftests/powerpc/math/
A Dfpu_syscall.c51 pid_t pid = fork(); in test_syscall_fpu()
56 pid2 = fork(); in test_syscall_fpu()
A Dvmx_syscall.c59 pid = fork(); in test_vmx_syscall()
62 pid2 = fork(); in test_vmx_syscall()
/linux/tools/testing/selftests/proc/
A Dproc-loadavg-001.c36 pid = fork(); in main()
56 pid = fork(); in main()
/linux/tools/perf/util/
A Ddata-convert-bt.c908 __FUNC_PROCESS_NON_SAMPLE(fork,
909 __NON_SAMPLE_SET_FIELD(fork, u32, pid);
910 __NON_SAMPLE_SET_FIELD(fork, u32, ppid);
911 __NON_SAMPLE_SET_FIELD(fork, u32, tid);
912 __NON_SAMPLE_SET_FIELD(fork, u32, ptid);
913 __NON_SAMPLE_SET_FIELD(fork, u64, time);
917 __NON_SAMPLE_SET_FIELD(fork, u32, pid);
918 __NON_SAMPLE_SET_FIELD(fork, u32, ppid);
919 __NON_SAMPLE_SET_FIELD(fork, u32, tid);
1258 __FUNC_ADD_NON_SAMPLE_EVENT_CLASS(fork,
[all …]
A Dbuild-id.c75 event->fork.pid, in perf_event__exit_del_thread()
76 event->fork.tid); in perf_event__exit_del_thread()
78 dump_printf("(%d:%d):(%d:%d)\n", event->fork.pid, event->fork.tid, in perf_event__exit_del_thread()
79 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
93 .fork = perf_event__process_fork,
/linux/tools/perf/Documentation/
A Dperf-test.txt35 --dont-fork::
36 Do not fork child for each test, run all tests within single process.
/linux/tools/testing/selftests/ptrace/
A Dvmaccess.c26 int f, pid = fork(); in TEST()
48 int s, k, pid = fork(); in TEST()
/linux/tools/testing/selftests/x86/
A Damx.c510 parent = fork(); in test_dynamic_state()
528 child = fork(); in test_dynamic_state()
559 grandchild = fork(); in test_dynamic_state()
633 child = fork(); in test_fork()
651 grandchild = fork(); in test_fork()
/linux/tools/testing/selftests/pidfd/
A Dpidfd_test.c106 pid = fork(); in test_pidfd_send_signal_exited_fail()
192 pid1 = fork(); in test_pidfd_send_signal_recycled_pid_fail()
209 pid2 = fork(); in test_pidfd_send_signal_recycled_pid_fail()
252 recycled_pid = fork(); in test_pidfd_send_signal_recycled_pid_fail()
/linux/drivers/connector/
A Dcn_proc.c86 ev->event_data.fork.parent_pid = parent->pid; in proc_fork_connector()
87 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector()
89 ev->event_data.fork.child_pid = task->pid; in proc_fork_connector()
90 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector()
/linux/tools/testing/selftests/powerpc/ptrace/
A Dptrace-perf-hwbreak.c275 cpid = fork(); in test5()
410 cpid = fork(); in test9()
550 cpid = fork(); in test14()
636 child_pid = fork(); in ptrace_perf_hwbreak()
/linux/tools/testing/selftests/net/
A Dipv6_flowlabel_mgr.c131 pid = fork(); in run_tests()
152 pid = fork(); in run_tests()

Completed in 38 milliseconds

12345678910>>...13