Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_boot_cfg() -> bfa_flash_update_part()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flash | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 5 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | len | 144 |
| PARAM_VALUE | 5 | offset | 0 |
| PARAM_VALUE | 7 | cbarg | 2326866534190977024 |
| BUF_SIZE | 3 | buf | 144 |
| BUF_SIZE | 7 | cbarg | 104 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_ethboot_cfg() -> bfa_flash_update_part()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flash | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 13 |
| PARAM_VALUE | 3 | buf | 4096-ptr_max |
| PARAM_VALUE | 4 | len | 8 |
| PARAM_VALUE | 5 | offset | 0 |
| PARAM_VALUE | 7 | cbarg | 1423188570530295808 |
| BUF_SIZE | 3 | buf | 8 |
| BUF_SIZE | 7 | cbarg | 104 |
| PREEMPT_ADD | <- disables preempt | ||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_flash_update_part() -> bfa_flash_update_part()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flash | 4096-ptr_max |
| PARAM_VALUE | 3 | *buf | 0-255 |
| PARAM_VALUE | 5 | offset | 0 |
| PARAM_VALUE | 7 | cbarg | 7195300588421349376 |
| BUF_SIZE | 7 | cbarg | 104 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 3 | buf | unit_byte |
| UNITS | 4 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| HALF_LOCKED2 | __tag_set->srcu | ||
| HALF_LOCKED2 | rcu_read | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |
drivers/scsi/bfa/bfa_ioc.c bfa_dconf_flash_write() -> bfa_flash_update_part()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | flash | 4096-ptr_max |
| PARAM_VALUE | 1 | type | 4 |
| PARAM_VALUE | 4 | len | 536 |
| PARAM_VALUE | 5 | offset | 0 |
| PARAM_VALUE | 7 | cbarg | 4096-ptr_max |
| BUF_SIZE | 7 | cbarg | 136,160,376,584,720 |
| DATA_SOURCE | 7 | cbarg | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | len | unit_byte |
| LOCK2 | &bfad->bfad_lock | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct bfad_s)->bfad_lock |