Searched refs:pad_len (Results 1 – 5 of 5) sorted by relevance
/linux-2.4.37.9/crypto/ |
D | sha512.c | 257 unsigned int index, pad_len; in sha512_final() local 260 index = pad_len = t = i = j = 0; in sha512_final() 287 pad_len = (index < 112) ? (112 - index) : ((128+112) - index); in sha512_final() 288 sha512_update(sctx, padding, pad_len); in sha512_final()
|
D | sha256.c | 296 unsigned int index, pad_len, t; in sha256_final() local 314 pad_len = (index < 56) ? (56 - index) : ((64+56) - index); in sha256_final() 315 sha256_update(sctx, padding, pad_len); in sha256_final()
|
/linux-2.4.37.9/drivers/scsi/ |
D | libata-core.c | 2417 if (qc->pad_len && !(qc->tf.flags & ATA_TFLAG_WRITE)) in ata_sg_clean() 2424 sg[qc->orig_n_elem - 1].length += qc->pad_len; in ata_sg_clean() 2428 memcpy(addr + psg->offset, pad_buf, qc->pad_len); in ata_sg_clean() 2437 sg->length += qc->pad_len; in ata_sg_clean() 2439 memcpy(qc->buf_virt + sg->length - qc->pad_len, in ata_sg_clean() 2440 pad_buf, qc->pad_len); in ata_sg_clean() 2612 qc->pad_len = sg->length & 3; in ata_sg_setup_one() 2613 if (qc->pad_len) { in ata_sg_setup_one() 2622 memcpy(pad_buf, qc->buf_virt + sg->length - qc->pad_len, in ata_sg_setup_one() 2623 qc->pad_len); in ata_sg_setup_one() [all …]
|
/linux-2.4.37.9/drivers/net/ |
D | atp.c | 503 static void write_packet(long ioaddr, int length, unsigned char *packet, int pad_len, int data_mode) in write_packet() argument 508 pad_len++; in write_packet() 517 } while (--length > pad_len) ; in write_packet() 533 while (--length > pad_len) in write_packet()
|
/linux-2.4.37.9/include/linux/ |
D | libata.h | 264 unsigned int pad_len; member 535 if (qc->pad_len) in ata_sg_is_last() 549 return qc->pad_len ? &qc->pad_sgent : NULL; in ata_qc_next_sg()
|