Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/ocfs2/alloc.c ocfs2_remove_btree_range() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &tl_inode->i_rwsem | ||
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | sb | (-1),2816 |
| BUF_SIZE | 0 | sb | (-1),2816 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-2147552256[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | sb | (-1),2816 |
| BUF_SIZE | 0 | sb | (-1),2816 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-2147552256[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_calc_xattr_set_need() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| PARAM_VALUE | 0 | sb->s_fs_info | 4096-ptr_max |
| BUF_SIZE | 0 | sb | (-1),2816 |
| BUF_SIZE | 0 | sb | (-1),2816 |
| STR_LEN | 0 | sb | (-1),8 |
| STR_LEN | 0 | sb | (-1),8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | sb->s_flags | 0-2147552256[c] |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize | |
| NO_OVERFLOW_SIMPLE | 0 | sb->s_blocksize_bits | |
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_delete_xattr_in_bucket() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &new_inode->i_rwsem | ||
| HALF_LOCKED2 | &oi->ip_xattr_sem |
fs/ocfs2/xattr.c ocfs2_remove_value_outside() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/xattr.c ocfs2_rm_xattr_cluster() -> ocfs2_remove_extent_credits()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| LOCK2 | &tl_inode->i_rwsem | ||
| HALF_LOCKED2 | &(inode->i_sb)->s_fs_info->nfs_sync_rwlock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &new_inode->i_rwsem | ||
| HALF_LOCKED2 | &oi->ip_xattr_sem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |