Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

fs/xfs/xfs_log.c xlog_grant_return_space() -> xlog_lsn_sub()

Type Parameter Key Value
DATA_SOURCE 0 log $0
DATA_SOURCE 1 high $2
DATA_SOURCE 2 low $1
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

fs/xfs/xfs_trans_ail.c __xfs_ail_assign_tail_lsn() -> xlog_lsn_sub()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock

fs/xfs/xfs_trans_ail.c xfs_ail_calc_push_target() -> xlog_lsn_sub()

Type Parameter Key Value
PARAM_VALUE 0 log 4096-ptr_max
DATA_SOURCE 2 low r __xfs_ail_min_lsn
PREEMPT_ADD
LOCK2 &ailp->ail_lock
TYPE_LOCK (struct xfs_ail)->ail_lock