Searched refs:nbytes (Results 101 - 125 of 232) sorted by relevance

12345678910

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/
H A Dflashutl.c64 static int flash_write(unsigned long off, uint8 *src, uint nbytes);
249 flash_write(unsigned long off, uint8 *src, uint nbytes) argument
265 while (nbytes) {
275 len = MIN(nbytes, WBUFSIZE);
327 len = MIN(nbytes, flashutl_wsz);
332 nbytes -= len;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/fuse/
H A Dfile.c507 unsigned nbytes, int write)
517 nbytes = min(nbytes, (unsigned) FUSE_MAX_PAGES_PER_REQ << PAGE_SHIFT);
518 npages = (nbytes + offset + PAGE_SIZE - 1) >> PAGE_SHIFT;
551 size_t nbytes = min(count, nmax); local
552 int err = fuse_get_user_pages(req, buf, nbytes, !write);
557 nbytes = (req->num_pages << PAGE_SHIFT) - req->page_offset;
558 nbytes = min(count, nbytes);
560 nres = fuse_send_write(req, file, inode, pos, nbytes);
506 fuse_get_user_pages(struct fuse_req *req, const char __user *buf, unsigned nbytes, int write) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/macintosh/
H A Dadb.c422 int flags, int nbytes, ...)
430 if (nbytes < 1)
445 req->nbytes = nbytes+1;
449 va_start(list, nbytes);
450 for (i = 0; i < nbytes; ++i)
665 if (req->nbytes < 3)
800 req->nbytes = count;
421 adb_request(struct adb_request *req, void (*done)(struct adb_request *), int flags, int nbytes, ...) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dnicstarmac.c199 u_int32_t nbytes )
203 for (i=0; i<nbytes; i++)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/
H A Dzclient.c714 int nbytes;
729 nbytes = stream_read (zclient->ibuf, sock, ZEBRA_HEADER_SIZE);
732 if (nbytes == 0)
745 if (nbytes < 0 || nbytes != ZEBRA_HEADER_SIZE)
749 zlog_info ("Can't read all packet (length %d).", nbytes);
770 nbytes = stream_read (zclient->ibuf, sock, length);
771 if (nbytes != length)
710 int nbytes; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dbinfmt_misc.c543 bm_entry_read(struct file * file, char __user * buf, size_t nbytes, loff_t *ppos) argument
563 if (len < pos + nbytes)
564 nbytes = len - pos;
566 if (copy_to_user(buf, page + pos, nbytes))
568 *ppos = pos + nbytes;
569 res = nbytes;
675 bm_status_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
679 return simple_read_from_buffer(buf, nbytes, ppos, s, strlen(s));
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/sunrpc/
H A Dxdr.h194 extern __be32 *xdr_reserve_space(struct xdr_stream *xdr, size_t nbytes);
198 extern __be32 *xdr_inline_decode(struct xdr_stream *xdr, size_t nbytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dopenprom.h42 int (*v2_dev_read)(int d, char *buf, int nbytes);
43 int (*v2_dev_write)(int d, char *buf, int nbytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dopenprom.h37 int (*v2_dev_read)(int d, char *buf, int nbytes);
38 int (*v2_dev_write)(int d, char *buf, int nbytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-m68k/
H A Dopenprom.h50 int (*v2_dev_read)(int d, char *buf, int nbytes);
51 int (*v2_dev_write)(int d, char *buf, int nbytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/random/
H A Drandom-fips.c448 size_t nbytes;
475 nbytes = length < 16? length : 16;
515 memcpy (output, result_buffer, nbytes);
517 output += nbytes;
518 length -= nbytes;
553 get_entropy (size_t nbytes)
559 entropy_collect_buffer = gcry_xmalloc_secure (nbytes);
560 entropy_collect_buffer_size = nbytes;
447 size_t nbytes; local
552 get_entropy(size_t nbytes) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/tests/
H A Drandom.c60 writen (int fd, const void *buf, size_t nbytes) argument
62 size_t nleft = nbytes;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/btree/
H A Dbt_delete.c67 u_int32_t nbytes; local
83 nbytes = BINTERNAL_SIZE(bi->len);
86 nbytes = BINTERNAL_SIZE(bi->len);
96 nbytes = RINTERNAL_SIZE;
134 nbytes = BOVERFLOW_SIZE;
137 nbytes = BOVERFLOW_SIZE;
143 nbytes = BKEYDATA_SIZE(bk->len);
154 if ((ret = __db_ditem(dbc, h, indx, nbytes)) != 0)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/log/
H A Dlog.c1157 size_t nbytes, len, nw; local
1231 nbytes = len > sizeof(buf) ? sizeof(buf) : len;
1233 __os_write(env, dblp->lfhp, buf, nbytes, &nw)) != 0)
1235 len -= nbytes;
1444 size_t nbytes; local
1447 nbytes = (offset + size < lp->buffer_size) ?
1449 memcpy(buf, dblp->bufp + offset, nbytes);
1450 if (nbytes < size)
1451 memcpy((u_int8_t *)buf + nbytes, dblp->bufp, size - nbytes);
1469 size_t nbytes; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/
H A Dhmac.c109 struct scatterlist *sg, unsigned int nbytes)
117 return crypto_hash_update(&desc, sg, nbytes);
144 unsigned int nbytes, u8 *out)
166 err = crypto_hash_digest(&desc, sg1, nbytes + bs, digest);
108 hmac_update(struct hash_desc *pdesc, struct scatterlist *sg, unsigned int nbytes) argument
143 hmac_digest(struct hash_desc *pdesc, struct scatterlist *sg, unsigned int nbytes, u8 *out) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-runtime/src/
H A Denvsubst.c323 size_t nbytes; local
326 nbytes = slp->nitems_max * sizeof (slp->item[0]);
327 slp->item = (const char **) xrealloc (slp->item, nbytes);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/cipher/
H A Dmd.c1137 * buffer and nbytes must be zero.
1149 gcry_md_algo_info (int algo, int what, void *buffer, size_t *nbytes) argument
1156 if (buffer || nbytes)
1172 if (buffer && (*nbytes >= asnlen))
1175 *nbytes = asnlen;
1177 else if (!buffer && nbytes)
1178 *nbytes = asnlen;
1252 gcry_md_info (gcry_md_hd_t h, int cmd, void *buffer, size_t *nbytes) argument
1259 *nbytes = h->ctx->secure;
1267 if ( !buffer || (nbytes
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/busybox-1.x/e2fsprogs/old_e2fsprogs/uuid/
H A Dgen_uuid.c94 static void get_random_bytes(void *buf, int nbytes) argument
96 int i, n = nbytes, fd = get_random_fd();
118 for (cp = buf, i = 0; i < nbytes; i++)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/crypto/
H A Dalgapi.h84 unsigned int nbytes; member in struct:blkcipher_walk
212 unsigned int nbytes)
216 walk->total = nbytes;
209 blkcipher_walk_init(struct blkcipher_walk *walk, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/
H A Dobstack.c386 register int nbytes = 0;
390 nbytes += lp->limit - (char *) lp;
392 return nbytes;
383 register int nbytes = 0; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/
H A Dobstack.c386 register int nbytes = 0;
390 nbytes += lp->limit - (char *) lp;
392 return nbytes;
383 register int nbytes = 0; local
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/proc/
H A Dgeneric.c28 size_t nbytes, loff_t *ppos);
52 proc_file_read(struct file *file, char __user *buf, size_t nbytes, argument
72 if (nbytes > MAX_NON_LFS - pos)
73 nbytes = MAX_NON_LFS - pos;
79 while ((nbytes > 0) && !eof) {
80 count = min_t(size_t, PROC_BLOCK_SIZE, nbytes);
194 nbytes -= n;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/nfsd/
H A Dnfs4xdr.c117 #define READMEM(x,nbytes) do { \
119 p += XDR_QUADLEN(nbytes); \
121 #define SAVEMEM(x,nbytes) do { \
123 savemem(argp, p, nbytes) : \
128 p += XDR_QUADLEN(nbytes); \
130 #define COPYMEM(x,nbytes) do { \
131 memcpy((x), p, nbytes); \
132 p += XDR_QUADLEN(nbytes); \
135 /* READ_BUF, read_buf(): nbytes must be <= PAGE_SIZE */
136 #define READ_BUF(nbytes) d
146 read_buf(struct nfsd4_compoundargs *argp, int nbytes) argument
199 savemem(struct nfsd4_compoundargs *argp, __be32 *p, int nbytes) argument
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/vtysh/
H A Dvtysh.c205 int nbytes;
236 nbytes = read (vclient->fd, pbuf, readln);
238 if (nbytes <= 0)
255 pbuf[nbytes] = '\0';
257 if (nbytes >= 4)
259 i = nbytes - 4;
266 pbuf += nbytes;
299 int nbytes;
314 nbytes = read (vclient->fd, buf, sizeof(buf)-1);
316 if (nbytes <
204 int nbytes; local
298 int nbytes; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Dcpuset.c423 ssize_t (*read) (struct file *file, char __user *buf, size_t nbytes,
425 int (*write) (struct file *file, const char __user *buf, size_t nbytes,
1306 size_t nbytes, loff_t *unused_ppos)
1316 if (nbytes > 100 + 6 * max(NR_CPUS, MAX_NUMNODES))
1320 if ((buffer = kmalloc(nbytes + 1, GFP_KERNEL)) == 0)
1323 if (copy_from_user(buffer, userbuf, nbytes)) {
1327 buffer[nbytes] = 0; /* nul-terminate */
1378 retval = nbytes;
1388 size_t nbytes, loff_t *ppos)
1397 retval = cft->write(file, buf, nbytes, ppo
1304 cpuset_common_file_write(struct file *file, const char __user *userbuf, size_t nbytes, loff_t *unused_ppos) argument
1387 cpuset_file_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *ppos) argument
1438 cpuset_common_file_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
1496 cpuset_file_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
1770 cpuset_tasks_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
[all...]

Completed in 323 milliseconds

12345678910