Searched refs:cycle (Results 1 – 3 of 3) sorted by relevance
/fs/xfs/ |
D | xfs_log_priv.h | 59 static inline xfs_lsn_t xlog_assign_lsn(uint cycle, uint block) in xlog_assign_lsn() argument 61 return ((xfs_lsn_t)cycle << 32) | block; in xlog_assign_lsn()
|
D | xfs_log.c | 59 STATIC int xlog_space_left(xlog_t *log, int cycle, int bytes); 835 int need_bytes, free_bytes, cycle, bytes; in xfs_log_move_tail() local 861 cycle = log->l_grant_write_cycle; in xfs_log_move_tail() 863 free_bytes = xlog_space_left(log, cycle, bytes); in xfs_log_move_tail() 880 cycle = log->l_grant_reserve_cycle; in xfs_log_move_tail() 882 free_bytes = xlog_space_left(log, cycle, bytes); in xfs_log_move_tail() 982 xlog_space_left(xlog_t *log, int cycle, int bytes) in xlog_space_left() argument 990 if ((tail_cycle == cycle) && (bytes >= tail_bytes)) { in xlog_space_left() 992 } else if ((tail_cycle + 1) < cycle) { in xlog_space_left() 994 } else if (tail_cycle < cycle) { in xlog_space_left() [all …]
|
D | xfs_log_recover.c | 315 uint cycle) in xlog_find_cycle_start() argument 328 if (mid_cycle == cycle) { in xlog_find_cycle_start() 362 uint cycle; in xlog_find_verify_cycle() local 387 cycle = xlog_get_cycle(buf); in xlog_find_verify_cycle() 388 if (cycle == stop_on_cycle_no) { in xlog_find_verify_cycle() 1106 int cycle, in xlog_add_record() argument 1115 recp->h_cycle = cpu_to_be32(cycle); in xlog_add_record() 1118 recp->h_lsn = cpu_to_be64(xlog_assign_lsn(cycle, block)); in xlog_add_record() 1127 int cycle, in xlog_write_log_records() argument 1188 xlog_add_record(log, offset, cycle, i+j, in xlog_write_log_records()
|