Searched refs:cpylen (Results 1 – 2 of 2) sorted by relevance
111 int cpylen; in block2mtd_read() local115 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read()117 cpylen = len; // this page in block2mtd_read()118 len = len - cpylen; in block2mtd_read()124 memcpy(buf, page_address(page) + offset, cpylen); in block2mtd_read()128 *retlen += cpylen; in block2mtd_read()129 buf += cpylen; in block2mtd_read()145 int cpylen; in _block2mtd_write() local149 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write()151 cpylen = len; // this page in _block2mtd_write()[all …]
1977 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local1989 cpylen = min(words_num, UWORD_CPYBUF_SIZE); in qat_uclo_wr_uimage_raw_page()1992 for (i = 0; i < cpylen; i++) in qat_uclo_wr_uimage_raw_page()2000 uw_physical_addr, cpylen, in qat_uclo_wr_uimage_raw_page()2003 uw_physical_addr += cpylen; in qat_uclo_wr_uimage_raw_page()2004 uw_relative_addr += cpylen; in qat_uclo_wr_uimage_raw_page()2005 words_num -= cpylen; in qat_uclo_wr_uimage_raw_page()