strncpy
Defined as a function in:
Defined as a function prototype in:
Referenced (in 137 files total) in:
- arch/alpha/include/asm/string.h, line 51
- arch/m68k/include/asm/string.h, line 25
- arch/m68k/kernel/setup_mm.c, line 246
- arch/m68k/kernel/uboot.c, line 77
- arch/mips/loongson2ef/common/machtype.c, line 51
- arch/powerpc/boot/string.h, line 7
- arch/powerpc/include/asm/string.h, line 21
- arch/s390/boot/pgm_check_info.c, line 70
- arch/s390/include/asm/string.h, line 45
- arch/s390/lib/string.c, 2 times
- arch/um/kernel/skas/uaccess.c, line 173
- arch/x86/include/asm/string_32.h, line 13
- arch/x86/lib/string_32.c, 2 times
- arch/xtensa/include/asm/string.h, line 38
- fs/bcachefs/btree_trans_commit.c, line 367
- fs/xfs/scrub/symlink_repair.c, line 187
- fs/xfs/scrub/trace.h, line 970
- fs/xfs/xfs_ioctl.c, line 1103
- fs/xfs/xfs_trace.h, line 4728
- fs/xfs/xfs_xattr.c, line 247
- include/acpi/actypes.h, line 525
- include/linux/fortify-string.h, 3 times
- include/linux/string.h, line 70
- kernel/module/main.c, line 1163
- kernel/trace/trace.c, 3 times
- kernel/trace/trace_branch.c, 2 times
- kernel/trace/trace_events_filter.c, 4 times
- kernel/trace/trace_events_hist.c, 3 times
- kernel/trace/trace_events_synth.c, line 217
- kernel/trace/trace_sched_switch.c, line 190
- kernel/trace/trace_stack.c, line 547
- lib/fortify_kunit.c, 4 times
- lib/string.c, 2 times
- lib/test_fortify/write_overflow-strncpy-src.c, line 3
- lib/test_fortify/write_overflow-strncpy.c, line 3
- net/bluetooth/cmtp/capi.c, 2 times
- net/bridge/netfilter/nft_meta_bridge.c, line 66
- net/caif/chnl_net.c, line 350
- net/ipv4/ipconfig.c, line 1693
- net/mac80211/trace.h, line 1725
- net/rds/connection.c, 2 times
- net/rds/stats.c, line 92
- net/sched/em_text.c, line 111
- net/smc/smc_pnet.c, 2 times
- net/tipc/link.c, line 2229
- net/tipc/node.c, line 1584
- net/xfrm/xfrm_user.c, line 1088
- samples/bpf/xdp_sample_user.h, line 56
- scripts/dtc/util.c, 2 times
- scripts/kconfig/confdata.c, 2 times
- scripts/kconfig/lxdialog/checklist.c, line 23
- scripts/kconfig/lxdialog/menubox.c, line 59
- scripts/kconfig/nconf.c, line 591
- scripts/kconfig/nconf.gui.c, 2 times
- scripts/mod/modpost.c, line 1667
- scripts/mod/sumversion.c, line 320
- security/keys/encrypted-keys/ecryptfs_format.c, line 57
- security/ccsecurity/policy_io.c, line 5628
- security/ccsecurity/permission.c, 2 times
- sound/soc/intel/skylake/skl-topology.c, line 2993
- tools/accounting/getdelays.c, line 339
- tools/accounting/procacct.c, 2 times
- tools/arch/x86/kcpuid/kcpuid.c, line 319
- tools/bpf/bpftool/gen.c, 4 times
- tools/bpf/bpftool/xlated_dumper.c, line 138
- tools/hv/hv_vss_daemon.c, line 185
- tools/include/nolibc/string.h, line 265
- tools/laptop/freefall/freefall.c, line 33
- tools/leds/uledmon.c, line 34
- tools/lib/api/fs/cgroup.c, line 98
- tools/lib/bpf/skel_internal.h, line 231
- tools/lib/subcmd/parse-options.c, line 138
- tools/net/ynl/lib/ynl.c, line 582
- tools/perf/arch/x86/util/header.c, 3 times
- tools/perf/arch/x86/util/intel-pt.c, line 399
- tools/perf/arch/x86/util/perf_regs.c, line 192
- tools/perf/builtin-daemon.c, line 1439
- tools/perf/builtin-diff.c, line 256
- tools/perf/builtin-help.c, line 215
- tools/perf/builtin-lock.c, line 1407
- tools/perf/builtin-script.c, line 3030
- tools/perf/tests/dlfilter-test.c, 2 times
- tools/perf/ui/tui/util.c, line 163
- tools/perf/util/config.c, 2 times
- tools/perf/util/data-convert-bt.c, line 279
- tools/perf/util/dso.c, line 131
- tools/perf/util/intel-pt-decoder/intel-pt-log.c, line 63
- tools/perf/util/parse-events.c, line 2281
- tools/perf/util/path.c, line 33
- tools/perf/util/s390-cpumsf.c, line 893
- tools/perf/util/symbol-elf.c, line 1160
- tools/perf/util/synthetic-events.c, 2 times
- tools/perf/util/time-utils.c, line 34
- tools/perf/util/util.c, line 398
- tools/power/cpupower/bench/main.c, line 105
- tools/power/cpupower/bench/parse.c, 2 times
- tools/power/cpupower/lib/cpufreq.c, line 570
- tools/power/cpupower/utils/idle_monitor/amd_fam14h_idle.c, 2 times
- tools/power/cpupower/utils/idle_monitor/cpuidle_sysfs.c, 2 times
- tools/power/cpupower/utils/idle_monitor/rapl_monitor.c, line 58
- tools/power/x86/intel-speed-select/isst-config.c, line 1300
- tools/power/x86/turbostat/turbostat.c, 7 times
- tools/testing/selftests/arm64/fp/fp-stress.c, line 166
- tools/testing/selftests/arm64/fp/kernel-test.c, 2 times
- tools/testing/selftests/bpf/prog_tests/align.c, line 634
- tools/testing/selftests/bpf/prog_tests/ctx_rewrite.c, 2 times
- tools/testing/selftests/bpf/prog_tests/flow_dissector.c, 2 times
- tools/testing/selftests/bpf/prog_tests/lwt_helpers.h, line 50
- tools/testing/selftests/bpf/prog_tests/queue_stack_map.c, 2 times
- tools/testing/selftests/bpf/prog_tests/skc_to_unix_sock.c, line 37
- tools/testing/selftests/bpf/prog_tests/tc_redirect.c, line 1082
- tools/testing/selftests/bpf/test_progs.c, line 1544
- tools/testing/selftests/bpf/test_verifier.c, line 1327
- tools/testing/selftests/bpf/xdp_hw_metadata.c, 2 times
- tools/testing/selftests/bpf/xskxceiver.c, line 538
- tools/testing/selftests/cgroup/cgroup_util.c, line 219
- tools/testing/selftests/landlock/fs_test.c, 2 times
- tools/testing/selftests/media_tests/media_device_open.c, line 57
- tools/testing/selftests/media_tests/media_device_test.c, line 62
- tools/testing/selftests/media_tests/video_device_test.c, line 133
- tools/testing/selftests/mm/thp_settings.c, line 322
- tools/testing/selftests/mm/write_to_hugetlbfs.c, line 92
- tools/testing/selftests/net/ipsec.c, 13 times
- tools/testing/selftests/net/nettest.c, line 154
- tools/testing/selftests/net/tcp_ao/lib/sock.c, line 160
- tools/testing/selftests/powerpc/mm/tlbie_test.c, line 638
- tools/testing/selftests/resctrl/resctrlfs.c, line 43
- tools/testing/selftests/sync/sync.c, 2 times
- tools/thermal/tmon/tmon.c, line 233
- tools/tracing/latency/latency-collector.c, 3 times
- tools/tracing/rtla/src/timerlat_aa.c, 2 times
- tools/tracing/rtla/src/utils.c, line 554
- tools/usb/usbip/libsrc/usbip_common.c, 2 times
- tools/usb/usbip/libsrc/usbip_device_driver.c, 2 times
- tools/usb/usbip/src/usbip_attach.c, line 138
- tools/verification/rv/src/in_kernel.c, 3 times
- tools/virtio/vhost_net_test.c, 2 times
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.