Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 6 files:

Smatch caller information:

fs/gfs2/xattr.c ea_dealloc_indirect() -> gfs2_glock2rgrp()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/gfs2/dir.c leaf_dealloc() -> gfs2_glock2rgrp()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/gfs2/bmap.c sweep_bh_for_rgrps() -> gfs2_glock2rgrp()

Type Parameter Key Value
PARAM_VALUE 0 gl 0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &ip->i_rw_mutex
HALF_LOCKED2 &sdp->sd_log_flush_lock

fs/gfs2/glops.c gfs2_rgrp_metasync() -> gfs2_glock2rgrp()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_delete.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 gl->gl_delete.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 gl->gl_delete.wq->saved_min_active s32min-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_name.ln_sbd->sd_ail2_list.next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_ail2_list.next->next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_ail2_list.next->prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_ail_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc 0,4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_end_io 6431644242391375872
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec->_refcount.counter s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec->codec->users s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec->header_page->page_type 0-4294967295
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec->page_type 0-4294967295
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->b_count.counter s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->b_folio->_mapcount.counter s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->b_folio->private->wb_kref s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->completion.callback 6452105974677680128
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->completion.priority 0-2
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->completion.result s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->context->thread_id 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->sd_log_in_flight.counter s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->vio.completion.priority 0-2
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_private->vio.completion.result s32min-s32max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_status 10
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_flush_lock.first_waiter->handoff_set 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_log_lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_ordered.next 4096-791686512320380927,791686512320380929-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_ordered.next->prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_ordered.next->prev->prev 791686512320380928
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_ordered.prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_ordered.prev->next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_ordered.prev->prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_tr->tr_ail1_list.next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_tr->tr_ail1_list.next->next 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_tr->tr_ail1_list.next->prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_tr->tr_buf.prev->prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_log_tr->tr_databuf.prev->prev 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_ordered_lock.rlock.dep_map->name 0-255
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 4096-ptr_max
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 623440236993929216,1667619148388929536
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 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 0 gl->gl_state 1
PARAM_VALUE 0 gl->gl_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 gl->gl_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 gl->gl_work.wq->saved_min_active s32min-s32max
DATA_SOURCE 0 gl $0
RX_PATH
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec
HALF_LOCKED2 &pool->lock

fs/gfs2/glops.c rgrp_go_inval() -> gfs2_glock2rgrp()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_inode 4096-ptr_max
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 4096-ptr_max
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
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec

fs/gfs2/glops.c rgrp_go_sync() -> gfs2_glock2rgrp()

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_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 4096-ptr_max
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 4096-ptr_max
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_sync 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
PARAM_VALUE 0 gl->gl_work.wq->dfl_pwq 0-s64max
PARAM_VALUE 0 gl->gl_work.wq->saved_max_active s32min-s32max
PARAM_VALUE 0 gl->gl_work.wq->saved_min_active s32min-s32max
DATA_SOURCE 0 gl $0
RX_PATH
NO_OVERFLOW_SIMPLE 0 gl->gl_name.ln_sbd->sd_jdesc->jd_log_bio->bi_io_vec
HALF_LOCKED2 &pool->lock

fs/gfs2/lops.c maybe_release_space() -> gfs2_glock2rgrp()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
PARAM_VALUE 0 gl->gl_name.ln_type 3
RX_PATH
TASK_NOT_RUNNING
LOCK2 &sdp->sd_log_flush_lock
TYPE_LOCK (struct gfs2_sbd)->sd_log_flush_lock

fs/gfs2/super.c gfs2_statfs_slow() -> gfs2_glock2rgrp()

Type Parameter Key Value
PARAM_VALUE 0 gl 1
PARAM_VALUE 0 gl->gl_hold_time s64min-50
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set 0-1
PARAM_VALUE 0 gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.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_flags 0,2-3
PARAM_VALUE 0 gl->gl_ops->go_held 0,6179549714839506944
PARAM_VALUE 0 gl->gl_ops->go_subclass 0-1
PARAM_VALUE 0 gl->gl_ops->go_type 1-6,8-9
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &s->s_umount