Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/ocfs2/dir.c __ocfs2_add_entry() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_check_dir_trailer() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &dir->i_rwsem |
fs/ocfs2/dir.c ocfs2_delete_entry_dx() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &dir->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ocfs2/dir.c ocfs2_dx_dir_attach_index() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| UNITS | 0 | sb | unit_byte |
fs/ocfs2/dir.c ocfs2_dx_dir_link_trailer() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_expand_last_dirent() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| UNITS | 0 | sb | unit_byte |
fs/ocfs2/dir.c ocfs2_extend_dir() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_fill_new_dir_el() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| UNITS | 0 | sb | unit_byte |
fs/ocfs2/dir.c ocfs2_find_dir_space_id() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_find_max_rec_len() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
fs/ocfs2/dir.c ocfs2_find_max_rec_len() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| DATA_SOURCE | 0 | sb | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
fs/ocfs2/dir.c ocfs2_init_dir_trailer() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
fs/ocfs2/dir.c ocfs2_recalc_free_list() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb->s_time_max | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_remove_block_from_free_list() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb->s_time_max | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem | ||
| HALF_LOCKED2 | &osb->journal->j_trans_barrier |
fs/ocfs2/dir.c ocfs2_remove_block_from_free_list() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb->s_time_max | 1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem | ||
| HALF_LOCKED2 | &osb->journal->j_trans_barrier |
fs/ocfs2/dir.c ocfs2_search_dx_free_list() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | sb | 4096-ptr_max |
| CAPPED_DATA | 0 | sb | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | sb | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &orphan_dir_inode->i_rwsem |
fs/ocfs2/dir.c ocfs2_validate_dir_block() -> ocfs2_dir_trailer_blk_off()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | sb | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |