Searched refs:page_pos (Results 1 – 3 of 3) sorted by relevance
127 int page_pos; member141 usgl->page_pos = 0; in ubi_sgl_init()
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()
759 if (len < sg->length - sgl->page_pos) in ubi_eba_read_leb_sg()762 to_read = sg->length - sgl->page_pos; in ubi_eba_read_leb_sg()765 sg_virt(sg) + sgl->page_pos, offset, in ubi_eba_read_leb_sg()773 sgl->page_pos += to_read; in ubi_eba_read_leb_sg()774 if (sgl->page_pos == sg->length) { in ubi_eba_read_leb_sg()776 sgl->page_pos = 0; in ubi_eba_read_leb_sg()783 sgl->page_pos = 0; in ubi_eba_read_leb_sg()