Defined in 2 files as a variable:
- drivers/infiniband/hw/hfi1/user_pages.c, line 13 (as a variable)
- drivers/misc/lkdtm/usercopy.c, line 23 (as a variable)
Defined in 16 files as a member:
- drivers/block/null_blk/null_blk.h, line 81 (as a member)
- drivers/cxl/cxl.h, line 383 (as a member)
- drivers/cxl/cxl.h, line 433 (as a member)
- drivers/gpu/drm/amd/amdkfd/kfd_crat.h, line 165 (as a member)
- drivers/gpu/drm/amd/amdkfd/kfd_crat.h, line 302 (as a member)
- drivers/gpu/drm/amd/amdkfd/kfd_topology.h, line 104 (as a member)
- drivers/md/dm-cache-policy-smq.c, line 812 (as a member)
- drivers/md/dm-cache-target.c, line 334 (as a member)
- drivers/md/dm-vdo/indexer/volume.h, line 103 (as a member)
- drivers/md/dm-vdo/types.h, line 224 (as a member)
- drivers/mtd/mtdblock.c, line 30 (as a member)
- drivers/scsi/myrb.h, line 256 (as a member)
- fs/btrfs/raid56.c, line 132 (as a member)
- include/acpi/actbl1.h, line 2082 (as a member)
- include/linux/mmc/card.h, line 76 (as a member)
- net/openvswitch/flow_table.h, line 32 (as a member)
Defined in 2 files as a function:
- arch/powerpc/kernel/cacheinfo.c, line 209 (as a function)
- drivers/base/cacheinfo.c, line 141 (as a function)
Referenced in 55 files:
- arch/arm/mm/cache-l2x0.c
- arch/arm/mm/cache-uniphier.c
- arch/microblaze/kernel/cpu/cache.c
- arch/mips/kernel/pm-cps.c
- arch/mips/mm/c-r4k.c
- arch/powerpc/kernel/cacheinfo.c
- arch/sh/kernel/cpu/proc.c
- drivers/acpi/numa/hmat.c
- drivers/base/cacheinfo.c, line 265
- drivers/base/regmap/regcache-flat.c
- drivers/block/null_blk/main.c
- drivers/cxl/acpi.c
- drivers/cxl/core/mbox.c
- drivers/cxl/core/mce.c
- drivers/cxl/core/region.c
- drivers/cxl/core/trace.h
- drivers/fpga/dfl-fme-main.c, line 96
- drivers/gpu/drm/amd/amdgpu/vcn_v3_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0.c
- drivers/gpu/drm/amd/amdgpu/vcn_v4_0_3.c
- drivers/gpu/drm/amd/amdgpu/vcn_v5_0_1.c
-
drivers/gpu/drm/amd/amdkfd/kfd_crat.c
- line 57
- line 67
- line 77
- line 93
- line 103
- line 113
- line 143
- line 153
- line 163
- line 173
- line 186
- line 196
- line 206
- line 216
- line 229
- line 239
- line 249
- line 259
- line 272
- line 282
- line 292
- line 302
- line 315
- line 325
- line 335
- line 345
- line 358
- line 368
- line 378
- line 388
- line 401
- line 411
- line 421
- line 431
- line 441
- line 454
- line 464
- line 474
- line 484
- line 494
- line 507
- line 517
- line 527
- line 537
- line 547
- line 560
- line 570
- line 580
- line 590
- line 600
- line 610
- line 623
- line 633
- line 643
- line 653
- line 663
- line 673
- line 686
- line 696
- line 706
- line 716
- line 726
- line 736
- line 749
- line 759
- line 769
- line 779
- line 789
- line 799
- line 812
- line 822
- line 832
- line 842
- line 852
- line 865
- line 875
- line 885
- line 895
- line 905
- line 918
- line 928
- line 938
- line 948
- line 958
- line 971
- line 981
- line 991
- line 1001
- line 1011
- line 1196
- line 1196
- line 1451
- line 1464
- line 1478
- line 1492
- line 1505
- line 1518
- line 1538
- line 1550
- line 1562
- line 1573
- line 1584
- drivers/gpu/drm/amd/amdkfd/kfd_topology.c
- drivers/infiniband/hw/hfi1/user_pages.c
- drivers/md/dm-cache-policy-internal.h, line 146
- drivers/md/dm-cache-policy-smq.c
- drivers/md/dm-cache-policy.c
- drivers/md/dm-cache-policy.h, line 177
- drivers/md/dm-cache-target.c
- drivers/md/dm-vdo/block-map.c
- drivers/md/dm-vdo/block-map.h, line 336
- drivers/md/dm-vdo/dm-vdo-target.c
- drivers/md/dm-vdo/indexer/index.c, line 1348
- drivers/md/dm-vdo/indexer/volume.c
- drivers/md/dm-vdo/repair.c, line 1703
- drivers/md/dm-vdo/vdo.c, line 1545
- drivers/media/platform/chips-media/coda/coda-bit.c
- drivers/misc/lkdtm/usercopy.c
- drivers/mmc/core/mmc.c
- drivers/mtd/mtdblock.c
- drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
- drivers/scsi/myrs.c, line 1413
- fs/btrfs/block-group.c
- fs/btrfs/raid56.c
- kernel/bpf/btf.c
- net/openvswitch/datapath.c
- net/openvswitch/flow_table.c
- sound/firewire/amdtp-stream.c
- sound/firewire/motu/amdtp-motu.c
- tools/perf/util/dso.c
- tools/testing/cxl/test/cxl.c
- tools/testing/cxl/test/mock.c
- tools/testing/cxl/test/mock.h, line 32
- tools/testing/selftests/resctrl/resctrl.h
- tools/testing/selftests/resctrl/resctrlfs.c
Smatch caller information:
drivers/base/cacheinfo.c cache_of_set_props() -> cache_size()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | this_leaf | 4096-ptr_max |
| PARAM_VALUE | 1 | np | 4096-ptr_max |
| PARAM_VALUE | 1 | np->properties | 4096-ptr_max |
| BUF_SIZE | 1 | np | (-1)-0,392 |
| BUF_SIZE | 1 | np | (-1)-0,392 |
| DATA_SOURCE | 0 | this_leaf | $0 |
| DATA_SOURCE | 1 | np | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |