Lines Matching refs:log
263 struct xlog *log = to_xlog(kobject); in log_head_lsn_show() local
265 spin_lock(&log->l_icloglock); in log_head_lsn_show()
266 cycle = log->l_curr_cycle; in log_head_lsn_show()
267 block = log->l_curr_block; in log_head_lsn_show()
268 spin_unlock(&log->l_icloglock); in log_head_lsn_show()
281 struct xlog *log = to_xlog(kobject); in log_tail_lsn_show() local
283 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block); in log_tail_lsn_show()
296 struct xlog *log = to_xlog(kobject); in reserve_grant_head_show() local
298 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show()
310 struct xlog *log = to_xlog(kobject); in write_grant_head_show() local
312 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &bytes); in write_grant_head_show()
324 struct xlog *log = to_xlog(kobject); in log_badcrc_factor_store() local
332 log->l_badcrc_factor = val; in log_badcrc_factor_store()
342 struct xlog *log = to_xlog(kobject); in log_badcrc_factor_show() local
344 return snprintf(buf, PAGE_SIZE, "%d\n", log->l_badcrc_factor); in log_badcrc_factor_show()