Loading...
Defined in 3 files as a prototype:
- payloads/libpayload/include/string.h, line 38 (as a prototype)
- payloads/libpayload/libc/memory.c, line 60 (as a prototype)
- src/include/string.h, line 12 (as a prototype)
Defined in 6 files as a function:
- payloads/libpayload/arch/arm/memset.S, line 16 (as a function)
- payloads/libpayload/arch/x86/string.c, line 24 (as a function)
- src/arch/arm/memset.S, line 13 (as a function)
- src/arch/arm64/memset.S, line 15 (as a function)
- src/arch/x86/memset.c, line 12 (as a function)
- src/lib/memset.c, line 5 (as a function)
Referenced in 362 files:
- payloads/libpayload/arch/arm/memset.S, line 121
- payloads/libpayload/arch/arm64/memset.S, line 58
- payloads/libpayload/arch/arm64/mmu.c, 2 times
- payloads/libpayload/crypto/sha1.c, line 186
- payloads/libpayload/curses/PDCurses/demos/newdemo.c, line 356
- payloads/libpayload/curses/PDCurses/dos/pdckbd.c, 2 times
- payloads/libpayload/curses/PDCurses/os2/pdckbd.c, line 486
- payloads/libpayload/curses/PDCurses/pdcurses/color.c, line 124
- payloads/libpayload/curses/PDCurses/pdcurses/scanw.c, 3 times
- payloads/libpayload/curses/PDCurses/sdl1/pdckbd.c, line 241
- payloads/libpayload/curses/PDCurses/win32/pdckbd.c, 3 times
- payloads/libpayload/curses/PDCurses/x11/x11.c, 4 times
- payloads/libpayload/curses/curses.priv.h, 2 times
- payloads/libpayload/drivers/i8042/i8042.c, line 58
- payloads/libpayload/drivers/nvram.c, line 117
- payloads/libpayload/drivers/options.c, 2 times
- payloads/libpayload/drivers/storage/ahci.c, 3 times
- payloads/libpayload/drivers/storage/ahci_common.c, 2 times
- payloads/libpayload/drivers/storage/nvme.c, 4 times
- payloads/libpayload/drivers/storage/storage.c, line 49
- payloads/libpayload/drivers/udc/chipidea.c, 2 times
- payloads/libpayload/drivers/udc/udc.c, line 352
- payloads/libpayload/drivers/usb/ehci.c, line 829
- payloads/libpayload/drivers/usb/ohci.c, 7 times
- payloads/libpayload/drivers/usb/usb.c, line 353
- payloads/libpayload/drivers/usb/usbmsc.c, 8 times
- payloads/libpayload/drivers/usb/xhci.c, 2 times
- payloads/libpayload/drivers/usb/xhci_devconf.c, 3 times
- payloads/libpayload/drivers/video/corebootfb.c, 2 times
- payloads/libpayload/drivers/video/geodelx.c, 2 times
- payloads/libpayload/gdb/transport.c, line 118
- payloads/libpayload/libc/malloc.c, 4 times
- payloads/libpayload/libc/printf.c, 3 times
- payloads/libpayload/libc/readline.c, line 60
- payloads/libpayload/libpci/libpci.c, line 80
- payloads/libpayload/tests/libcbfs/cbfs-lookup-test.c, 3 times
- payloads/libpayload/tests/libcbfs/cbfs-verification-test.c, 2 times
- src/acpi/acpi.c, 31 times
- src/acpi/acpi_apic.c, 2 times
- src/acpi/acpi_dmar.c, 8 times
- src/acpi/acpi_gic.c, 4 times
- src/acpi/acpi_hpet.c, line 17
- src/acpi/acpi_pptt.c, 2 times
- src/acpi/acpigen.c, line 1825
- src/acpi/device.c, line 954
- src/acpi/gnvs.c, line 29
- src/acpi/pld.c, 2 times
- src/arch/arm/eabi_compat.c, line 43
- src/arch/arm/memset.S, line 118
- src/arch/arm64/armv8/mmu.c, line 73
- src/arch/arm64/memset.S, line 38
- src/arch/riscv/mcall.c, line 9
- src/arch/x86/acpi_bert_storage.c, line 598
- src/arch/x86/mpspec.c, 10 times
- src/arch/x86/pirq_routing.c, line 121
- src/arch/x86/postcar_loader.c, line 26
- src/arch/x86/tables.c, line 159
- src/commonlib/bsd/include/commonlib/bsd/stdlib.h, line 38
- src/commonlib/include/commonlib/endian.h, line 247
- src/commonlib/region.c, 4 times
- src/commonlib/storage/sdhci_adma.c, 2 times
- src/commonlib/storage/storage.c, line 192
- src/cpu/intel/haswell/smmrelocate.c, line 203
- src/cpu/intel/smm/gen1/smmrelocate.c, line 111
- src/cpu/intel/speedstep/speedstep.c, line 27
- src/cpu/x86/mp_init.c, line 1128
- src/cpu/x86/mtrr/mtrr.c, 3 times
- src/cpu/x86/pae/pgtbl.c, 2 times
- src/device/device.c, line 97
- src/device/device_util.c, 2 times
- src/device/dram/ddr2.c, line 314
- src/device/dram/ddr3.c, line 522
- src/device/dram/ddr4.c, line 257
- src/device/oprom/yabel/biosemu.c, 3 times
- src/device/oprom/yabel/device.c, line 434
- src/device/oprom/yabel/pmm.c, line 70
- src/device/oprom/yabel/vbe.c, 4 times
- src/device/pci_device.c, line 1632
- src/drivers/amd/agesa/def_callouts.c, line 108
- src/drivers/amd/agesa/eventlog.c, 2 times
- src/drivers/amd/agesa/heapmanager.c, 4 times
- src/drivers/amd/agesa/oem_s3.c, line 61
- src/drivers/amd/agesa/romstage.c, line 24
- src/drivers/amd/agesa/state_machine.c, 2 times
- src/drivers/aspeed/common/aspeed_coreboot.h, line 63
- src/drivers/aspeed/common/ast_mode_corebootfb.c, 3 times
- src/drivers/efi/efivars.c, 2 times
- src/drivers/elog/elog.c, line 443
- src/drivers/i2c/at24rf08c/lenovo_serials.c, 6 times
- src/drivers/intel/fsp1_1/raminit.c, line 66
- src/drivers/intel/fsp1_1/romstage.c, line 201
- src/drivers/intel/gma/opregion.c, line 342
- src/drivers/intel/gma/vbt.c, 5 times
- src/drivers/intel/pmc_mux/conn/conn.c, line 41
- src/drivers/ipmi/ipmi_fru.c, 4 times
- src/drivers/ocp/ewl/ewl.c, line 19
- src/drivers/pc80/vga/vga.c, line 54
- src/drivers/secunet/dmi/smbios.c, line 72
- src/drivers/spi/spi-generic.c, line 126
- src/drivers/spi/tpm/tpm.c, line 289
- src/drivers/tpm/ppi.c, line 587
- src/drivers/usb/ehci_debug.c, line 436
- src/drivers/usb/gadget.c, line 136
- src/drivers/vpd/vpd.c, line 92
- src/ec/google/wilco/chip.c, line 192
- src/ec/google/wilco/mailbox.c, line 108
- src/ec/lenovo/h8/ssdt.c, line 15
- src/lib/cbfs.c, 2 times
- src/lib/edid.c, 3 times
- src/lib/edid_fill_fb.c, line 26
- src/lib/fmap.c, line 93
- src/lib/imd.c, 2 times
- src/lib/libgcov.c, 4 times
- src/lib/malloc.c, line 67
- src/lib/nhlt.c, 2 times
- src/lib/region_file.c, line 194
- src/lib/rmodule.c, line 101
- src/lib/romstage_handoff.c, line 35
- src/lib/selfboot.c, line 115
- src/lib/smbios.c, 4 times
- src/lib/xxhash.c, 2 times
- src/mainboard/facebook/fbg1701/romstage.c, line 82
- src/mainboard/facebook/monolith/ramstage.c, line 43
- src/mainboard/getac/p470/acpi_tables.c, line 20
- src/mainboard/google/brox/romstage.c, line 16
- src/mainboard/google/brya/romstage.c, line 16
- src/mainboard/google/cyan/spd/spd.c, line 181
- src/mainboard/google/dedede/mainboard.c, line 32
- src/mainboard/google/peach_pit/mainboard.c, line 420
- src/mainboard/google/poppy/romstage.c, line 146
- src/mainboard/google/poppy/variants/nami/memory.c, line 76
- src/mainboard/google/rex/romstage.c, line 19
- src/mainboard/google/volteer/mainboard.c, line 112
- src/mainboard/msi/ms7d25/mainboard.c, 4 times
- src/mainboard/msi/ms7d25/romstage_fsp_params.c, 2 times
- src/mainboard/msi/ms7e06/mainboard.c, 4 times
- src/mainboard/msi/ms7e06/romstage_fsp_params.c, 2 times
- src/mainboard/pcengines/apu2/irq_tables.c, line 61
- src/mainboard/prodrive/atlas/vpd.c, line 54
- src/mainboard/prodrive/hermes/eeprom.c, line 131
- src/mainboard/prodrive/hermes/mainboard.c, line 84
- src/mainboard/siemens/fa_ehl/mainboard.c, 2 times
- src/mainboard/siemens/fa_ehl/romstage_fsp_params.c, line 22
- src/mainboard/siemens/mc_apl1/mainboard.c, 5 times
- src/mainboard/siemens/mc_ehl/mainboard.c, 2 times
- src/mainboard/siemens/mc_ehl/romstage_fsp_params.c, line 26
- src/northbridge/amd/pi/00730F01/northbridge.c, line 282
- src/northbridge/intel/gm45/gma.c, line 193
- src/northbridge/intel/gm45/raminit_meminfo.c, line 53
- src/northbridge/intel/gm45/romstage.c, line 62
- src/northbridge/intel/haswell/broadwell_mrc/raminit.c, 2 times
- src/northbridge/intel/haswell/haswell_mrc/raminit.c, line 235
- src/northbridge/intel/haswell/native_raminit/raminit_main.c, line 50
- src/northbridge/intel/haswell/native_raminit/spd_bitmunching.c, line 93
- src/northbridge/intel/i945/gma.c, line 360
- src/northbridge/intel/i945/raminit.c, 2 times
- src/northbridge/intel/ironlake/raminit.c, 6 times
- src/northbridge/intel/pineview/raminit.c, line 2501
- src/northbridge/intel/sandybridge/raminit.c, 7 times
- src/northbridge/intel/sandybridge/raminit_mrc.c, 2 times
- src/northbridge/intel/x4x/dq_dqs.c, 7 times
- src/northbridge/intel/x4x/raminit.c, 2 times
- src/security/intel/stm/SmmStm.c, line 484
- src/security/intel/stm/StmPlatformSmm.c, 2 times
- src/security/intel/txt/ramstage.c, line 300
- src/security/memory/memory_clear.c, 2 times
- src/security/tpm/tspi/log-tpm1.c, line 36
- src/security/tpm/tspi/log-tpm2.c, line 62
- src/security/tpm/tss/tcg-2.0/tss.c, 4 times
- src/security/tpm/tss/tcg-2.0/tss_marshaling.c, 3 times
- src/security/vboot/mrc_cache_hash_tpm.c, line 36
- src/security/vboot/secdata_tpm2.c, 2 times
- src/security/vboot/vbios_cache_hash_tpm.c, line 36
- src/security/vboot/vbnv.c, line 33
- src/security/vboot/vboot_logic.c, line 136
- src/soc/amd/common/block/acpi/ivrs.c, 8 times
- src/soc/amd/common/block/gpio/gpio.c, line 368
- src/soc/amd/common/block/pci/amd_pci_util.c, 2 times
- src/soc/amd/common/block/psp/psp_smm.c, line 84
- src/soc/amd/common/fsp/dmi.c, line 195
- src/soc/amd/common/pi/agesawrapper.c, 2 times
- src/soc/amd/common/pi/amd_late_init.c, line 143
- src/soc/amd/common/pi/heapmanager.c, 3 times
- src/soc/amd/common/psp_verstage/psp_verstage.c, line 253
- src/soc/amd/picasso/acpi_crat.c, 4 times
- src/soc/intel/alderlake/chip.c, line 195
- src/soc/intel/alderlake/crashlog.c, 5 times
- src/soc/intel/alderlake/fsp_params.c, line 667
- src/soc/intel/alderlake/hsphy.c, 3 times
- src/soc/intel/alderlake/meminit.c, line 170
- src/soc/intel/alderlake/romstage/fsp_params.c, 4 times
- src/soc/intel/alderlake/romstage/romstage.c, line 93
- src/soc/intel/apollolake/meminit_util_apl.c, line 51
- src/soc/intel/apollolake/meminit_util_glk.c, line 52
- src/soc/intel/baytrail/romstage/romstage.c, line 101
- src/soc/intel/braswell/acpi.c, line 329
- src/soc/intel/broadwell/gma.c, line 555
- src/soc/intel/broadwell/pch/me.c, line 965
- src/soc/intel/broadwell/raminit.c, line 154
- src/soc/intel/broadwell/refcode.c, line 48
- src/soc/intel/cannonlake/cnl_memcfg_init.c, 2 times
- src/soc/intel/cannonlake/fsp_params.c, line 438
- src/soc/intel/cannonlake/gpio_common.c, line 19
- src/soc/intel/cannonlake/romstage/romstage.c, line 62
- src/soc/intel/common/block/acpi/acpi.c, 4 times
- src/soc/intel/common/block/acpi/pep.c, line 52
- src/soc/intel/common/block/cpu/smmrelocate.c, line 205
- src/soc/intel/common/block/crashlog/crashlog.c, 4 times
- src/soc/intel/common/block/cse/cse.c, line 719
- src/soc/intel/common/block/cse/cse_lite.c, line 314
- src/soc/intel/common/block/gpio/gpio.c, line 441
- src/soc/intel/common/block/gspi/gspi.c, 2 times
- src/soc/intel/common/block/memory/meminit.c, line 194
- src/soc/intel/common/block/p2sb/p2sb.c, line 111
- src/soc/intel/common/block/pmc/pmclib.c, line 442
- src/soc/intel/common/block/scs/early_mmc.c, line 74
- src/soc/intel/common/mma.c, 2 times
- src/soc/intel/denverton_ns/acpi.c, line 146
- src/soc/intel/denverton_ns/gpio_dnv.c, 4 times
- src/soc/intel/denverton_ns/hob_mem.c, line 43
- src/soc/intel/elkhartlake/chip.c, line 109
- src/soc/intel/elkhartlake/meminit.c, line 99
- src/soc/intel/elkhartlake/romstage/romstage.c, line 61
- src/soc/intel/jasperlake/chip.c, line 116
- src/soc/intel/jasperlake/fsp_params.c, line 98
- src/soc/intel/jasperlake/meminit.c, line 99
- src/soc/intel/jasperlake/romstage/romstage.c, line 61
- src/soc/intel/meteorlake/chip.c, line 149
- src/soc/intel/meteorlake/crashlog.c, 7 times
- src/soc/intel/meteorlake/fsp_params.c, line 434
- src/soc/intel/meteorlake/meminit.c, line 127
- src/soc/intel/meteorlake/romstage/fsp_params.c, 4 times
- src/soc/intel/meteorlake/romstage/romstage.c, line 60
- src/soc/intel/skylake/chip.c, line 338
- src/soc/intel/skylake/romstage/romstage.c, line 66
- src/soc/intel/tigerlake/chip.c, line 155
- src/soc/intel/tigerlake/crashlog_lib.c, 5 times
- src/soc/intel/tigerlake/fsp_params.c, line 336
- src/soc/intel/tigerlake/meminit.c, line 103
- src/soc/intel/tigerlake/romstage/fsp_params.c, line 110
- src/soc/intel/tigerlake/romstage/romstage.c, line 61
- src/soc/intel/xeon_sp/cpx/romstage.c, line 66
- src/soc/intel/xeon_sp/numa.c, line 50
- src/soc/intel/xeon_sp/ras/hest.c, line 32
- src/soc/intel/xeon_sp/smmrelocate.c, line 71
- src/soc/intel/xeon_sp/spr/romstage.c, line 297
- src/soc/intel/xeon_sp/uncore_acpi.c, 3 times
- src/soc/mediatek/common/dp/dptx.c, 3 times
- src/soc/mediatek/common/dramc_param.c, line 32
- src/soc/mediatek/common/dsi.c, line 72
- src/soc/mediatek/common/early_init.c, line 20
- src/soc/mediatek/common/memory.c, 3 times
- src/soc/mediatek/common/msdc.c, line 429
- src/soc/mediatek/mt8183/dramc_param.c, line 38
- src/soc/mediatek/mt8183/memory.c, line 167
- src/soc/nvidia/tegra124/display.c, line 290
- src/soc/nvidia/tegra124/dp.c, 3 times
- src/soc/nvidia/tegra210/dp.c, 3 times
- src/soc/nvidia/tegra210/mipi_dsi.c, line 201
- src/soc/qualcomm/common/qclib.c, 2 times
- src/soc/qualcomm/ipq40xx/i2c.c, 2 times
- src/soc/qualcomm/ipq806x/i2c.c, 2 times
- src/soc/qualcomm/qcs405/i2c.c, 2 times
- src/soc/qualcomm/sc7180/display/dsi.c, line 225
- src/soc/qualcomm/sc7180/display/dsi_phy.c, 2 times
- src/soc/qualcomm/sc7280/display/edp_ctrl.c, line 1451
- src/soc/rockchip/common/edp.c, line 456
- src/soc/rockchip/rk3288/display.c, line 34
- src/soc/samsung/exynos5250/cpu.c, 2 times
- src/soc/samsung/exynos5420/cpu.c, 2 times
- src/soc/samsung/exynos5420/dp.c, 4 times
- src/soc/samsung/exynos5420/smp.c, line 115
- src/soc/ti/am335x/mmc.c, line 262
- src/southbridge/intel/bd82x6x/me_8.x.c, line 333
- src/southbridge/intel/lynxpoint/acpi.c, line 29
- src/southbridge/intel/lynxpoint/me.c, line 866
- src/vendorcode/cavium/bdk/libbdk-hal/bdk-ecam.c, line 66
- src/vendorcode/cavium/bdk/libbdk-hal/bdk-pcie-cn8xxx.c, 2 times
- src/vendorcode/cavium/bdk/libbdk-hal/bdk-sata.c, 5 times
- src/vendorcode/cavium/bdk/libbdk-hal/device/bdk-device.c, 2 times
- src/vendorcode/cavium/bdk/libdram/dram-init-ddr3.c, 10 times
- src/vendorcode/cavium/bdk/libdram/dram-spd.c, line 552
- src/vendorcode/cavium/bdk/libdram/dram-tune-ddr3.c, 13 times
- src/vendorcode/cavium/bdk/libdram/libdram-config-load.c, line 153
- src/vendorcode/cavium/include/bdk/libbdk-hal/bdk-utils.h, line 196
- src/vendorcode/eltan/security/mboot/mboot.c, 4 times
- src/vendorcode/eltan/security/verified_boot/vboot_check.c, line 125
- src/vendorcode/google/chromeos/sar.c, line 289
- src/vendorcode/mediatek/mt8192/dramc/dramc_pi_basic_api.c, 7 times
- src/vendorcode/mediatek/mt8192/dramc/dramc_pi_calibration_api.c, 8 times
- src/vendorcode/mediatek/mt8192/dramc/dramc_pi_main.c, 3 times
- src/vendorcode/mediatek/mt8192/dramc/dramc_top.c, line 1121
- src/vendorcode/mediatek/mt8192/dramc/dramc_tracking.c, 3 times
- src/vendorcode/mediatek/mt8195/dramc/DIG_SHUF_config.c, 2 times
- src/vendorcode/mediatek/mt8195/dramc/dramc_pi_basic_api.c, 7 times
- src/vendorcode/mediatek/mt8195/dramc/dramc_pi_calibration_api.c, 11 times
- src/vendorcode/mediatek/mt8195/dramc/dramc_pi_main.c, 3 times
- src/vendorcode/mediatek/mt8195/dramc/dramc_top.c, line 1980
- src/vendorcode/mediatek/mt8195/dramc/dramc_tracking.c, 3 times
- src/vendorcode/mediatek/mt8195/dramc/dramc_utility.c, line 1393
- src/vendorcode/siemens/hwilib/hwilib.c, line 484
- src/vendorcode/wuffs/wuffs-v0.4.c, 42 times
- tests/acpi/acpigen-test.c, line 45
- tests/commonlib/bsd/ipchksum-test.c, 2 times
- tests/commonlib/list-test.c, 6 times
- tests/commonlib/region-test.c, 11 times
- tests/drivers/efivars.c, 2 times
- tests/lib/bootmem-test.c, 2 times
- tests/lib/cbfs-lookup-test.c, 6 times
- tests/lib/cbfs-verification-test.c, 2 times
- tests/lib/cbmem_stage_cache-test.c, 6 times
- tests/lib/fmap-test.c, 2 times
- tests/lib/imd_cbmem-test.c, line 57
- tests/lib/lzma-test.c, 3 times
- tests/lib/malloc-test.c, line 48
- tests/lib/memcpy-test.c, 3 times
- tests/lib/memmove-test.c, 3 times
- tests/lib/memset-test.c, 5 times
- tests/lib/region_file-test.c, line 13
- tests/lib/rtc-test.c, 6 times
- tests/lib/spd_cache-test.c, 5 times
- tests/lib/string-test.c, 3 times
- tests/lib/ux_locales-test.c, line 87
- util/amdfwtool/amdfwtool.c, 3 times
- util/amdfwtool/signed_psp.c, 2 times
- util/cbfstool/bpdt_formats/bpdt_1_7.c, line 195
- util/cbfstool/cbfs-mkpayload.c, 3 times
- util/cbfstool/cbfs-mkstage.c, 2 times
- util/cbfstool/cbfs-payload-linux.c, 2 times
- util/cbfstool/cbfs_image.c, 13 times
- util/cbfstool/cbfscomptool.c, line 46
- util/cbfstool/cbfstool.c, 3 times
- util/cbfstool/common.c, line 74
- util/cbfstool/cse_serger.c, 2 times
- util/cbfstool/elfheaders.c, 7 times
- util/cbfstool/elogtool.c, 2 times
- util/cbfstool/eventlog.c, line 61
- util/cbfstool/fit.c, 2 times
- util/cbfstool/flashmap/fmap.c, 4 times
- util/cbfstool/flashmap/kv_pair.c, line 93
- util/cbfstool/ifwitool.c, 8 times
- util/cbfstool/lz4/lib/lz4.c, line 131
- util/cbfstool/lz4/lib/lz4frame.c, 10 times
- util/cbfstool/partitioned_file.c, line 25
- util/cbfstool/rmodule.c, 4 times
- util/cbmem/cbmem.c, line 456
- util/ifdtool/ifdtool.c, 2 times
- util/inteltool/cpu.c, line 2358
- util/inteltool/ivy_memory.c, 3 times
- util/intelvbttool/intelvbttool.c, 3 times
- util/kconfig/lxdialog/util.c, line 603
- util/kconfig/menu.c, 2 times
- util/kconfig/regex.c, line 62
- util/kconfig/symbol.c, 2 times
- util/kconfig/util.c, line 24
- util/marvell/doimage_mv/doimage.c, 9 times
- util/nvramtool/accessors/layout-bin.c, 2 times
- util/nvramtool/cmos_lowlevel.c, line 110
- util/nvramtool/cmos_ops.c, line 121
- util/smmstoretool/fv.c, line 44
- util/smmstoretool/vs.c, 4 times
- util/vgabios/device.c, line 414