Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
fs/gfs2/rgrp.c __gfs2_free_blocks() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 0,4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_rgl->__pad | 0 |
| PARAM_VALUE | 0 | rgd->rd_rgl->rl_magic | 18225520 |
| CAPPED_DATA | 0 | rgd | 1 |
| DATA_SOURCE | 0 | rgd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock |
fs/gfs2/rgrp.c gfs2_alloc_blocks() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &ip->i_rw_mutex | ||
| HALF_LOCKED2 | &sdp->sd_log_flush_lock |
fs/gfs2/rgrp.c gfs2_fitrim() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_flags | 0,2-3 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_held | 0,6179549714839506944 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_subclass | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_type | 1-6,8-9 |
| PARAM_VALUE | 0 | rgd->rd_length | 1-u32max |
| PARAM_VALUE | 0 | rgd->rd_rgl->__pad | 0 |
| PARAM_VALUE | 0 | rgd->rd_rgl->rl_magic | 18225520 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | rgd->rd_flags | 0x0,0xffffffef |
| NOCHECK_CALL |
fs/gfs2/rgrp.c gfs2_fitrim() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_bits | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_flags | 0,2-3 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_held | 0,6179549714839506944 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_subclass | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_type | 1-6,8-9 |
| PARAM_VALUE | 0 | rgd->rd_rgl->__pad | 0 |
| PARAM_VALUE | 0 | rgd->rd_rgl->rl_magic | 18225520 |
| CAPPED_DATA | 0 | rgd->rd_length | 1 |
| CAPABLE | 0 | 21 | |
| BIT_INFO | 0 | rgd->rd_flags | 0x0,0xffffffef |
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/rgrp.c gfs2_free_di() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_addr | 0-18446744073709551614 |
| PARAM_VALUE | 0 | rgd->rd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_lockref.count | 1-s32max |
| CAPPED_DATA | 0 | rgd->rd_addr | 1 |
| DATA_SOURCE | 0 | rgd | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/rgrp.c gfs2_inplace_reserve() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_flags | 0,2-3 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_held | 0,6179549714839506944 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_subclass | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_type | 1-6,8-9 |
| PARAM_VALUE | 0 | rgd->rd_rgl->rl_magic | 18225520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ip->i_inode.i_rwsem |
fs/gfs2/rgrp.c gfs2_inplace_reserve() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_flags | 0,2-3 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_held | 0,6179549714839506944 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_subclass | 0-1 |
| PARAM_VALUE | 0 | rgd->rd_gl->gl_ops->go_type | 1-6,8-9 |
| PARAM_VALUE | 0 | rgd->rd_rgl->rl_magic | 18225520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &inode->i_rwsem | ||
| HALF_LOCKED2 | &ip->i_inode.i_rwsem |
fs/gfs2/rgrp.c gfs2_unlink_di() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| PARAM_VALUE | 0 | rgd->rd_addr | 0-18446744073709551614 |
| CAPPED_DATA | 0 | rgd->rd_addr | 1 |
| DATA_SOURCE | 0 | rgd | r gfs2_blk2rgrpd |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | &target->i_rwsem | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |
fs/gfs2/lops.c maybe_release_space() -> rgrp_lock_local()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | rgd | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock |