Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
lib/sbitmap.c sbitmap_init_node() -> sbitmap_calculate_shift()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | depth | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 0 | depth | 0-u32max |
| NO_OVERFLOW_SIMPLE | 0 | depth | |
| UNITS | 0 | depth | unit_array_size |
| HALF_LOCKED2 | &q->elevator_lock | ||
| HALF_LOCKED2 | &shost->scan_mutex | ||
| HALF_LOCKED2 | &vs->dev.mutex |
drivers/scsi/scsi_scan.c scsi_realloc_sdev_budget_map() -> sbitmap_calculate_shift()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | depth | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | depth | unit_array_size |
| LOCK2 | &shost->scan_mutex | ||
| TYPE_LOCK | (struct Scsi_Host)->scan_mutex |