Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/scrub/dir_repair.c xrep_dir_salvage_data_entry() -> xrep_dir_salvage_entry()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->dir_entries 4096-ptr_max
PARAM_VALUE 0 rd->dir_entries->max_nr 0
PARAM_VALUE 0 rd->dir_entries->nr 0
PARAM_VALUE 0 rd->dir_entries->obj_size 0
PARAM_VALUE 0 rd->dir_entries->obj_size_log 0
PARAM_VALUE 0 rd->dir_entries->unset_slots 0
PARAM_VALUE 0 rd->dir_entries->xfile 0
PARAM_VALUE 0 rd->dir_entries->xfile->file 4096-ptr_max
PARAM_VALUE 0 rd->dir_names 4096-ptr_max
PARAM_VALUE 0 rd->dir_names->last_offset 4096
PARAM_VALUE 0 rd->pscan.dhook.dirent_hook.nb.next 0,4096-ptr_max
PARAM_VALUE 0 rd->pscan.dhook.dirent_hook.nb.notifier_call 388522748374327296,4739399320338165760,7726890727626338304
PARAM_VALUE 0 rd->pscan.dhook.dirent_hook.nb.priority 0
PARAM_VALUE 0 rd->pscan.iscan->lock.first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 rd->pscan.iscan.__visited_ino u64max
PARAM_VALUE 0 rd->pscan.iscan.cursor_ino u64max
PARAM_VALUE 0 rd->pscan.iscan.iget_retry_delay 100
PARAM_VALUE 0 rd->pscan.iscan.iget_timeout 30000
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.iscan.lock.magic 4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rd->pscan.iscan.lock.owner.counter 0
PARAM_VALUE 0 rd->pscan.iscan.sc 4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.sc->mp 4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 rd->pscan.iscan.sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 rd->pscan.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rd->pscan.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rd->pscan.sc 4096-ptr_max
PARAM_VALUE 0 rd->pscan.sc->mp 4096-ptr_max
PARAM_VALUE 0 rd->sc 4096-ptr_max
PARAM_VALUE 0 rd->sc->ip 4096-ptr_max
PARAM_VALUE 0 rd->sc->ip->i_df.if_format (-128)-0,2-127
PARAM_VALUE 0 rd->sc->ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rd->sc->ip->i_lock.first_waiter->list.prev 2212933610777083904,2624917664208203776
PARAM_VALUE 0 rd->sc->ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 rd->sc->ip->i_mount 4096-ptr_max
PARAM_VALUE 0 rd->sc->ip->i_mount->m_filestream->grp_time 0-4294967295
PARAM_VALUE 0 rd->sc->ip->i_mount->m_filestream->lru_grp 0-4294967295
PARAM_VALUE 0 rd->sc->mp 4096-ptr_max
PARAM_VALUE 0 rd->sc->mp->m_dir_geo 4096-ptr_max
PARAM_VALUE 0 rd->sc->mp->m_dir_update_hooks.head.head 4096-ptr_max
PARAM_VALUE 0 rd->sc->mp->m_filestream->lru_grp 0-4294967295
PARAM_VALUE 0 rd->sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 rd->sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 rd->sc->mp->m_sb.sb_agcount 1-u32max
PARAM_VALUE 0 rd->sc->relax.resched_nr 0-99
PARAM_VALUE 0 rd->sc->tempip->i_itemp->ili_dirty_flags 0-4294967295
PARAM_VALUE 0 rd->sc->tempip->i_itemp->ili_lock_flags 0-u16max
PARAM_VALUE 0 rd->sc->tempip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rd->sc->tempip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 rd->sc->tp->t_items.prev->next 4096-ptr_max
PARAM_VALUE 0 rd->sc->tp->t_items.prev->next->next 4096-ptr_max
PARAM_VALUE 2 namelen 1-255
BUF_SIZE 0 rd 0
CAPPED_DATA 2 namelen 1
CAPPED_DATA 3 ino 1
CAPPED_DATA 3 ino 1
DATA_SOURCE 0 rd $0
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rbmino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rbmino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rsumino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rsumino
BIT_INFO 0 rd 0x0,0x0
HARD_MAX 2 namelen 255
UNITS 2 namelen unit_byte
UNITS 3 ino unit_byte

