Defined in 5 files as a member:
- drivers/net/ethernet/cortina/gemini.h, line 804 (as a member)
- drivers/net/ethernet/cortina/gemini.h, line 824 (as a member)
- drivers/net/ethernet/cortina/gemini.h, line 838 (as a member)
- include/linux/edac.h, line 730 (as a member)
- include/linux/firmware/samsung/exynos-acpm-protocol.h, line 41 (as a member)
Defined in 4 files as a function:
- drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c, line 534 (as a function)
- drivers/infiniband/hw/hfi1/pio.c, line 1822 (as a function)
- drivers/md/persistent-data/dm-space-map-metadata.c, line 39 (as a function)
- tools/thermal/thermal-engine/thermal-engine.c, line 90 (as a function)
Referenced in 8 files:
- drivers/cxl/core/edac.c, line 774
- drivers/edac/ecs.c
- drivers/firmware/samsung/exynos-acpm.c, line 692
- drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c, line 565
- drivers/infiniband/hw/hfi1/pio.c, line 1911
- drivers/md/persistent-data/dm-space-map-metadata.c, line 531
- drivers/net/ethernet/cortina/gemini.c
- tools/thermal/thermal-engine/thermal-engine.c, line 398
Smatch caller information:
drivers/infiniband/hw/hfi1/pio.c pio_map_init() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dd | 4096-ptr_max |
| PARAM_VALUE | 0 | dd->kernel_send_context | 4096-ptr_max |
| PARAM_VALUE | 1 | scontext | 1-256 |
| PARAM_VALUE | 2 | i | 0-254 |
| BUF_SIZE | 0 | dd->kernel_send_context | (-1),8 |
| CAPPED_DATA | 2 | i | 1 |
| DATA_SOURCE | 0 | dd | $0 |
| FUZZY_MAX | 1 | scontext | 1 |
| PARAM_COMPARE | 0 | dd->num_send_contexts | < $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 0 | dd->num_send_contexts | |
| NO_OVERFLOW_SIMPLE | 2 | i | |
| UNITS | 2 | i | unit_array_size |
drivers/md/persistent-data/dm-space-map-metadata.c sm_metadata_register_threshold_callback() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dd | 4096-ptr_max |
| PARAM_VALUE | 1 | scontext | 0-1024 |
| PARAM_VALUE | 3 | context | 4096-ptr_max |
| CAPPED_DATA | 1 | scontext | 1 |
| CAPPED_DATA | 1 | scontext | 1 |
| CAPPED_DATA | 3 | context->data_dev | 1 |
| CAPPED_DATA | 3 | context->md_dev | 1 |
| DATA_SOURCE | 1 | scontext | $1 |
| DATA_SOURCE | 2 | i | $2 |
| DATA_SOURCE | 3 | context | $3 |
| NOCHECK_CALL | |||
| LOCK2 | &pmd->root_lock | ||
| LOCK2 | global &dm_thin_pool_table.mutex | ||
| TYPE_LOCK | (struct dm_pool_metadata)->root_lock | ||
| TYPE_LOCK | (struct dm_thin_pool_table)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c cat_error_count_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 0 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c doorbell_time_us_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 5 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c engine_reset_count_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 1 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c guc_time_us_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 3 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c irq_time_us_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 4 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c multi_lrc_count_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 6 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |
drivers/gpu/drm/xe/xe_gt_sriov_pf_debugfs.c page_fault_count_set() -> set_threshold()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | i | 2 |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | dd | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | dd | $0 |
| DATA_SOURCE | 1 | scontext | $1 |
| USER_DATA | 1 | scontext | 0-u64max |
| LOCK2 | &attr->mutex | ||
| TYPE_LOCK | (struct simple_attr)->mutex |