Lines Matching refs:le64_to_cpu
417 u64 lsn = le64_to_cpu(cr->oldest_lsn); in oldest_client_lsn()
512 l_size = le64_to_cpu(ra->l_size); in is_rst_area_valid()
643 u64 dp_vcn = le64_to_cpu(dp->vcn); in find_dp()
1072 lsn <= le64_to_cpu(log->ra->current_lsn); in is_lsn_in_file()
1079 return le64_to_cpu(hdr->rhdr.lsn); in hdr_file_off()
1087 u64 h_lsn = le64_to_cpu(hdr->rhdr.lsn); in base_lsn()
1092 h_lsn <= le64_to_cpu(hdr->record_hdr.last_end_lsn)) in base_lsn()
1104 return lsn >= le64_to_cpu(client->oldest_lsn) && in verify_client_lsn()
1105 lsn <= le64_to_cpu(log->ra->current_lsn) && lsn; in verify_client_lsn()
1286 info->last_lsn = le64_to_cpu(r_page->rhdr.lsn); in log_read_rst()
1297 info->last_lsn = le64_to_cpu(ra->current_lsn); in log_read_rst()
1473 u64 this_lsn = le64_to_cpu(rh->this_lsn); in next_log_lsn()
1496 if (this_lsn == le64_to_cpu(page->rhdr.lsn)) { in next_log_lsn()
1576 u64 lsn = le64_to_cpu(rhdr->lsn); in check_subseq_log_page()
1658 lsn2 = le64_to_cpu(second_tail->record_hdr.last_end_lsn); in last_log_lsn()
1670 lsn1 = le64_to_cpu(first_tail->record_hdr.last_end_lsn); in last_log_lsn()
1847 lsn_cur = le64_to_cpu(cur_page->rhdr.lsn); in last_log_lsn()
1850 le64_to_cpu(cur_page->record_hdr.last_end_lsn) && in last_log_lsn()
1867 log->last_lsn = le64_to_cpu(cur_page->record_hdr.last_end_lsn); in last_log_lsn()
1883 last_ok_lsn = le64_to_cpu(cur_page->record_hdr.last_end_lsn); in last_log_lsn()
1908 le64_to_cpu(second_tail->record_hdr.last_end_lsn) > in last_log_lsn()
1909 le64_to_cpu(first_tail->record_hdr in last_log_lsn()
1919 lsn_cur = le64_to_cpu(tail_page->record_hdr.last_end_lsn); in last_log_lsn()
1948 lsn_cur = le64_to_cpu(page->rhdr.lsn); in last_log_lsn()
1986 le64_to_cpu(tail_page->record_hdr.last_end_lsn) > lsn_cur) { in last_log_lsn()
2000 log->last_lsn = le64_to_cpu(page->record_hdr.last_end_lsn); in last_log_lsn()
2029 last_ok_lsn = le64_to_cpu(page->rhdr.lsn); in last_log_lsn()
2047 log->last_lsn = le64_to_cpu(tail_page->record_hdr.last_end_lsn); in last_log_lsn()
2259 u64 lsn = le64_to_cpu(rh->this_lsn); in read_log_rec_buf()
2285 if (lsn > le64_to_cpu(ph->rhdr.lsn)) { in read_log_rec_buf()
2295 lsn > le64_to_cpu(ph->record_hdr.last_end_lsn)) { in read_log_rec_buf()
2303 lsn > le64_to_cpu(ph->rhdr.lsn)) { in read_log_rec_buf()
2330 u64 lsnr, lsnc = le64_to_cpu(cr->restart_lsn); in read_rst_area()
2347 lsnr = le64_to_cpu(rh->this_lsn); in read_rst_area()
2409 if (lsn != le64_to_cpu(rh->this_lsn)) in find_log_rec()
2553 next_lsn = le64_to_cpu(hdr->client_undo_next_lsn); in find_client_next_lsn()
2555 next_lsn = le64_to_cpu(hdr->client_prev_lsn); in find_client_next_lsn()
2721 dsize = le64_to_cpu(attr->nres.data_size); in check_attr()
2722 svcn = le64_to_cpu(attr->nres.svcn); in check_attr()
2723 evcn = le64_to_cpu(attr->nres.evcn); in check_attr()
2727 le64_to_cpu(attr->nres.valid_size) > dsize || in check_attr()
2728 dsize > le64_to_cpu(attr->nres.alloc_size)) { in check_attr()
2821 lsn = le64_to_cpu(hdr->lsn); in check_lsn()
3061 u64 tvo = le64_to_cpu(lrh->target_vcn) << sbi->cluster_bits; in do_action()
3356 if (run_get_highest_vcn(le64_to_cpu(attr->nres.svcn), in do_action()
3949 if (l_size < le64_to_cpu(ra2->l_size)) { in log_replay()
3958 log->l_size = le64_to_cpu(ra2->l_size); in log_replay()
3962 log->last_lsn = le64_to_cpu(ra2->current_lsn); in log_replay()
4131 checkpt_lsn = le64_to_cpu(rst->check_point_start); in log_replay()
4139 t64 = le64_to_cpu(rst->transact_table_lsn); in log_replay()
4179 t64 = le64_to_cpu(rst->dirty_pages_table_lsn); in log_replay()
4242 if (le64_to_cpu(next->oldest_lsn) < in log_replay()
4243 le64_to_cpu(dp->oldest_lsn)) { in log_replay()
4257 t64 = le64_to_cpu(rst->attr_names_lsn); in log_replay()
4285 t64 = le64_to_cpu(rst->open_attr_table_lsn); in log_replay()
4477 t64 = le64_to_cpu(lrh->target_vcn); in log_replay()
4521 size_t j = (size_t)(le64_to_cpu(lrh->target_vcn) - in log_replay()
4522 le64_to_cpu(dp->vcn)); in log_replay()
4536 u64 lcn0 = le64_to_cpu(r->lcn); in log_replay()
4537 u64 lcn_e = lcn0 + le64_to_cpu(r->len) - 1; in log_replay()
4545 t64 = le64_to_cpu(dp->page_lcns[j]); in log_replay()
4618 t64 = le64_to_cpu(lrh->target_vcn); in log_replay()
4621 size_t j = le64_to_cpu(lrh->target_vcn) - in log_replay()
4622 le64_to_cpu(dp->vcn); in log_replay()
4674 t64 = le64_to_cpu(dp->oldest_lsn); in log_replay()
4681 t64 = le64_to_cpu(tr->first_lsn); in log_replay()
4768 CLST svcn = le64_to_cpu(attr->nres.svcn); in log_replay()
4771 le64_to_cpu(attr->nres.evcn), svcn, in log_replay()
4816 vcn = le64_to_cpu(dp->vcn) + i; in log_replay()
4829 lcn = le64_to_cpu(dp->page_lcns[i]); in log_replay()
4838 t64 = le64_to_cpu(attr->nres.alloc_size); in log_replay()
4891 t64 = le64_to_cpu(lrh->target_vcn); in log_replay()
4897 if (rec_lsn < le64_to_cpu(dp->oldest_lsn)) in log_replay()
4921 vcn = le64_to_cpu(lrh->target_vcn); in log_replay()
4944 j = le64_to_cpu(lrh->target_vcn) - le64_to_cpu(dp->vcn); in log_replay()
5006 undo_next_lsn = le64_to_cpu(tr->undo_next_lsn); in log_replay()
5046 is_mapped = run_lookup_entry(oa->run1, le64_to_cpu(lrh->target_vcn), in log_replay()
5057 vcn = le64_to_cpu(lrh->target_vcn); in log_replay()
5061 for (i = 0, vcn = le64_to_cpu(lrh->target_vcn), in log_replay()
5069 if (size > le64_to_cpu(attr->nres.data_size)) in log_replay()