Searched refs:sr_rq (Results 1 - 4 of 4) sorted by relevance

/macosx-10.10/smb-759.0/kernel/netsmb/
H A Dsmb_rq_2.c50 if ((rqp->sr_rq.mb_len % 8) != 0) {
52 pad_bytes = 8 - (rqp->sr_rq.mb_len % 8);
110 if (rqp->sr_rq.mb_count > 0xffffffff)
113 bcnt = (uint32_t)rqp->sr_rq.mb_count;
114 } else if (rqp->sr_rq.mb_count > 0xffffffff) {
115 SMBERROR("byte count too large (%ld)\n", rqp->sr_rq.mb_count);
118 bcnt = (uint32_t)rqp->sr_rq.mb_count;
130 rqp->sr_rq.mb_count = 0;
140 rqp->sr_rq.mb_count = 0;
693 length = (uint32_t) rqp->sr_rq
[all...]
H A Dsmb_rq.c464 rqp->sr_rq.mb_count = 0;
474 if (rqp->sr_rq.mb_count & 1)
476 *rqp->sr_wcount = rqp->sr_rq.mb_count / 2;
486 rqp->sr_rq.mb_count = 0;
506 if (rqp->sr_rq.mb_count > 0x0ffff)
509 bcnt = (uint16_t)rqp->sr_rq.mb_count;
510 } else if (rqp->sr_rq.mb_count > 0xffff) {
511 SMBERROR("byte count too large (%ld)\n", rqp->sr_rq.mb_count);
514 bcnt = (uint16_t)rqp->sr_rq.mb_count;
522 *mbpp = &rqp->sr_rq;
[all...]
H A Dsmb_rq.h134 struct mbchain sr_rq; member in struct:smb_rq
H A Dsmb_iod.c467 * SMB 1 calls mbuf_copym to create a duplicate mbuf of sr_rq.mp_top
469 * packet again by just duplicating sr_rq.mp_top again and sending it again.
534 * Save current sr_rq.mp_top into "m", set sr_rq.mp_top to NULL,
558 * Save current sr_rq.mp_top into "m", set sr_rq.mp_top to NULL,
583 m_dumpm(rqp->sr_rq.mb_top);
585 /* SMB 1 always duplicates the sr_rq.mb_top and sends the dupe */
586 error = mbuf_copym(rqp->sr_rq.mb_top, 0, MBUF_COPYALL, MBUF_WAITOK, &m);

Completed in 361 milliseconds