Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/kernfs/file.c kernfs_file_read_iter() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | of->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | of->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | of->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | of->released | 0 |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | of->kn->attr.open | 1 |
| CAPPED_DATA | 0 | &of->mutex | 1 |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &of->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &of->prealloc_mutex | |
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/kernfs/file.c kernfs_fop_llseek() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | of->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | of->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | of->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | of->released | 0 |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | &of->mutex | 1 |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 0 | of->file->f_pos | s64min-s64max[c] |
| LOCK2 | 0 | &of->mutex | |
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/kernfs/file.c kernfs_fop_mmap() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->kn->flags | 128-u16max |
| PARAM_VALUE | 0 | of->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | of->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | of->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | of->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | of->released | 0 |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | of->kn->__parent | 1 |
| CAPPED_DATA | 0 | &of->mutex | 1 |
| DATA_SOURCE | 0 | of | r kernfs_of |
| BIT_INFO | 0 | of->kn->flags | 0x80,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &of->mutex | |
| HALF_LOCKED2 | &ipcp->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/kernfs/file.c kernfs_fop_poll() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->released | 0 |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &kvm->irq_srcu | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &vm->irqfds_lock | ||
| HALF_LOCKED2 | global &irqfds_srcu |
fs/kernfs/file.c kernfs_fop_write_iter() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | of->mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | of->mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | of->mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | of->mutex.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | of->released | 0 |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | of->kn | 1 |
| CAPPED_DATA | 0 | &of->mutex | 1 |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | 0 | &of->mutex | |
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | 0 | &of->prealloc_mutex | |
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
fs/kernfs/file.c kernfs_seq_stop_active() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 0 | of | unit_array_size |
| LOCK2 | &sf->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct seq_file)->lock |
fs/kernfs/file.c kernfs_vma_access() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->released | 0 |
| PARAM_VALUE | 0 | of->vm_ops | 4096-ptr_max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &mm->mmap_lock |
fs/kernfs/file.c kernfs_vma_fault() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->released | 0 |
| PARAM_VALUE | 0 | of->vm_ops | 4096-ptr_max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
fs/kernfs/file.c kernfs_vma_open() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->released | 0 |
| PARAM_VALUE | 0 | of->vm_ops | 4096-ptr_max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->attach_lock | ||
| HALF_LOCKED2 | &mm->mmap_lock | ||
| HALF_LOCKED2 | &oldmm->mmap_lock |
fs/kernfs/file.c kernfs_vma_page_mkwrite() -> kernfs_put_active_of()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | of | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn | 4096-ptr_max |
| PARAM_VALUE | 0 | of->kn->active.counter | 0-s32max |
| PARAM_VALUE | 0 | of->released | 0 |
| PARAM_VALUE | 0 | of->vm_ops | 4096-ptr_max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | of | s32min-(-2),1-s32max |
| DATA_SOURCE | 0 | of | r kernfs_of |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |