Searched refs:l2_cpy (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/char/ |
H A D | ramoops.c | 64 unsigned long l1_cpy, l2_cpy; local 84 l2_cpy = min(l2, (unsigned long)(RECORD_SIZE - hdr_size)); 85 l1_cpy = min(l1, (unsigned long)(RECORD_SIZE - hdr_size) - l2_cpy); 87 s2_start = l2 - l2_cpy; 91 memcpy(buf + l1_cpy, s2 + s2_start, l2_cpy);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/mtd/ |
H A D | mtdoops.c | 307 unsigned long l1_cpy, l2_cpy; local 315 l2_cpy = min(l2, record_size - MTDOOPS_HEADER_SIZE); 316 l1_cpy = min(l1, record_size - MTDOOPS_HEADER_SIZE - l2_cpy); 318 s2_start = l2 - l2_cpy; 322 memcpy(dst + l1_cpy, s2 + s2_start, l2_cpy);
|
Completed in 67 milliseconds