Searched refs:rsize (Results 1 – 5 of 5) sorted by relevance
/net/9p/ |
D | client.c | 1103 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 …]
|
D | trans_fd.c | 139 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/ |
D | transport.c | 379 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()
|
D | xprt_rdma.h | 229 unsigned int rsize; /* mount rsize - max read hdr+data */ member
|
/net/bluetooth/hidp/ |
D | core.c | 267 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()
|