Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 1 files as a function:

Referenced in 4 files:

Smatch caller information:

drivers/usb/gadget/legacy/ether.c eth_bind() -> rndis_borrow_net()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->fd->mod 0,4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->dev.parent 4096-ptr_max
PARAM_VALUE 1 net->nd_net.net->dev_unreg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 net->priv->qmult 0-4294967295
PARAM_VALUE 1 *net->name 0
BUF_SIZE 0 f 176
CAPPED_DATA 1 net->nd_net.net 1
DATA_SOURCE 0 f r usb_get_function_instance
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 f->common->fsg_num_buffers

drivers/usb/gadget/legacy/g_ffs.c gfs_bind() -> rndis_borrow_net()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->fd->mod 0,4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->dev.parent 4096-ptr_max
PARAM_VALUE 1 net->nd_net.net->dev_unreg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 net->priv->qmult 0-4294967295
PARAM_VALUE 1 *net->name 0
BUF_SIZE 0 f 176
CAPPED_DATA 1 net->nd_net.net 1
DATA_SOURCE 0 f r usb_get_function_instance
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 f->common->fsg_num_buffers

drivers/usb/gadget/legacy/multi.c multi_bind() -> rndis_borrow_net()

Type Parameter Key Value
PARAM_VALUE 0 f 4096-ptr_max
PARAM_VALUE 0 f->fd->mod 0,4096-ptr_max
PARAM_VALUE 1 net 4096-ptr_max
PARAM_VALUE 1 net->dev.parent 4096-ptr_max
PARAM_VALUE 1 net->nd_net.net->dev_unreg_lock.rlock.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 1 net->nd_net.net->rtnl_mutex.first_waiter->task->blocked_on 0
PARAM_VALUE 1 net->priv->qmult 0-4294967295
PARAM_VALUE 1 *net->name 0
BUF_SIZE 0 f 176
CAPPED_DATA 1 net->nd_net.net 1
DATA_SOURCE 0 f r usb_get_function_instance
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 f->common->fsg_num_buffers