Searched refs:snd_buf (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/net/sunrpc/auth_gss/
H A Dauth_gss.c1668 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf; gss_wrap_req_integ() local
1679 offset = (u8 *)p - (u8 *)snd_buf->head[0].iov_base; gss_wrap_req_integ()
1684 if (xdr_buf_subsegment(snd_buf, &integ_buf, gss_wrap_req_integ()
1685 offset, snd_buf->len - offset)) gss_wrap_req_integ()
1690 if (snd_buf->page_len || snd_buf->tail[0].iov_len) gss_wrap_req_integ()
1691 iov = snd_buf->tail; gss_wrap_req_integ()
1693 iov = snd_buf->head; gss_wrap_req_integ()
1707 snd_buf->len += offset; gss_wrap_req_integ()
1724 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf; alloc_enc_pages() local
1727 if (snd_buf->page_len == 0) { alloc_enc_pages()
1732 first = snd_buf->page_base >> PAGE_CACHE_SHIFT; alloc_enc_pages()
1733 last = (snd_buf->page_base + snd_buf->page_len - 1) >> PAGE_CACHE_SHIFT; alloc_enc_pages()
1759 struct xdr_buf *snd_buf = &rqstp->rq_snd_buf; gss_wrap_req_priv() local
1771 offset = (u8 *)p - (u8 *)snd_buf->head[0].iov_base; gss_wrap_req_priv()
1779 first = snd_buf->page_base >> PAGE_CACHE_SHIFT; gss_wrap_req_priv()
1780 inpages = snd_buf->pages + first; gss_wrap_req_priv()
1781 snd_buf->pages = rqstp->rq_enc_pages; gss_wrap_req_priv()
1782 snd_buf->page_base -= first << PAGE_CACHE_SHIFT; gss_wrap_req_priv()
1791 if (snd_buf->page_len || snd_buf->tail[0].iov_len) { gss_wrap_req_priv()
1793 memcpy(tmp, snd_buf->tail[0].iov_base, snd_buf->tail[0].iov_len); gss_wrap_req_priv()
1794 snd_buf->tail[0].iov_base = tmp; gss_wrap_req_priv()
1796 maj_stat = gss_wrap(ctx->gc_gss_ctx, offset, snd_buf, inpages); gss_wrap_req_priv()
1798 BUG_ON(snd_buf->len > snd_buf->buflen); gss_wrap_req_priv()
1807 *opaque_len = htonl(snd_buf->len - offset); gss_wrap_req_priv()
1809 if (snd_buf->page_len || snd_buf->tail[0].iov_len) gss_wrap_req_priv()
1810 iov = snd_buf->tail; gss_wrap_req_priv()
1812 iov = snd_buf->head; gss_wrap_req_priv()
1814 pad = 3 - ((snd_buf->len - offset - 1) & 3); gss_wrap_req_priv()
1817 snd_buf->len += pad; gss_wrap_req_priv()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dor51211.c244 unsigned char snd_buf[] = {0x04,0x00,0x03,0x00}; or51211_read_status() local
248 if (i2c_writebytes(state,state->config->demod_address,snd_buf,3)) { or51211_read_status()
299 u8 snd_buf[3]; or51211_read_snr() local
302 snd_buf[0] = 0x04; or51211_read_snr()
303 snd_buf[1] = 0x00; or51211_read_snr()
304 snd_buf[2] = 0x04; or51211_read_snr()
306 if (i2c_writebytes(state,state->config->demod_address,snd_buf,3)) { or51211_read_snr()
/linux-4.1.27/drivers/media/usb/dvb-usb/
H A Dpctv452e.c404 const u8 *snd_buf, u8 snd_len, pctv452e_i2c_msg()
426 memcpy(buf + 7, snd_buf, snd_len); pctv452e_i2c_msg()
467 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; pctv452e_i2c_xfer() local
472 snd_buf = NULL; pctv452e_i2c_xfer()
478 snd_buf = msg[i].buf; pctv452e_i2c_xfer()
484 ret = pctv452e_i2c_msg(d, addr, snd_buf, snd_len, rcv_buf, pctv452e_i2c_xfer()
403 pctv452e_i2c_msg(struct dvb_usb_device *d, u8 addr, const u8 *snd_buf, u8 snd_len, u8 *rcv_buf, u8 rcv_len) pctv452e_i2c_msg() argument
/linux-4.1.27/drivers/usb/atm/
H A Dcxacru.c201 u8 *snd_buf; member in struct:cxacru_data
589 u8 *wbuf = instance->snd_buf; cxacru_cm()
1156 instance->snd_buf = (u8 *) __get_free_page(GFP_KERNEL); cxacru_bind()
1157 if (!instance->snd_buf) { cxacru_bind()
1158 usb_dbg(usbatm_instance, "cxacru_bind: no memory for snd_buf\n"); cxacru_bind()
1190 instance->snd_buf, PAGE_SIZE, cxacru_bind()
1200 instance->snd_buf, PAGE_SIZE, cxacru_bind()
1215 free_page((unsigned long) instance->snd_buf); cxacru_bind()
1257 free_page((unsigned long) instance->snd_buf); cxacru_unbind()
/linux-4.1.27/drivers/media/usb/ttusb-budget/
H A Ddvb-ttusb-budget.c200 u8 addr, u8 * snd_buf, u8 snd_len, u8 * rcv_buf, ttusb_i2c_msg()
219 b[7 + i] = snd_buf[i]; ttusb_i2c_msg()
257 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; master_xfer() local
262 snd_buf = msg[i].buf; master_xfer()
269 snd_buf = msg[i].buf; master_xfer()
277 snd_buf, snd_len, rcv_buf, rcv_len); master_xfer()
987 u8 snd_buf[2] = { addr >> 8, addr & 0xFF };
988 ttusb_i2c_msg(ttusb, 0x50, snd_buf, 2, stc_firmware + addr,
199 ttusb_i2c_msg(struct ttusb *ttusb, u8 addr, u8 * snd_buf, u8 snd_len, u8 * rcv_buf, u8 rcv_len) ttusb_i2c_msg() argument
/linux-4.1.27/drivers/net/ethernet/broadcom/
H A Dcnic_if.h267 u32 snd_buf; member in struct:cnic_sock
H A Dcnic.c3483 l4kwqe3->snd_buf = csk->snd_buf; cnic_cm_conn_req()
3609 csk1->snd_buf = DEF_SND_BUF; cnic_cm_create()
H A Dcnic_defs.h365 u32 snd_buf; member in struct:l4_kwq_connect_req3
/linux-4.1.27/drivers/scsi/bnx2i/
H A Dbnx2i_iscsi.c1884 bnx2i_ep->cm_sk->snd_buf = 256 * 1024; bnx2i_ep_connect()

Completed in 435 milliseconds