Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/jffs2/dir.c jffs2_rename() -> jffs2_do_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | c->alloc_sem.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->list.prev->prev | 5159360019465732096 |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->alloc_sem.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | c->erase_checking_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_checking_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | c->erase_completion_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->erase_free_sem.first_waiter->task->blocked_on | (-1)-0 |
| PARAM_VALUE | 0 | c->erase_pending_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | c->gc_task->sighand->siglock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | c->gc_task->signal->curr_target | 4096-ptr_max |
| PARAM_VALUE | 0 | c->gc_task->signal->flags | 0,2-u32max |
| PARAM_VALUE | 0 | c->gc_task->signal->group_stop_count | 0 |
| PARAM_VALUE | 0 | c->gcblock | 0 |
| PARAM_VALUE | 0 | c->nextblock->allocated_refs | 1 |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->dfl_pwq | 0-s64max |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->saved_max_active | s32min-s32max |
| PARAM_VALUE | 0 | c->wbuf_dwork.wq->saved_min_active | s32min-s32max |
| PARAM_VALUE | 0 | c->wbuf_inodes->ino | 0-4294967295 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->wbuf_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | c->xattr_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | c->xattr_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | *c->summary->sum_list_head->d.name | 0-255 |
| PARAM_VALUE | 1 | dir_f | 4096-ptr_max |
| PARAM_VALUE | 4 | dead_f | 0 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | name | unit_byte |
| UNITS | 3 | namelen | unit_byte |
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |
fs/jffs2/dir.c jffs2_rmdir() -> jffs2_do_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir_f | 4096-ptr_max |
| PARAM_VALUE | 4 | dead_f | 4096-ptr_max |
| PARAM_VALUE | 4 | dead_f->sem.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter->task->blocked_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter->task->blocked_lock.owner | (-1) |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter->task->blocked_lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter->task->blocked_lock.raw_lock.val.counter | s32min-s32max |
| PARAM_VALUE | 4 | dead_f->sem.first_waiter->task->usage.refs.counter | s32min-s32max |
| PARAM_VALUE | 4 | dead_f->sem.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 4 | dead_f->sem.wait_lock.dep_map->name | 0-255 |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| CAPPED_DATA | 4 | &dead_f->sem | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | name | unit_byte |
| UNITS | 3 | namelen | unit_byte |
| LOCK2 | &dentry->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_i->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/jffs2/dir.c jffs2_unlink() -> jffs2_do_unlink()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir_f | 4096-ptr_max |
| PARAM_VALUE | 4 | dead_f | 4096-ptr_max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 0 | c | 1-s32max |
| BUF_SIZE | 2 | name | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | c | unit_byte |
| UNITS | 2 | name | unit_byte |
| UNITS | 3 | namelen | unit_byte |
| LOCK2 | &target->i_rwsem | ||
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &dentry->d_sb->s_vfs_rename_mutex | ||
| HALF_LOCKED2 | &dir->d_inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_i->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |