Defined in 10 files as a prototype:
- arch/alpha/include/asm/string.h, line 57 (as a prototype)
- arch/arc/include/asm/string.h, line 29 (as a prototype)
- arch/arm/include/asm/string.h, line 14 (as a prototype)
- arch/arm64/include/asm/string.h, line 13 (as a prototype)
- arch/powerpc/boot/string.h, line 9 (as a prototype)
- arch/unicore32/include/asm/string.h, line 21 (as a prototype)
- arch/x86/boot/boot.h, line 332 (as a prototype)
- arch/x86/boot/string.h, line 26 (as a prototype)
- arch/x86/include/asm/string_32.h, line 28 (as a prototype)
- include/linux/string.h, line 60 (as a prototype)
Defined in 3 files as a label:
Defined in 7 files as a function:
Documented in 2 files:
Referenced in 412 files:
- arch/alpha/kernel/smp.c, line 274
- arch/alpha/lib/ev67-strchr.S, 4 times
- arch/alpha/lib/strchr.S, 4 times
- arch/arc/kernel/arcksyms.c, line 51
- arch/arc/lib/strchr-700.S, 2 times
- arch/arm/kernel/armksyms.c, line 84
- arch/arm/kernel/vdso.c, line 145
- arch/arm/lib/strchr.S, line 24
- arch/arm64/lib/strchr.S, 3 times
- arch/ia64/kernel/mca.c, 2 times
- arch/mips/alchemy/common/prom.c, line 65
- arch/mips/cavium-octeon/setup.c, 2 times
- arch/mips/fw/arc/cmdline.c, line 51
- arch/mips/fw/lib/cmdline.c, line 62
- arch/mips/txx9/generic/setup.c, line 137
- arch/parisc/boot/compressed/misc.c, line 124
- arch/powerpc/boot/string.S, line 48
- arch/powerpc/kernel/vdso.c, 2 times
- arch/powerpc/platforms/pseries/lparcfg.c, line 614
- arch/powerpc/platforms/pseries/reconfig.c, 5 times
- arch/powerpc/xmon/nonstdio.c, line 51
- arch/s390/kernel/perf_cpum_sf.c, line 2102
- arch/s390/kernel/sysinfo.c, line 390
- arch/sh/kernel/machvec.c, 2 times
- arch/sh/kernel/nmi_debug.c, line 55
- arch/sparc/kernel/process_32.c, line 100
- arch/sparc/kernel/reboot.c, line 45
- arch/sparc/vdso/vdso2c.c, line 205
- arch/um/drivers/chan_kern.c, line 504
- arch/um/drivers/net_user.c, line 259
- arch/um/drivers/ubd_kern.c, 2 times
- arch/um/drivers/virtio_uml.c, line 1039
- arch/um/drivers/xterm.c, 2 times
- arch/um/os-Linux/execvp.c, 3 times
- arch/um/os-Linux/start_up.c, line 352
- arch/unicore32/kernel/ksyms.c, line 33
- arch/x86/boot/compressed/kaslr.c, line 185
- arch/x86/boot/tools/build.c, line 326
- arch/x86/entry/vdso/vdso2c.c, line 226
- arch/x86/kernel/acpi/sleep.c, line 142
- arch/x86/kernel/apm_32.c, line 1895
- arch/x86/kernel/cpu/mce/dev-mcelog.c, line 107
- arch/x86/kernel/cpu/resctrl/rdtgroup.c, line 2853
- arch/x86/kernel/e820.c, line 971
- arch/x86/kernel/hpet.c, line 102
- arch/x86/lib/string_32.c, line 161
- arch/x86/mm/numa_emulation.c, 3 times
- arch/x86/platform/geode/alix.c, 2 times
- arch/x86/platform/uv/uv_nmi.c, line 193
- arch/x86/tools/insn_decoder_test.c, 2 times
- arch/x86/xen/platform-pci-unplug.c, line 183
- arch/xtensa/mm/init.c, line 243
- arch/xtensa/platforms/iss/network.c, 2 times
- block/blk-iocost.c, line 2077
- block/cmdline-parser.c, 4 times
- crypto/essiv.c, line 413
- drivers/acpi/acpi_tad.c, line 145
- drivers/acpi/bus.c, line 678
- drivers/amba/bus.c, line 111
- drivers/ata/libata-core.c, 2 times
- drivers/auxdisplay/charlcd.c, line 495
- drivers/auxdisplay/panel.c, line 1444
- drivers/base/core.c, line 2473
- drivers/base/devtmpfs.c, 2 times
- drivers/base/platform.c, line 995
- drivers/block/aoe/aoeblk.c, line 203
- drivers/block/drbd/drbd_nl.c, line 4267
- drivers/block/null_blk_main.c, line 368
- drivers/block/xen-blkback/xenbus.c, line 728
- drivers/char/apm-emulation.c, line 694
- drivers/char/ipmi/ipmi_si_hardcode.c, line 129
- drivers/char/ipmi/ipmi_si_hotmod.c, 5 times
- drivers/clk/sunxi/clk-sunxi.c, line 979
- drivers/dma-buf/selftest.c, line 65
- drivers/firmware/broadcom/bcm47xx_nvram.c, line 183
- drivers/gpu/drm/amd/amdgpu/amdgpu_gfx.c, line 171
- drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c, line 389
- drivers/gpu/drm/drm_edid_load.c, line 289
- drivers/gpu/drm/drm_modes.c, 6 times
- drivers/gpu/drm/i915/i915_debugfs.c, 2 times
- drivers/gpu/drm/i915/selftests/i915_selftest.c, line 220
- drivers/gpu/drm/nouveau/nouveau_debugfs.c, line 159
- drivers/gpu/drm/rcar-du/rcar_du_of.c, line 230
- drivers/hv/vmbus_drv.c, line 557
- drivers/hwmon/ibmpowernv.c, 2 times
- drivers/hwmon/mc13783-adc.c, line 240
- drivers/i2c/busses/i2c-taos-evm.c, line 191
- drivers/i2c/i2c-core-base.c, line 1053
- drivers/i2c/i2c-core-of.c, line 198
- drivers/iio/imu/inv_mpu6050/inv_mpu_acpi.c, line 167
- drivers/infiniband/core/device.c, line 1146
- drivers/infiniband/core/nldev.c, line 1471
- drivers/infiniband/hw/hfi1/fault.c, 2 times
- drivers/infiniband/hw/hfi1/verbs.c, line 1683
- drivers/infiniband/hw/qib/qib_iba6120.c, 2 times
- drivers/infiniband/hw/qib/qib_iba7220.c, 2 times
- drivers/infiniband/hw/qib/qib_iba7322.c, 2 times
- drivers/infiniband/ulp/srp/ib_srp.c, line 3470
- drivers/input/touchscreen/edt-ft5x06.c, 2 times
- drivers/leds/uleds.c, line 105
- drivers/md/dm-crypt.c, 4 times
- drivers/md/dm-init.c, line 89
- drivers/md/dm-integrity.c, 3 times
- drivers/md/dm-ioctl.c, line 669
- drivers/md/dm-log-userspace-base.c, line 814
- drivers/md/dm-stats.c, line 939
- drivers/media/cec/cec-pin-error-inj.c, line 145
- drivers/media/pci/cx18/cx18-mailbox.c, line 329
- drivers/misc/eeprom/idt_89hpesx.c, line 1104
- drivers/misc/habanalabs/debugfs.c, line 480
- drivers/misc/kgdbts.c, 4 times
- drivers/mtd/parsers/cmdlinepart.c, 2 times
- drivers/net/bonding/bond_options.c, 4 times
- drivers/net/ethernet/8390/etherh.c, line 514
- drivers/net/ethernet/hisilicon/hns3/hns3_debugfs.c, line 345
- drivers/net/ethernet/intel/i40e/i40e_debugfs.c, 2 times
- drivers/net/ethernet/myricom/myri10ge/myri10ge.c, line 1634
- drivers/net/ethernet/seeq/ether3.c, line 201
- drivers/net/ethernet/sfc/ethtool.c, line 239
- drivers/net/ethernet/sfc/falcon/ethtool.c, line 221
- drivers/net/hamradio/baycom_par.c, line 405
- drivers/net/hamradio/baycom_ser_fdx.c, 2 times
- drivers/net/hamradio/baycom_ser_hdx.c, 3 times
- drivers/net/wireless/broadcom/brcm80211/brcmfmac/firmware.c, 2 times
- drivers/net/wireless/intel/ipw2x00/ipw2200.c, line 1851
- drivers/net/wireless/marvell/libertas/debugfs.c, 2 times
- drivers/of/base.c, 3 times
- drivers/of/device.c, line 228
- drivers/of/resolver.c, 2 times
- drivers/parisc/eisa.c, line 456
- drivers/parisc/pdc_stable.c, line 404
- drivers/parport/parport_pc.c, 2 times
- drivers/parport/probe.c, 2 times
- drivers/pci/hotplug/rpadlpar_sysfs.c, 2 times
- drivers/pci/pci-sysfs.c, line 566
- drivers/pci/pci.c, line 6258
- drivers/pinctrl/tegra/pinctrl-tegra-xusb.c, line 412
- drivers/pinctrl/tegra/pinctrl-tegra.c, line 531
- drivers/platform/x86/thinkpad_acpi.c, line 924
- drivers/pnp/pnpbios/core.c, line 412
- drivers/power/supply/power_supply_hwmon.c, line 339
- drivers/power/supply/power_supply_sysfs.c, line 419
- drivers/s390/block/dasd_devmap.c, line 287
- drivers/s390/char/sclp_cpi_sys.c, line 194
- drivers/s390/char/tape_class.c, 4 times
- drivers/s390/cio/ccwgroup.c, 2 times
- drivers/s390/cio/css.c, line 347
- drivers/s390/net/netiucv.c, line 1434
- drivers/s390/net/qeth_l3_sys.c, line 478
- drivers/scsi/aic7xxx/aic79xx_osm.c, 3 times
- drivers/scsi/aic7xxx/aic7xxx_osm.c, 3 times
- drivers/scsi/gdth.c, 4 times
- drivers/scsi/ipr.c, line 4090
- drivers/scsi/ips.c, line 514
- drivers/scsi/lpfc/lpfc_attr.c, line 1804
- drivers/scsi/ncr53c8xx.c, 3 times
- drivers/scsi/qla1280.c, 3 times
- drivers/scsi/qla2xxx/tcm_qla2xxx.c, line 1728
- drivers/scsi/sim710.c, 2 times
- drivers/scsi/st.c, line 4141
- drivers/scsi/wd33c93.c, line 1783
- drivers/soc/renesas/renesas-soc.c, line 359
- drivers/staging/isdn/avm/b1.c, 2 times
- drivers/staging/isdn/avm/b1dma.c, 2 times
- drivers/staging/isdn/avm/b1isa.c, 2 times
- drivers/staging/isdn/avm/b1pci.c, 2 times
- drivers/staging/isdn/avm/b1pcmcia.c, 2 times
- drivers/staging/isdn/avm/c4.c, 2 times
- drivers/staging/isdn/avm/t1isa.c, 2 times
- drivers/staging/isdn/avm/t1pci.c, 2 times
- drivers/staging/isdn/gigaset/ev-layer.c, 2 times
- drivers/staging/speakup/i18n.c, 3 times
- drivers/staging/speakup/kobjects.c, 5 times
- drivers/staging/speakup/speakup_decext.c, line 191
- drivers/staging/speakup/speakup_decpc.c, line 409
- drivers/staging/speakup/speakup_dectlk.c, line 259
- drivers/target/iscsi/iscsi_target.c, 2 times
- drivers/target/iscsi/iscsi_target_parameters.c, 5 times
- drivers/target/target_core_configfs.c, 3 times
- drivers/tty/hvc/hvc_iucv.c, 2 times
- drivers/tty/hvc/hvc_xen.c, line 635
- drivers/tty/serial/serial_core.c, line 2008
- drivers/tty/serial/suncore.c, 4 times
- drivers/usb/early/ehci-dbgp.c, line 1055
- drivers/usb/gadget/configfs.c, 2 times
- drivers/usb/gadget/function/f_mass_storage.c, line 3151
- drivers/usb/host/uhci-debug.c, line 33
- drivers/usb/usbip/vhci_hcd.c, line 1117
- drivers/usb/usbip/vhci_sysfs.c, line 136
- drivers/video/console/sticore.c, 3 times
- drivers/video/fbdev/core/fb_cmdline.c, line 89
- drivers/video/fbdev/omap2/omapfb/omapfb-main.c, line 2169
- drivers/xen/xenbus/xenbus_probe.c, line 573
- drivers/xen/xenbus/xenbus_probe_backend.c, line 65
- drivers/xen/xenbus/xenbus_probe_frontend.c, 3 times
- drivers/xen/xenbus/xenbus_xs.c, line 701
- drivers/zorro/gen-devlist.c, 2 times
- fs/affs/symlink.c, line 34
- fs/afs/cell.c, line 338
- fs/afs/proc.c, 2 times
- fs/afs/super.c, line 262
- fs/autofs/dev-ioctl.c, line 31
- fs/binfmt_misc.c, 8 times
- fs/btrfs/ioctl.c, 6 times
- fs/cachefiles/daemon.c, 2 times
- fs/ceph/super.c, line 508
- fs/cifs/cache.c, line 73
- fs/cifs/cifs_dfs_ref.c, line 196
- fs/cifs/cifsglob.h, line 1463
- fs/cifs/cifsroot.c, line 50
- fs/cifs/connect.c, 6 times
- fs/cifs/dfs_cache.c, 7 times
- fs/crypto/fname.c, line 165
- fs/ext4/super.c, 2 times
- fs/f2fs/super.c, line 319
- fs/fat/namei_msdos.c, 4 times
- fs/filesystems.c, 2 times
- fs/fs_context.c, 3 times
- fs/gfs2/lock_dlm.c, line 1226
- fs/gfs2/ops_fstype.c, line 380
- fs/hostfs/hostfs_kern.c, 2 times
- fs/namespace.c, line 2797
- fs/nfs/nfs4namespace.c, 2 times
- fs/nfs/nfs4proc.c, line 6027
- fs/nfs/nfs4super.c, line 142
- fs/nfs/super.c, 3 times
- fs/nfsd/fault_inject.c, line 61
- fs/ntfs/super.c, line 177
- fs/orangefs/orangefs-debugfs.c, line 546
- fs/overlayfs/super.c, line 1446
- fs/overlayfs/util.c, line 928
- fs/proc/generic.c, line 169
- fs/proc/proc_sysctl.c, line 1350
- fs/reiserfs/bitmap.c, line 582
- fs/reiserfs/prints.c, line 178
- fs/reiserfs/procfs.c, 2 times
- fs/reiserfs/super.c, 2 times
- fs/seq_file.c, line 440
- include/acpi/platform/acgccex.h, 2 times
- include/linux/netdevice.h, line 4679
- include/linux/wimax/debug.h, line 474
- init/do_mounts.c, 2 times
- init/do_mounts_md.c, 2 times
- init/main.c, 2 times
- kernel/bpf/inode.c, line 345
- kernel/cgroup/cgroup.c, line 5362
- kernel/crash_core.c, 3 times
- kernel/debug/kdb/kdb_io.c, 2 times
- kernel/debug/kdb/kdb_main.c, 3 times
- kernel/gcov/fs.c, line 577
- kernel/kprobes.c, line 1434
- kernel/module.c, line 4034
- kernel/params.c, line 823
- kernel/printk/braille.c, line 26
- kernel/printk/printk.c, line 2181
- kernel/reboot.c, line 588
- kernel/sysctl_binary.c, line 1156
- kernel/trace/trace.c, 2 times
- kernel/trace/trace_dynevent.c, 2 times
- kernel/trace/trace_events.c, line 1246
- kernel/trace/trace_events_filter.c, 3 times
- kernel/trace/trace_events_hist.c, 7 times
- kernel/trace/trace_kprobe.c, 5 times
- kernel/trace/trace_probe.c, 7 times
- kernel/trace/trace_uprobe.c, 3 times
- kernel/user_namespace.c, line 907
- lib/dynamic_debug.c, 2 times
- lib/kasprintf.c, line 45
- lib/kobject.c, line 299
- lib/parser.c, line 34
- lib/string.c, line 416
- lib/test_kasan.c, line 644
- lib/test_string.c, 4 times
- mm/kasan/report.c, line 212
- mm/mempolicy.c, 2 times
- mm/shmem.c, 2 times
- mm/slab.c, line 4128
- mm/slab_common.c, line 94
- net/batman-adv/gateway_common.c, line 109
- net/batman-adv/sysfs.c, line 698
- net/bridge/br_sysfs_if.c, line 207
- net/core/dev.c, 4 times
- net/core/dev_ioctl.c, line 390
- net/core/netpoll.c, 6 times
- net/ipv4/devinet.c, 2 times
- net/ipv4/fib_frontend.c, line 539
- net/ipv4/ipconfig.c, 3 times
- net/ipv4/sysctl_net_ipv4.c, line 350
- net/netfilter/nf_tables_api.c, 2 times
- net/netfilter/x_tables.c, line 451
- net/sunrpc/auth_gss/auth_gss.c, line 479
- net/sunrpc/auth_gss/gss_rpc_upcall.c, 2 times
- net/tipc/bearer.c, 2 times
- net/tipc/node.c, line 1082
- net/wireless/wext-core.c, line 1102
- samples/mic/mpssd/mpssd.c, 2 times
- scripts/asn1_compiler.c, line 632
- scripts/conmakehash.c, line 116
- scripts/dtc/checks.c, line 328
- scripts/dtc/dtc.c, line 38
- scripts/dtc/fdtput.c, line 162
- scripts/dtc/libfdt/fdt_overlay.c, line 742
- scripts/dtc/livetree.c, 3 times
- scripts/dtc/treesource.c, line 46
- scripts/dtc/util.c, 2 times
- scripts/insert-sys-cert.c, 2 times
- scripts/kallsyms.c, line 85
- scripts/kconfig/confdata.c, 4 times
- scripts/kconfig/lxdialog/menubox.c, line 275
- scripts/kconfig/lxdialog/textbox.c, line 253
- scripts/kconfig/lxdialog/util.c, 3 times
- scripts/mod/modpost.c, 6 times
- scripts/mod/sumversion.c, line 412
- scripts/unifdef.c, line 1011
- security/apparmor/apparmorfs.c, 2 times
- security/apparmor/lib.c, line 48
- security/keys/user_defined.c, line 199
- security/safesetid/securityfs.c, 2 times
- security/selinux/hooks.c, line 1085
- security/selinux/ss/mls.c, 4 times
- security/selinux/ss/services.c, line 3312
- security/smack/smack_lsm.c, line 727
- security/tomoyo/common.c, 5 times
- security/tomoyo/condition.c, 4 times
- security/tomoyo/environ.c, line 100
- security/tomoyo/network.c, line 58
- security/tomoyo/util.c, 7 times
- sound/pci/hda/hda_generic.c, 2 times
- sound/pci/hda/hda_sysfs.c, 2 times
- sound/soc/intel/atom/sst-atom-controls.c, line 1419
- tools/bpf/bpf_dbg.c, line 1020
- tools/bpf/bpftool/common.c, line 317
- tools/bpf/bpftool/feature.c, line 297
- tools/bpf/bpftool/main.c, 3 times
- tools/hv/hv_fcopy_daemon.c, line 43
- tools/hv/hv_kvp_daemon.c, 10 times
- tools/lib/bpf/libbpf.c, 2 times
- tools/lib/subcmd/help.c, line 210
- tools/lib/subcmd/parse-options.c, line 363
- tools/lib/subcmd/run-command.c, line 117
- tools/lib/traceevent/event-parse.c, 3 times
- tools/lib/traceevent/parse-filter.c, 2 times
- tools/perf/arch/arm64/annotate/instructions.c, 3 times
- tools/perf/arch/powerpc/util/header.c, line 30
- tools/perf/arch/s390/annotate/instructions.c, 8 times
- tools/perf/arch/s390/util/header.c, 2 times
- tools/perf/arch/s390/util/machine.c, 2 times
- tools/perf/arch/x86/util/header.c, 2 times
- tools/perf/arch/x86/util/perf_regs.c, 2 times
- tools/perf/builtin-config.c, 2 times
- tools/perf/builtin-diff.c, 4 times
- tools/perf/builtin-kvm.c, line 1312
- tools/perf/builtin-list.c, line 88
- tools/perf/builtin-mem.c, line 357
- tools/perf/builtin-probe.c, 2 times
- tools/perf/builtin-record.c, line 1955
- tools/perf/builtin-script.c, 7 times
- tools/perf/builtin-top.c, 2 times
- tools/perf/builtin-trace.c, line 3927
- tools/perf/tests/code-reading.c, line 112
- tools/perf/tests/parse-events.c, line 1896
- tools/perf/tests/time-utils-test.c, line 84
- tools/perf/ui/browser.c, line 593
- tools/perf/ui/browsers/header.c, 2 times
- tools/perf/ui/gtk/helpline.c, line 39
- tools/perf/ui/gtk/util.c, line 94
- tools/perf/ui/tui/util.c, 4 times
- tools/perf/util/annotate.c, 16 times
- tools/perf/util/bpf-loader.c, 6 times
- tools/perf/util/cgroup.c, line 218
- tools/perf/util/cputopo.c, 6 times
- tools/perf/util/debug.c, line 192
- tools/perf/util/evsel.c, 2 times
- tools/perf/util/header.c, 3 times
- tools/perf/util/machine.c, 2 times
- tools/perf/util/parse-branch-options.c, line 61
- tools/perf/util/parse-events.c, 6 times
- tools/perf/util/parse-events.h, 2 times
- tools/perf/util/parse-regs-options.c, line 43
- tools/perf/util/probe-event.c, 18 times
- tools/perf/util/probe-file.c, 4 times
- tools/perf/util/probe-finder.c, 2 times
- tools/perf/util/scripting-engines/trace-event-python.c, line 1349
- tools/perf/util/session.c, line 2242
- tools/perf/util/sort.c, 7 times
- tools/perf/util/srcline.c, 2 times
- tools/perf/util/stat-display.c, line 526
- tools/perf/util/stat-shadow.c, line 771
- tools/perf/util/string.c, 2 times
- tools/perf/util/strlist.c, line 147
- tools/perf/util/symbol-elf.c, 2 times
- tools/perf/util/symbol.c, 4 times
- tools/perf/util/synthetic-events.c, line 108
- tools/perf/util/time-utils.c, 10 times
- tools/perf/util/trace-event-info.c, line 420
- tools/perf/util/units.c, line 15
- tools/perf/util/util.c, line 87
- tools/power/acpi/common/getopt.c, line 111
- tools/power/cpupower/utils/helpers/bitmask.c, 2 times
- tools/power/x86/turbostat/turbostat.c, 6 times
- tools/testing/selftests/bpf/test_progs.c, 2 times
- tools/testing/selftests/bpf/test_verifier.c, line 871
- tools/testing/selftests/bpf/test_verifier_log.c, line 110
- tools/testing/selftests/gpio/gpio-mockup-chardev.c, line 96
- tools/testing/selftests/mqueue/mq_perf_tests.c, line 572
- tools/testing/selftests/net/nettest.c, line 1466
- tools/testing/selftests/powerpc/benchmarks/null_syscall.c, 2 times
- tools/testing/selftests/vm/mlock2-tests.c, 2 times
- tools/usb/usbip/libsrc/names.c, 2 times
- tools/usb/usbip/libsrc/vhci_driver.c, 3 times
- tools/vm/page-types.c, 4 times
- usr/gen_init_cpio.c, line 389