Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
fs/ext4/inline.c ext4_inlinedir_to_tree() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name_len | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_inlinedir_to_tree() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 2 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name_len | unit_byte |
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_read_inline_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_read_inline_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 2 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_read_inline_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_read_inline_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_read_inline_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/inline.c ext4_update_inline_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/namei.c dx_move_dirents() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| CAPPED_DATA | 1 | dir->i_ino | 1 |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| DATA_SOURCE | 1 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name_len | unit_byte |
fs/ext4/namei.c dx_node_limit() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 0 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| DATA_SOURCE | 1 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | dir->i_size | |
| HALF_LOCKED2 | 1 | &dir->i_rwsem |
fs/ext4/namei.c dx_pack_dirents() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1-255 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| CAPPED_DATA | 1 | dir->i_ino | 1 |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| DATA_SOURCE | 1 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name_len | unit_byte |
fs/ext4/namei.c dx_root_limit() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/namei.c dx_root_limit() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 2 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/namei.c ext4_empty_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c ext4_empty_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 2 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c ext4_find_dest_de() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 0 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| DATA_SOURCE | 1 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| UNITS | 0 | name_len | unit_byte |
fs/ext4/namei.c ext4_find_dest_de() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| DATA_SOURCE | 1 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| UNITS | 0 | name_len | unit_byte |
fs/ext4/namei.c ext4_init_dirblock() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name_len | unit_byte |
fs/ext4/namei.c ext4_init_dirblock() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 2 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 0 | name_len | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/namei.c ext4_init_dirblock() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/namei.c ext4_insert_dentry() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| CAPPED_DATA | 1 | dir->i_sb | 1 |
| DATA_SOURCE | 1 | dir | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| UNITS | 0 | name_len | unit_byte |
fs/ext4/namei.c ext4_search_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| DATA_SOURCE | 1 | dir | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NO_OVERFLOW_SIMPLE | 1 | dir->i_size | |
| UNITS | 0 | name_len | unit_byte |
| HALF_LOCKED2 | 1 | &dir->i_rwsem |
fs/ext4/namei.c htree_dirblock_to_tree() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 0 |
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/namei.c make_indexed_dir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 2 |
| PARAM_VALUE | 1 | dir | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
fs/ext4/dir.c __ext4_check_dir_entry() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_bytes | 0-65023[c] |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 1 | dir->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | dir->i_ino | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/dir.c __ext4_check_dir_entry() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_bytes | 0-65023[c] |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 1 | dir->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | dir->i_ino | |
| UNITS | 0 | name_len | unit_byte |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/dir.c __ext4_check_dir_entry() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_bytes | 0-65023[c] |
| USER_DATA | 1 | dir->i_size | (-9223372036854775807)-(-4),0-s64max |
| NO_OVERFLOW_SIMPLE | 1 | dir->i_blkbits | |
| NO_OVERFLOW_SIMPLE | 1 | dir->i_ino | |
| HALF_LOCKED2 | &inode->i_rwsem |
fs/ext4/dir.c ext4_readdir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/dir.c ext4_readdir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 4096-ptr_max |
| CAPPED_DATA | 1 | dir | 1 |
| BIT_INFO | 1 | dir->i_flags | 0x0,0xffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| USER_DATA | 1 | dir->i_sb->s_fs_info->s_first_error_block | s64min-s64max[c] |
| USER_DATA | 1 | dir->i_sb->s_fs_info->s_first_error_ino | 0-4294967295 |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/dir.c ext4_readdir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/ext4/dir.c ext4_readdir() -> ext4_dir_rec_len()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | name_len | 1 |
| PARAM_VALUE | 1 | dir | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | dir->i_blocks | 0-18014398515341359,18428729675200069633-u64max |
| HALF_LOCKED2 | &dir_fp->readdir_lock | ||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |