Searched refs:iov_len (Results 1 - 25 of 201) sorted by relevance

123456789

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Duio.h23 __kernel_size_t iov_len; /* Must be size_t (1003.1g) */ member in struct:iovec
30 size_t iov_len; member in struct:kvec
55 ret += iov[seg].iov_len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Diovec.c63 err += iov[ct].iov_len;
85 if (iov->iov_len) {
86 int copy = min_t(unsigned int, iov->iov_len, len);
91 iov->iov_len -= copy;
109 if (iov->iov_len) {
110 int copy = min_t(unsigned int, len, iov->iov_len);
116 iov->iov_len -= copy;
131 while (offset >= iov->iov_len) {
132 offset -= iov->iov_len;
138 int copy = min_t(unsigned int, len, iov->iov_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/
H A Dxdr.c118 p = (u32 *)xdr->head[0].iov_base + XDR_QUADLEN(xdr->head[0].iov_len);
120 tail->iov_len = 0;
127 tail->iov_len = pad;
141 unsigned int buflen = head->iov_len;
143 head->iov_len = offset;
150 tail->iov_len = buflen - offset;
318 BUG_ON (len > head->iov_len);
321 if (tail->iov_len != 0) {
322 if (tail->iov_len > len) {
323 copy = tail->iov_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/jffs2/
H A Dwritev.c27 if (!vecs[i].iov_len)
29 ret = mtd->write(mtd, to, vecs[i].iov_len, &thislen, vecs[i].iov_base);
31 if (ret || thislen != vecs[i].iov_len)
33 to += vecs[i].iov_len;
71 vecs[0].iov_len = len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/dma/
H A Diovlock.c37 ((PAGE_ALIGN((unsigned long)iov->iov_base + iov->iov_len) -
66 iovec_len_used += iov[nr_iovecs].iov_len;
86 len -= iov[i].iov_len;
88 if (!access_ok(VERIFY_WRITE, iov[i].iov_base, iov[i].iov_len)) {
152 if (iov->iov_len) {
153 int copy = min_t(unsigned int, iov->iov_len, len);
161 iov->iov_len -= copy;
174 * Initial elements in iov array's iov->iov_len will be 0 if already copied into
199 while (!iov[iovec_idx].iov_len)
209 while (iov[iovec_idx].iov_len) {
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dsendfile.c271 hdtrl[0].iov_len = hdr_len = header->length;
274 hdtrl[0].iov_len = hdr_len = 0;
277 hdtrl[1].iov_len = 0;
280 while (total + hdtrl[0].iov_len) {
305 * data altogether if we wrote more than hdtrl[0].iov_len bytes.
309 if (hdtrl[0].iov_base && hdtrl[0].iov_len) {
310 if (nwritten >= hdtrl[0].iov_len) {
311 nwritten -= hdtrl[0].iov_len;
313 hdtrl[0].iov_len = 0;
317 hdtrl[0].iov_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/support/
H A Dmove.c32 count = uio->uio_iov->iov_len;
47 uio->uio_iov->iov_len -= count;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dsvc.h160 iov->iov_len -= sizeof(__be32);
166 __be32 *vp = iov->iov_base + iov->iov_len;
168 iov->iov_len += sizeof(__be32);
177 iov->iov_len -= sizeof(__be32);
185 iov->iov_len += sizeof(*vp);
190 __be32 *vp = iov->iov_base + iov->iov_len;
192 iov->iov_len += sizeof(__be32);
290 && cp <= (char*)vec->iov_base + vec->iov_len;
299 vec->iov_len = cp - (char*)vec->iov_base;
301 return vec->iov_len <
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/ospf6d/
H A Dospf6_message.h136 (msg)[x].iov_len = 0; \
144 if ((msg)[x].iov_base == (void *)NULL && (msg)[x].iov_len == 0) \
149 (msg)[x].iov_len = (bufsize); \
157 if ((msg)[x].iov_base == NULL && (msg)[x].iov_len == 0) \
162 (msg)[y].iov_len = (join)[y - x].iov_len; \
H A Dospf6_network.c44 iov[i].iov_len = 0;
63 totallen += iov[i].iov_len;
85 iov[i].iov_len = iov[i - 1].iov_len;
88 iov[0].iov_len = len;
111 iov[i].iov_len = len;
122 iov[i].iov_len = len;
134 len = iov[0].iov_len;
139 iov[i].iov_len = iov[i + 1].iov_len;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/sunrpc/auth_gss/
H A Dgss_krb5_wrap.c30 if (buf->page_len || buf->tail[0].iov_len)
34 p = iov->iov_base + iov->iov_len;
35 iov->iov_len += padding;
47 if (len <= buf->head[0].iov_len) {
49 if (pad > buf->head[0].iov_len)
51 buf->head[0].iov_len -= pad;
54 len -= buf->head[0].iov_len;
66 BUG_ON(len > buf->tail[0].iov_len);
130 memmove(ptr + headlen, ptr, buf->head[0].iov_len - offset);
131 buf->head[0].iov_len
[all...]
H A Dsvcauth_gss.c606 if (argv->iov_len < 4)
610 if (argv->iov_len < l)
614 argv->iov_len -= l;
623 if (resv->iov_len + 4 > PAGE_SIZE)
626 p = resv->iov_base + resv->iov_len;
627 resv->iov_len += round_up_to_quad(o->len);
628 if (resv->iov_len > PAGE_SIZE)
652 iov.iov_len = (u8 *)argv->iov_base - (u8 *)rpcstart;
656 if (argv->iov_len < 4)
691 p = rqstp->rq_res.head->iov_base + rqstp->rq_res.head->iov_len;
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfscache.c269 len = resv->iov_len - ((char*)statp - (char*)resv->iov_base);
293 cachv->iov_len = len << 2;
312 if (vec->iov_len + data->iov_len > PAGE_SIZE) {
314 data->iov_len);
317 memcpy((char*)vec->iov_base + vec->iov_len, data->iov_base, data->iov_len);
318 vec->iov_len += data->iov_len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/bin/pap/
H A Dpap.c279 rniov[ 0 ].iov_len = PAP_MAXDATA + 4;
352 iov.iov_len = sizeof( rbuf );
365 if ( iov.iov_len < 8 || (unsigned char)rbuf[ 0 ] != connid ||
374 printf( "%.*s\n", (int)iov.iov_len - 9, (char *) iov.iov_base + 9 );
376 updatestatus( (char *) iov.iov_base + 9, iov.iov_len - 9 );
433 iov.iov_len = sizeof( rbuf );
442 if ( iov.iov_len != 4 || rbuf[ 1 ] != PAP_CLOSEREPLY ) {
562 rfiov[ i ].iov_len = PAP_MAXDATA;
573 rfiov[ i ].iov_len = ( cc > PAP_MAXDATA ) ? PAP_MAXDATA : cc;
623 sniov[ 0 ].iov_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/bin/pap/
H A Dpap.c279 rniov[ 0 ].iov_len = PAP_MAXDATA + 4;
352 iov.iov_len = sizeof( rbuf );
365 if ( iov.iov_len < 8 || (unsigned char)rbuf[ 0 ] != connid ||
374 printf( "%.*s\n", (int)iov.iov_len - 9, (char *) iov.iov_base + 9 );
376 updatestatus( (char *) iov.iov_base + 9, iov.iov_len - 9 );
433 iov.iov_len = sizeof( rbuf );
442 if ( iov.iov_len != 4 || rbuf[ 1 ] != PAP_CLOSEREPLY ) {
562 rfiov[ i ].iov_len = PAP_MAXDATA;
573 rfiov[ i ].iov_len = ( cc > PAP_MAXDATA ) ? PAP_MAXDATA : cc;
623 sniov[ 0 ].iov_len
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/asp/
H A Dasp_cmdreply.c70 iov[ iovcnt ].iov_len = ASP_CMDMAXSIZ;
72 iov[ iovcnt ].iov_len = buflen + ASP_HDRSIZ;
H A Dasp_write.c63 iov[ iovcnt ].iov_len = ASP_CMDMAXSIZ;
93 iov[ iovcnt ].iov_len - ASP_HDRSIZ );
94 p += ( iov[ iovcnt ].iov_len - ASP_HDRSIZ );
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/atp/
H A Datp_rresp.c80 len > atpb->atp_rresiov[ i ].iov_len ) {
93 atpb->atp_rresiov[ i ].iov_len = len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/netddp/
H A Dnetddp_recvfrom.c48 iov[0].iov_len = sizeof(ddphdr);
50 iov[1].iov_len = buflen;
H A Dnetddp_sendto.c49 iov[0].iov_len = sizeof(ddphdr);
51 iov[1].iov_len = buflen;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/asp/
H A Dasp_cmdreply.c70 iov[ iovcnt ].iov_len = ASP_CMDMAXSIZ;
72 iov[ iovcnt ].iov_len = buflen + ASP_HDRSIZ;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/atp/
H A Datp_rresp.c80 len > atpb->atp_rresiov[ i ].iov_len ) {
93 atpb->atp_rresiov[ i ].iov_len = len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/netddp/
H A Dnetddp_recvfrom.c48 iov[0].iov_len = sizeof(ddphdr);
50 iov[1].iov_len = buflen;
H A Dnetddp_sendto.c49 iov[0].iov_len = sizeof(ddphdr);
51 iov[1].iov_len = buflen;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/libbb/
H A Dverror_msg.c76 #define used (iov[2].iov_len)
112 iov[0].iov_len = strlen(applet_name);
114 iov[1].iov_len = 2;
116 /*iov[2].iov_len = used;*/

Completed in 260 milliseconds

123456789