Defined in 2 files as a struct:
- drivers/gpu/drm/amd/include/discovery.h, line 170 (as a struct)
- scripts/gendwarfksyms/gendwarfksyms.h, line 183 (as a struct)
Defined in 20 files as a prototype:
- arch/arc/include/asm/bug.h, line 20 (as a prototype)
- arch/arm/include/asm/bug.h, line 63 (as a prototype)
- arch/arm64/include/asm/system_misc.h, line 21 (as a prototype)
- arch/csky/include/asm/bug.h, line 22 (as a prototype)
- arch/hexagon/include/asm/traps.h, line 13 (as a prototype)
- arch/loongarch/include/asm/ptrace.h, line 165 (as a prototype)
- arch/microblaze/include/asm/exceptions.h, line 64 (as a prototype)
- arch/mips/boot/tools/relocs.h, line 19 (as a prototype)
- arch/mips/include/asm/ptrace.h, line 166 (as a prototype)
- arch/openrisc/include/asm/bug.h, line 9 (as a prototype)
- arch/powerpc/include/asm/bug.h, line 126 (as a prototype)
- arch/riscv/include/asm/bug.h, line 96 (as a prototype)
- arch/s390/include/asm/kdebug.h, line 26 (as a prototype)
- arch/s390/kernel/entry.h, line 47 (as a prototype)
- arch/sh/include/asm/bug.h, line 117 (as a prototype)
- arch/x86/boot/boot.h, line 282 (as a prototype)
- arch/x86/include/asm/kdebug.h, line 35 (as a prototype)
- arch/x86/tools/relocs.h, line 21 (as a prototype)
- arch/xtensa/kernel/traps.c, line 171 (as a prototype)
- drivers/video/logo/pnmtologo.c, line 73 (as a prototype)
Defined in 12 files as a member:
- arch/x86/events/intel/uncore_discovery.h, line 129 (as a member)
- drivers/gpu/drm/amd/include/discovery.h, line 179 (as a member)
- drivers/hwmon/peci/cputemp.c, line 62 (as a member)
- drivers/soc/fsl/guts.c, line 45 (as a member)
- drivers/soc/hisilicon/kunpeng_hccs.h, line 39 (as a member)
- drivers/soc/loongson/loongson2_guts.c, line 46 (as a member)
- include/linux/regulator/driver.h, line 582 (as a member)
- scripts/gendwarfksyms/gendwarfksyms.h, line 246 (as a member)
- tools/perf/arch/x86/util/iostat.c, line 64 (as a member)
- tools/perf/builtin-stat.c, line 163 (as a member)
- tools/perf/util/cpumap.h, line 21 (as a member)
- tools/power/x86/intel-speed-select/isst.h, line 90 (as a member)
Defined in 1 files as a macro:
Defined in 1 files as a label:
Defined in 30 files as a function:
- arch/arc/kernel/traps.c, line 25 (as a function)
- arch/arm/kernel/traps.c, line 356 (as a function)
- arch/arm64/kernel/traps.c, line 206 (as a function)
- arch/csky/kernel/traps.c, line 85 (as a function)
- arch/hexagon/kernel/traps.c, line 180 (as a function)
- arch/loongarch/kernel/traps.c, line 408 (as a function)
- arch/microblaze/kernel/exceptions.c, line 40 (as a function)
- arch/mips/boot/tools/relocs_main.c, line 14 (as a function)
- arch/mips/kernel/traps.c, line 396 (as a function)
- arch/mips/tools/elf-entry.c, line 26 (as a function)
- arch/nios2/kernel/traps.c, line 32 (as a function)
- arch/openrisc/kernel/traps.c, line 156 (as a function)
- arch/powerpc/kernel/traps.c, line 285 (as a function)
- arch/riscv/kernel/traps.c, line 75 (as a function)
- arch/s390/kernel/dumpstack.c, line 196 (as a function)
- arch/s390/tools/relocs.c, line 158 (as a function)
- arch/sh/kernel/traps.c, line 25 (as a function)
- arch/sparc/boot/piggyback.c, line 57 (as a function)
- arch/x86/kernel/dumpstack.c, line 453 (as a function)
- arch/x86/tools/relocs_common.c, line 4 (as a function)
- arch/xtensa/kernel/traps.c, line 629 (as a function)
- drivers/video/logo/pnmtologo.c, line 413 (as a function)
- scripts/dtc/util.h, line 34 (as a function)
- tools/lib/subcmd/subcmd-util.h, line 17 (as a function)
- tools/testing/selftests/firmware/fw_namespace.c, line 22 (as a function)
- tools/testing/selftests/mount/nosymfollow-test.c, line 30 (as a function)
- tools/testing/selftests/mount/unprivileged-remount-test.c, line 48 (as a function)
- tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c, line 30 (as a function)
- tools/testing/selftests/powerpc/dexcr/chdexcr.c, line 13 (as a function)
- tools/testing/selftests/safesetid/safesetid-test.c, line 43 (as a function)
Referenced in 118 files:
- arch/arc/kernel/traps.c, 2 times
- arch/arc/mm/fault.c, line 192
- arch/arm/kernel/entry-armv.S, line 650
- arch/arm/kernel/hw_breakpoint.c, 2 times
- arch/arm/kernel/traps.c, 3 times
- arch/arm/mach-zynq/common.h, line 16
- arch/arm/mach-zynq/slcr.c, 2 times
- arch/arm/mm/fault.c, line 128
- arch/arm64/kernel/debug-monitors.c, line 266
- arch/arm64/kernel/traps.c, 9 times
- arch/arm64/mm/fault.c, line 354
- arch/csky/kernel/traps.c, line 141
- arch/csky/mm/fault.c, line 69
- arch/hexagon/kernel/traps.c, 8 times
- arch/hexagon/mm/vm_fault.c, line 154
- arch/loongarch/include/asm/ptrace.h, line 170
- arch/loongarch/kernel/traps.c, 2 times
- arch/loongarch/mm/fault.c, line 97
- arch/microblaze/kernel/exceptions.c, 5 times
- arch/microblaze/mm/fault.c, 2 times
- arch/mips/boot/tools/relocs.c, 36 times
- arch/mips/boot/tools/relocs_main.c, 3 times
- arch/mips/dec/ecc-berr.c, line 222
- arch/mips/dec/kn01-berr.c, line 171
- arch/mips/dec/kn02xa-berr.c, line 126
- arch/mips/include/asm/ptrace.h, line 171
- arch/mips/kernel/traps.c, line 2001
- arch/mips/mm/fault.c, line 237
- arch/mips/mti-malta/malta-int.c, line 138
- arch/mips/tools/elf-entry.c, 5 times
- arch/nios2/kernel/traps.c, line 49
- arch/openrisc/kernel/traps.c, 6 times
- arch/openrisc/mm/fault.c, line 253
- arch/powerpc/kernel/traps.c, 18 times
- arch/powerpc/mm/fault.c, line 654
- arch/powerpc/platforms/83xx/misc.c, line 148
- arch/riscv/kernel/traps.c, 3 times
- arch/riscv/mm/fault.c, line 89
- arch/s390/kernel/traps.c, 3 times
- arch/s390/mm/fault.c, 2 times
- arch/s390/tools/relocs.c, 36 times
- arch/sh/kernel/traps.c, 4 times
- arch/sh/kernel/traps_32.c, 3 times
- arch/sh/mm/fault.c, line 240
- arch/sparc/boot/piggyback.c, 18 times
- arch/x86/boot/header.S, 4 times
- arch/x86/boot/main.c, line 151
- arch/x86/boot/pm.c, line 111
- arch/x86/entry/entry_fred.c, line 33
- arch/x86/events/intel/uncore.c, 63 times
- arch/x86/events/intel/uncore.h, 3 times
- arch/x86/events/intel/uncore_discovery.c, 27 times
- arch/x86/events/intel/uncore_discovery.h, line 174
- arch/x86/events/intel/uncore_snbep.c, 77 times
- arch/x86/kernel/traps.c, 8 times
- arch/x86/tools/relocs.c, 33 times
- arch/x86/tools/relocs_common.c, 3 times
- arch/xtensa/kernel/traps.c, 2 times
- arch/xtensa/mm/fault.c, 2 times
- drivers/gpu/drm/rockchip/rockchip_vop2_reg.c, 36 times
- drivers/hwmon/peci/cputemp.c, 4 times
- drivers/irqchip/irq-apple-aic.c, 11 times
- drivers/mtd/nand/onenand/onenand_base.c, 47 times
- drivers/mtd/spi-nor/winbond.c, 3 times
- drivers/regulator/irq_helpers.c, 4 times
- drivers/soc/fsl/guts.c, 14 times
- drivers/soc/hisilicon/kunpeng_hccs.c, 124 times
- drivers/soc/loongson/loongson2_guts.c, 2 times
- drivers/video/logo/pnmtologo.c, 15 times
- fs/erofs/inode.c, 13 times
- fs/jffs2/background.c, 4 times
- fs/lockd/clntproc.c, 6 times
- include/linux/rseq_entry.h, 16 times
- kernel/rseq.c, 4 times
- scripts/dtc/checks.c, line 2057
- scripts/dtc/data.c, 3 times
- scripts/dtc/dtc.c, 9 times
- scripts/dtc/flattree.c, 26 times
- scripts/dtc/fstree.c, 2 times
- scripts/dtc/livetree.c, 3 times
- scripts/dtc/srcpos.c, 3 times
- scripts/dtc/treesource.c, 2 times
- scripts/dtc/util.c, line 205
- scripts/dtc/util.h, 2 times
- scripts/dtc/yamltree.c, 3 times
- scripts/gendwarfksyms/die.c, 20 times
- scripts/gendwarfksyms/dwarf.c, 203 times
- scripts/gendwarfksyms/gendwarfksyms.h, 15 times
- scripts/gendwarfksyms/symbols.c, 2 times
- scripts/gendwarfksyms/types.c, 6 times
- tools/lib/subcmd/exec-cmd.c, 3 times
- tools/lib/subcmd/parse-options.c, 3 times
- tools/lib/subcmd/run-command.c, line 115
- tools/lib/subcmd/sigchain.c, line 18
- tools/lib/subcmd/subcmd-util.h, 3 times
- tools/perf/arch/x86/util/iostat.c, 7 times
- tools/perf/builtin-stat.c, 9 times
- tools/perf/tests/topology.c, 5 times
- tools/perf/util/annotate-data.c, 18 times
- tools/perf/util/annotate-data.h, line 266
- tools/perf/util/cpumap.c, 14 times
- tools/perf/util/dwarf-aux.h, 2 times
- tools/perf/util/libdw.c, 6 times
- tools/perf/util/stat-display.c, 15 times
- tools/power/x86/intel-speed-select/isst-config.c, 19 times
- tools/power/x86/intel-speed-select/isst-core-mbox.c, 3 times
- tools/power/x86/intel-speed-select/isst-core.c, line 404
- tools/power/x86/intel-speed-select/isst-daemon.c, 8 times
- tools/power/x86/intel-speed-select/isst-display.c, 6 times
- tools/power/x86/turbostat/turbostat.c, 5 times
- tools/testing/selftests/firmware/fw_namespace.c, 16 times
- tools/testing/selftests/mount/nosymfollow-test.c, 25 times
- tools/testing/selftests/mount/unprivileged-remount-test.c, 40 times
- tools/testing/selftests/net/netfilter/conntrack_reverse_clash.c, 5 times
- tools/testing/selftests/powerpc/dexcr/chdexcr.c, 4 times
- tools/testing/selftests/safesetid/safesetid-test.c, 51 times
- tools/testing/selftests/seccomp/seccomp_bpf.c, 2 times
- tools/usb/ffs-test.c, line 103
Smatch caller information:
arch/x86/kernel/traps.c __exc_alignment_check() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4298279375327141888 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | regs->orig_ax | 0-u32max,u64max |
| BUF_SIZE | 0 | str | 21 |
| CAPPED_DATA | 1 | regs | 1 |
| DATA_SOURCE | 1 | regs | $0 |
| DATA_SOURCE | 2 | err | $1 |
| STR_LEN | 0 | str | 20 |
| TERMINATED | 0 | str | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
arch/x86/kernel/traps.c __exc_bounds() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 6701414469984448512 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | regs->fred_ss.type | 3 |
| PARAM_VALUE | 1 | regs->fred_ss.vector | 5 |
| PARAM_VALUE | 1 | regs->orig_ax | u64max |
| PARAM_VALUE | 2 | err | 0 |
| BUF_SIZE | 0 | str | 7 |
| CAPPED_DATA | 1 | regs | 1 |
| DATA_SOURCE | 1 | regs | $0 |
| STR_LEN | 0 | str | 6 |
| TERMINATED | 0 | str | 1 |
| NOCHECK_CALL |
arch/x86/kernel/traps.c __exc_device_not_available() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 7164542197102030848 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | regs->fred_ss.type | 3 |
| PARAM_VALUE | 1 | regs->fred_ss.vector | 7 |
| PARAM_VALUE | 1 | regs->orig_ax | u64max |
| PARAM_VALUE | 2 | err | 0 |
| BUF_SIZE | 0 | str | 25 |
| CAPPED_DATA | 1 | regs | 1 |
| DATA_SOURCE | 1 | regs | $0 |
| STR_LEN | 0 | str | 24 |
| TERMINATED | 0 | str | 1 |
| NOCHECK_CALL |
arch/x86/kernel/traps.c do_trap_no_signal() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 4096-ptr_max |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| BUF_SIZE | 0 | str | 5,7,9,12-16,20,28 |
| BUF_SIZE | 0 | str | 5,7,9,12-16,20,28 |
| CAPPED_DATA | 1 | regs | 1 |
| DATA_SOURCE | 0 | str | $2 |
| DATA_SOURCE | 1 | regs | $3 |
| DATA_SOURCE | 2 | err | $4 |
| STR_LEN | 0 | str | (-1),8,11-14,19,27 |
| STR_LEN | 1 | regs | (-1),8,11-14,19,27 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
arch/x86/kernel/traps.c exc_double_fault() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 8715005945540460544 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| BUF_SIZE | 0 | str | 13 |
| DATA_SOURCE | 1 | regs | $0 |
| DATA_SOURCE | 2 | err | $1 |
| STR_LEN | 0 | str | 12 |
| TERMINATED | 0 | str | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
arch/x86/kernel/traps.c exc_int3() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 9201045629697069056 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 0 |
| BUF_SIZE | 0 | str | 5 |
| CAPPED_DATA | 1 | regs | 1 |
| DATA_SOURCE | 1 | regs | $0 |
| STR_LEN | 0 | str | 4 |
| TERMINATED | 0 | str | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |
arch/x86/kernel/traps.c handle_stack_overflow() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 1842748667911802880 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 2 | err | 0 |
| BUF_SIZE | 0 | str | 17 |
| DATA_SOURCE | 1 | regs | $0 |
| STR_LEN | 0 | str | 16 |
| TERMINATED | 0 | str | 1 |
| PREEMPT_ADD | |||
| NOCHECK_CALL |
arch/x86/kernel/traps.c math_error() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 872942923147599872,8646749435844235264 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | regs->fred_ss.type | 3 |
| PARAM_VALUE | 1 | regs->fred_ss.vector | 16,19 |
| PARAM_VALUE | 1 | regs->orig_ax | u64max |
| PARAM_VALUE | 2 | err | 0 |
| BUF_SIZE | 0 | str | 14-15 |
| BUF_SIZE | 0 | str | 14-15 |
| CAPPED_DATA | 1 | regs | 1 |
| DATA_SOURCE | 1 | regs | $0 |
| STR_LEN | 0 | str | 13-14 |
| STR_LEN | 0 | str | 13-14 |
| BIT_INFO | 0 | str | 0x41d40c4a9460000,0x7fff7cfeab6f7000 |
| BIT_INFO | 0 | str | 0x41d40c4a9460000,0x7fff7cfeab6f7000 |
| TERMINATED | 0 | str | 1 |
| HARD_MAX | 1 | regs->fred_ss.vector | 19 |
| NOCHECK_CALL |
arch/x86/entry/entry_fred.c fred_bad_type() -> die()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | str | 3816061374356750336 |
| PARAM_VALUE | 1 | regs | 4096-ptr_max |
| PARAM_VALUE | 1 | regs->fred_cs.sl | 1-3 |
| PARAM_VALUE | 1 | regs->fred_ss.type | 1-15 |
| PARAM_VALUE | 1 | regs->orig_ax | u64max |
| BUF_SIZE | 0 | str | 28 |
| DATA_SOURCE | 1 | regs | $0 |
| DATA_SOURCE | 2 | err | $1 |
| FUZZY_MAX | 1 | regs->fred_cs.sl | 1 |
| STR_LEN | 0 | str | 27 |
| TERMINATED | 0 | str | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| NOCHECK_CALL |