Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/dir.c nilfs_add_link() -> nilfs_commit_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->_deferred_list.next->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->_deferred_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->_hugetlb_subpool | 0 |
| PARAM_VALUE | 0 | folio->lru.next | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->lru.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->mapping | 0 |
| PARAM_VALUE | 0 | folio->page.buddy_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->page.buddy_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->page.memcg_data | 0 |
| PARAM_VALUE | 0 | folio->page.pcp_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->page.pcp_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->page.zone_device_data->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | folio->pgmap->ref.data | 0,4096-ptr_max |
| PARAM_VALUE | 0 | folio->private | 0 |
| PARAM_VALUE | 1 | mapping | 0 |
| PARAM_VALUE | 2 | from | 0-18446744073709547520 |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 2 | from | 1 |
| PARAM_COMPARE | 2 | from | <= $3 |
| PARAM_COMPARE | 2 | from | <= $3 |
| PARAM_COMPARE | 3 | to | >= $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| UNITS | 2 | from | unit_byte |
| UNITS | 3 | to | unit_byte |
fs/nilfs2/dir.c nilfs_delete_entry() -> nilfs_commit_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->_hugetlb_subpool | 0 |
| PARAM_VALUE | 0 | folio->mapping | 4096-ptr_max |
| PARAM_VALUE | 0 | folio->page.memcg_data | 0 |
| PARAM_VALUE | 0 | folio->page.zone_device_data->kref.refcount.refs.counter | s32min-s32max |
| PARAM_VALUE | 0 | folio->private | 0 |
| PARAM_VALUE | 1 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | mapping->host | 4096-ptr_max |
| PARAM_VALUE | 1 | mapping->host->i_sb | 4096-ptr_max |
| PARAM_VALUE | 2 | from | 0-9223372036854771711,9223372036854779904-u64max |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 2 | from | 1 |
| DATA_SOURCE | 0 | folio | $1 |
| BIT_INFO | 2 | from | 0x0,0x7fffffffffffffff |
| BIT_INFO | 2 | from | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &target->i_rwsem |
fs/nilfs2/dir.c nilfs_make_empty() -> nilfs_commit_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 1 | mapping | 4096-ptr_max |
| PARAM_VALUE | 1 | mapping->a_ops | 4440570716555902976 |
| PARAM_VALUE | 1 | mapping->flags | 0 |
| PARAM_VALUE | 1 | mapping->gfp_mask | 1051722 |
| PARAM_VALUE | 1 | mapping->host | 4096-ptr_max |
| PARAM_VALUE | 1 | mapping->invalidate_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | mapping->wb_err | 0 |
| PARAM_VALUE | 1 | mapping->writeback_index | 0 |
| PARAM_VALUE | 2 | from | 0 |
| DATA_SOURCE | 0 | folio | r filemap_grab_folio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| NO_OVERFLOW_SIMPLE | 3 | to | |
| UNITS | 3 | to | unit_byte |
| HALF_LOCKED2 | &dentry->d_lockref.lock | ||
| HALF_LOCKED2 | &parent->i_sb->s_fs_info->ns_segctor_sem |
fs/nilfs2/dir.c nilfs_set_link() -> nilfs_commit_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| PARAM_VALUE | 2 | from | 0-18446744073709547520 |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 2 | from | 1 |
| DATA_SOURCE | 0 | folio | $2 |
| PARAM_COMPARE | 2 | from | <= $3 |
| PARAM_COMPARE | 2 | from | <= $3 |
| PARAM_COMPARE | 3 | to | >= $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &old_dir->i_sb->s_fs_info->ns_segctor_sem | ||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |