Defined in 1 files as a prototype:
Defined in 1 files as a macro:
Defined in 1 files as a function:
Referenced in 4 files:
- arch/x86/kernel/amd_gart_64.c
- arch/x86/kernel/amd_nb.c
- arch/x86/kernel/cpu/amd_cache_disable.c
- drivers/char/agp/amd64-agp.c
Smatch caller information:
arch/x86/kernel/cpu/amd_cache_disable.c cache_private_attrs_is_visible() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/cpu/amd_cache_disable.c cache_private_attrs_is_visible() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/cpu/amd_cache_disable.c init_amd_l3_attrs() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/amd_cache_disable.c init_amd_l3_attrs() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/amd_cache_disable.c init_amd_l3_attrs() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/cpu/amd_cache_disable.c init_amd_l3_attrs() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 4 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/amd_nb.c amd_cache_gart() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
arch/x86/kernel/amd_nb.c amd_flush_garts() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &iommu_bitmap_lock |
arch/x86/kernel/amd_nb.c amd_get_subcaches() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 4 |
| 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/amd_nb.c amd_set_subcaches() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 4 |
| CAPABLE | 0 | 21 | |
| 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/amd_gart_64.c enable_gart_translations() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
arch/x86/kernel/amd_gart_64.c gart_fixup_northbridges() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | irq |
arch/x86/kernel/amd_gart_64.c gart_iommu_init() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
arch/x86/kernel/amd_gart_64.c gart_iommu_shutdown() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/char/agp/amd64-agp.c amd64_cleanup() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/agp/amd64-agp.c amd_8151_configure() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/char/agp/amd64-agp.c cache_nbs() -> amd_nb_has_feature()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | feature | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pdev->dev.mutex |