Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/mtd/devices/
Dblock2mtd.c111 int cpylen; in block2mtd_read() local
115 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() local
149 cpylen = PAGE_SIZE - offset; // multiple pages in _block2mtd_write()
151 cpylen = len; // this page in _block2mtd_write()
[all …]
/Linux-v6.1/drivers/crypto/qat/qat_common/
Dqat_uclo.c1976 unsigned int uw_physical_addr, uw_relative_addr, i, words_num, cpylen; in qat_uclo_wr_uimage_raw_page() local
1989 cpylen = words_num; in qat_uclo_wr_uimage_raw_page()
1991 cpylen = UWORD_CPYBUF_SIZE; in qat_uclo_wr_uimage_raw_page()
1994 for (i = 0; i < cpylen; i++) in qat_uclo_wr_uimage_raw_page()
2002 uw_physical_addr, cpylen, in qat_uclo_wr_uimage_raw_page()
2005 uw_physical_addr += cpylen; in qat_uclo_wr_uimage_raw_page()
2006 uw_relative_addr += cpylen; in qat_uclo_wr_uimage_raw_page()
2007 words_num -= cpylen; in qat_uclo_wr_uimage_raw_page()