Home
last modified time | relevance | path

Searched refs:inbuf (Results 1 – 21 of 21) sorted by relevance

/linux-2.4.37.9/crypto/
Dcast6.c447 static void cast6_encrypt (void * ctx, u8 * outbuf, const u8 * inbuf) { in cast6_encrypt() argument
453 block[0] = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; in cast6_encrypt()
454 block[1] = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; in cast6_encrypt()
455 block[2] = inbuf[8] << 24 | inbuf[9] << 16 | inbuf[10] << 8 | inbuf[11]; in cast6_encrypt()
456 block[3] = inbuf[12] << 24 | inbuf[13] << 16 | inbuf[14] << 8 | inbuf[15]; in cast6_encrypt()
489 static void cast6_decrypt (void * ctx, u8 * outbuf, const u8 * inbuf) { in cast6_decrypt() argument
495 block[0] = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; in cast6_decrypt()
496 block[1] = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; in cast6_decrypt()
497 block[2] = inbuf[8] << 24 | inbuf[9] << 16 | inbuf[10] << 8 | inbuf[11]; in cast6_decrypt()
498 block[3] = inbuf[12] << 24 | inbuf[13] << 16 | inbuf[14] << 8 | inbuf[15]; in cast6_decrypt()
Dcast5.c581 static void cast5_encrypt(void *ctx, u8 * outbuf, const u8 * inbuf) in cast5_encrypt() argument
595 l = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; in cast5_encrypt()
596 r = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; in cast5_encrypt()
650 static void cast5_decrypt(void *ctx, u8 * outbuf, const u8 * inbuf) in cast5_decrypt() argument
661 l = inbuf[0] << 24 | inbuf[1] << 16 | inbuf[2] << 8 | inbuf[3]; in cast5_decrypt()
662 r = inbuf[4] << 24 | inbuf[5] << 16 | inbuf[6] << 8 | inbuf[7]; in cast5_decrypt()
/linux-2.4.37.9/arch/ppc64/boot/
DaddRamDisk.c36 char inbuf[4096]; in main() local
158 while ( fgets(inbuf, 4096, sysmap) ) ; in main()
160 ptr_end = strstr(inbuf, " _end"); in main()
164 fprintf(stderr, "%s \n", inbuf); in main()
215 get4k( inputVmlinux, inbuf ); in main()
216 put4k( outputVmlinux, inbuf ); in main()
222 get4k( inputVmlinux, inbuf ); in main()
223 put4k( outputVmlinux, inbuf ); in main()
229 memset(inbuf, 0, 4096); in main()
230 put4k(outputVmlinux, inbuf); in main()
[all …]
DaddSystemMap.c48 char inbuf[4096]; in main() local
150 while ( fgets(inbuf, 4096, sysmap) ) ; in main()
152 ptr_end = strstr(inbuf, " _end"); in main()
157 fprintf(stderr, "%s \n", inbuf); in main()
185 get4k( inputVmlinux, inbuf ); in main()
186 put4k( outputVmlinux, inbuf ); in main()
194 get4k( inputVmlinux, inbuf ); in main()
201 p = (unsigned long *)(inbuf + 0x3c); in main()
210 p = (unsigned long *)(inbuf + 0x44); in main()
219 put4k( outputVmlinux, inbuf ); in main()
[all …]
/linux-2.4.37.9/fs/smbfs/
Dsock.c530 unsigned char *inbuf, *base, *rcv_buf = NULL; in smb_receive_trans2() local
540 inbuf = server->packet; in smb_receive_trans2()
542 *parm = *data = inbuf; in smb_receive_trans2()
549 data_tot = WVAL(inbuf, smb_tdrcnt); in smb_receive_trans2()
550 parm_tot = WVAL(inbuf, smb_tprcnt); in smb_receive_trans2()
551 parm_disp = WVAL(inbuf, smb_prdisp); in smb_receive_trans2()
552 parm_offset = WVAL(inbuf, smb_proff); in smb_receive_trans2()
553 parm_count = WVAL(inbuf, smb_prcnt); in smb_receive_trans2()
554 data_disp = WVAL(inbuf, smb_drdisp); in smb_receive_trans2()
555 data_offset = WVAL(inbuf, smb_droff); in smb_receive_trans2()
[all …]
/linux-2.4.37.9/arch/alpha/boot/
Dmisc.c43 static uch *inbuf; /* input buffer */ variable
59 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
145 inbuf = input_data; in fill_inbuf()
149 return inbuf[0]; in fill_inbuf()
/linux-2.4.37.9/arch/sh/boot/compressed/
Dmisc.c38 static uch *inbuf; /* input buffer */ variable
54 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
186 inbuf = input_data; in fill_inbuf()
189 return inbuf[0]; in fill_inbuf()
/linux-2.4.37.9/arch/sh64/boot/compressed/
Dmisc.c38 static uch *inbuf; /* input buffer */ variable
54 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
171 inbuf = input_data; in fill_inbuf()
174 return inbuf[0]; in fill_inbuf()
/linux-2.4.37.9/arch/arm/boot/compressed/
Dmisc.c125 static uch *inbuf; /* input buffer */ variable
141 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
241 inbuf = input_data; in fill_inbuf()
245 return inbuf[0]; in fill_inbuf()
/linux-2.4.37.9/drivers/s390/char/
Dcon3215.c88 char *inbuf; /* pointer to input buffer */ member
173 ccw->cda = (__u32) __pa(raw->inbuf); in raw3215_mk_read_req()
443 memset(raw->inbuf, 0, RAW3215_INBUF_SIZE); in raw3215_irq()
467 slen = strnlen(raw->inbuf, RAW3215_INBUF_SIZE); in raw3215_irq()
473 EBCASC(raw->inbuf, count); in raw3215_irq()
474 cchar = ctrlchar_handle(raw->inbuf, count, tty); in raw3215_irq()
488 raw->inbuf, count); in raw3215_irq()
490 (strncmp(raw->inbuf+count-2, "^n", 2) && in raw3215_irq()
491 strncmp(raw->inbuf+count-2, "\252n", 2)) ) { in raw3215_irq()
864 raw->inbuf = (char *) raw + sizeof(raw3215_info); in tty3215_open()
[all …]
/linux-2.4.37.9/arch/cris/boot/compressed/
Dmisc.c47 static uch *inbuf; /* input buffer */ variable
66 #define get_byte() inbuf[inptr++]
232 inbuf = input_data; in decompress_kernel()
/linux-2.4.37.9/arch/x86_64/boot/compressed/
Dmisc.c33 static uch *inbuf; /* input buffer */ variable
49 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
226 inbuf = input_data; in fill_inbuf()
229 return inbuf[0]; in fill_inbuf()
/linux-2.4.37.9/arch/i386/boot/compressed/
Dmisc.c45 static uch *inbuf; /* input buffer */ variable
61 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
234 inbuf = input_data; in fill_inbuf()
237 return inbuf[0]; in fill_inbuf()
/linux-2.4.37.9/init/
Ddo_mounts.c964 static uch *inbuf; variable
974 #define get_byte() (inptr < insize ? inbuf[inptr++] : fill_inbuf())
1023 insize = read(crd_infd, inbuf, INBUFSIZ); in fill_inbuf()
1028 return inbuf[0]; in fill_inbuf()
1071 inbuf = kmalloc(INBUFSIZ, GFP_KERNEL); in crd_load()
1072 if (inbuf == 0) { in crd_load()
1079 kfree(inbuf); in crd_load()
1084 kfree(inbuf); in crd_load()
/linux-2.4.37.9/drivers/sbus/char/
Ductrl.c93 u8 *inbuf; member
291 byte = (txn->inbuf[bytecnt] << 8); in uctrl_do_txn()
320 txn.inbuf = 0; in uctrl_get_event_status()
341 txn.inbuf = 0; in uctrl_get_external_status()
/linux-2.4.37.9/drivers/ide/
Dide-taskfile.c1450 u8 *inbuf = NULL; in ide_taskfile_ioctl() local
1488 inbuf = kmalloc(taskin, GFP_KERNEL); in ide_taskfile_ioctl()
1489 if (inbuf == NULL) { in ide_taskfile_ioctl()
1493 memset(inbuf, 0, taskin); in ide_taskfile_ioctl()
1494 if (copy_from_user(inbuf, (void *)arg + intotal , taskin)) { in ide_taskfile_ioctl()
1524 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1535 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1583 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1591 err = ide_diag_taskfile(drive, &args, taskin, inbuf); in ide_taskfile_ioctl()
1624 if (copy_to_user((void *)arg+intotal, inbuf, taskin)) { in ide_taskfile_ioctl()
[all …]
/linux-2.4.37.9/arch/ppc64/kernel/
DpSeries_lpar.c267 static long inbuf[2]; /* must be 2 longs */ variable
274 char ch, *buf = (char *)inbuf; in udbg_getc_pollLP()
/linux-2.4.37.9/drivers/net/wan/
Dsdla.c415 void *inbuf, short inlen, void *outbuf, short *outlen) in sdla_cmd() argument
437 if (inbuf) in sdla_cmd()
438 memcpy(cmd_buf->data, inbuf, inlen); in sdla_cmd()
/linux-2.4.37.9/drivers/char/
Dn_tty.c285 const unsigned char * inbuf, unsigned int nr) in opost_block() argument
300 if (copy_from_user(buf, inbuf, nr)) in opost_block()
/linux-2.4.37.9/arch/mips/kernel/
Dsysirix.c2121 asmlinkage int irix_utssys(char *inbuf, int arg, int type, char *outbuf) in irix_utssys() argument
2128 retval = irix_uname((struct iuname *)inbuf); in irix_utssys()
/linux-2.4.37.9/drivers/scsi/
Dadvansys.c9082 DvcGetQinfo(PortAddr iop_base, ushort s_addr, uchar *inbuf, int words) in DvcGetQinfo() argument
9093 inbuf[i] = word & 0xff; in DvcGetQinfo()
9094 inbuf[i + 1] = (word >> 8) & 0xff; in DvcGetQinfo()
9096 ASC_DBG_PRT_HEX(2, "DvcGetQinfo", inbuf, 2 * words); in DvcGetQinfo()