Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
fs/gfs2/quota.c do_sync() -> qd2offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ip->i_inode.i_rwsem | ||
| HALF_LOCKED2 | &sdp->sd_quota_sync_mutex | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/quota.c do_sync() -> qd2offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qd->qd_bh_qc->qc_flags | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type | 0-1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &ip->i_inode.i_rwsem | ||
| LOCK2 | &sdp->sd_log_flush_lock | ||
| HALF_LOCKED2 | &sdp->sd_quota_sync_mutex | ||
| TYPE_LOCK | (struct gfs2_sbd)->sd_log_flush_lock | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/quota.c gfs2_set_dqblk() -> qd2offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qd | 4096-ptr_max |
| PARAM_VALUE | 0 | qd->qd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | qd->qd_gl->gl_lksb.sb_lvbptr->qb_magic | 18225520 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 0 | qd->qd_hash | 0-4294967295 |
| PARAM_VALUE | 0 | qd->qd_lockref.count | s32min-s32max |
| PARAM_VALUE | 0 | qd->qd_qb.__pad | 0 |
| PARAM_VALUE | 0 | qd->qd_qb.qb_limit | 0 |
| PARAM_VALUE | 0 | qd->qd_qb.qb_magic | 18225520 |
| PARAM_VALUE | 0 | qd->qd_qb.qb_value | 0 |
| PARAM_VALUE | 0 | qd->qd_qb.qb_warn | 0 |
| PARAM_VALUE | 0 | qd->qd_slot | 0-4294967295 |
| LOCK2 | &ip->i_inode.i_rwsem | ||
| HALF_LOCKED2 | &sb->s_umount | ||
| TYPE_LOCK | (struct inode)->i_rwsem |
fs/gfs2/quota.c update_qd() -> qd2offset()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | qd | 4096-ptr_max |
| PARAM_VALUE | 0 | qd->qd_gl | 4096-ptr_max |
| PARAM_VALUE | 0 | qd->qd_gl->gl_lockref.count | 1-s32max |
| PARAM_VALUE | 0 | qd->qd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_name.ln_sbd->sd_lockstruct.ls_sem.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->handoff_set | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_name.ln_sbd->sd_vfs->s_umount.first_waiter->type | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_ops->go_flags | 0,2-3 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_ops->go_held | 0,6179549714839506944 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_ops->go_subclass | 0-1 |
| PARAM_VALUE | 0 | qd->qd_gl->gl_ops->go_type | 1-6,8-9 |
| DATA_SOURCE | 0 | qd | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &ip->i_inode.i_rwsem |