Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/nilfs2/dir.c nilfs_add_link() -> nilfs_rec_len_from_disk()

Type Parameter Key Value
PARAM_VALUE 0 dlen 1-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlen unit_byte

fs/nilfs2/dir.c nilfs_check_folio() -> nilfs_rec_len_from_disk()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlen unit_byte

fs/nilfs2/dir.c nilfs_delete_entry() -> nilfs_rec_len_from_disk()

Type Parameter Key Value
PARAM_VALUE 0 dlen 1-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlen unit_byte
HALF_LOCKED2 &target->i_rwsem

fs/nilfs2/dir.c nilfs_next_entry() -> nilfs_rec_len_from_disk()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlen unit_byte

fs/nilfs2/dir.c nilfs_readdir() -> nilfs_rec_len_from_disk()

Type Parameter Key Value
PARAM_VALUE 0 dlen 1-u16max
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlen unit_byte
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem

fs/nilfs2/dir.c nilfs_set_link() -> nilfs_rec_len_from_disk()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
UNITS 0 dlen unit_byte
HALF_LOCKED2 &old_dir->i_sb->s_fs_info->ns_segctor_sem
HALF_LOCKED2 &source->i_rwsem
HALF_LOCKED2 &target->i_rwsem