Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/platform/x86/intel/ifs/load.c image_sanity_check() -> intel_microcode_sanity_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mc | 4096-ptr_max |
| PARAM_VALUE | 1 | print_err | 1 |
| PARAM_VALUE | 2 | hdr_type | 2 |
| BUF_SIZE | 0 | mc | 1-s32max |
| BUF_SIZE | 0 | mc | 1-s32max |
| DATA_SOURCE | 0 | mc | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | mc | unit_byte |
| LOCK2 | &of->mutex | ||
| LOCK2 | global &ifs_sem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/microcode/intel.c parse_microcode_blobs() -> intel_microcode_sanity_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mc | 1-18446744073709551614 |
| PARAM_VALUE | 1 | print_err | 1 |
| PARAM_VALUE | 2 | hdr_type | 1 |
| BUF_SIZE | 0 | mc | 0,48-u32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
arch/x86/kernel/cpu/microcode/intel.c scan_microcode() -> intel_microcode_sanity_check()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mc | 4096-ptr_max |
| PARAM_VALUE | 1 | print_err | 0 |
| PARAM_VALUE | 2 | hdr_type | 1 |
| BUF_SIZE | 0 | mc | (-1),1-s32max |
| BUF_SIZE | 0 | mc | (-1),1-s32max |
| DATA_SOURCE | 0 | mc | $0 [m] |
| UNITS | 0 | mc | unit_byte |