Searched refs:cycle (Results 1 – 5 of 5) sorted by relevance
/fs/xfs/ |
D | xfs_log_priv.h | 465 xlog_crack_atomic_lsn(atomic64_t *lsn, uint *cycle, uint *block) in xlog_crack_atomic_lsn() argument 469 *cycle = CYCLE_LSN(val); in xlog_crack_atomic_lsn() 477 xlog_assign_atomic_lsn(atomic64_t *lsn, uint cycle, uint block) in xlog_assign_atomic_lsn() argument 479 atomic64_set(lsn, xlog_assign_lsn(cycle, block)); in xlog_assign_atomic_lsn() 488 xlog_crack_grant_head_val(int64_t val, int *cycle, int *space) in xlog_crack_grant_head_val() argument 490 *cycle = val >> 32; in xlog_crack_grant_head_val() 495 xlog_crack_grant_head(atomic64_t *head, int *cycle, int *space) in xlog_crack_grant_head() argument 497 xlog_crack_grant_head_val(atomic64_read(head), cycle, space); in xlog_crack_grant_head() 501 xlog_assign_grant_head_val(int cycle, int space) in xlog_assign_grant_head_val() argument 503 return ((int64_t)cycle << 32) | space; in xlog_assign_grant_head_val() [all …]
|
D | xfs_sysfs.c | 320 int cycle; in log_head_lsn_show() local 325 cycle = log->l_curr_cycle; in log_head_lsn_show() 329 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_head_lsn_show() 338 int cycle; in log_tail_lsn_show() local 342 xlog_crack_atomic_lsn(&log->l_tail_lsn, &cycle, &block); in log_tail_lsn_show() 343 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, block); in log_tail_lsn_show() 353 int cycle; in reserve_grant_head_show() local 357 xlog_crack_grant_head(&log->l_reserve_head.grant, &cycle, &bytes); in reserve_grant_head_show() 358 return snprintf(buf, PAGE_SIZE, "%d:%d\n", cycle, bytes); in reserve_grant_head_show() 367 int cycle; in write_grant_head_show() local [all …]
|
D | xfs_log.c | 126 int cycle, space; in xlog_grant_sub_space() local 128 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_sub_space() 133 cycle--; in xlog_grant_sub_space() 137 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_sub_space() 153 int cycle, space; in xlog_grant_add_space() local 155 xlog_crack_grant_head_val(head_val, &cycle, &space); in xlog_grant_add_space() 162 cycle++; in xlog_grant_add_space() 166 new = xlog_assign_grant_head_val(cycle, space); in xlog_grant_add_space() 1795 uint32_t cycle = get_unaligned_be32(data + i); in xlog_split_iclog() local 1797 if (++cycle == XLOG_HEADER_MAGIC_NUM) in xlog_split_iclog() [all …]
|
D | xfs_log_recover.c | 331 uint cycle) in xlog_find_cycle_start() argument 346 if (mid_cycle == cycle) in xlog_find_cycle_start() 377 uint cycle; in xlog_find_verify_cycle() local 408 cycle = xlog_get_cycle(buf); in xlog_find_verify_cycle() 409 if (cycle == stop_on_cycle_no) { in xlog_find_verify_cycle() 1555 int cycle, in xlog_add_record() argument 1564 recp->h_cycle = cpu_to_be32(cycle); in xlog_add_record() 1567 recp->h_lsn = cpu_to_be64(xlog_assign_lsn(cycle, block)); in xlog_add_record() 1576 int cycle, in xlog_write_log_records() argument 1640 xlog_add_record(log, offset, cycle, i+j, in xlog_write_log_records()
|
/fs/xfs/libxfs/ |
D | xfs_log_format.h | 60 static inline xfs_lsn_t xlog_assign_lsn(uint cycle, uint block) in xlog_assign_lsn() argument 62 return ((xfs_lsn_t)cycle << 32) | block; in xlog_assign_lsn()
|