Searched refs:sgl (Results 1 – 4 of 4) sorted by relevance
/u-boot/include/linux/mtd/ |
A D | ubi.h | 257 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, 285 struct ubi_sgl *sgl, int offset, int len) in ubi_read_sg() argument 287 return ubi_leb_read_sg(desc, lnum, sgl, offset, len, 0); in ubi_read_sg()
|
/u-boot/drivers/mtd/ubi/ |
A D | eba.c | 503 ubi_assert(sgl->list_pos < UBI_MAX_SG_COUNT); in ubi_eba_read_leb_sg() 504 sg = &sgl->sg[sgl->list_pos]; in ubi_eba_read_leb_sg() 505 if (len < sg->length - sgl->page_pos) in ubi_eba_read_leb_sg() 508 to_read = sg->length - sgl->page_pos; in ubi_eba_read_leb_sg() 511 sg_virt(sg) + sgl->page_pos, offset, in ubi_eba_read_leb_sg() 519 sgl->page_pos += to_read; in ubi_eba_read_leb_sg() 520 if (sgl->page_pos == sg->length) { in ubi_eba_read_leb_sg() 521 sgl->list_pos++; in ubi_eba_read_leb_sg() 522 sgl->page_pos = 0; in ubi_eba_read_leb_sg() 528 sgl->list_pos++; in ubi_eba_read_leb_sg() [all …]
|
A D | kapi.c | 469 int ubi_leb_read_sg(struct ubi_volume_desc *desc, int lnum, struct ubi_sgl *sgl, in ubi_leb_read_sg() argument 485 err = ubi_eba_read_leb_sg(ubi, vol, sgl, lnum, offset, len, check); in ubi_leb_read_sg()
|
A D | ubi.h | 854 struct ubi_sgl *sgl, int lnum, int offset, int len,
|
Completed in 12 milliseconds