Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/nilfs2/dir.c nilfs_add_link() -> nilfs_prepare_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 |
| CAPPED_DATA | 1 | from | 1 |
| PARAM_COMPARE | 1 | from | <= $2 |
| PARAM_COMPARE | 2 | to | >= $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | from | unit_byte |
| UNITS | 2 | to | unit_byte |
fs/nilfs2/dir.c nilfs_delete_entry() -> nilfs_prepare_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 |
| CAPPED_DATA | 1 | from | 1 |
| DATA_SOURCE | 0 | folio | $1 |
| BIT_INFO | 1 | from | 0x0,0x7fffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &target->i_rwsem |
fs/nilfs2/dir.c nilfs_make_empty() -> nilfs_prepare_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 1-1025,1027-1029,1031-ptr_max |
| PARAM_VALUE | 1 | from | 0 |
| DATA_SOURCE | 0 | folio | r filemap_grab_folio |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 2 | to | |
| UNITS | 2 | 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_prepare_chunk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | folio | 4096-ptr_max |
| CAPPED_DATA | 1 | from | 1 |
| DATA_SOURCE | 0 | folio | $2 |
| PARAM_COMPARE | 1 | from | <= $2 |
| PARAM_COMPARE | 2 | to | >= $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &old_dir->i_sb->s_fs_info->ns_segctor_sem | ||
| HALF_LOCKED2 | &source->i_rwsem | ||
| HALF_LOCKED2 | &target->i_rwsem |