Home
last modified time | relevance | path

Searched refs:cpylen (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/mtd/devices/
Dblock2mtd.c112 int cpylen; in block2mtd_read() local
116 cpylen = PAGE_SIZE - offset; // multiple pages in block2mtd_read()
118 cpylen = len; // this page in block2mtd_read()
119 len = len - cpylen; in block2mtd_read()
125 memcpy(buf, page_address(page) + offset, cpylen); in block2mtd_read()
129 *retlen += cpylen; in block2mtd_read()
130 buf += cpylen; in block2mtd_read()
146 int cpylen; in _block2mtd_write() local
150 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write()
152 cpylen = len; // this page in _block2mtd_write()
[all …]
/linux-6.12.1/drivers/crypto/intel/qat/qat_common/
Dqat_uclo.c1978 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local
1990 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()