Documented in 1 files:
Defined in 2 files as a prototype:
- include/linux/string.h, line 318 (as a prototype)
- tools/include/linux/string.h, line 68 (as a prototype)
Defined in 3 files as a function:
- lib/cmdline.c, line 153 (as a function)
- tools/lib/cmdline.c, line 13 (as a function)
- tools/testing/vsock/vsock_perf.c, line 56 (as a function)
Referenced in 80 files:
- arch/arc/mm/init.c, line 42
- arch/arm/kernel/setup.c
- arch/arm/mm/dma-mapping.c, line 192
- arch/arm/mm/mmu.c, line 1155
- arch/arm64/mm/init.c, line 189
- arch/hexagon/mm/init.c, line 94
- arch/loongarch/kernel/relocate.c
- arch/loongarch/kernel/setup.c
- arch/m68k/atari/stram.c, line 57
- arch/microblaze/mm/init.c, line 128
- arch/mips/cavium-octeon/setup.c
- arch/mips/generic/yamon-dt.c, line 115
- arch/mips/kernel/setup.c
- arch/mips/mti-malta/malta-dtshim.c, line 185
- arch/parisc/mm/init.c, line 94
- arch/powerpc/kernel/fadump.c, line 678
- arch/powerpc/kernel/prom.c, line 86
- arch/powerpc/mm/numa.c, line 111
- arch/powerpc/platforms/ps3/setup.c, line 140
- arch/riscv/mm/init.c, line 208
- arch/s390/boot/ipl_parm.c
- arch/sh/kernel/setup.c, line 106
- arch/sh/mm/consistent.c, line 29
- arch/sparc/kernel/setup_64.c, line 137
- arch/um/drivers/mconsole_kern.c, line 313
- arch/um/kernel/physmem.c, line 118
- arch/x86/boot/compressed/kaslr.c
- arch/x86/kernel/apic/x2apic_uv_x.c, line 535
- arch/x86/kernel/check.c, line 82
- arch/x86/kernel/cpu/mtrr/cleanup.c
- arch/x86/kernel/e820.c
- arch/x86/kernel/mpparse.c, line 824
- arch/x86/mm/init_32.c, line 522
- arch/x86/mm/pgtable_32.c
- arch/x86/xen/time.c, line 649
- arch/xtensa/mm/init.c
- block/partitions/cmdline.c
- drivers/block/ps3vram.c, line 646
- drivers/block/zram/zram_drv.c
- drivers/char/agp/uninorth-agp.c, line 47
- drivers/firmware/qemu_fw_cfg.c, line 815
- drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c, line 1227
- drivers/mtd/parsers/cmdlinepart.c
- drivers/pci/pci.c
- drivers/pci/setup-cardbus.c
- drivers/s390/char/vmcp.c, line 47
- drivers/video/fbdev/gbefb.c, line 1108
- drivers/video/fbdev/omap/omapfb_main.c, line 1856
- drivers/video/fbdev/omap2/omapfb/omapfb-main.c, line 1495
- drivers/video/fbdev/pxafb.c, line 1907
- drivers/virtio/virtio_mmio.c, line 688
- drivers/xen/xen-balloon.c, line 198
- fs/btrfs/ioctl.c, line 1080
- fs/btrfs/super.c, line 443
- fs/btrfs/sysfs.c
- fs/hugetlbfs/inode.c
- init/do_mounts_initrd.c
- kernel/cgroup/dmem.c, line 886
- kernel/crash_dump_dm_crypt.c, line 42
- kernel/crash_reserve.c
- kernel/dma/contiguous.c
- kernel/dma/pool.c, line 37
- kernel/elfcorehdr.c
- kernel/liveupdate/kexec_handover.c, line 727
- kernel/printk/printk.c, line 1065
- kernel/trace/trace.c
- kernel/trace/trace_boot.c, line 62
- lib/cmdline.c, line 201
- lib/tests/cmdline_kunit.c, line 248
- mm/hugetlb.c
- mm/hugetlb_cma.c
- mm/hugetlb_sysfs.c, line 257
- mm/internal.h, line 1307
- mm/memblock.c
- mm/mm_init.c, line 284
- mm/numa_emulation.c, line 439
- mm/page_counter.c, line 283
- mm/shmem.c
- mm/vmscan.c, line 7977
- tools/testing/vsock/vsock_perf.c
Smatch caller information:
init/do_mounts_initrd.c early_initrdmem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 1103952752088317952 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
init/do_mounts_initrd.c early_initrdmem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 0 |
| HALF_LOCKED2 | irq |
arch/x86/xen/time.c parse_xen_timer_slop() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
drivers/media/platform/samsung/s5p-mfc/s5p_mfc.c s5p_mfc_configure_common_memory() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | retptr | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/huge_memory.c get_order_from_str() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 7235558637708369920 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/mpparse.c parse_alloc_mptable_opt() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/mtrr/cleanup.c parse_mtrr_chunk_size_opt() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/mtrr/cleanup.c parse_mtrr_gran_size_opt() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
drivers/video/fbdev/gbefb.c gbefb_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 7683710581763960832 |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/shmem.c get_order_from_str() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 3385345296904626176 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/shmem.c shmem_parse_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 8881737649219153920 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/mm_init.c cmdline_parse_core() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/printk/printk.c log_buf_len_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
mm/hugetlb.c default_hugepagesz_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | $0 |
| LOCK2 | irq |
mm/hugetlb.c hugepagesz_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | $0 |
| LOCK2 | irq |
drivers/xen/xen-balloon.c target_store() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 1736801108011315200 |
| DATA_SOURCE | 0 | ptr | $2 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/crash_dump_dm_crypt.c setup_dmcryptkeys() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | retptr | 3381846866842767360 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
drivers/mtd/parsers/cmdlinepart.c newpart() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0-44,46-255 |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mtd/parsers/cmdlinepart.c newpart() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | *retptr | 4097-18446744073709547521 |
| DATA_SOURCE | 0 | ptr | $0 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/page_counter.c page_counter_memparse() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 5040123675834310656 |
| DATA_SOURCE | 0 | ptr | $0 |
| STR_LEN | 0 | ptr | (-1),2-3 |
| STR_LEN | 0 | ptr | (-1),2-3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/firmware/qemu_fw_cfg.c fw_cfg_cmdline_set() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-18446744073709547521 |
| PARAM_VALUE | 1 | retptr | 8192548756013887488 |
| BUF_SIZE | 0 | ptr | (-1),1-1000000001 |
| BUF_SIZE | 0 | ptr | (-1),1-1000000001 |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
mm/hugetlb_sysfs.c demote_size_store() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/vmscan.c user_proactive_reclaim() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| BUF_SIZE | 0 | ptr | s32min-s32max |
| DATA_SOURCE | 0 | ptr | r strstrip |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
block/partitions/cmdline.c parse_subpart() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0-44,46-255 |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| DATA_SOURCE | 0 | ptr | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
block/partitions/cmdline.c parse_subpart() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | *retptr | 4097-18446744073709547521 |
| DATA_SOURCE | 0 | ptr | $1 [m] |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &disk->open_mutex | ||
| HALF_LOCKED2 | &hd->open_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct gendisk)->open_mutex |
kernel/elfcorehdr.c setup_elfcorehdr() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | retptr | 3530298916492713984 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/elfcorehdr.c setup_elfcorehdr() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 3530298916492713984 |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
kernel/cgroup/dmem.c dmemcg_parse_limit() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | retptr | 8626657236031987712 |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
kernel/dma/pool.c early_coherent_pool() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
drivers/virtio/virtio_mmio.c vm_cmdline_set() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-18446744073709547521 |
| PARAM_VALUE | 1 | retptr | 4791117230662062080 |
| BUF_SIZE | 0 | ptr | (-1),1-1000000001 |
| BUF_SIZE | 0 | ptr | (-1),1-1000000001 |
| DATA_SOURCE | 0 | ptr | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex |
fs/btrfs/sysfs.c btrfs_chunk_size_store() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 4568956374204739584 |
| DATA_SOURCE | 0 | ptr | $2 |
| CAPABLE | 0 | 21 | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/btrfs/sysfs.c btrfs_devinfo_scrub_speed_max_store() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 727875104404111360 |
| DATA_SOURCE | 0 | ptr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/btrfs/sysfs.c btrfs_read_policy_to_enum() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 3817615973128531969-18446744073709547521 |
| PARAM_VALUE | 1 | retptr | 6728719381814743040 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &uuid_mutex |
arch/x86/kernel/e820.c parse_memmap_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/e820.c parse_memmap_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
arch/x86/kernel/e820.c parse_memmap_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
arch/x86/kernel/e820.c parse_memmap_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
arch/x86/kernel/e820.c parse_memmap_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
arch/x86/kernel/e820.c parse_memmap_one() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
arch/x86/kernel/e820.c parse_memopt() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
drivers/pci/pci.c pci_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
drivers/pci/pci.c pci_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
drivers/pci/pci.c pci_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
drivers/pci/pci.c pci_setup() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
drivers/block/zram/zram_drv.c disksize_store() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/block/zram/zram_drv.c mem_limit_store() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 5245108638220021760 |
| DATA_SOURCE | 0 | ptr | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memblock.c reserve_mem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
mm/memblock.c reserve_mem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
kernel/dma/contiguous.c early_cma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/dma/contiguous.c early_cma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
kernel/dma/contiguous.c early_cma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
kernel/dma/contiguous.c early_cma_pernuma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/dma/contiguous.c early_numa_cma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 786830107021959168 |
| HALF_LOCKED2 | irq |
arch/x86/kernel/apic/x2apic_uv_x.c parse_mem_block_size() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/trace/trace.c enable_instances() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-ptr_max |
| PARAM_VALUE | 1 | retptr | 5634337439538167808 |
| PARAM_VALUE | 1 | *retptr | 4097-ptr_max |
kernel/trace/trace.c enable_instances() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-u64max |
| PARAM_VALUE | 1 | retptr | 5634337439538167808 |
| PARAM_VALUE | 1 | *retptr | 4097-u64max |
kernel/trace/trace.c set_buf_size() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | *retptr | 1-u64max |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
fs/btrfs/ioctl.c btrfs_ioctl_resize() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-18446744073709547521 |
| PARAM_VALUE | 1 | retptr | 5738832108143595520 |
| BUF_SIZE | 0 | ptr | (-1),4088 |
| BUF_SIZE | 0 | ptr | (-1),4088 |
| CAPABLE | 0 | 21 | |
| USER_DATA | 0 | *ptr | 0-255 |
| USER_PTR | 0 | ptr |
fs/hugetlbfs/inode.c hugetlbfs_parse_param() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 153517597675208704 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/hugetlbfs/inode.c hugetlbfs_parse_param() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 153517597675208704 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/hugetlbfs/inode.c hugetlbfs_parse_param() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 153517597675208704 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
fs/hugetlbfs/inode.c hugetlbfs_parse_param() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 153517597675208704 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/pci/setup-cardbus.c pci_setup_cardbus() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
drivers/pci/setup-cardbus.c pci_setup_cardbus() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| HALF_LOCKED2 | irq |
fs/btrfs/super.c btrfs_parse_param() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 0,4096-ptr_max |
| PARAM_VALUE | 1 | retptr | 0 |
| CAPPED_DATA | 0 | ptr | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_PTR | 0 | ptr | |
| HALF_LOCKED2 | &fc->uapi_mutex |
mm/numa_emulation.c numa_emulation() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-18446744073709547521 |
| PARAM_VALUE | 0 | *ptr | 0 |
| PARAM_VALUE | 1 | retptr | 2789076748055015424 |
| PARAM_VALUE | 1 | *retptr | 4096-18446744073709547521 |
| LOCK2 | irq |
arch/x86/kernel/check.c set_corruption_check_size() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 1-u64max |
| PARAM_VALUE | 1 | retptr | 8948862930614239232 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/trace/trace_boot.c trace_boot_set_instance_options() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4096-ptr_max |
| PARAM_VALUE | 0 | *ptr | 1-255 |
| PARAM_VALUE | 1 | retptr | 0 |
| DATA_SOURCE | 0 | ptr | r xbc_node_find_value |
lib/tests/cmdline_kunit.c cmdline_test_memparse() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 8066978567008751616 |
kernel/liveupdate/kexec_handover.c kho_parse_scratch_size() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 6953979072842686464 |
| PARAM_VALUE | 1 | *retptr | 4096-18446744073709547521 |
| DATA_SOURCE | 0 | ptr | $0 [m] |
| STR_LEN | 0 | ptr | (-1) |
| STR_LEN | 0 | ptr | (-1) |
| HALF_LOCKED2 | irq |
mm/hugetlb_cma.c cmdline_parse_hugetlb_cma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 8320530870337200128 |
| HALF_LOCKED2 | irq |
mm/hugetlb_cma.c cmdline_parse_hugetlb_cma() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 8320530870337200128 |
| DATA_SOURCE | 0 | ptr | $0 |
| HALF_LOCKED2 | irq |
kernel/crash_reserve.c parse_crashkernel_mem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 12,4097-u64max |
| PARAM_VALUE | 1 | retptr | 8242241292513890304 |
| LOCK2 | irq |
kernel/crash_reserve.c parse_crashkernel_mem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-ptr_max |
| PARAM_VALUE | 0 | *ptr | 0-57,59-255 |
| PARAM_VALUE | 1 | retptr | 8242241292513890304 |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| LOCK2 | irq |
kernel/crash_reserve.c parse_crashkernel_mem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-u64max |
| PARAM_VALUE | 1 | retptr | 8242241292513890304 |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| LOCK2 | irq |
kernel/crash_reserve.c parse_crashkernel_mem() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 4097-18446744073709547521 |
| PARAM_VALUE | 1 | retptr | 8242241292513890304 |
| PARAM_VALUE | 1 | *retptr | 4096-18446744073709547521 |
| LOCK2 | irq |
kernel/crash_reserve.c parse_crashkernel_simple() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 12 |
| PARAM_VALUE | 1 | retptr | 3544019759042596864 |
| PARAM_VALUE | 1 | *retptr | 12 |
| DATA_SOURCE | 0 | ptr | $0 |
| LOCK2 | irq |
kernel/crash_reserve.c parse_crashkernel_simple() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | retptr | 3544019759042596864 |
| PARAM_VALUE | 1 | *retptr | 4096-ptr_max |
| LOCK2 | irq |
kernel/crash_reserve.c parse_crashkernel_suffix() -> memparse()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ptr | 12 |
| PARAM_VALUE | 1 | retptr | 7168759550946115584 |
| PARAM_VALUE | 1 | *retptr | 12 |
| DATA_SOURCE | 0 | ptr | $0 |
| LOCK2 | irq |