Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

fs/ntfs3/dir.c ntfs_readdir() -> ntfs_read_hdr()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->record_size 1-u32max
PARAM_VALUE 1 ni 4096-ptr_max
PARAM_VALUE 1 ni->base->ni_lock.dep_map->name 0-255
PARAM_VALUE 1 ni->base->ni_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ni->base->ni_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ni->base->ni_lock.osq.tail.counter 0-s32max
PARAM_VALUE 2 hdr 4096-ptr_max
PARAM_VALUE 3 vbo 0
PARAM_VALUE 4 pos 0-4294967294
PARAM_VALUE 5 name 4096-ptr_max
PARAM_VALUE 6 ctx 4096-ptr_max
PARAM_VALUE 6 ctx->pos s64min-(-2),2-s64max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 5 name 4096
BUF_SIZE 5 name 4096
CAPPED_DATA 4 pos 1
CAPPED_DATA 4 pos 1
DATA_SOURCE 1 ni r ntfs_i
DATA_SOURCE 5 name r _kmalloc_noprof
DATA_SOURCE 6 ctx $1
PARAM_COMPARE 4 pos < $0->record_size
PARAM_COMPARE 4 pos < $0->record_size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 6 ctx->count s32min-s32max
UNITS 0 sbi unit_byte
UNITS 4 pos unit_byte
LOCK2 1 &ni->base->ni_lock
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ntfs_inode)->ni_lock

fs/ntfs3/dir.c ntfs_readdir() -> ntfs_read_hdr()

Type Parameter Key Value
PARAM_VALUE 0 sbi 4096-ptr_max
PARAM_VALUE 0 sbi->sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 0 sbi->sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 0 sbi->sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 ni 4096-ptr_max
PARAM_VALUE 1 ni->base->ni_lock.dep_map->name 0-255
PARAM_VALUE 1 ni->base->ni_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 1 ni->base->ni_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 1 ni->base->ni_lock.osq.tail.counter 0-s32max
PARAM_VALUE 1 ni->dir.alloc_run.count 1-u64max
PARAM_VALUE 1 ni->dir.alloc_run.runs 1-u64max
PARAM_VALUE 1 ni->dir.run_lock.dep_map->name 0-255
PARAM_VALUE 1 ni->dir.run_lock.first_waiter->handoff_set 1
PARAM_VALUE 1 ni->dir.run_lock.first_waiter->list.next 2212933610777083904,2624917664208203776
PARAM_VALUE 1 ni->dir.run_lock.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 1 ni->dir.run_lock.first_waiter->type 0-1
PARAM_VALUE 1 ni->mi.sbi->mft.ni->file.run_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 ni->mi.sbi->mft.ni->file.run_lock.first_waiter->type 0-1
PARAM_VALUE 1 ni->mi.sbi->sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx 0,2606890545167454208
PARAM_VALUE 1 ni->mi.sbi->sb->s_bdev->bd_mapping->host->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 1 ni->mi.sbi->sb->s_bdev->bd_mapping->host->i_op->sync_lazytime 0,6951464784224747520
PARAM_VALUE 1 ni->mi.sbi->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 ni->mi.sbi->sb->s_bdev->bd_mapping->invalidate_lock.first_waiter->type 0-1
PARAM_VALUE 1 ni->mi.sbi->used.bitmap.rw_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 1 ni->mi.sbi->used.bitmap.rw_lock.first_waiter->type 0-1
PARAM_VALUE 1 ni->mi.sbi->used.bitmap.sb->s_bdev->bd_mapping->host->i_op->get_offset_ctx 0,2606890545167454208
PARAM_VALUE 1 ni->mi.sbi->used.bitmap.sb->s_bdev->bd_mapping->host->i_op->readlink 0,1728600404483375104,2832489546165891072,2874824064778891264,3069732422725099520,4516337085607264256
PARAM_VALUE 1 ni->mi.sbi->used.bitmap.sb->s_bdev->bd_mapping->host->i_op->sync_lazytime 0,6951464784224747520
PARAM_VALUE 1 ni->mi.sbi->volume.ni->vfs_inode.i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792
PARAM_VALUE 1 ni->mi.sbi->volume.ni->vfs_inode.i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896
PARAM_VALUE 1 ni->mi.sbi->volume.ni->vfs_inode.i_mapping->i_mmap_rwsem.first_waiter->type 0-1
PARAM_VALUE 2 hdr 4096-ptr_max
PARAM_VALUE 2 hdr->used 16-u32max
PARAM_VALUE 4 pos 0-18446744073709551614
PARAM_VALUE 5 name 4096-ptr_max
PARAM_VALUE 6 ctx 4096-ptr_max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 0 sbi 1-s32max
BUF_SIZE 5 name 4096
BUF_SIZE 5 name 4096
CAPPED_DATA 0 sbi->record_size 1
CAPPED_DATA 4 pos 1
CAPPED_DATA 4 pos 1
DATA_SOURCE 1 ni r ntfs_i
DATA_SOURCE 5 name r _kmalloc_noprof
DATA_SOURCE 6 ctx $1
FUZZY_MAX 4 pos 3
RX_PATH
TASK_NOT_RUNNING
USER_DATA 6 ctx->count s32min-s32max
UNITS 0 sbi unit_byte
UNITS 3 vbo unit_byte
UNITS 4 pos unit_byte
LOCK2 1 &ni->base->ni_lock
HALF_LOCKED2 &dir_fp->readdir_lock
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct inode)->i_rwsem
TYPE_LOCK (struct ntfs_inode)->ni_lock