Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a macro:

Defined in 2 files as a function:

Referenced in 7 files:

Smatch caller information:

fs/gfs2/glock.c do_promote() -> do_error()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_lockref.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_ops->go_callback 0,4476415167395753984,7075182057929867264
PARAM_VALUE 0 gl->gl_ops->go_dump 0,1099325906677411840,7487906903363551232
PARAM_VALUE 0 gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 gl->gl_ops->go_held 0,6179549714839506944
PARAM_VALUE 0 gl->gl_ops->go_instantiate 0,2110023292806246400,3499320461588324352
PARAM_VALUE 0 gl->gl_ops->go_inval 0,623440236993929216,1667619148388929536
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 0,4454992625835069440,8515667195675504640
PARAM_VALUE 0 gl->gl_ops->go_type 1-6,8-9
PARAM_VALUE 0 gl->gl_ops->go_xmote_bh 0,6582441027825418240
PARAM_VALUE 1 ret 4
DATA_SOURCE 0 gl $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 gl->gl_name.ln_number 0-u64max
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec
LOCK2 0 &gl->gl_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lockref)->lock

fs/gfs2/glock.c do_promote() -> do_error()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_lockref.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_ops->go_callback 0,4476415167395753984,7075182057929867264
PARAM_VALUE 0 gl->gl_ops->go_dump 0,1099325906677411840,7487906903363551232
PARAM_VALUE 0 gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 gl->gl_ops->go_held 0,6179549714839506944
PARAM_VALUE 0 gl->gl_ops->go_instantiate 0,2110023292806246400,3499320461588324352
PARAM_VALUE 0 gl->gl_ops->go_inval 0,623440236993929216,1667619148388929536
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 0,4454992625835069440,8515667195675504640
PARAM_VALUE 0 gl->gl_ops->go_type 1-6,8-9
PARAM_VALUE 0 gl->gl_ops->go_xmote_bh 0,6582441027825418240
PARAM_VALUE 1 ret 0
CAPPED_DATA 0 &gl->gl_holders 1
DATA_SOURCE 0 gl $0
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 0 gl->gl_name.ln_number 0-u64max
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec
LOCK2 0 &gl->gl_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lockref)->lock

fs/gfs2/glock.c finish_xmote() -> do_error()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_lockref.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,2,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,8684,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,4672,148606482432692224,436469935444291584,457356038048772096,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,8931,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1293513186369728512,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_ops->go_callback 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_dump 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 gl->gl_ops->go_held 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_instantiate 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_inval 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_type 1-6,8-9
PARAM_VALUE 0 gl->gl_ops->go_xmote_bh 0,4096-ptr_max
DATA_SOURCE 0 gl $0
DATA_SOURCE 1 ret $1
BIT_INFO 1 ret 0x0,0xfffffff7
PREEMPT_ADD
RX_PATH
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 0 &gl->gl_lockref.lock

fs/gfs2/glock.c finish_xmote() -> do_error()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_lockref.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->encode_fh 0,1398972869330624512,1616549510479982592,2037984473558433792,2776440803454029824,3228746867770966016,3502492669594062848,3526768263295340544,3559173554394271744,5000850239487131648,5583386343686406144,5817357685191483392-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->fh_to_dentry 0,447817974243774464,687732489194512384,742201802719268864,868497899885588480,1471448175530500096,2021658383390310400,2445877819203563520,2512819722689847296,2649270699546726400,2761259683714371584,2893332316235677696-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->fh_to_parent 0,148606482432692224,436469935444291584,467281172929331200,529780027764285440,1092893949038768128,1556959531105513472,1608953577475584000,1649536479961075712,2404761408063094784,2970908329832960000,3511613614414655488-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode->i_mapping->host->i_sb->s_export_op->get_parent 0,264940071972966400,291591359766798336,565128213429456896,893189740598853632,1241177127089143808,1474696885321834496,1812477326828269568,1893665921928286208,2210088671756947456,2437012291923775488,2483979068402987008-s64max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->extent_list.prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->extent_list.prev->next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->extent_list.prev->next->next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_inode->i_sb->s_fs_info->sd_log_num_revoke 0-4294967295
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->nr_extents 0-2
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_ops->go_callback 0,4476415167395753984,7075182057929867264
PARAM_VALUE 0 gl->gl_ops->go_dump 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 gl->gl_ops->go_held 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_instantiate 0,2110023292806246400,3499320461588324352
PARAM_VALUE 0 gl->gl_ops->go_inval 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_type 1-6,8-9
PARAM_VALUE 0 gl->gl_ops->go_xmote_bh 6582441027825418240
PARAM_VALUE 0 gl->gl_state 1-3
PARAM_VALUE 1 ret s32min-(-1),1-s32max
CAPPED_DATA 0 gl->gl_name.ln_sbd->sd_jdesc->jd_inode->i_mapping 1
CAPPED_DATA 0 gl->gl_state 1
CAPPED_DATA 0 gl->gl_target 1
DATA_SOURCE 0 gl $0
PARAM_COMPARE 0 gl->gl_state == $0->gl_target
PREEMPT_ADD
RX_PATH
NOCHECK_CALL
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec
LOCK2 0 &gl->gl_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lockref)->lock

fs/gfs2/glock.c run_queue() -> do_error()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_lockref.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type 0-1
PARAM_VALUE 0 gl->gl_ops->go_dump 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_flags 0,2-3
PARAM_VALUE 0 gl->gl_ops->go_held 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_inval 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_type 1-6,8-9
PARAM_VALUE 1 ret 0
DATA_SOURCE 0 gl $0
PREEMPT_ADD
RX_PATH
NOCHECK_CALL
LOCK2 0 &gl->gl_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lockref)->lock

fs/gfs2/glock.c withdraw_glock() -> do_error()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_lockref.count s32min-(-129),(-127)-s32max
PARAM_VALUE 0 gl->gl_lockref.lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 gl->gl_ops 4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_inval 0,623440236993929216,1667619148388929536
PARAM_VALUE 1 ret 4
CAPPED_DATA 0 gl->gl_name.ln_sbd 1
DATA_SOURCE 0 gl $0
PREEMPT_ADD <- disables preempt
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 0 &gl->gl_lockref.lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lockref)->lock