Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/usb/gadget/function/f_fs.c ffs_fs_free_fc() -> ffs_data_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/usb/gadget/function/f_fs.c ffs_fs_get_tree() -> ffs_data_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->dev_name | 0 |
| PARAM_VALUE | 0 | ffs->ep0req_completion.done | 0 |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.can_stall | 1 |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->io_completion_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ffs->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ffs->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ffs->opened | 0 |
| PARAM_VALUE | 0 | ffs->ref.refs.counter | 1 |
| PARAM_VALUE | 0 | ffs->state | 0 |
| PARAM_VALUE | 0 | ffs->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ffs | 848 |
| DATA_SOURCE | 0 | ffs | r ffs_data_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/usb/gadget/function/f_fs.c ffs_fs_get_tree() -> ffs_data_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->dev_name | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.done | 0 |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req_completion.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.can_stall | 1 |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ev.waitq.head.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->io_completion_wq | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter | 0 |
| PARAM_VALUE | 0 | ffs->mutex.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->mutex.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ffs->mutex.owner.counter | 0 |
| PARAM_VALUE | 0 | ffs->opened | 0 |
| PARAM_VALUE | 0 | ffs->private_data | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ref.refs.counter | 1 |
| PARAM_VALUE | 0 | ffs->state | 0 |
| PARAM_VALUE | 0 | ffs->wait.head.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->wait.head.prev->prev | 4096-ptr_max |
| BUF_SIZE | 0 | ffs | 848 |
| DATA_SOURCE | 0 | ffs | r ffs_data_new |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &fc->uapi_mutex |
drivers/usb/gadget/function/f_fs.c ffs_fs_kill_sb() -> ffs_data_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->epfiles | 0 |
| PARAM_VALUE | 0 | ffs->eps_count | 0 |
| PARAM_VALUE | 0 | ffs->eps_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ffs->ev.count | 0 |
| PARAM_VALUE | 0 | ffs->ffs_eventfd | 0 |
| PARAM_VALUE | 0 | ffs->flags | 0 |
| PARAM_VALUE | 0 | ffs->fs_descs_count | 0 |
| PARAM_VALUE | 0 | ffs->gadget | 0 |
| PARAM_VALUE | 0 | ffs->hs_descs_count | 0 |
| PARAM_VALUE | 0 | ffs->interfaces_count | 0 |
| PARAM_VALUE | 0 | ffs->ms_os_descs_ext_prop_count | 0 |
| PARAM_VALUE | 0 | ffs->ms_os_descs_ext_prop_data_len | 0 |
| PARAM_VALUE | 0 | ffs->ms_os_descs_ext_prop_name_len | 0 |
| PARAM_VALUE | 0 | ffs->private_data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ffs->private_data->desc_ready | 0 |
| PARAM_VALUE | 0 | ffs->raw_descs | 0 |
| PARAM_VALUE | 0 | ffs->raw_descs_data | 0 |
| PARAM_VALUE | 0 | ffs->raw_descs_length | 0 |
| PARAM_VALUE | 0 | ffs->raw_strings | 0 |
| PARAM_VALUE | 0 | ffs->reset_work.lockdep_map->name | 0-255 |
| PARAM_VALUE | 0 | ffs->sb->s_root->d_children.first | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->sb->s_root->d_inode->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | ffs->sb->s_root->d_inode->i_rwsem.first_waiter->list.next | 2212933610777083904 |
| PARAM_VALUE | 0 | ffs->sb->s_root->d_inode->i_rwsem.first_waiter->list.prev | 2212933610777083904 |
| PARAM_VALUE | 0 | ffs->sb->s_root->d_inode->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | ffs->sb->s_root->d_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->setup_state | 0 |
| PARAM_VALUE | 0 | ffs->ss_descs_count | 0 |
| PARAM_VALUE | 0 | ffs->state | 0 |
| PARAM_VALUE | 0 | ffs->strings_count | 0 |
| PARAM_VALUE | 0 | ffs->stringtabs | 0 |
| PARAM_VALUE | 0 | *ffs->sb->s_root->d_children.first->pprev | 1-u64max |
| BUF_SIZE | 0 | ffs | (-1),4608 |
| BUF_SIZE | 0 | ffs | (-1),4608 |
| CAPPED_DATA | 0 | &ffs->reset_work | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | ffs | unit_byte |
| HALF_LOCKED2 | &s->s_umount | ||
| HALF_LOCKED2 | global &cifs_mount_mutex |
drivers/usb/gadget/function/f_fs.c functionfs_unbind() -> ffs_data_put()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ffs | 4096-ptr_max |
| PARAM_VALUE | 0 | ffs->ep0req | 0 |
| PARAM_VALUE | 0 | ffs->gadget | 0 |
| PARAM_VALUE | 0 | ffs->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 0 | ffs->mutex.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | ffs->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | ffs->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | *ffs->ev.types | 0-255 |
| CAPPED_DATA | 0 | &ffs->mutex | 1 |
| DATA_SOURCE | 0 | ffs | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |