Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 5 files:
- drivers/gpu/drm/amd/pm/powerplay/smumgr/smu8_smumgr.c
- drivers/iommu/amd/amd_iommu.h
- drivers/iommu/amd/init.c
- drivers/iommu/amd/iommu.c
- fs/btrfs/ioctl.c
Smatch caller information:
drivers/iommu/amd/iommu.c amd_iommu_flush_all_caches() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 64 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/iommu.c amd_iommu_gt_ppr_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 2 |
drivers/iommu/amd/iommu.c amd_iommu_gt_ppr_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 1125899906842624 |
drivers/iommu/amd/iommu.c amd_iommu_v2_pgtbl_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 281474976710656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &iommu_probe_device_lock |
drivers/iommu/amd/iommu.c amd_iommu_v2_pgtbl_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &iommu_probe_device_lock |
drivers/iommu/amd/iommu.c is_nest_parent_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ioas->mutex |
drivers/iommu/amd/iommu.c is_nest_parent_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 281474976710656 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ioas->mutex |
drivers/iommu/amd/init.c amd_iommu_gt_ppr_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/amd/init.c amd_iommu_gt_ppr_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 1125899906842624 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/amd/init.c amd_iommu_v2_pgtbl_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 281474976710656 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/amd/init.c amd_iommu_v2_pgtbl_supported() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iommu/amd/init.c early_enable_iommus() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c enable_iommus_vapic() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 2097152 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c init_iommu_perf_ctr() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 512 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_alloc_4k_pages() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_enable_gt() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 16 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_init_flags() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 1125899906842624 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_init_pci() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 16 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_init_pci() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 2 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_set_cwwb_range() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c iommu_snp_enable() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c print_iommu_info() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c print_iommu_info() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 2097152 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c print_iommu_info() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c remap_or_alloc_cwwb_sem() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |
drivers/iommu/amd/init.c unmap_cwwb_sem() -> check_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | mask | 9223372036854775808 |
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq |