Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/base/bus.c bus_add_driver() -> driver_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->bus | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->p | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->p->driver | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->p->klist_devices.get | 0 |
| PARAM_VALUE | 0 | drv->p->klist_devices.k_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->p->klist_devices.k_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->p->klist_devices.put | 0 |
| PARAM_VALUE | 0 | drv->p->mkobj | 4096-ptr_max |
| BUF_SIZE | 0 | drv | (-1),152 |
| BUF_SIZE | 0 | drv | (-1),152 |
| BUF_SIZE | 0 | drv->bus | (-1),168 |
| BUF_SIZE | 0 | drv->mod_name | (-1),5,8-12 |
| BUF_SIZE | 0 | drv->name | (-1),1-s32max |
| BUF_SIZE | 0 | drv->p | 400 |
| CAPPED_DATA | 0 | drv->bus | 1 |
| DATA_SOURCE | 0 | drv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &ipmi_interfaces_mutex | ||
| HALF_LOCKED2 | global &table_lock |
drivers/base/bus.c bus_remove_driver() -> driver_detach()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->bus | 1-u64max |
| PARAM_VALUE | 0 | drv->groups | 0,4096-ptr_max |
| PARAM_VALUE | 0 | drv->owner->mkobj.drivers_dir->sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | drv->owner->mkobj.kobj.sd->attr.open->nr_mmapped | 0-4294967295 |
| PARAM_VALUE | 0 | drv->p | 4096-ptr_max |
| PARAM_VALUE | 0 | drv->p->knode_bus.n_klist | 0 |
| PARAM_VALUE | 0 | drv->p->kobj.sd | 0,4096-ptr_max |
| BUF_SIZE | 0 | drv | (-1),152 |
| BUF_SIZE | 0 | drv | (-1),152 |
| BUF_SIZE | 0 | drv->bus | (-1),168 |
| BUF_SIZE | 0 | drv->mod_name | (-1),5,8-12 |
| BUF_SIZE | 0 | drv->name | (-1),1-s32max |
| CAPPED_DATA | 0 | drv | 1 |
| CAPPED_DATA | 0 | drv->bus | 1 |
| CAPPED_DATA | 0 | &drv->p->knode_bus | 1 |
| DATA_SOURCE | 0 | drv | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/base/bus.c bus_for_each_drv() -> bus_for_each_drv param 3()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | drv | 1-u64max |
| BUF_SIZE | 1 | _port | s32min-(-1),1-s32max |
| BUF_SIZE | 1 | _port | s32min-(-1),1-s32max |
| DATA_SOURCE | 0 | drv | r next_driver |
| DATA_SOURCE | 1 | _port | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HOST_DATA | 1 | _port->cad->state->u.pc | s64min-s64max |
| HOST_DATA | 1 | _port->cad->state->u.pc->ctr | 0-4294967295 |
| HOST_DATA | 1 | _port->cad->state->u.pc->ecr | 0-4294967295 |
| UNITS | 1 | _port | unit_byte |
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | global &core_lock | ||
| HALF_LOCKED2 | global ®istration_lock |