Home
last modified time | relevance | path

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

/linux-4.4.14/Documentation/cgroups/
Dpids.txt8 new tasks from being fork()'d or clone()'d after a certain limit is reached.
26 policy through fork() or clone(). fork() and clone() will return -EAGAIN if the
57 sh: fork: Resource temporary unavailable
72 sh: fork: Resource temporary unavailable
81 sh: fork: Resource temporary unavailable
84 sh: fork: Resource temporary unavailable
Dcgroups.txt198 - in fork and exit, to attach and detach a task from its css_set.
256 The attachment of each task, automatically inherited at fork by any
319 7) fork, exec or clone the job tasks from this founding father task.
598 fork. If this method returns 0 (success) then this should remain valid
632 void fork(struct task_struct *task)
Dcpusets.txt142 - in fork and exit, to attach and detach a task from its cpuset.
194 The attachment of each task, automatically inherited at fork by any
677 6) fork, exec or clone the job tasks from this founding father task.
/linux-4.4.14/tools/perf/util/
Devent.c193 memset(&event->fork, 0, sizeof(event->fork) + machine->id_hdr_size); in perf_event__synthesize_fork()
201 event->fork.ppid = ppid; in perf_event__synthesize_fork()
202 event->fork.ptid = ppid; in perf_event__synthesize_fork()
204 event->fork.ppid = tgid; in perf_event__synthesize_fork()
205 event->fork.ptid = tgid; in perf_event__synthesize_fork()
207 event->fork.pid = tgid; in perf_event__synthesize_fork()
208 event->fork.tid = pid; in perf_event__synthesize_fork()
209 event->fork.header.type = PERF_RECORD_FORK; in perf_event__synthesize_fork()
211 event->fork.header.size = (sizeof(event->fork) + machine->id_hdr_size); in perf_event__synthesize_fork()
502 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
[all …]
Dbuild-id.c57 event->fork.pid, in perf_event__exit_del_thread()
58 event->fork.tid); in perf_event__exit_del_thread()
60 dump_printf("(%d:%d):(%d:%d)\n", event->fork.pid, event->fork.tid, in perf_event__exit_del_thread()
61 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
75 .fork = perf_event__process_fork,
Dsession.c309 if (tool->fork == NULL) in perf_tool__fill_defaults()
310 tool->fork = process_event_stub; in perf_tool__fill_defaults()
418 event->fork.pid = bswap_32(event->fork.pid); in perf_event__task_swap()
419 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
420 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
421 event->fork.ptid = bswap_32(event->fork.ptid); in perf_event__task_swap()
422 event->fork.time = bswap_64(event->fork.time); in perf_event__task_swap()
425 swap_sample_id_all(event, &event->fork + 1); in perf_event__task_swap()
1086 return tool->fork(tool, event, sample, machine); in machines__deliver_event()
Dtool.h43 fork, member
Dmachine.c1393 event->fork.pid, in machine__process_fork_event()
1394 event->fork.tid); in machine__process_fork_event()
1396 event->fork.ppid, in machine__process_fork_event()
1397 event->fork.ptid); in machine__process_fork_event()
1409 if (parent->pid_ != (pid_t)event->fork.ppid) { in machine__process_fork_event()
1414 parent = machine__findnew_thread(machine, event->fork.ppid, in machine__process_fork_event()
1415 event->fork.ptid); in machine__process_fork_event()
1424 thread = machine__findnew_thread(machine, event->fork.pid, in machine__process_fork_event()
1425 event->fork.tid); in machine__process_fork_event()
1442 event->fork.pid, in machine__process_exit_event()
[all …]
Dpython.c127 pevent->event.fork.pid, in pyrf_task_event__repr()
128 pevent->event.fork.ppid, in pyrf_task_event__repr()
129 pevent->event.fork.tid, in pyrf_task_event__repr()
130 pevent->event.fork.ptid, in pyrf_task_event__repr()
131 pevent->event.fork.time); in pyrf_task_event__repr()
Drun-command.c71 cmd->pid = fork(); in start_command()
Devent.h364 struct fork_event fork; member
Dintel-bts.c626 err = intel_bts_process_tid_exit(bts, event->fork.tid); in intel_bts_process_event()
Ddata-convert-bt.c1119 .fork = perf_event__process_fork, in bt_convert__perf2ctf()
Devlist.c1518 evlist->workload.pid = fork(); in perf_evlist__prepare_workload()
Dintel-pt.c1669 event->fork.tid, in intel_pt_process_event()
/linux-4.4.14/fs/hfsplus/
Dinode.c439 void hfsplus_inode_read_fork(struct inode *inode, struct hfsplus_fork_raw *fork) in hfsplus_inode_read_fork() argument
447 memcpy(&hip->first_extents, &fork->extents, sizeof(hfsplus_extent_rec)); in hfsplus_inode_read_fork()
449 count += be32_to_cpu(fork->extents[i].block_count); in hfsplus_inode_read_fork()
455 hip->alloc_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_inode_read_fork()
456 hip->phys_size = inode->i_size = be64_to_cpu(fork->total_size); in hfsplus_inode_read_fork()
461 be32_to_cpu(fork->clump_size) >> sbi->alloc_blksz_shift; in hfsplus_inode_read_fork()
470 struct hfsplus_fork_raw *fork) in hfsplus_inode_write_fork() argument
472 memcpy(&fork->extents, &HFSPLUS_I(inode)->first_extents, in hfsplus_inode_write_fork()
474 fork->total_size = cpu_to_be64(inode->i_size); in hfsplus_inode_write_fork()
475 fork->total_blocks = cpu_to_be32(HFSPLUS_I(inode)->alloc_blocks); in hfsplus_inode_write_fork()
Dsuper.c102 struct hfsplus_fork_raw *fork; in hfsplus_system_write_inode() local
107 fork = &vhdr->ext_file; in hfsplus_system_write_inode()
111 fork = &vhdr->cat_file; in hfsplus_system_write_inode()
115 fork = &vhdr->alloc_file; in hfsplus_system_write_inode()
118 fork = &vhdr->start_file; in hfsplus_system_write_inode()
121 fork = &vhdr->attr_file; in hfsplus_system_write_inode()
128 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
132 hfsplus_inode_write_fork(inode, fork); in hfsplus_system_write_inode()
Dcatalog.c325 struct hfsplus_fork_raw fork; in hfsplus_delete_cat() local
367 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
368 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_DATA); in hfsplus_delete_cat()
373 hfs_bnode_read(fd.bnode, &fork, off, sizeof(fork)); in hfsplus_delete_cat()
374 hfsplus_free_fork(sb, cnid, &fork, HFSPLUS_TYPE_RSRC); in hfsplus_delete_cat()
Dextents.c387 struct hfsplus_fork_raw *fork, int type) in hfsplus_free_fork() argument
394 total_blocks = be32_to_cpu(fork->total_blocks); in hfsplus_free_fork()
400 blocks += be32_to_cpu(fork->extents[i].block_count); in hfsplus_free_fork()
402 res = hfsplus_free_extents(sb, fork->extents, blocks, blocks); in hfsplus_free_fork()
Dhfsplus_fs.h470 struct hfsplus_fork_raw *fork, int type);
482 struct hfsplus_fork_raw *fork);
484 struct hfsplus_fork_raw *fork);
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dllog_cat.c196 int startidx, bool fork) in llog_cat_process_or_fork() argument
217 &d, &cd, fork); in llog_cat_process_or_fork()
224 &d, &cd, fork); in llog_cat_process_or_fork()
227 &d, NULL, fork); in llog_cat_process_or_fork()
Dllog_internal.h74 llog_cb_t cb, void *data, void *catdata, bool fork);
Dllog.c363 llog_cb_t cb, void *data, void *catdata, bool fork) in llog_process_or_fork() argument
378 if (fork) { in llog_process_or_fork()
/linux-4.4.14/drivers/connector/
Dcn_proc.c85 ev->event_data.fork.parent_pid = parent->pid; in proc_fork_connector()
86 ev->event_data.fork.parent_tgid = parent->tgid; in proc_fork_connector()
88 ev->event_data.fork.child_pid = task->pid; in proc_fork_connector()
89 ev->event_data.fork.child_tgid = task->tgid; in proc_fork_connector()
DKconfig20 events such as fork, exec, id change (uid, gid, suid, etc), and exit.
/linux-4.4.14/tools/testing/selftests/timers/
Dskew_consistency.c62 pid = fork(); in main()
Dclocksource-switch.c163 pid = fork(); in main()
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/ebb/
Dfork_cleanup_test.c65 pid = fork(); in fork_cleanup()
Debb_on_child_test.c55 pid = fork(); in ebb_on_child()
Dtask_event_vs_ebb_test.c48 pid = fork(); in task_event_vs_ebb()
Debb_on_willing_child_test.c62 pid = fork(); in ebb_on_willing_child()
Debb_vs_cpu_event_test.c53 pid = fork(); in ebb_vs_cpu_event()
Dcpu_event_vs_ebb_test.c53 pid = fork(); in cpu_event_vs_ebb()
Dtask_event_pinned_vs_ebb_test.c50 pid = fork(); in task_event_pinned_vs_ebb()
Dcpu_event_pinned_vs_ebb_test.c55 pid = fork(); in cpu_event_pinned_vs_ebb()
Dmulti_ebb_procs_test.c89 pids[i] = fork(); in multi_ebb_procs()
/linux-4.4.14/Documentation/prctl/
Ddisable-tsc-on-off-stress-test.c88 if (fork() == 0) in main()
Ddisable-tsc-ctxt-sw-stress-test.c84 if (fork() == 0) in main()
Dno_new_privs.txt20 can set no_new_privs. Once the bit is set, it is inherited across fork,
Dseccomp_filter.txt65 If fork/clone and execve are allowed by @prog, any child
/linux-4.4.14/tools/testing/selftests/powerpc/dscr/
Ddscr_inherit_test.c51 pid = fork(); in dscr_inherit()
Ddscr_inherit_exec_test.c71 pid = fork(); in dscr_inherit_exec()
/linux-4.4.14/tools/perf/
Dbuiltin-script.c822 thread = machine__findnew_thread(machine, event->fork.pid, event->fork.tid); in process_fork_event()
830 sample->time = event->fork.time; in process_fork_event()
831 sample->tid = event->fork.tid; in process_fork_event()
832 sample->pid = event->fork.pid; in process_fork_event()
851 thread = machine__findnew_thread(machine, event->fork.pid, event->fork.tid); in process_exit_event()
860 sample->tid = event->fork.tid; in process_exit_event()
861 sample->pid = event->fork.pid; in process_exit_event()
975 script->tool.fork = process_fork_event; in __cmd_script()
1718 .fork = perf_event__process_fork, in cmd_script()
1875 pid = fork(); in cmd_script()
Dbuiltin-timechart.c327 pid_fork(tchart, event->fork.pid, event->fork.ppid, event->fork.time); in process_fork_event()
337 pid_exit(tchart, event->fork.pid, event->fork.time); in process_exit_event()
1925 .fork = process_fork_event, in cmd_timechart()
Dbuiltin-mem.c266 .fork = perf_event__process_fork, in cmd_mem()
Dbuiltin-sched.c767 child = machine__findnew_thread(machine, event->fork.pid, in replay_fork_event()
768 event->fork.tid); in replay_fork_event()
769 parent = machine__findnew_thread(machine, event->fork.ppid, in replay_fork_event()
770 event->fork.ptid); in replay_fork_event()
1788 .fork = perf_sched__process_fork_event, in cmd_sched()
Dbuiltin-inject.c578 inject->tool.fork = perf_event__repipe_fork; in __cmd_inject()
675 .fork = perf_event__repipe, in cmd_inject()
Dbuiltin-annotate.c290 .fork = perf_event__process_fork, in cmd_annotate()
Dbuiltin-report.c654 .fork = perf_event__process_fork, in cmd_report()
Dbuiltin-record.c1005 .fork = perf_event__process_fork,
Dbuiltin-diff.c366 .fork = perf_event__process_fork,
Dbuiltin-kvm.c1336 kvm->tool.fork = perf_event__process_fork; in kvm_events_live()
Dbuiltin-trace.c2753 trace->tool.fork = perf_event__process_fork; in trace__replay()
/linux-4.4.14/arch/um/include/asm/
Dprocessor-generic.h35 } fork, exec; member
/linux-4.4.14/include/uapi/linux/
Dcn_proc.h77 } fork; member
/linux-4.4.14/Documentation/devicetree/bindings/dma/
Dste-coh901318.txt3 This is a DMA controller which has begun as a fork of the
/linux-4.4.14/tools/perf/scripts/python/
Dsched-migration.py208 def wake_up(self, ts_list, pid, cpu, fork): argument
210 if fork:
353 def wake_up(self, headers, comm, pid, success, target_cpu, fork): argument
357 ts.wake_up(self.timeslices, pid, target_cpu, fork)
/linux-4.4.14/tools/testing/selftests/kcmp/
Dkcmp_test.c42 pid2 = fork(); in main()
/linux-4.4.14/tools/testing/selftests/mount/
Dunprivileged-remount-test.c186 child = fork(); in test_unpriv_remount()
264 child = fork(); in test_priv_mount_unpriv_remount()
/linux-4.4.14/tools/perf/arch/x86/tests/
Dintel-cqm.c16 pid = fork(); in spawn()
Drdpmc.c159 pid = fork(); in test__rdpmc()
/linux-4.4.14/tools/testing/selftests/powerpc/
Dharness.c35 pid = fork(); in run_test()
/linux-4.4.14/Documentation/ko_KR/
Dstable_api_nonsense.txt10 a fork. So if you have any comments or updates for this file please
DHOWTO9 a fork. So if you have any comments or updates for this file please
/linux-4.4.14/Documentation/
Dnommu-mmap.txt12 Memory mapping behaviour also involves the way fork(), vfork(), clone() and
13 ptrace() work. Under uClinux there is no fork(), and clone() must be supplied
22 across fork.
30 shared across fork() or clone() without CLONE_VM in the MMU case. Since
37 the underlying file are reflected in the mapping; copied across fork.
73 mapping; shared across fork.
Dunshare.txt56 when creating a new process using fork or clone, unshare can benefit
91 works on an active task (as opposed to clone/fork working on a newly
93 changes to copy_* functions utilized by clone/fork system call.
130 when a new process is created using fork(2), while other parts,
175 clone(2), fork(2)
Dcachetlb.txt50 fork, and exec.
162 page table operations such as what happens during fork.
Demail-clients.txt259 fork, or in other words, the editor must not return before closing.
Dadding-syscalls.txt111 unexpected fork() and execve() in another thread could leak a descriptor to
387 different location (rt_sigreturn) or change the memory space (fork/vfork/clone)
/linux-4.4.14/tools/perf/bench/
Dsched-pipe.c134 pid = fork(); in bench_sched_pipe()
Dsched-messaging.c147 switch (fork()) { in create_worker()
Dnuma.c1455 pid = fork(); in __bench_numa()
/linux-4.4.14/Documentation/ja_JP/
Dstable_kernel_rules.txt9 English natives and do no intended to fork. So, if you have any
Dstable_api_nonsense.txt11 fork. So if you have any comments or updates of this file, please try
DSubmitChecklist11 fork. So if you have any comments or updates of this file, please try
DHOWTO11 fork. So if you have any comments or updates for this file, please try
DSubmittingPatches11 fork. So if you have any comments or updates of this file, please try
/linux-4.4.14/tools/testing/selftests/powerpc/pmu/
Dlib.c158 pid = fork(); in eat_cpu()
/linux-4.4.14/scripts/
Ddocproc.c116 switch (pid=fork()) { in exec_kernel_doc()
375 switch (pid=fork()) { in find_all_symbols()
/linux-4.4.14/tools/testing/selftests/x86/
Dldt_gdt.c280 pid_t child = fork(); in do_simple_tests()
544 pid_t child = fork(); in do_exec_test()
Dentry_from_vm86.c234 if (fork() > 0) in main()
Dtest_syscall_vdso.c346 pid = fork(); in ptrace_me()
Dptrace_syscall.c165 pid_t chld = fork(); in test_ptrace_syscall_restart()
/linux-4.4.14/tools/testing/selftests/ptrace/
Dpeeksiginfo.c162 child = fork(); in main()
/linux-4.4.14/include/linux/
Dcgroup-defs.h440 void (*fork)(struct task_struct *task, void *priv); member
/linux-4.4.14/tools/perf/tests/
Dbuiltin-test.c208 int status, err = -1, child = fork(); in run_test()
/linux-4.4.14/Documentation/powerpc/
Dpmu-ebb.txt135 EBB events are not inherited across fork. If the child process wishes to use
137 BESCR/EBBHR/EBBRR is cleared across fork().
Dcxlflash.txt267 therefore each fork must be met with establishing a new context
/linux-4.4.14/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c381 pid = fork(); in main()
/linux-4.4.14/Documentation/vm/
Dovercommit-accounting73 o Account and check on fork
Dnuma_memory_policy.txt43 it is inheritable, and indeed is inherited, across both fork()
85 they are inherited across fork(). However, because VMA policies refer
421 + set the task policy for a specified program via set_mempolicy(2), fork(2) and
/linux-4.4.14/kernel/
DMakefile5 obj-y = fork.o exec_domain.o panic.o \
Dcgroup_freezer.c479 .fork = freezer_fork,
Dfork.c1788 SYSCALL_DEFINE0(fork) in SYSCALL_DEFINE0() argument
Dcgroup.c5258 have_fork_callback |= (bool)ss->fork << ss->id; in cgroup_init_subsys()
5658 ss->fork(child, subsys_canfork_priv(old_ss_priv, i)); in cgroup_post_fork()
/linux-4.4.14/tools/thermal/tmon/
Dtmon.c357 pid_t sid, pid = fork(); in start_daemon_mode()
/linux-4.4.14/arch/um/os-Linux/
Dstart_up.c99 pid = fork(); in start_ptraced_child()
/linux-4.4.14/Documentation/filesystems/
Dhfs.txt64 along with the corresponding data fork or directory.
Dproc.txt483 dc - do not copy area on fork
1318 includes (but is not limited to) those created by calls to the fork() and
/linux-4.4.14/tools/testing/selftests/capabilities/
Dtest_execve.c172 pid_t child = fork(); in fork_wait()
/linux-4.4.14/samples/bpf/
Dtest_maps.c192 pid[i] = fork(); in run_parallel()
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dlustre_log.h92 llog_cb_t cb, void *data, void *catdata, bool fork);
/linux-4.4.14/Documentation/mic/mpssd/
Dmpssd.c165 pid = fork(); in tap_configure()
196 pid = fork(); in tap_configure()
1676 mic->pid = fork(); in init_mic()
1804 pid = fork(); in main()
/linux-4.4.14/Documentation/block/
Dioprio.txt48 are inherited on fork, so you can use ionice to start the process at a given
/linux-4.4.14/tools/testing/selftests/exec/
Dexecveat.c78 child = fork(); in check_execveat_invoked_rc()
/linux-4.4.14/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c284 child_pid = fork(); in fork_it()
/linux-4.4.14/tools/lguest/
Dlguest.txt9 make it useful for specific tasks, and, of course, you are encouraged to fork
/linux-4.4.14/Documentation/accounting/
Dgetdelays.c343 tid = fork(); in main()
/linux-4.4.14/tools/testing/selftests/seccomp/
Dtest_harness.h460 child_pid = fork(); in __run_test()
Dseccomp_bpf.c1093 tracer_pid = fork(); in setup_trace_fixture()
2072 child_pid = fork(); in TEST()
/linux-4.4.14/tools/usb/usbip/src/
Dusbipd.c336 childpid = fork(); in process_request()
/linux-4.4.14/arch/m68k/kernel/
Dentry.S100 | After a fork we jump here directly from resume,
/linux-4.4.14/arch/powerpc/include/asm/
Dsystbl.h8 PPC_SYS(fork)
/linux-4.4.14/arch/x86/entry/syscalls/
Dsyscall_64.tbl66 57 common fork stub_fork
Dsyscall_32.tbl11 2 i386 fork sys_fork sys_fork
/linux-4.4.14/arch/alpha/kernel/
Dentry.S811 fork_like fork
/linux-4.4.14/arch/frv/kernel/
Dentry.S862 # fork & co. return 0 to child
/linux-4.4.14/arch/cris/arch-v32/kernel/
Dentry.S78 ; Called at exit from fork. schedule_tail must be called to drop
/linux-4.4.14/arch/um/
DKconfig.net118 an improved fork of uml_switch.
/linux-4.4.14/tools/virtio/
Dvringh_test.c171 if (fork() != 0) { in parallel_test()
/linux-4.4.14/Documentation/ia64/
Derr_inject.txt857 pid=fork();
937 perror("Error fork:");
/linux-4.4.14/arch/x86/entry/
Dentry_64.S367 FORK_LIKE fork
/linux-4.4.14/Documentation/security/
Dkeys.txt156 clone, fork, vfork or execve occurs. A new keyring is created only when
160 clone, fork, vfork unless CLONE_THREAD is supplied, in which case it is
164 The session-specific keyring is persistent across clone, fork, vfork and
727 Note that this setting is inherited across fork/exec.
766 The assumed authoritative key is inherited across fork and exec.
/linux-4.4.14/Documentation/networking/
Dpacket_mmap.txt715 pid_t pid = fork();
722 perror("fork");
Dppp_generic.txt307 instance (i.e. as a result of dup(), dup2() or fork()).
/linux-4.4.14/Documentation/sysctl/
Dkernel.txt639 lives in) pid namespace. When selecting a pid for a next task on fork
890 using fork().
Dvm.txt752 "fork: Cannot allocate memory".
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_bmap.c1431 int fork, /* data or attr fork */ in xfs_bmap_search_extents() argument
1441 ifp = XFS_IFORK_PTR(ip, fork); in xfs_bmap_search_extents()
1446 !(XFS_IS_REALTIME_INODE(ip) && fork == XFS_DATA_FORK))) { in xfs_bmap_search_extents()
/linux-4.4.14/arch/parisc/kernel/
Dentry.S1735 fork_like fork
/linux-4.4.14/Documentation/scheduler/
Dsched-deadline.txt427 -deadline task cannot fork.
/linux-4.4.14/tools/power/x86/turbostat/
Dturbostat.c3078 child_pid = fork(); in fork_it()
/linux-4.4.14/init/
DKconfig963 cgroup. Any attempt to fork more processes than is allowed in the
972 since the PIDs limit only affects a process's ability to fork, not to
/linux-4.4.14/kernel/sched/
Dcore.c8594 .fork = cpu_cgroup_fork,
/linux-4.4.14/Documentation/trace/
Dftrace.txt1831 if (fork() > 0) {
/linux-4.4.14/Documentation/virtual/kvm/
Dapi.txt41 of fork() and the SCM_RIGHTS facility of unix domain socket. These
/linux-4.4.14/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3063 request = {op = 2, u = {exec = {ip = 1350467584, sp = 2952789424}, fork = {