Searched refs:cpylen (Results 1 – 2 of 2) sorted by relevance
112 int cpylen; in block2mtd_read() local116 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read()118 cpylen = len; // this page in block2mtd_read()119 len = len - cpylen; in block2mtd_read()129 *retlen += cpylen; in block2mtd_read()130 buf += cpylen; in block2mtd_read()146 int cpylen; in _block2mtd_write() local152 cpylen = len; // this page in _block2mtd_write()153 len = len - cpylen; in _block2mtd_write()169 *retlen += cpylen; in _block2mtd_write()[all …]
1978 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local1990 cpylen = min(words_num, UWORD_CPYBUF_SIZE); in qat_uclo_wr_uimage_raw_page()1993 for (i = 0; i < cpylen; i++) in qat_uclo_wr_uimage_raw_page()2001 uw_physical_addr, cpylen, in qat_uclo_wr_uimage_raw_page()2004 uw_physical_addr += cpylen; in qat_uclo_wr_uimage_raw_page()2005 uw_relative_addr += cpylen; in qat_uclo_wr_uimage_raw_page()2006 words_num -= cpylen; in qat_uclo_wr_uimage_raw_page()