Lines Matching refs:l_size

62 	__le64 l_size;         // 0x18: Usable log file size.  member
468 u32 off, l_size, seq_bits; in is_rst_area_valid() local
472 if (ro + offsetof(struct RESTART_AREA, l_size) > in is_rst_area_valid()
512 l_size = le64_to_cpu(ra->l_size); in is_rst_area_valid()
515 while (l_size) { in is_rst_area_valid()
516 l_size >>= 1; in is_rst_area_valid()
670 static inline u32 norm_file_page(u32 page_size, u32 *l_size, bool use_default) in norm_file_page() argument
676 *l_size &= ~(page_size - 1); in norm_file_page()
679 if (*l_size < (MinLogRecordPages + 2) * page_size) in norm_file_page()
1020 u32 l_size; member
1090 return off >= log->l_size ? log->first_page : off; in next_page_off()
1155 if (vbo >= log->l_size) in read_log_page()
1220 for (; vbo < log->l_size; vbo = 2 * vbo + skip, skip = 0) { in log_read_rst()
1335 log->file_data_bits = blksize_bits(log->l_size) - 3; in log_create()
1378 log->total_avail_pages = log->l_size - log->first_page; in log_create()
1410 ra->l_size = cpu_to_le64(log->l_size); in log_create_ra()
1545 log->next_page == log->first_page ? log->l_size : in current_log_avail()
3784 log->l_size = log->orig_file_size = ni->vfs_inode.i_size; in log_replay()
3788 log->page_size = norm_file_page(PAGE_SIZE, &log->l_size, true); in log_replay()
3790 log->page_size = norm_file_page(PAGE_SIZE, &log->l_size, false); in log_replay()
3929 log->l_size = log->orig_file_size; in log_replay()
3930 log->page_size = norm_file_page(t32, &log->l_size, in log_replay()
3944 if (log->l_size < le64_to_cpu(ra2->l_size)) { in log_replay()
3952 log->l_size = le64_to_cpu(ra2->l_size); in log_replay()
4017 log->total_avail_pages = log->l_size - log->first_page; in log_replay()