Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/configfs.c config_usb_cfg_link() -> cfg_to_gadget_info()

Type Parameter Key Value
PARAM_VALUE 0 cfg 4096-ptr_max
DATA_SOURCE 0 cfg r to_config_usb_cfg
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dir->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

drivers/usb/gadget/configfs.c config_usb_cfg_unlink() -> cfg_to_gadget_info()

Type Parameter Key Value
PARAM_VALUE 0 cfg 4096-ptr_max
DATA_SOURCE 0 cfg r to_config_usb_cfg
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem