Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/gadget/function/uvc_configfs.c to_uvcg_framebased() -> to_uvcg_format()

Type Parameter Key Value
DATA_SOURCE 0 item $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c to_uvcg_mjpeg() -> to_uvcg_format()

Type Parameter Key Value
DATA_SOURCE 0 item $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c to_uvcg_uncompressed() -> to_uvcg_format()

Type Parameter Key Value
DATA_SOURCE 0 item $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_format_allow_link() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
BUF_SIZE 0 item (-1)-s32max
BUF_SIZE 0 item (-1)-s32max
DATA_SOURCE 0 item $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &dir->i_rwsem
LOCK2 su_mutex
TYPE_LOCK (struct inode)->i_rwsem

drivers/usb/gadget/function/uvc_configfs.c uvcg_format_drop_link() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
BUF_SIZE 0 item (-1)-s32max
BUF_SIZE 0 item (-1)-s32max
DATA_SOURCE 0 item $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
HALF_LOCKED2 &dir->i_rwsem
HALF_LOCKED2 &target->i_rwsem
TYPE_LOCK (struct inode)->i_rwsem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_b_frame_index_show() -> to_uvcg_format()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_bm_capabilities_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_drop() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &opts->lock
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex
TYPE_LOCK (struct f_uvc_opts)->lock

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_dw_bytes_perline_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_dw_default_frame_interval_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_dw_frame_interval_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_dw_max_bit_rate_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_dw_max_video_frame_buffer_size_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_dw_min_bit_rate_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_make() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &opts->lock
LOCK2 &subsys->su_mutex
HALF_LOCKED2 &dentry->d_lockref.lock
TYPE_LOCK (struct configfs_subsystem)->su_mutex
TYPE_LOCK (struct f_uvc_opts)->lock

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_w_height_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_configfs.c uvcg_frame_w_width_store() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
LOCK2 &buffer->mutex
LOCK2 &frag->frag_sem
LOCK2 su_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct configfs_buffer)->mutex
TYPE_LOCK (struct configfs_fragment)->frag_sem

drivers/usb/gadget/function/uvc_v4l2.c to_uvcg_framebased() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
DATA_SOURCE 0 item $0
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock

drivers/usb/gadget/function/uvc_v4l2.c to_uvcg_uncompressed() -> to_uvcg_format()

Type Parameter Key Value
PARAM_VALUE 0 item 4096-ptr_max
DATA_SOURCE 0 item $0
HALF_LOCKED2 lock
HALF_LOCKED2 req_queue_lock