Home
last modified time | relevance | path

Searched refs:slop (Results 1 – 7 of 7) sorted by relevance

/linux-3.4.99/drivers/ata/
Dpata_legacy.c309 int slop = buflen & 3; in pdc_data_xfer_vlb() local
313 if (ata_id_has_dword_io(dev->id) && (slop == 0 || slop == 3) in pdc_data_xfer_vlb()
330 if (unlikely(slop)) { in pdc_data_xfer_vlb()
334 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb()
336 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb()
339 buflen += 4 - slop; in pdc_data_xfer_vlb()
709 int slop = buflen & 3; in vlb32_data_xfer() local
711 if (ata_id_has_dword_io(adev->id) && (slop == 0 || slop == 3) in vlb32_data_xfer()
718 if (unlikely(slop)) { in vlb32_data_xfer()
721 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer()
[all …]
Dlibata-sff.c619 int slop = buflen & 3; in ata_sff_data_xfer32() local
631 if (unlikely(slop)) { in ata_sff_data_xfer32()
635 buf += buflen - slop; in ata_sff_data_xfer32()
642 if (slop < 3) in ata_sff_data_xfer32()
646 memcpy(buf, pad, slop); in ata_sff_data_xfer32()
648 memcpy(pad, buf, slop); in ata_sff_data_xfer32()
649 if (slop < 3) in ata_sff_data_xfer32()
/linux-3.4.99/arch/mips/kernel/
Dsmtc.c369 int i, vpe, tc, ntc, nvpe, tcpervpe[NR_CPUS], slop, cpu; in smtc_prepare_cpus() local
431 slop = ntc % nvpe; in smtc_prepare_cpus()
434 if (slop) { in smtc_prepare_cpus()
435 if((slop - i) > 0) tcpervpe[i]++; in smtc_prepare_cpus()
444 slop = tcpervpe[0] - vpe0limit; in smtc_prepare_cpus()
445 slopslop = slop % (nvpe - 1); in smtc_prepare_cpus()
448 tcpervpe[i] += slop / (nvpe - 1); in smtc_prepare_cpus()
454 slop = vpe0limit - tcpervpe[0]; in smtc_prepare_cpus()
455 slopslop = slop % (nvpe - 1); in smtc_prepare_cpus()
458 tcpervpe[i] -= slop / (nvpe - 1); in smtc_prepare_cpus()
/linux-3.4.99/fs/isofs/
Dnamei.c98 int slop = bufsize - offset + de_len; in isofs_find_entry() local
99 memcpy(tmpde, de, slop); in isofs_find_entry()
108 memcpy((void *) tmpde + slop, bh->b_data, offset); in isofs_find_entry()
Ddir.c134 int slop = bufsize - offset + de_len; in do_isofs_readdir() local
135 memcpy(tmpde, de, slop); in do_isofs_readdir()
144 memcpy((void *) tmpde + slop, bh->b_data, offset); in do_isofs_readdir()
Dinode.c1212 int slop = bufsize - offset + de_len; in isofs_read_level3_size() local
1218 memcpy(tmpde, de, slop); in isofs_read_level3_size()
1227 memcpy((void *)tmpde+slop, bh->b_data, offset); in isofs_read_level3_size()
/linux-3.4.99/arch/x86/kernel/
Dsetup.c327 unsigned long slop, clen, mapaddr; in relocate_initrd() local
360 slop = ramdisk_image & ~PAGE_MASK; in relocate_initrd()
362 if (clen > MAX_MAP_CHUNK-slop) in relocate_initrd()
363 clen = MAX_MAP_CHUNK-slop; in relocate_initrd()
365 p = early_memremap(mapaddr, clen+slop); in relocate_initrd()
366 memcpy(q, p+slop, clen); in relocate_initrd()
367 early_iounmap(p, clen+slop); in relocate_initrd()