Home
last modified time | relevance | path

Searched refs:rsize (Results 1 – 5 of 5) sorted by relevance

/net/9p/
Dclient.c1103 int err, rsize, total; in p9_client_read() local
1114 rsize = fid->iounit; in p9_client_read()
1115 if (!rsize || rsize > clnt->msize-P9_IOHDRSZ) in p9_client_read()
1116 rsize = clnt->msize - P9_IOHDRSZ; in p9_client_read()
1118 if (count < rsize) in p9_client_read()
1119 rsize = count; in p9_client_read()
1121 req = p9_client_rpc(clnt, P9_TREAD, "dqd", fid->fid, offset, rsize); in p9_client_read()
1162 int err, rsize, total; in p9_client_write() local
1172 rsize = fid->iounit; in p9_client_write()
1173 if (!rsize || rsize > clnt->msize-P9_IOHDRSZ) in p9_client_write()
[all …]
Dtrans_fd.c139 int rsize; member
303 m->rsize = 7; /* start by reading header */ in p9_read_work()
308 m->rpos, m->rsize, m->rsize-m->rpos); in p9_read_work()
310 m->rsize - m->rpos); in p9_read_work()
322 if ((!m->req) && (m->rpos == m->rsize)) { /* header read in */ in p9_read_work()
356 memcpy(m->rbuf, m->tmp_buf, m->rsize); in p9_read_work()
357 m->rsize = n; in p9_read_work()
361 if ((m->req) && (m->rpos == m->rsize)) { /* packet is read in */ in p9_read_work()
370 m->rsize = 0; in p9_read_work()
/net/sunrpc/xprtrdma/
Dtransport.c379 cdata.rsize = RPCRDMA_MAX_SEGS * PAGE_SIZE; /* RDMA write max */ in xprt_setup_rdma()
387 if (cdata.inline_rsize > cdata.rsize) in xprt_setup_rdma()
388 cdata.inline_rsize = cdata.rsize; in xprt_setup_rdma()
Dxprt_rdma.h229 unsigned int rsize; /* mount rsize - max read hdr+data */ member
/net/bluetooth/hidp/
Dcore.c267 int rsize; in hidp_send_report() local
269 rsize = ((report->size - 1) >> 3) + 1 + (report->id > 0); in hidp_send_report()
270 if (rsize > sizeof(buf)) in hidp_send_report()
275 return hidp_queue_report(session, buf, rsize); in hidp_send_report()