Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mtd/devices/
Dblock2mtd.c108 int cpylen; in block2mtd_read() local
112 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() local
146 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write()
148 cpylen = len; // this page in _block2mtd_write()
[all …]
/Linux-v5.4/drivers/crypto/qat/qat_common/
Dqat_uclo.c1548 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local
1561 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()