Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_fs.c ffs_ep0_read() -> ffs_setup_state_clear_cancelled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
drivers/usb/gadget/function/f_fs.c ffs_ep0_read() -> ffs_setup_state_clear_cancelled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ffs->mutex | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ffs->ev.waitq.lock | |
| HALF_LOCKED2 | 0 | &ffs->mutex | |
| TYPE_LOCK | (struct wait_queue_head)->lock |
drivers/usb/gadget/function/f_fs.c ffs_ep0_read() -> ffs_setup_state_clear_cancelled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ffs->mutex | 1 |
| BIT_INFO | 0 | ffs->ev.setup.bRequestType | 0x0,0x7f |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ffs->ev.waitq.lock | |
| HALF_LOCKED2 | 0 | &ffs->mutex | |
| TYPE_LOCK | (struct wait_queue_head)->lock |
drivers/usb/gadget/function/f_fs.c ffs_ep0_write() -> ffs_setup_state_clear_cancelled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
drivers/usb/gadget/function/f_fs.c ffs_ep0_write() -> ffs_setup_state_clear_cancelled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ffs->mutex | 1 |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ffs->ev.waitq.lock | |
| HALF_LOCKED2 | 0 | &ffs->mutex | |
| TYPE_LOCK | (struct wait_queue_head)->lock |
drivers/usb/gadget/function/f_fs.c ffs_ep0_write() -> ffs_setup_state_clear_cancelled()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | ffs | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &ffs->mutex | 1 |
| BIT_INFO | 0 | ffs->ev.setup.bRequestType | 0x80,0xff |
| PREEMPT_ADD | <- disables preempt | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &ffs->ev.waitq.lock | |
| HALF_LOCKED2 | 0 | &ffs->mutex | |
| TYPE_LOCK | (struct wait_queue_head)->lock |