Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/net/eql.c __eql_insert_slave() -> __eql_find_slave_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | queue | 4096-ptr_max |
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| CAPPED_DATA | 0 | queue->num_slaves | 1 |
| DATA_SOURCE | 0 | queue | $0 |
| CAPABLE | 0 | 12 | |
| PARAM_COMPARE | 0 | queue->master_dev->priv->max_slaves | > $0->num_slaves |
| PREEMPT_ADD | |||
| UNITS | 1 | dev | unit_byte |
| LOCK2 | &eql->queue.lock | ||
| LOCK2 | bh | ||
| HALF_LOCKED2 | &net->rtnl_mutex | ||
| HALF_LOCKED2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct slave_queue)->lock |
drivers/net/eql.c eql_emancipate() -> __eql_find_slave_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| DATA_SOURCE | 1 | dev | r __dev_get_by_name |
| CAPABLE | 0 | 12 | |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &eql->queue.lock | ||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | bh | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex | ||
| TYPE_LOCK | (struct slave_queue)->lock |
drivers/net/eql.c eql_g_slave_cfg() -> __eql_find_slave_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| DATA_SOURCE | 1 | dev | r __dev_get_by_name |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &eql->queue.lock | ||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | bh | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex | ||
| TYPE_LOCK | (struct slave_queue)->lock |
drivers/net/eql.c eql_s_slave_cfg() -> __eql_find_slave_dev()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dev | 4096-ptr_max |
| DATA_SOURCE | 1 | dev | r __dev_get_by_name |
| CAPABLE | 0 | 12 | |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | &eql->queue.lock | ||
| LOCK2 | &net->rtnl_mutex | ||
| LOCK2 | bh | ||
| LOCK2 | global &rtnl_mutex | ||
| TYPE_LOCK | (struct net)->rtnl_mutex | ||
| TYPE_LOCK | (struct slave_queue)->lock |