Searched refs:cpylen (Results 1 – 2 of 2) sorted by relevance
108 int cpylen; in block2mtd_read() local112 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read()114 cpylen = len; // this page in block2mtd_read()115 len = len - cpylen; in block2mtd_read()121 memcpy(buf, page_address(page) + offset, cpylen); in block2mtd_read()125 *retlen += cpylen; in block2mtd_read()126 buf += cpylen; in block2mtd_read()142 int cpylen; in _block2mtd_write() local146 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write()148 cpylen = len; // this page in _block2mtd_write()[all …]
1548 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local1561 cpylen = words_num; in qat_uclo_wr_uimage_raw_page()1563 cpylen = UWORD_CPYBUF_SIZE; in qat_uclo_wr_uimage_raw_page()1566 for (i = 0; i < cpylen; i++) in qat_uclo_wr_uimage_raw_page()1574 uw_physical_addr, cpylen, in qat_uclo_wr_uimage_raw_page()1577 uw_physical_addr += cpylen; in qat_uclo_wr_uimage_raw_page()1578 uw_relative_addr += cpylen; in qat_uclo_wr_uimage_raw_page()1579 words_num -= cpylen; in qat_uclo_wr_uimage_raw_page()