Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/gfs2/glock.c __gfs2_glock_dq() -> glock_needs_demote()

Type Parameter Key Value
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 gl->gl_name.ln_number 0-u64max
LOCK2 &gl->gl_lockref.lock
HALF_LOCKED2 &fp->f_fl_mutex
HALF_LOCKED2 &inode->i_rwsem
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct lockref)->lock

fs/gfs2/super.c gfs2_drop_inode() -> glock_needs_demote()

Type Parameter Key Value
PARAM_VALUE 0 gl 1
LOCK2 &inode->i_lock
TYPE_LOCK (struct inode)->i_lock

fs/gfs2/super.c gfs2_upgrade_iopen_glock() -> glock_needs_demote()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

fs/gfs2/super.c gfs2_upgrade_iopen_glock() -> glock_needs_demote()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/gfs2/super.c gfs2_upgrade_iopen_glock() -> glock_needs_demote()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING

fs/gfs2/super.c gfs2_upgrade_iopen_glock() -> glock_needs_demote()

Type Parameter Key Value
PARAM_VALUE 0 gl 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING