Searched refs:slop (Results 1 – 8 of 8) sorted by relevance
/linux-2.6.39/drivers/ata/ |
D | pata_qdi.c | 132 int slop = buflen & 3; in qdi_data_xfer() local 139 if (unlikely(slop)) { in qdi_data_xfer() 143 memcpy(buf + buflen - slop, &pad, slop); in qdi_data_xfer() 145 memcpy(&pad, buf + buflen - slop, slop); in qdi_data_xfer() 148 buflen += 4 - slop; in qdi_data_xfer()
|
D | pata_legacy.c | 304 int slop = buflen & 3; in pdc_data_xfer_vlb() local 308 if (ata_id_has_dword_io(dev->id) && (slop == 0 || slop == 3) in pdc_data_xfer_vlb() 325 if (unlikely(slop)) { in pdc_data_xfer_vlb() 329 memcpy(buf + buflen - slop, &pad, slop); in pdc_data_xfer_vlb() 331 memcpy(&pad, buf + buflen - slop, slop); in pdc_data_xfer_vlb() 334 buflen += 4 - slop; in pdc_data_xfer_vlb() 757 int slop = buflen & 3; in vlb32_data_xfer() local 759 if (ata_id_has_dword_io(adev->id) && (slop == 0 || slop == 3) in vlb32_data_xfer() 766 if (unlikely(slop)) { in vlb32_data_xfer() 769 memcpy(&pad, buf + buflen - slop, slop); in vlb32_data_xfer() [all …]
|
D | libata-sff.c | 618 int slop = buflen & 3; in ata_sff_data_xfer32() local 630 if (unlikely(slop)) { in ata_sff_data_xfer32() 634 buf += buflen - slop; in ata_sff_data_xfer32() 641 if (slop < 3) in ata_sff_data_xfer32() 645 memcpy(buf, pad, slop); in ata_sff_data_xfer32() 647 memcpy(pad, buf, slop); in ata_sff_data_xfer32() 648 if (slop < 3) in ata_sff_data_xfer32()
|
/linux-2.6.39/arch/mips/kernel/ |
D | smtc.c | 370 int i, vpe, tc, ntc, nvpe, tcpervpe[NR_CPUS], slop, cpu; in smtc_prepare_cpus() local 432 slop = ntc % nvpe; in smtc_prepare_cpus() 435 if (slop) { in smtc_prepare_cpus() 436 if((slop - i) > 0) tcpervpe[i]++; in smtc_prepare_cpus() 445 slop = tcpervpe[0] - vpe0limit; in smtc_prepare_cpus() 446 slopslop = slop % (nvpe - 1); in smtc_prepare_cpus() 449 tcpervpe[i] += slop / (nvpe - 1); in smtc_prepare_cpus() 455 slop = vpe0limit - tcpervpe[0]; in smtc_prepare_cpus() 456 slopslop = slop % (nvpe - 1); in smtc_prepare_cpus() 459 tcpervpe[i] -= slop / (nvpe - 1); in smtc_prepare_cpus()
|
/linux-2.6.39/fs/isofs/ |
D | namei.c | 98 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()
|
D | dir.c | 134 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()
|
D | inode.c | 1212 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-2.6.39/arch/x86/kernel/ |
D | setup.c | 327 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()
|