fs/xfs/scrub/dir_repair.c xrep_dir_salvage_sf_entry() -> xrep_dir_salvage_entry()

Type Parameter Key Value
PARAM_VALUE 0 rd 4096-ptr_max
PARAM_VALUE 0 rd->dir_entries 4096-ptr_max
PARAM_VALUE 0 rd->dir_entries->obj_size 24
PARAM_VALUE 0 rd->dir_entries->obj_size_log (-1)-31
PARAM_VALUE 0 rd->dir_names 4096-ptr_max
PARAM_VALUE 0 rd->dir_names->last_offset 4096
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->process_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->process_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->request_key_auth->user->qnbytes s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->request_key_auth->user->qnkeys s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->session_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->session_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->thread_keyring->user->qnbytes s32min-s32max
PARAM_VALUE 0 rd->dir_names->xfile->file->f_cred->thread_keyring->user->qnkeys s32min-s32max
PARAM_VALUE 0 rd->pscan.dhook.dirent_hook.nb.next 0,4096-ptr_max
PARAM_VALUE 0 rd->pscan.dhook.dirent_hook.nb.notifier_call 388522748374327296,4739399320338165760,7726890727626338304
PARAM_VALUE 0 rd->pscan.dhook.dirent_hook.nb.priority 0
PARAM_VALUE 0 rd->pscan.iscan.__visited_ino u64max
PARAM_VALUE 0 rd->pscan.iscan.cursor_ino u64max
PARAM_VALUE 0 rd->pscan.iscan.iget_retry_delay 100
PARAM_VALUE 0 rd->pscan.iscan.iget_timeout 30000
PARAM_VALUE 0 rd->pscan.iscan.lock->first_waiter->task->blocked_lock.owner (-4611686018427387904)-4611686018427387903
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->blocked_on (-1)-0
PARAM_VALUE 0 rd->pscan.iscan.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.iscan.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rd->pscan.iscan.sc 4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.sc->mp 4096-ptr_max
PARAM_VALUE 0 rd->pscan.iscan.sc->mp->m_inodegc_wq->flush_color s32min-s32max
PARAM_VALUE 0 rd->pscan.iscan.sc->mp->m_inodegc_wq->work_color s32min-s32max
PARAM_VALUE 0 rd->pscan.lock.dep_map->name 0-255
PARAM_VALUE 0 rd->pscan.lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 rd->pscan.lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 rd->pscan.lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 rd->pscan.lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rd->pscan.sc 4096-ptr_max
PARAM_VALUE 0 rd->pscan.sc->mp 4096-ptr_max
PARAM_VALUE 0 rd->sc 4096-ptr_max
PARAM_VALUE 0 rd->sc->ip 4096-ptr_max
PARAM_VALUE 0 rd->sc->ip->i_df.if_format 1
PARAM_VALUE 0 rd->sc->ip->i_lock.dep_map->name 0-255
PARAM_VALUE 0 rd->sc->ip->i_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 rd->sc->ip->i_lock.first_waiter->type 0-1
PARAM_VALUE 0 rd->sc->ip->i_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 rd->sc->mp 4096-ptr_max
PARAM_VALUE 0 rd->sc->mp->m_dir_update_hooks.head.head 4096-ptr_max
PARAM_VALUE 0 rd->sc->mp->m_sb.sb_agcount 1-u32max
PARAM_VALUE 0 rd->sc->relax.resched_nr 0-99
PARAM_VALUE 2 namelen 1-255
PARAM_VALUE 3 ino 0-72057594037927935
BUF_SIZE 0 rd 40,72,192-s32max
BUF_SIZE 0 rd 40,72,192-s32max
CAPPED_DATA 2 namelen 1
CAPPED_DATA 3 ino 1
CAPPED_DATA 3 ino 1
DATA_SOURCE 0 rd $0
DATA_SOURCE 3 ino r xfs_dir2_sf_get_ino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rbmino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rbmino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rsumino
PARAM_COMPARE 3 ino != $0->sc->mp->m_sb.sb_rsumino
HARD_MAX 2 namelen 255
UNITS 2 namelen unit_byte