Searched refs:usgl (Results 1 – 2 of 2) sorted by relevance
138 static inline void ubi_sgl_init(struct ubi_sgl *usgl) in ubi_sgl_init() argument140 usgl->list_pos = 0; in ubi_sgl_init()141 usgl->page_pos = 0; in ubi_sgl_init()
66 struct ubi_sgl usgl; member207 ret = ubi_read_sg(dev->desc, leb, &pdu->usgl, offset, to_read); in ubiblock_read()307 blk_rq_map_sg(req->q, req, pdu->usgl.sg); in ubiblock_do_work()326 ubi_sgl_init(&pdu->usgl); in ubiblock_queue_rq()341 sg_init_table(pdu->usgl.sg, UBI_MAX_SG_COUNT); in ubiblock_init_request()