Searched refs:tmp_buf (Results 1 - 25 of 48) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/
H A Dmga_drv.h214 drm_mga_prim_buf_t *tmp_buf = \
216 if( test_bit(MGA_BUF_NEEDS_OVERFLOW, &tmp_buf->buffer_status)) { \
219 tmp_buf = dev_priv->prim_bufs[dev_priv->current_prim_idx]; \
220 } else if( tmp_buf->max_dwords - tmp_buf->num_dwords < length || \
221 tmp_buf->sec_used > MGA_DMA_BUF_NR/2) { \
222 set_bit(MGA_BUF_FORCE_FIRE, &tmp_buf->buffer_status); \
225 tmp_buf = dev_priv->prim_bufs[dev_priv->current_prim_idx]; \
229 dma_ptr = tmp_buf->current_dma_ptr; \
230 num_dwords = tmp_buf
[all...]
/asus-wl-520gu-7.0.1.45/src/router/samba/source/lib/
H A Dgenrand.c206 unsigned char tmp_buf[16]; local
238 mdfour(tmp_buf, md4_buf, sizeof(md4_buf));
239 memcpy(p, tmp_buf, copy_len);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/mtd/chips/
H A Dcfi_cmdset_0002.c410 u_char tmp_buf[4]; local
413 map->copy_from(map, tmp_buf, bus_ofs + cfi->chips[chipnum].start, CFIDEV_BUSWIDTH);
415 tmp_buf[i++] = buf[n++], len--;
418 datum = *(__u16*)tmp_buf;
420 datum = *(__u32*)tmp_buf;
505 u_char tmp_buf[4]; local
508 map->copy_from(map, tmp_buf, ofs + cfi->chips[chipnum].start, CFIDEV_BUSWIDTH);
510 tmp_buf[i++] = buf[n++];
513 datum = *(__u16*)tmp_buf;
515 datum = *(__u32*)tmp_buf;
[all...]
H A Dcfi_cmdset_0701.c364 u_char tmp_buf[4]; local
367 map->copy_from(map, tmp_buf, bus_ofs + cfi->chips[chipnum].start, CFIDEV_BUSWIDTH);
369 tmp_buf[i++] = buf[n++], len--;
372 datum = *(__u16*)tmp_buf;
374 datum = *(__u32*)tmp_buf;
431 u_char tmp_buf[4]; local
434 map->copy_from(map, tmp_buf, ofs + cfi->chips[chipnum].start, CFIDEV_BUSWIDTH);
436 tmp_buf[i++] = buf[n++];
439 datum = *(__u16*)tmp_buf;
441 datum = *(__u32*)tmp_buf;
[all...]
H A Damd_flash.c971 u_char tmp_buf[4]; local
974 map->copy_from(map, tmp_buf,
978 tmp_buf[i++] = buf[n++], len--;
981 datum = *(__u16*)tmp_buf;
983 datum = *(__u32*)tmp_buf;
1044 u_char tmp_buf[2]; local
1047 map->copy_from(map, tmp_buf,
1051 tmp_buf[i++] = buf[n++];
1055 datum = *(__u16*)tmp_buf;
1057 datum = *(__u32*)tmp_buf;
[all...]
H A Dcfi_cmdset_0001.c584 u_char tmp_buf[4]; local
588 tmp_buf[i++] = 0xff;
590 tmp_buf[i++] = buf[n++], len--;
592 tmp_buf[i++] = 0xff;
595 datum = *(__u16*)tmp_buf;
597 datum = *(__u32*)tmp_buf;
652 u_char tmp_buf[4]; local
656 tmp_buf[i++] = buf[n++];
658 tmp_buf[i++] = 0xff;
661 datum = *(__u16*)tmp_buf;
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dsb1250_duart.c78 * tmp_buf is used as a temporary buffer by serial_write. We need to
86 static unsigned char *tmp_buf = 0; variable
299 c -= copy_from_user(tmp_buf, buf, c);
309 memcpy(us->outp_buf + us->outp_tail, tmp_buf, c);
631 if (!tmp_buf) {
632 tmp_buf = (unsigned char *) get_free_page(GFP_KERNEL);
633 if (!tmp_buf){
H A Dpcxx.h122 unchar *tmp_buf; /* Temp buffer */ member in struct:channel
H A Dpdc_console.c89 * tmp_buf is used as a temporary buffer by serial_write. We need to
97 static unsigned char *tmp_buf; variable
549 if (!tmp_buf) {
555 if (tmp_buf)
558 tmp_buf = (unsigned char *) page;
H A Dgeneric_serial.c33 static char * tmp_buf; variable
213 if (!port || !port->xmit_buf || !tmp_buf)
242 c -= copy_from_user(tmp_buf, buf, c);
254 memcpy(port->xmit_buf + port->xmit_head, tmp_buf, c);
955 if (!tmp_buf) {
959 if (tmp_buf)
962 tmp_buf = (unsigned char *) page;
965 if (!tmp_buf) {
H A Ddz.h184 * tmp_buf is used as a temporary buffer by serial_write. We need to
192 static unsigned char *tmp_buf; variable
H A Depca.h136 unchar *tmp_buf; member in struct:channel
H A Disicom.c101 static unsigned char * tmp_buf = 0; variable
1239 if (!tty || !port->xmit_buf || !tmp_buf)
1242 down(&tmp_buf_sem); /* acquire xclusive access to tmp_buf */
1258 copy_from_user(tmp_buf, buf, cnt);
1262 memcpy(port->xmit_buf + port->xmit_head, tmp_buf, cnt);
1860 if (!tmp_buf) {
1864 printk(KERN_DEBUG "ISICOM: Couldn't allocate page for tmp_buf.\n");
1870 tmp_buf = (unsigned char *) page;
1876 free_page((unsigned long)tmp_buf);
1882 free_page((unsigned long)tmp_buf);
[all...]
H A Dserial_txx927.c198 * tmp_buf is used as a temporary buffer by serial_write. We need to
206 static unsigned char *tmp_buf; variable
998 if (!tty || !info->xmit.buf || !tmp_buf)
1016 c -= copy_from_user(tmp_buf, buf, c);
1029 memcpy(info->xmit.buf + info->xmit.head, tmp_buf, c);
1766 if (!tmp_buf) {
1771 if (tmp_buf)
1774 tmp_buf = (unsigned char *) page;
2109 if (tmp_buf) {
2110 unsigned long pg = (unsigned long) tmp_buf;
[all...]
H A Damiserial.c141 * tmp_buf is used as a temporary buffer by serial_write. We need to
149 static unsigned char *tmp_buf; variable
944 if (!tty || !info->xmit.buf || !tmp_buf)
958 c -= copy_from_user(tmp_buf, buf, c);
970 memcpy(info->xmit.buf + info->xmit.head, tmp_buf, c);
1917 if (!tmp_buf) {
1922 if (tmp_buf)
1925 tmp_buf = (unsigned char *) page;
2250 if (tmp_buf) {
2251 free_page((unsigned long) tmp_buf);
[all...]
H A Driscom8.c95 static unsigned char * tmp_buf; variable
1222 if (!tty || !port->xmit_buf || !tmp_buf)
1235 c -= copy_from_user(tmp_buf, buf, c);
1245 memcpy(port->xmit_buf + port->xmit_head, tmp_buf, c);
1728 if (!(tmp_buf = (unsigned char *) get_free_page(GFP_KERNEL))) {
1772 free_page((unsigned long)tmp_buf);
1779 free_page((unsigned long)tmp_buf);
1812 free_page((unsigned long)tmp_buf);
H A Dvc_screen.c208 unsigned short *tmp_buf = (unsigned short *)con_buf0; local
224 *tmp_buf++ = vcs_scr_readw(currcons, org++);
H A Ddz.c678 if (!tmp_buf)
679 tmp_buf = tmp_buffer;
691 c -= copy_from_user(tmp_buf, buf, c);
701 memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
H A Dserial_amba.c132 * tmp_buf is used as a temporary buffer by serial_write. We need to
140 static u_char *tmp_buf; variable
867 if (!tty || !info->xmit.buf || !tmp_buf)
883 c -= copy_from_user(tmp_buf, buf, c);
895 memcpy(info->xmit.buf + info->xmit.head, tmp_buf, c);
1701 if (!tmp_buf) {
1703 if (tmp_buf)
1709 tmp_buf = (u_char *)page;
H A Drocket.c208 * tmp_buf is used as a temporary buffer by rp_write. We need to
216 static unsigned char *tmp_buf = 0; variable
894 if (!tmp_buf) {
898 if (tmp_buf)
901 tmp_buf = (unsigned char *) page;
1735 c -= copy_from_user(tmp_buf, buf, c);
1736 b = tmp_buf;
1772 c -= copy_from_user(tmp_buf, buf, c);
1773 b = tmp_buf;
2296 if (tmp_buf)
[all...]
/asus-wl-520gu-7.0.1.45/src/router/pppoe-relay/
H A Drelay.c264 char tmp_buf[1024]; local
277 memset(tmp_buf, 0, sizeof(tmp_buf));
278 while((fgets(tmp_buf, sizeof(tmp_buf), nat_fp)) != NULL
279 && strncmp(tmp_buf, "COMMIT", 6) != 0){
280 fprintf(redirect_fp, "%s", tmp_buf);
281 memset(tmp_buf, 0, sizeof(tmp_buf));
/asus-wl-520gu-7.0.1.45/src/router/rc/
H A Dfirewall_ex.c601 char tmp_buf[1024]; local
615 memset(tmp_buf, 0, sizeof(tmp_buf));
616 while((fgets(tmp_buf, sizeof(tmp_buf), nat_fp)) != NULL
617 && strncmp(tmp_buf, "COMMIT", 6) != 0){
618 fprintf(redirect_fp, "%s", tmp_buf);
619 memset(tmp_buf, 0, sizeof(tmp_buf));
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/
H A Dfirewall_ex.c601 char tmp_buf[1024]; local
615 memset(tmp_buf, 0, sizeof(tmp_buf));
616 while((fgets(tmp_buf, sizeof(tmp_buf), nat_fp)) != NULL
617 && strncmp(tmp_buf, "COMMIT", 6) != 0){
618 fprintf(redirect_fp, "%s", tmp_buf);
619 memset(tmp_buf, 0, sizeof(tmp_buf));
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/atm/
H A Dcommon.c555 int *tmp_buf, *tmp_p; local
604 tmp_buf = kmalloc(size,GFP_KERNEL);
605 if (!tmp_buf) {
609 tmp_p = tmp_buf;
612 ret_val = ((copy_to_user(buf, tmp_buf, size)) ||
615 kfree(tmp_buf);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Dmacserial.c173 * tmp_buf is used as a temporary buffer by serial_write. We need to
181 static unsigned char *tmp_buf; variable
1470 if (!tty || !info->xmit_buf || !tmp_buf)
1482 c -= copy_from_user(tmp_buf, buf, c);
1492 memcpy(info->xmit_buf + info->xmit_head, tmp_buf, c);
2241 if (!tmp_buf) {
2245 if (tmp_buf)
2248 tmp_buf = (unsigned char *) page;
2722 tmp_buf = 0;
2753 if (tmp_buf) {
[all...]

Completed in 305 milliseconds

12