Home
last modified time | relevance | path

Searched refs:rcvbuf (Results 1 – 25 of 62) sorted by relevance

123

/linux-2.4.37.9/drivers/char/
Dh8.c263 qp->rcvbuf[qp->cnt] = data_reg; in h8_intr()
678 qp->rcvbuf[0]); in h8_cmd_done()
685 qp->rcvbuf[0], qp->rcvbuf[1], qp->rcvbuf[2], in h8_cmd_done()
686 qp->rcvbuf[3], qp->rcvbuf[4], qp->rcvbuf[5]); in h8_cmd_done()
694 qp->rcvbuf[0], qp->rcvbuf[1]); in h8_cmd_done()
700 qp->rcvbuf[0], qp->rcvbuf[1]); in h8_cmd_done()
706 xx.byte[0] = qp->rcvbuf[0]; in h8_cmd_done()
707 xx.byte[1] = qp->rcvbuf[1]; in h8_cmd_done()
726 xx.byte[1] = qp->rcvbuf[0]; in h8_cmd_done()
727 xx.byte[0] = qp->rcvbuf[1]; in h8_cmd_done()
[all …]
Dh8.h238 u_char rcvbuf[H8_MAX_CMD_SIZE]; /* buffer to store response */ member
/linux-2.4.37.9/fs/nfs/
Dnfs2xdr.c235 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readres() local
245 if (rcvbuf->page_len) { in nfs_xdr_readres()
246 u32 end = page_offset(rcvbuf->pages[0]) + rcvbuf->page_base + count; in nfs_xdr_readres()
392 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readdirres() local
393 struct iovec *iov = rcvbuf->head; in nfs_xdr_readdirres()
410 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs_xdr_readdirres()
413 pglen = rcvbuf->page_len; in nfs_xdr_readdirres()
417 page = rcvbuf->pages; in nfs_xdr_readdirres()
556 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs_xdr_readlinkres() local
557 struct iovec *iov = rcvbuf->head; in nfs_xdr_readlinkres()
[all …]
Dnfs3xdr.c503 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs3_xdr_readdirres() local
504 struct iovec *iov = rcvbuf->head; in nfs3_xdr_readdirres()
531 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readdirres()
534 pglen = rcvbuf->page_len; in nfs3_xdr_readdirres()
538 page = rcvbuf->pages; in nfs3_xdr_readdirres()
740 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in nfs3_xdr_readlinkres() local
741 struct iovec *iov = rcvbuf->head; in nfs3_xdr_readlinkres()
756 xdr_shift_buf(rcvbuf, iov->iov_len - hdrlen); in nfs3_xdr_readlinkres()
759 strlen = (u32*)kmap(rcvbuf->pages[0]); in nfs3_xdr_readlinkres()
762 if (len >= rcvbuf->page_len - sizeof(u32)) { in nfs3_xdr_readlinkres()
[all …]
/linux-2.4.37.9/drivers/isdn/hisax/
Delsa_ser.c332 cs->hw.elsa.rcvbuf[cs->hw.elsa.rcvcnt++] = ch; in receive_chars()
349 memcpy(skb_put(skb, cs->hw.elsa.rcvcnt), cs->hw.elsa.rcvbuf, in receive_chars()
359 QuickHex(t, cs->hw.elsa.rcvbuf, cs->hw.elsa.rcvcnt); in receive_chars()
444 if (bcs->hw.hscx.rcvbuf) { in close_elsastate()
446 kfree(bcs->hw.hscx.rcvbuf); in close_elsastate()
447 bcs->hw.hscx.rcvbuf = NULL; in close_elsastate()
625 bcs->hw.hscx.rcvbuf = bcs->cs->hw.elsa.rcvbuf; in setstack_elsa()
652 if (!(cs->hw.elsa.rcvbuf = kmalloc(MAX_MODEM_BUF, in init_modem()
662 kfree(cs->hw.elsa.rcvbuf); in init_modem()
663 cs->hw.elsa.rcvbuf = NULL; in init_modem()
[all …]
Dhscx.c163 if (bcs->hw.hscx.rcvbuf) { in close_hscxstate()
164 kfree(bcs->hw.hscx.rcvbuf); in close_hscxstate()
165 bcs->hw.hscx.rcvbuf = NULL; in close_hscxstate()
185 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_hscxstate()
195 kfree(bcs->hw.hscx.rcvbuf); in open_hscxstate()
196 bcs->hw.hscx.rcvbuf = NULL; in open_hscxstate()
Djade.c206 if (bcs->hw.hscx.rcvbuf) { in close_jadestate()
207 kfree(bcs->hw.hscx.rcvbuf); in close_jadestate()
208 bcs->hw.hscx.rcvbuf = NULL; in close_jadestate()
228 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_jadestate()
238 kfree(bcs->hw.hscx.rcvbuf); in open_jadestate()
239 bcs->hw.hscx.rcvbuf = NULL; in open_jadestate()
Dst5481_usb.c488 register unsigned char *dest = in->rcvbuf; in usb_in_complete()
494 in->rcvbuf, in->bufsize); in usb_in_complete()
502 DBG_PACKET(0x400, in->rcvbuf, status); in usb_in_complete()
507 memcpy(skb_put(skb, status), in->rcvbuf, status); in usb_in_complete()
532 in->rcvbuf = kmalloc(in->bufsize, GFP_KERNEL); in st5481_setup_in()
534 if (!in->rcvbuf) in st5481_setup_in()
547 kfree(in->rcvbuf); in st5481_setup_in()
Dipacx.c345 ptr = cs->rcvbuf + cs->rcvidx; in dch_empty_fifo()
456 memcpy(skb_put(skb, count), cs->rcvbuf, count); in dch_int()
644 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
649 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in bch_empty_fifo()
752 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in bch_int()
769 memcpy(skb_put(skb, B_FIFO_SIZE), bcs->hw.hscx.rcvbuf, B_FIFO_SIZE); in bch_int()
882 if (bcs->hw.hscx.rcvbuf) { in bch_close_state()
883 kfree(bcs->hw.hscx.rcvbuf); in bch_close_state()
884 bcs->hw.hscx.rcvbuf = NULL; in bch_close_state()
906 if (!(bcs->hw.hscx.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in bch_open_state()
[all …]
Dw6692.c168 ptr = cs->rcvbuf + cs->rcvidx; in W6692_empty_fifo()
247 ptr = bcs->hw.w6692.rcvbuf + bcs->hw.w6692.rcvidx; in W6692B_empty_fifo()
346 memcpy(skb_put(skb, count), bcs->hw.w6692.rcvbuf, count); in W6692B_interrupt()
361 memcpy(skb_put(skb, W_B_FIFO_THRESH), bcs->hw.w6692.rcvbuf, W_B_FIFO_THRESH); in W6692B_interrupt()
455 memcpy(skb_put(skb, count), cs->rcvbuf, count); in W6692_interrupt()
807 if (bcs->hw.w6692.rcvbuf) { in close_w6692state()
808 kfree(bcs->hw.w6692.rcvbuf); in close_w6692state()
809 bcs->hw.w6692.rcvbuf = NULL; in close_w6692state()
829 if (!(bcs->hw.w6692.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_w6692state()
839 kfree(bcs->hw.w6692.rcvbuf); in open_w6692state()
[all …]
Damd7930_fn.c298 ptr = cs->rcvbuf + cs->rcvidx; in Amd7930_empty_Dfifo()
307 while ( (stat & 2) && ((ptr-cs->rcvbuf) < MAX_DFRAME_LEN_L1) ) { in Amd7930_empty_Dfifo()
311 cs->rcvidx = ptr - cs->rcvbuf; in Amd7930_empty_Dfifo()
331 QuickHex(t, cs->rcvbuf, cs->rcvidx); in Amd7930_empty_Dfifo()
335 memcpy(skb_put(skb, cs->rcvidx), cs->rcvbuf, cs->rcvidx); in Amd7930_empty_Dfifo()
342 ptr = cs->rcvbuf; in Amd7930_empty_Dfifo()
Dhisax.h358 u_char *rcvbuf; /* B-Channel receive Buffer */ member
367 u_char *rcvbuf; /* B-Channel receive Buffer */ member
391 u_char *rcvbuf; /* B-Channel receive Buffer */ member
418 u_char *rcvbuf; /* B-Channel receive Buffer */ member
434 u_char *rcvbuf; member
557 u_char *rcvbuf; member
951 u_char *rcvbuf; member
Djade_irq.c64 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in jade_empty_fifo()
163 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in jade_interrupt()
178 memcpy(skb_put(skb, fifo_size), bcs->hw.hscx.rcvbuf, fifo_size); in jade_interrupt()
Davm_pci.c294 p = bcs->hw.hdlc.rcvbuf + bcs->hw.hdlc.rcvidx; in hdlc_empty_fifo()
434 bcs->hw.hdlc.rcvbuf, bcs->hw.hdlc.rcvidx); in HDLC_irq()
593 if (bcs->hw.hdlc.rcvbuf) { in close_hdlcstate()
594 kfree(bcs->hw.hdlc.rcvbuf); in close_hdlcstate()
595 bcs->hw.hdlc.rcvbuf = NULL; in close_hdlcstate()
615 if (!(bcs->hw.hdlc.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_hdlcstate()
624 kfree(bcs->hw.hdlc.rcvbuf); in open_hdlcstate()
625 bcs->hw.hdlc.rcvbuf = NULL; in open_hdlcstate()
Dhscx_irq.c74 ptr = bcs->hw.hscx.rcvbuf + bcs->hw.hscx.rcvidx; in hscx_empty_fifo()
186 memcpy(skb_put(skb, count), bcs->hw.hscx.rcvbuf, count); in hscx_interrupt()
201 memcpy(skb_put(skb, fifo_size), bcs->hw.hscx.rcvbuf, fifo_size); in hscx_interrupt()
Dhisax_isac.h24 u_char rcvbuf[MAX_DFRAME_LEN_L1]; member
Dnetjet.c434 memcpy(skb_put(skb, count), bcs->hw.tiger.rcvbuf, count); in got_frame()
442 printframe(bcs->cs, bcs->hw.tiger.rcvbuf, count, "rec"); in got_frame()
536 bcs->hw.tiger.rcvbuf[0] = r_val; in read_raw()
575 printframe(bcs->cs, bcs->hw.tiger.rcvbuf, in read_raw()
608 bcs->hw.tiger.rcvbuf[(bitcnt>>3)-1] = r_val; in read_raw()
901 if (bcs->hw.tiger.rcvbuf) { in close_tigerstate()
902 kfree(bcs->hw.tiger.rcvbuf); in close_tigerstate()
903 bcs->hw.tiger.rcvbuf = NULL; in close_tigerstate()
923 if (!(bcs->hw.tiger.rcvbuf = kmalloc(HSCX_BUFMAX, GFP_ATOMIC))) { in open_tigerstate()
Dhisax_fcpcipnp.h39 u_char rcvbuf[HSCX_BUFMAX]; /* B-Channel receive Buffer */ member
Disar.c559 ptr = bcs->hw.isar.rcvbuf + bcs->hw.isar.rcvidx; in isar_rcv_frame()
571 bcs->hw.isar.rcvbuf, bcs->hw.isar.rcvidx-2); in isar_rcv_frame()
588 rcv_mbox(cs, ireg, bcs->hw.isar.rcvbuf); in isar_rcv_frame()
590 dle_count(bcs->hw.isar.rcvbuf, ireg->clsb); in isar_rcv_frame()
596 bcs->hw.isar.rcvbuf, ireg->clsb); in isar_rcv_frame()
639 ptr = bcs->hw.isar.rcvbuf + bcs->hw.isar.rcvidx; in isar_rcv_frame()
644 dle_count(bcs->hw.isar.rcvbuf, bcs->hw.isar.rcvidx); in isar_rcv_frame()
655 bcs->hw.isar.rcvbuf, in isar_rcv_frame()
1685 if (bcs->hw.isar.rcvbuf) { in close_isarstate()
1686 kfree(bcs->hw.isar.rcvbuf); in close_isarstate()
[all …]
/linux-2.4.37.9/net/atm/
Datm_misc.c19 if (atomic_read(&vcc->sk->rmem_alloc) <= vcc->sk->rcvbuf) return 1; in atm_charge()
32 if (atomic_read(&vcc->sk->rmem_alloc) <= vcc->sk->rcvbuf) { in atm_alloc_charge()
/linux-2.4.37.9/net/sunrpc/
Dclnt.c503 struct xdr_buf *rcvbuf = &req->rq_rcv_buf; in call_encode() local
521 rcvbuf->head[0].iov_base = (void *)((char *)task->tk_buffer + bufsiz); in call_encode()
522 rcvbuf->head[0].iov_len = bufsiz; in call_encode()
523 rcvbuf->tail[0].iov_len = 0; in call_encode()
524 rcvbuf->page_len = 0; in call_encode()
525 rcvbuf->len = bufsiz; in call_encode()
/linux-2.4.37.9/include/linux/
Dif_wanpipe.h38 int rcvbuf; member
/linux-2.4.37.9/net/core/
Dsock.c264 sk->rcvbuf = SOCK_MIN_RCVBUF; in sock_setsockopt()
266 sk->rcvbuf = (val * 2); in sock_setsockopt()
467 v.val =sk->rcvbuf; in sock_getsockopt()
698 if (force || atomic_read(&sk->rmem_alloc) < sk->rcvbuf) { in sock_rmalloc()
1190 sk->rcvbuf = sysctl_rmem_default; in sock_init_data()
/linux-2.4.37.9/net/ax25/
Dax25_std_timer.c65 if (atomic_read(&ax25->sk->rmem_alloc) < (ax25->sk->rcvbuf / 2) && in ax25_std_heartbeat_expiry()
/linux-2.4.37.9/include/net/
Ddn_nsp.h204 return atomic_read(&sk->rmem_alloc) > (sk->rcvbuf >> 1); in dn_congested()

123