Lines Matching refs:log
135 struct xlog *log = data; in log_head_lsn_show() local
139 spin_lock(&log->l_icloglock); in log_head_lsn_show()
140 cycle = log->l_curr_cycle; in log_head_lsn_show()
141 block = log->l_curr_block; in log_head_lsn_show()
142 spin_unlock(&log->l_icloglock); in log_head_lsn_show()
153 struct xlog *log = data; in log_tail_lsn_show() local
157 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block); in log_tail_lsn_show()
167 struct xlog *log = data; in reserve_grant_head_show() local
171 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show()
181 struct xlog *log = data; in write_grant_head_show() local
185 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &bytes); in write_grant_head_show()
211 struct xlog *log = to_xlog(kobject); in xfs_log_show() local
214 return xfs_attr->show ? xfs_attr->show(buf, log) : 0; in xfs_log_show()
224 struct xlog *log = to_xlog(kobject); in xfs_log_store() local
227 return xfs_attr->store ? xfs_attr->store(buf, count, log) : 0; in xfs_log_store()