Searched refs:page_pos (Results 1 – 4 of 4) sorted by relevance
127 int page_pos; member141 usgl->page_pos = 0; in ubi_sgl_init()
271 __le16 page_pos; // 0x16: member1610 u32 page_cnt = 1, page_pos = 1; in last_log_lsn() local1723 best_page_pos = le16_to_cpu(best_page->page_pos); in last_log_lsn()1726 if (best_page_pos == page_pos) { in last_log_lsn()1735 page_pos += 1; in last_log_lsn()1742 (page_pos != page_cnt || best_page_pos == page_pos || in last_log_lsn()1744 (page_pos >= page_cnt || best_page_pos == page_pos)) { in last_log_lsn()1757 page_pos = best_page_pos; in last_log_lsn()1760 page_pos += 1; in last_log_lsn()1762 page_pos = page_cnt = 1; in last_log_lsn()[all …]
340 int page_pos; in encryptor() local346 page_pos = desc->pos - outbuf->head[0].iov_len; in encryptor()347 if (page_pos >= 0 && page_pos < outbuf->page_len) { in encryptor()349 int i = (page_pos + outbuf->page_base) >> PAGE_SHIFT; in encryptor()
758 if (len < sg->length - sgl->page_pos) in ubi_eba_read_leb_sg()761 to_read = sg->length - sgl->page_pos; in ubi_eba_read_leb_sg()764 sg_virt(sg) + sgl->page_pos, offset, in ubi_eba_read_leb_sg()772 sgl->page_pos += to_read; in ubi_eba_read_leb_sg()773 if (sgl->page_pos == sg->length) { in ubi_eba_read_leb_sg()775 sgl->page_pos = 0; in ubi_eba_read_leb_sg()782 sgl->page_pos = 0; in ubi_eba_read_leb_sg()