Home
last modified time | relevance | path

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

/linux-4.1.27/tools/perf/util/
Devent.c184 memset(&event->fork, 0, sizeof(event->fork) + machine->id_hdr_size); in perf_event__synthesize_fork()
192 event->fork.ppid = ppid; in perf_event__synthesize_fork()
193 event->fork.ptid = ppid; in perf_event__synthesize_fork()
195 event->fork.ppid = tgid; in perf_event__synthesize_fork()
196 event->fork.ptid = tgid; in perf_event__synthesize_fork()
198 event->fork.pid = tgid; in perf_event__synthesize_fork()
199 event->fork.tid = pid; in perf_event__synthesize_fork()
200 event->fork.header.type = PERF_RECORD_FORK; in perf_event__synthesize_fork()
202 event->fork.header.size = (sizeof(event->fork) + machine->id_hdr_size); in perf_event__synthesize_fork()
469 fork_event = malloc(sizeof(fork_event->fork) + machine->id_hdr_size); in perf_event__synthesize_thread_map()
[all …]
Dbuild-id.c56 event->fork.pid, in perf_event__exit_del_thread()
57 event->fork.tid); in perf_event__exit_del_thread()
59 dump_printf("(%d:%d):(%d:%d)\n", event->fork.pid, event->fork.tid, in perf_event__exit_del_thread()
60 event->fork.ppid, event->fork.ptid); in perf_event__exit_del_thread()
72 .fork = perf_event__process_fork,
Dsession.c275 if (tool->fork == NULL) in perf_tool__fill_defaults()
276 tool->fork = process_event_stub; in perf_tool__fill_defaults()
370 event->fork.pid = bswap_32(event->fork.pid); in perf_event__task_swap()
371 event->fork.tid = bswap_32(event->fork.tid); in perf_event__task_swap()
372 event->fork.ppid = bswap_32(event->fork.ppid); in perf_event__task_swap()
373 event->fork.ptid = bswap_32(event->fork.ptid); in perf_event__task_swap()
374 event->fork.time = bswap_64(event->fork.time); in perf_event__task_swap()
377 swap_sample_id_all(event, &event->fork + 1); in perf_event__task_swap()
928 return tool->fork(tool, event, sample, machine); in machines__deliver_event()
Dtool.h38 fork, member
Dpython.c126 pevent->event.fork.pid, in pyrf_task_event__repr()
127 pevent->event.fork.ppid, in pyrf_task_event__repr()
128 pevent->event.fork.tid, in pyrf_task_event__repr()
129 pevent->event.fork.ptid, in pyrf_task_event__repr()
130 pevent->event.fork.time); in pyrf_task_event__repr()
Dmachine.c1276 event->fork.pid, in machine__process_fork_event()
1277 event->fork.tid); in machine__process_fork_event()
1279 event->fork.ppid, in machine__process_fork_event()
1280 event->fork.ptid); in machine__process_fork_event()
1286 thread = machine__findnew_thread(machine, event->fork.pid, in machine__process_fork_event()
1287 event->fork.tid); in machine__process_fork_event()
1304 event->fork.pid, in machine__process_exit_event()
1305 event->fork.tid); in machine__process_exit_event()
Drun-command.c71 cmd->pid = fork(); in start_command()
Devent.h288 struct fork_event fork; member
Ddata-convert-bt.c809 .fork = perf_event__process_fork, in bt_convert__perf2ctf()
Devlist.c1333 evlist->workload.pid = fork(); in perf_evlist__prepare_workload()
/linux-4.1.27/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.c101 struct hfsplus_fork_raw *fork; in hfsplus_system_write_inode() local
106 fork = &vhdr->ext_file; in hfsplus_system_write_inode()
110 fork = &vhdr->cat_file; in hfsplus_system_write_inode()
114 fork = &vhdr->alloc_file; in hfsplus_system_write_inode()
117 fork = &vhdr->start_file; in hfsplus_system_write_inode()
120 fork = &vhdr->attr_file; in hfsplus_system_write_inode()
127 if (fork->total_size != cpu_to_be64(inode->i_size)) { in hfsplus_system_write_inode()
131 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.1.27/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.1.27/tools/testing/selftests/timers/
Dskew_consistency.c62 pid = fork(); in main()
Dclocksource-switch.c163 pid = fork(); in main()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
Dfork_cleanup_test.c63 pid = fork(); in fork_cleanup()
Dtask_event_vs_ebb_test.c46 pid = fork(); in task_event_vs_ebb()
Debb_on_child_test.c53 pid = fork(); in ebb_on_child()
Dcpu_event_vs_ebb_test.c51 pid = fork(); in cpu_event_vs_ebb()
Debb_on_willing_child_test.c60 pid = fork(); in ebb_on_willing_child()
Debb_vs_cpu_event_test.c51 pid = fork(); in ebb_vs_cpu_event()
Dtask_event_pinned_vs_ebb_test.c48 pid = fork(); in task_event_pinned_vs_ebb()
Dcpu_event_pinned_vs_ebb_test.c53 pid = fork(); in cpu_event_pinned_vs_ebb()
Dmulti_ebb_procs_test.c87 pids[i] = fork(); in multi_ebb_procs()
/linux-4.1.27/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.1.27/tools/perf/
Dbuiltin-script.c663 thread = machine__findnew_thread(machine, event->fork.pid, event->fork.tid); in process_fork_event()
671 sample->time = event->fork.time; in process_fork_event()
672 sample->tid = event->fork.tid; in process_fork_event()
673 sample->pid = event->fork.pid; in process_fork_event()
690 thread = machine__findnew_thread(machine, event->fork.pid, event->fork.tid); in process_exit_event()
787 script->tool.fork = process_fork_event; in __cmd_script()
1510 .fork = perf_event__process_fork, in cmd_script()
1645 pid = fork(); in cmd_script()
Dbuiltin-inject.c360 inject->tool.fork = perf_event__repipe_fork; in __cmd_inject()
408 .fork = perf_event__repipe, in cmd_inject()
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()
1924 .fork = process_fork_event, in cmd_timechart()
Dbuiltin-sched.c765 child = machine__findnew_thread(machine, event->fork.pid, in replay_fork_event()
766 event->fork.tid); in replay_fork_event()
767 parent = machine__findnew_thread(machine, event->fork.ppid, in replay_fork_event()
768 event->fork.ptid); in replay_fork_event()
1693 .fork = perf_sched__process_fork_event, in cmd_sched()
Dbuiltin-mem.c269 .fork = perf_event__process_fork, in cmd_mem()
Dbuiltin-annotate.c280 .fork = perf_event__process_fork, in cmd_annotate()
Dbuiltin-report.c604 .fork = perf_event__process_fork, in cmd_report()
Dbuiltin-record.c829 .fork = perf_event__process_fork,
Dbuiltin-diff.c363 .fork = perf_event__process_fork,
Dbuiltin-kvm.c1327 kvm->tool.fork = perf_event__process_fork; in kvm_events_live()
Dbuiltin-trace.c2366 trace->tool.fork = perf_event__process_fork; in trace__replay()
/linux-4.1.27/arch/um/include/asm/
Dprocessor-generic.h35 } fork, exec; member
/linux-4.1.27/Documentation/devicetree/bindings/dma/
Dste-coh901318.txt3 This is a DMA controller which has begun as a fork of the
/linux-4.1.27/include/uapi/linux/
Dcn_proc.h77 } fork; member
/linux-4.1.27/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.1.27/drivers/staging/lustre/lustre/obdclass/
Dllog_internal.h95 llog_cb_t cb, void *data, void *catdata, bool fork);
Dllog_cat.c579 int startidx, bool fork) in llog_cat_process_or_fork() argument
600 &d, &cd, fork); in llog_cat_process_or_fork()
607 &d, &cd, fork); in llog_cat_process_or_fork()
610 &d, NULL, fork); in llog_cat_process_or_fork()
Dllog.c432 llog_cb_t cb, void *data, void *catdata, bool fork) in llog_process_or_fork() argument
447 if (fork) { in llog_process_or_fork()
/linux-4.1.27/tools/testing/selftests/kcmp/
Dkcmp_test.c42 pid2 = fork(); in main()
/linux-4.1.27/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.1.27/tools/testing/selftests/powerpc/
Dharness.c35 pid = fork(); in run_test()
/linux-4.1.27/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.1.27/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.txt223 fork, or in other words, the editor must not return before closing.
/linux-4.1.27/tools/perf/bench/
Dsched-pipe.c134 pid = fork(); in bench_sched_pipe()
Dsched-messaging.c147 switch (fork()) { in create_worker()
Dnuma.c1442 pid = fork(); in __bench_numa()
/linux-4.1.27/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.1.27/tools/perf/tests/
Drdpmc.c160 pid = fork(); in test__rdpmc()
Dbuiltin-test.c204 int status, err = -1, child = fork(); in run_test()
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/
Dlib.c158 pid = fork(); in eat_cpu()
/linux-4.1.27/include/linux/
Dcgroup-defs.h412 void (*fork)(struct task_struct *task); member
/linux-4.1.27/scripts/
Ddocproc.c116 switch (pid=fork()) { in exec_kernel_doc()
375 switch (pid=fork()) { in find_all_symbols()
/linux-4.1.27/tools/testing/selftests/ptrace/
Dpeeksiginfo.c162 child = fork(); in main()
/linux-4.1.27/drivers/staging/lustre/lustre/include/
Dlustre_log.h126 llog_cb_t cb, void *data, void *catdata, bool fork);
190 void *data, int startcat, int startidx, bool fork);
/linux-4.1.27/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().
/linux-4.1.27/tools/testing/selftests/breakpoints/
Dbreakpoint_test.c381 pid = fork(); in main()
/linux-4.1.27/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.1.27/arch/um/os-Linux/
Dstart_up.c99 pid = fork(); in start_ptraced_child()
/linux-4.1.27/tools/thermal/tmon/
Dtmon.c357 pid_t sid, pid = fork(); in start_daemon_mode()
/linux-4.1.27/Documentation/filesystems/
Dhfs.txt64 along with the corresponding data fork or directory.
Dproc.txt464 dc - do not copy area on fork
1303 includes (but is not limited to) those created by calls to the fork() and
/linux-4.1.27/kernel/
Dcgroup_freezer.c482 .fork = freezer_fork,
DMakefile5 obj-y = fork.o exec_domain.o panic.o \
Dcgroup.c4945 need_forkexit_callback |= ss->fork || ss->exit; in cgroup_init_subsys()
5257 if (ss->fork) in cgroup_post_fork()
5258 ss->fork(child); in cgroup_post_fork()
Dfork.c1757 SYSCALL_DEFINE0(fork) in SYSCALL_DEFINE0() argument
/linux-4.1.27/samples/bpf/
Dtest_maps.c192 pid[i] = fork(); in run_parallel()
/linux-4.1.27/Documentation/mic/mpssd/
Dmpssd.c166 pid = fork(); in tap_configure()
197 pid = fork(); in tap_configure()
1581 mic->pid = fork(); in init_mic()
1706 pid = fork(); in main()
/linux-4.1.27/tools/power/cpupower/utils/idle_monitor/
Dcpupower-monitor.c280 child_pid = fork(); in fork_it()
/linux-4.1.27/tools/lguest/
Dlguest.txt9 make it useful for specific tasks, and, of course, you are encouraged to fork
/linux-4.1.27/tools/testing/selftests/exec/
Dexecveat.c78 child = fork(); in check_execveat_invoked_rc()
/linux-4.1.27/Documentation/block/
Dioprio.txt48 are inherited on fork, so you can use ionice to start the process at a given
/linux-4.1.27/Documentation/accounting/
Dgetdelays.c343 tid = fork(); in main()
/linux-4.1.27/Documentation/cgroups/
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.1.27/tools/usb/usbip/src/
Dusbipd.c336 childpid = fork(); in process_request()
/linux-4.1.27/arch/m68k/kernel/
Dentry.S100 | After a fork we jump here directly from resume,
/linux-4.1.27/arch/powerpc/include/asm/
Dsystbl.h8 PPC_SYS(fork)
/linux-4.1.27/arch/x86/syscalls/
Dsyscall_64.tbl66 57 common fork stub_fork
Dsyscall_32.tbl11 2 i386 fork sys_fork stub32_fork
/linux-4.1.27/arch/alpha/kernel/
Dentry.S811 fork_like fork
/linux-4.1.27/arch/frv/kernel/
Dentry.S862 # fork & co. return 0 to child
/linux-4.1.27/arch/cris/arch-v32/kernel/
Dentry.S78 ; Called at exit from fork. schedule_tail must be called to drop
/linux-4.1.27/arch/um/
DKconfig.net118 an improved fork of uml_switch.
/linux-4.1.27/tools/virtio/
Dvringh_test.c171 if (fork() != 0) { in parallel_test()
/linux-4.1.27/Documentation/ia64/
Derr_inject.txt857 pid=fork();
937 perror("Error fork:");
/linux-4.1.27/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.1.27/arch/x86/kernel/
Dentry_64.S502 FORK_LIKE fork
/linux-4.1.27/Documentation/sysctl/
Dkernel.txt627 lives in) pid namespace. When selecting a pid for a next task on fork
878 using fork().
Dvm.txt752 "fork: Cannot allocate memory".
/linux-4.1.27/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.1.27/Documentation/scheduler/
Dsched-deadline.txt303 -deadline task cannot fork.
/linux-4.1.27/fs/xfs/libxfs/
Dxfs_bmap.c1432 int fork, /* data or attr fork */ in xfs_bmap_search_extents() argument
1442 ifp = XFS_IFORK_PTR(ip, fork); in xfs_bmap_search_extents()
1447 !(XFS_IS_REALTIME_INODE(ip) && fork == XFS_DATA_FORK))) { in xfs_bmap_search_extents()
/linux-4.1.27/arch/parisc/kernel/
Dentry.S1723 fork_like fork
/linux-4.1.27/tools/power/x86/turbostat/
Dturbostat.c2967 child_pid = fork(); in fork_it()
/linux-4.1.27/kernel/sched/
Dcore.c8382 .fork = cpu_cgroup_fork,
/linux-4.1.27/Documentation/trace/
Dftrace.txt1818 if (fork() > 0) {
/linux-4.1.27/Documentation/virtual/kvm/
Dapi.txt41 of fork() and the SCM_RIGHTS facility of unix domain socket. These
/linux-4.1.27/Documentation/virtual/uml/
DUserModeLinux-HOWTO.txt3063 request = {op = 2, u = {exec = {ip = 1350467584, sp = 2952789424}, fork = {