fork
Defined as a function in:
Referenced (in 280 files total) in:
- arch/um/drivers/chan_user.c, line 262
- arch/um/include/asm/processor-generic.h, line 35
- arch/um/os-Linux/start_up.c, 2 times
- fs/hfsplus/catalog.c, 7 times
- fs/hfsplus/extents.c, 4 times
- fs/hfsplus/hfsplus_fs.h, 3 times
- fs/hfsplus/inode.c, 10 times
- fs/hfsplus/super.c, 8 times
- fs/jffs2/background.c, line 47
- fs/jfs/super.c, 3 times
- fs/userfaultfd.c, line 1019
- fs/xfs/libxfs/xfs_bmap.c, 3 times
- fs/xfs/libxfs/xfs_bmap.h, line 233
- fs/xfs/libxfs/xfs_btree.c, line 367
- fs/xfs/libxfs/xfs_inode_fork.c, 3 times
- fs/xfs/scrub/attr_repair.c, line 984
- fs/xfs/scrub/bmap_repair.c, line 825
- fs/xfs/scrub/trace.h, 4 times
- fs/xfs/xfs_icache.c, line 1789
- fs/xfs/xfs_inode_item_recover.c, 5 times
- fs/xfs/xfs_trace.h, line 1489
- include/linux/cgroup-defs.h, line 708
- include/uapi/linux/cn_proc.h, line 103
- include/uapi/linux/userfaultfd.h, line 126
- kernel/cgroup/cgroup.c, 2 times
- kernel/cgroup/cpuset.c, line 4370
- kernel/cgroup/legacy_freezer.c, line 484
- kernel/cgroup/pids.c, line 250
- kernel/fork.c, 2 times
- kernel/trace/trace.h, 2 times
- mm/memcontrol.c, line 4398
- samples/bpf/map_perf_test_user.c, line 354
- samples/bpf/test_lru_dist.c, line 243
- samples/bpf/test_overhead_user.c, line 114
- samples/bpf/trace_event_user.c, line 337
- samples/bpf/tracex6_user.c, line 83
- samples/seccomp/user-trap.c, 4 times
- security/selinux/include/classmap.h, line 54
- tools/accounting/getdelays.c, line 366
- tools/include/nolibc/sys.h, line 333
- tools/include/uapi/linux/userfaultfd.h, line 126
- tools/lib/perf/include/perf/event.h, line 491
- tools/lib/perf/tests/test-evlist.c, line 247
- tools/lib/subcmd/run-command.c, line 81
- tools/perf/arch/x86/tests/bp-modify.c, line 32
- tools/perf/arch/x86/tests/intel-cqm.c, line 20
- tools/perf/bench/inject-buildid.c, 7 times
- tools/perf/bench/numa.c, line 1590
- tools/perf/bench/sched-messaging.c, 2 times
- tools/perf/bench/sched-pipe.c, line 251
- tools/perf/bench/sched-seccomp-notify.c, 2 times
- tools/perf/bench/syscall.c, 5 times
- tools/perf/builtin-annotate.c, line 696
- tools/perf/builtin-bench.c, 2 times
- tools/perf/builtin-c2c.c, line 395
- tools/perf/builtin-daemon.c, 2 times
- tools/perf/builtin-diff.c, line 477
- tools/perf/builtin-ftrace.c, 3 times
- tools/perf/builtin-inject.c, 4 times
- tools/perf/builtin-kvm.c, line 1925
- tools/perf/builtin-kwork.c, line 1977
- tools/perf/builtin-mem.c, line 454
- tools/perf/builtin-record.c, line 3331
- tools/perf/builtin-report.c, 2 times
- tools/perf/builtin-sched.c, 8 times
- tools/perf/builtin-script.c, 11 times
- tools/perf/builtin-timechart.c, 6 times
- tools/perf/builtin-trace.c, line 4129
- tools/perf/tests/builtin-test.c, 2 times
- tools/perf/tests/workloads/sqrtloop.c, line 34
- tools/perf/util/arm-spe.c, line 931
- tools/perf/util/build-id.c, 7 times
- tools/perf/util/cs-etm.c, line 2769
- tools/perf/util/data-convert-bt.c, 14 times
- tools/perf/util/data-convert-json.c, line 329
- tools/perf/util/event.c, 4 times
- tools/perf/util/evlist.c, 2 times
- tools/perf/util/intel-bts.c, line 622
- tools/perf/util/intel-pt.c, line 3485
- tools/perf/util/machine.c, 12 times
- tools/perf/util/python.c, 7 times
- tools/perf/util/session.c, 14 times
- tools/perf/util/synthetic-events.c, 14 times
- tools/perf/util/tool.h, line 51
- tools/power/cpupower/utils/idle_monitor/cpupower-monitor.c, 2 times
- tools/power/x86/intel-speed-select/isst-daemon.c, line 173
- tools/power/x86/turbostat/turbostat.c, 2 times
- tools/testing/selftests/arm64/abi/ptrace.c, line 261
- tools/testing/selftests/arm64/abi/tpidr2.c, 2 times
- tools/testing/selftests/arm64/fp/fp-ptrace.c, 2 times
- tools/testing/selftests/arm64/fp/fp-stress.c, 2 times
- tools/testing/selftests/arm64/fp/sve-ptrace.c, line 754
- tools/testing/selftests/arm64/fp/vec-syscfg.c, 2 times
- tools/testing/selftests/arm64/fp/za-fork.c, 2 times
- tools/testing/selftests/arm64/fp/za-ptrace.c, line 356
- tools/testing/selftests/arm64/fp/zt-ptrace.c, line 355
- tools/testing/selftests/arm64/mte/check_child_memory.c, line 37
- tools/testing/selftests/arm64/mte/check_gcr_el1_cswitch.c, line 96
- tools/testing/selftests/arm64/pauth/pac.c, line 128
- tools/testing/selftests/bpf/benchs/bench_local_storage_rcu_tasks_trace.c, line 136
- tools/testing/selftests/bpf/prog_tests/bpf_iter.c, line 1494
- tools/testing/selftests/bpf/prog_tests/cgroup_hierarchical_stats.c, line 173
- tools/testing/selftests/bpf/prog_tests/cpumask.c, line 56
- tools/testing/selftests/bpf/prog_tests/deny_namespace.c, line 36
- tools/testing/selftests/bpf/prog_tests/exhandler.c, 2 times
- tools/testing/selftests/bpf/prog_tests/send_signal.c, 2 times
- tools/testing/selftests/bpf/prog_tests/task_kfunc.c, line 57
- tools/testing/selftests/bpf/prog_tests/task_under_cgroup.c, 2 times
- tools/testing/selftests/bpf/prog_tests/tc_redirect.c, 2 times
- tools/testing/selftests/bpf/prog_tests/test_bpffs.c, line 154
- tools/testing/selftests/bpf/prog_tests/test_bprm_opts.c, line 36
- tools/testing/selftests/bpf/prog_tests/test_ima.c, line 23
- tools/testing/selftests/bpf/prog_tests/test_local_storage.c, line 31
- tools/testing/selftests/bpf/prog_tests/test_lsm.c, line 41
- tools/testing/selftests/bpf/prog_tests/token.c, 2 times
- tools/testing/selftests/bpf/prog_tests/uprobe_multi_test.c, line 80
- tools/testing/selftests/bpf/prog_tests/uprobe_syscall.c, 2 times
- tools/testing/selftests/bpf/prog_tests/verify_pkcs7_sig.c, 2 times
- tools/testing/selftests/bpf/test_lru_map.c, line 585
- tools/testing/selftests/bpf/test_maps.c, 2 times
- tools/testing/selftests/bpf/test_progs.c, 2 times
- tools/testing/selftests/bpf/test_sockmap.c, 2 times
- tools/testing/selftests/breakpoints/breakpoint_test.c, line 394
- tools/testing/selftests/breakpoints/breakpoint_test_arm64.c, 2 times
- tools/testing/selftests/breakpoints/step_after_suspend_test.c, 2 times
- tools/testing/selftests/capabilities/test_execve.c, 2 times
- tools/testing/selftests/cgroup/cgroup_util.c, 2 times
- tools/testing/selftests/cgroup/test_freezer.c, 2 times
- tools/testing/selftests/cgroup/test_kill.c, 2 times
- tools/testing/selftests/clone3/clone3_cap_checkpoint_restore.c, line 151
- tools/testing/selftests/clone3/clone3_set_tid.c, 2 times
- tools/testing/selftests/connector/proc_filter.c, 4 times
- tools/testing/selftests/damon/debugfs_target_ids_pid_leak.c, 2 times
- tools/testing/selftests/damon/debugfs_target_ids_read_before_terminate_race.c, 2 times
- tools/testing/selftests/exec/execveat.c, 2 times
- tools/testing/selftests/exec/null-argv.c, 3 times
- tools/testing/selftests/filesystems/binderfs/binderfs_test.c, 4 times
- tools/testing/selftests/filesystems/devpts_pts.c, line 138
- tools/testing/selftests/filesystems/statmount/statmount_test_ns.c, 4 times
- tools/testing/selftests/firmware/fw_namespace.c, 2 times
- tools/testing/selftests/iommu/iommufd.c, 2 times
- tools/testing/selftests/kcmp/kcmp_test.c, 2 times
- tools/testing/selftests/kselftest_harness.h, 2 times
- tools/testing/selftests/kvm/get-reg-list.c, line 387
- tools/testing/selftests/kvm/hardware_disable_test.c, 2 times
- tools/testing/selftests/landlock/base_test.c, 2 times
- tools/testing/selftests/landlock/fs_test.c, 3 times
- tools/testing/selftests/landlock/net_test.c, 2 times
- tools/testing/selftests/landlock/ptrace_test.c, line 322
- tools/testing/selftests/memfd/memfd_test.c, 6 times
- tools/testing/selftests/mm/cow.c, 26 times
- tools/testing/selftests/mm/droppable.c, line 34
- tools/testing/selftests/mm/hmm-tests.c, 4 times
- tools/testing/selftests/mm/khugepaged.c, 6 times
- tools/testing/selftests/mm/ksm_functional_tests.c, 4 times
- tools/testing/selftests/mm/map_populate.c, 2 times
- tools/testing/selftests/mm/mdwe_test.c, 2 times
- tools/testing/selftests/mm/memfd_secret.c, 2 times
- tools/testing/selftests/mm/migration.c, line 158
- tools/testing/selftests/mm/mrelease_test.c, 2 times
- tools/testing/selftests/mm/protection_keys.c, 6 times
- tools/testing/selftests/mm/uffd-common.c, line 552
- tools/testing/selftests/mm/uffd-unit-tests.c, 11 times
- tools/testing/selftests/mount/unprivileged-remount-test.c, 4 times
- tools/testing/selftests/net/af_unix/scm_pidfd.c, line 395
- tools/testing/selftests/net/fin_ack_lat.c, line 144
- tools/testing/selftests/net/ipsec.c, 6 times
- tools/testing/selftests/net/ipv6_flowlabel_mgr.c, 4 times
- tools/testing/selftests/net/mptcp/mptcp_inq.c, 2 times
- tools/testing/selftests/net/mptcp/mptcp_sockopt.c, 2 times
- tools/testing/selftests/net/netfilter/connect_close.c, line 128
- tools/testing/selftests/net/nettest.c, 3 times
- tools/testing/selftests/net/tls.c, 5 times
- tools/testing/selftests/nolibc/nolibc-test.c, 4 times
- tools/testing/selftests/nsfs/owner.c, 2 times
- tools/testing/selftests/openat2/rename_attack_test.c, line 57
- tools/testing/selftests/perf_events/remove_on_exec.c, 5 times
- tools/testing/selftests/perf_events/watermark_signal.c, 2 times
- tools/testing/selftests/pid_namespace/regression_enomem.c, 2 times
- tools/testing/selftests/pidfd/pidfd_getfd_test.c, line 145
- tools/testing/selftests/pidfd/pidfd_poll_test.c, 2 times
- tools/testing/selftests/pidfd/pidfd_test.c, 4 times
- tools/testing/selftests/powerpc/benchmarks/context_switch.c, 2 times
- tools/testing/selftests/powerpc/benchmarks/fork.c, 10 times
- tools/testing/selftests/powerpc/dexcr/dexcr.c, line 126
- tools/testing/selftests/powerpc/dexcr/dexcr_test.c, 6 times
- tools/testing/selftests/powerpc/dexcr/hashchk_test.c, 2 times
- tools/testing/selftests/powerpc/dscr/dscr_inherit_exec_test.c, 2 times
- tools/testing/selftests/powerpc/dscr/dscr_inherit_test.c, 2 times
- tools/testing/selftests/powerpc/harness.c, 2 times
- tools/testing/selftests/powerpc/math/fpu_syscall.c, 2 times
- tools/testing/selftests/powerpc/math/vmx_syscall.c, 2 times
- tools/testing/selftests/powerpc/mm/large_vm_fork_separation.c, line 47
- tools/testing/selftests/powerpc/mm/large_vm_gpr_corruption.c, line 142
- tools/testing/selftests/powerpc/mm/stack_expansion_ldst.c, line 134
- tools/testing/selftests/powerpc/mm/stack_expansion_signal.c, line 80
- tools/testing/selftests/powerpc/mm/tlbie_test.c, line 687
- tools/testing/selftests/powerpc/pmu/ebb/cpu_event_pinned_vs_ebb_test.c, line 54
- tools/testing/selftests/powerpc/pmu/ebb/cpu_event_vs_ebb_test.c, line 52
- tools/testing/selftests/powerpc/pmu/ebb/ebb_on_child_test.c, line 55
- tools/testing/selftests/powerpc/pmu/ebb/ebb_on_willing_child_test.c, line 60
- tools/testing/selftests/powerpc/pmu/ebb/ebb_vs_cpu_event_test.c, line 52
- tools/testing/selftests/powerpc/pmu/ebb/fork_cleanup_test.c, line 64
- tools/testing/selftests/powerpc/pmu/ebb/multi_ebb_procs_test.c, line 85
- tools/testing/selftests/powerpc/pmu/ebb/task_event_pinned_vs_ebb_test.c, line 50
- tools/testing/selftests/powerpc/pmu/ebb/task_event_vs_ebb_test.c, line 48
- tools/testing/selftests/powerpc/pmu/lib.c, line 117
- tools/testing/selftests/powerpc/ptrace/core-pkey.c, 2 times
- tools/testing/selftests/powerpc/ptrace/perf-hwbreak.c, line 814
- tools/testing/selftests/powerpc/ptrace/ptrace-gpr.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-hwbreak.c, line 597
- tools/testing/selftests/powerpc/ptrace/ptrace-perf-hwbreak.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-pkey.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-tar.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-gpr.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-gpr.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-tar.c, line 134
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-spd-vsx.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-spr.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-tar.c, line 122
- tools/testing/selftests/powerpc/ptrace/ptrace-tm-vsx.c, 2 times
- tools/testing/selftests/powerpc/ptrace/ptrace-vsx.c, 2 times
- tools/testing/selftests/powerpc/signal/sig_sc_double_restart.c, 2 times
- tools/testing/selftests/powerpc/signal/sigfuz.c, line 222
- tools/testing/selftests/powerpc/signal/signal.c, 2 times
- tools/testing/selftests/powerpc/signal/sigreturn_kernel.c, line 37
- tools/testing/selftests/powerpc/tm/tm-poison.c, line 46
- tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c, line 85
- tools/testing/selftests/powerpc/tm/tm-signal-stack.c, line 40
- tools/testing/selftests/prctl/disable-tsc-ctxt-sw-stress-test.c, line 85
- tools/testing/selftests/prctl/disable-tsc-on-off-stress-test.c, line 89
- tools/testing/selftests/proc/proc-empty-vm.c, 4 times
- tools/testing/selftests/proc/proc-loadavg-001.c, 2 times
- tools/testing/selftests/proc/proc-pid-vm.c, 3 times
- tools/testing/selftests/proc/proc-tid0.c, line 78
- tools/testing/selftests/proc/setns-dcache.c, line 69
- tools/testing/selftests/proc/setns-sysvipc.c, line 68
- tools/testing/selftests/ptrace/get_set_sud.c, line 25
- tools/testing/selftests/ptrace/get_syscall_info.c, 2 times
- tools/testing/selftests/ptrace/peeksiginfo.c, 2 times
- tools/testing/selftests/ptrace/vmaccess.c, 2 times
- tools/testing/selftests/resctrl/resctrl_val.c, 2 times
- tools/testing/selftests/resctrl/resctrlfs.c, line 805
- tools/testing/selftests/riscv/vector/vstate_exec_nolibc.c, 4 times
- tools/testing/selftests/riscv/vector/vstate_prctl.c, 2 times
- tools/testing/selftests/rlimits/rlimits-per-userns.c, 2 times
- tools/testing/selftests/safesetid/safesetid-test.c, 6 times
- tools/testing/selftests/seccomp/seccomp_bpf.c, 29 times
- tools/testing/selftests/sync/sync_test.c, line 47
- tools/testing/selftests/timens/exec.c, 2 times
- tools/testing/selftests/timens/futex.c, 2 times
- tools/testing/selftests/timens/timer.c, 2 times
- tools/testing/selftests/timens/timerfd.c, 2 times
- tools/testing/selftests/timens/vfork_exec.c, line 111
- tools/testing/selftests/timers/clocksource-switch.c, line 173
- tools/testing/selftests/timers/skew_consistency.c, line 50
- tools/testing/selftests/uevent/uevent_filtering.c, 2 times
- tools/testing/selftests/user_events/abi_test.c, 2 times
- tools/testing/selftests/wireguard/qemu/init.c, 2 times
- tools/testing/selftests/x86/amx.c, 17 times
- tools/testing/selftests/x86/corrupt_xstate_header.c, 2 times
- tools/testing/selftests/x86/entry_from_vm86.c, line 344
- tools/testing/selftests/x86/fsgsbase.c, 4 times
- tools/testing/selftests/x86/fsgsbase_restore.c, 2 times
- tools/testing/selftests/x86/ioperm.c, 2 times
- tools/testing/selftests/x86/iopl.c, 2 times
- tools/testing/selftests/x86/lam.c, 4 times
- tools/testing/selftests/x86/ldt_gdt.c, 4 times
- tools/testing/selftests/x86/mov_ss_trap.c, 2 times
- tools/testing/selftests/x86/ptrace_syscall.c, 4 times
- tools/testing/selftests/x86/syscall_numbering.c, line 426
- tools/testing/selftests/x86/test_mremap_vdso.c, 2 times
- tools/testing/selftests/x86/test_shadow_stack.c, 2 times
- tools/testing/selftests/x86/test_syscall_vdso.c, line 345
- tools/thermal/thermometer/thermometer.c, 2 times
- tools/thermal/tmon/tmon.c, line 340
- tools/tracing/rtla/src/timerlat_u.c, line 158
- tools/usb/usbip/src/usbipd.c, line 350
- tools/virtio/vringh_test.c, line 175
kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.