Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/bfs/dir.c bfs_create() -> bfs_add_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->atomic_open | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->create | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_op | 4096-ptr_max |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| PARAM_VALUE | 2 | ino | 0-64 |
| CAPPED_DATA | 2 | ino | 1 |
| DATA_SOURCE | 0 | dir | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &info->bfs_lock | ||
| HALF_LOCKED2 | 0 | &dir->i_rwsem | |
| TYPE_LOCK | (struct bfs_sb_info)->bfs_lock |
fs/bfs/dir.c bfs_link() -> bfs_add_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_flctx->flc_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dir->i_op | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->link | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_op->mknod | 0,4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | dir->i_rwsem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| CAPPED_DATA | 0 | dir->i_sb | 1 |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->gid_map.nr_extents | 1 |
| CAPPED_DATA | 0 | dir->i_sb->s_user_ns->uid_map.nr_extents | 1 |
| DATA_SOURCE | 0 | dir | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | dir->i_mode | 0-u16max |
| USER_DATA | 0 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| LOCK2 | &info->bfs_lock | ||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct bfs_sb_info)->bfs_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/bfs/dir.c bfs_rename() -> bfs_add_entry()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dir | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb | 4096-ptr_max |
| PARAM_VALUE | 0 | dir->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| PARAM_VALUE | 1 | child | 4096-ptr_max |
| PARAM_VALUE | 1 | child->len | 0-s32max |
| PARAM_VALUE | 2 | ino | 1-u16max |
| CAPPED_DATA | 0 | dir | 1 |
| CAPPED_DATA | 2 | ino | 1 |
| DATA_SOURCE | 0 | dir | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 2 | ino | unit_byte |
| LOCK2 | &info->bfs_lock | ||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct bfs_sb_info)->bfs_lock |