Defined in 1 files as a function:
Referenced in 4 files:
- drivers/ata/libata-core.c, line 4045
- drivers/ata/libata-eh.c
- drivers/ata/libata-pmp.c, line 681
- include/linux/libata.h
Smatch caller information:
drivers/ata/pata_legacy.c ata_class_absent() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | class | $0 |
drivers/ata/libata-core.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/ata/libata-core.c ata_dev_revalidate() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | class | $1 |
drivers/ata/libata-eh.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ap->host->eh_mutex |
drivers/ata/libata-eh.c ata_eh_revalidate_and_attach() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|
drivers/scsi/libsas/sas_ata.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|
drivers/ata/sata_sil.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|
drivers/ata/libata-scsi.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | ap->lock | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | irq_flags |
drivers/ata/sata_nv.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|
drivers/ata/pata_optidma.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|
drivers/ata/pata_pcmcia.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|
drivers/ata/libahci.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-acpi.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-pmp.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-pmp.c sata_pmp_revalidate() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | class | 0 |
| DATA_SOURCE | 0 | class | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ap->host->eh_mutex | ||
| TYPE_LOCK | (struct ata_host)->eh_mutex |
drivers/ata/libata-sata.c ata_dev_enabled() -> ata_class_enabled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | ap->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &sdev->state_mutex |