Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/gadget/legacy/inode.c ep_ioctl() -> get_ready_ep()

Type Parameter Key Value
PARAM_VALUE 2 is_write 0
BUF_SIZE 1 epdata s32min-(-2),1-s32max
BUF_SIZE 1 epdata s32min-(-2),1-s32max

drivers/usb/gadget/legacy/inode.c ep_read_iter() -> get_ready_ep()

Type Parameter Key Value
PARAM_VALUE 2 is_write 0
BUF_SIZE 1 epdata s32min-(-2),1-s32max
BUF_SIZE 1 epdata s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/usb/gadget/legacy/inode.c ep_write_iter() -> get_ready_ep()

Type Parameter Key Value
PARAM_VALUE 2 is_write 1
BUF_SIZE 1 epdata s32min-(-2),1-s32max
BUF_SIZE 1 epdata s32min-(-2),1-s32max
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock