/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/include/rts/ |
H A D | crc.h | 46 #define APPEND_CRC8(pbytes, nbytes) \ 48 uint8 tmp = crc8(pbytes, nbytes, CRC8_INIT_VALUE) ^ 0xff; \ 49 (pbytes)[(nbytes)] = tmp; \ 50 (nbytes) += 1; \ 53 #define APPEND_CRC16(pbytes, nbytes) \ 55 uint16 tmp = crc16(pbytes, nbytes, CRC16_INIT_VALUE) ^ 0xffff; \ 56 (pbytes)[(nbytes) + 0] = (tmp >> 0) & 0xff; \ 57 (pbytes)[(nbytes) + 1] = (tmp >> 8) & 0xff; \ 58 (nbytes) += 2; \ 61 #define APPEND_CRC32(pbytes, nbytes) \ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/zebra/lib/ |
H A D | checksum.c | 12 in_cksum(ptr, nbytes) 14 register int nbytes; 27 while (nbytes > 1) { 29 nbytes -= 2; 33 if (nbytes == 1) {
|
H A D | network.c | 25 /* Read nbytes from fd and store into ptr. */ 27 readn (int fd, char *ptr, int nbytes) argument 32 nleft = nbytes; 48 return nbytes - nleft; 51 /* Write nbytes from ptr to fd. */ 53 writen(int fd, char *ptr, int nbytes) argument 58 nleft = nbytes; 70 return nbytes - nleft;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libgcrypt-1.5.0/random/ |
H A D | rndhw.c | 46 unsigned int nbytes, status; local 55 nbytes = 0; 56 while (nbytes < 64) 73 nbytes += (status & 0x1f); 88 if (nbytes) 90 (*add) ((void*)buffer, nbytes, origin); 91 wipememory (buffer, nbytes); 93 return nbytes; 127 size_t nbytes = 0; local 134 nbytes [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/pci/hotplug/ |
H A D | rpadlpar_sysfs.c | 31 size_t nbytes); 46 const char *buf, size_t nbytes) 51 dlpar_attr->store(dlpar_attr, buf, nbytes) : -EIO; 60 const char *buf, size_t nbytes) 65 if (nbytes >= MAX_DRC_NAME_LEN) 68 memcpy(drc_name, buf, nbytes); 72 end = &drc_name[nbytes]; 77 return nbytes; 81 const char *buf, size_t nbytes) 86 if (nbytes > 45 dlpar_attr_store(struct kobject * kobj, struct attribute * attr, const char *buf, size_t nbytes) argument 59 add_slot_store(struct dlpar_io_attr *dlpar_attr, const char *buf, size_t nbytes) argument 80 remove_slot_store(struct dlpar_io_attr *dlpar_attr, const char *buf, size_t nbytes) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/expat-2.0.1/xmlwf/ |
H A D | readfilemap.c | 48 size_t nbytes; local 67 nbytes = sb.st_size; 68 /* malloc will return NULL with nbytes == 0, handle files with size 0 */ 69 if (nbytes == 0) { 75 p = malloc(nbytes); 81 n = read(fd, p, nbytes); 88 if (n != nbytes) { 94 processor(p, nbytes, name, arg);
|
H A D | unixfilemap.c | 26 size_t nbytes; local 46 nbytes = sb.st_size; 48 if (nbytes == 0) { 54 p = (void *)mmap((caddr_t)0, (size_t)nbytes, PROT_READ, 61 processor(p, nbytes, name, arg); 62 munmap((caddr_t)p, nbytes);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | mbswidth.h | 55 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/libgettextpo/ |
H A D | mbswidth.h | 55 extern int mbsnwidth (const char *buf, size_t nbytes, int flags);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/crypto/ |
H A D | scatterwalk.h | 43 unsigned int nbytes) 46 return nbytes > len_this_page ? len_this_page : nbytes; 50 unsigned int nbytes) 52 walk->offset += nbytes; 73 size_t nbytes, int out); 42 scatterwalk_clamp(struct scatter_walk *walk, unsigned int nbytes) argument 49 scatterwalk_advance(struct scatter_walk *walk, unsigned int nbytes) argument
|
H A D | cbc.c | 51 unsigned int nbytes = walk->nbytes; local 63 } while ((nbytes -= bsize) >= bsize); 65 return nbytes; 77 unsigned int nbytes = walk->nbytes; local 87 } while ((nbytes -= bsize) >= bsize); 91 return nbytes; 96 unsigned int nbytes) 105 blkcipher_walk_init(&walk, dst, src, nbytes); 94 crypto_cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 130 unsigned int nbytes = walk->nbytes; local 159 unsigned int nbytes = walk->nbytes; local 183 crypto_cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument [all...] |
H A D | pcbc.c | 55 unsigned int nbytes = walk->nbytes; local 68 } while ((nbytes -= bsize) >= bsize); 70 return nbytes; 82 unsigned int nbytes = walk->nbytes; local 95 } while ((nbytes -= bsize) >= bsize); 99 return nbytes; 104 unsigned int nbytes) 113 blkcipher_walk_init(&walk, dst, src, nbytes); 102 crypto_pcbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 138 unsigned int nbytes = walk->nbytes; local 167 unsigned int nbytes = walk->nbytes; local 187 crypto_pcbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument [all...] |
H A D | scatterwalk.c | 34 static inline void memcpy_dir(void *buf, void *sgdata, size_t nbytes, int out) argument 39 memcpy(dst, src, nbytes); 85 size_t nbytes, int out) 91 if (len_this_page > nbytes) 92 len_this_page = nbytes; 100 if (nbytes == len_this_page) 104 nbytes -= len_this_page; 84 scatterwalk_copychunks(void *buf, struct scatter_walk *walk, size_t nbytes, int out) argument
|
H A D | digest.c | 35 struct scatterlist *sg, unsigned int nbytes) 40 if (!nbytes) 48 if (unlikely(l > nbytes)) 49 l = nbytes; 50 nbytes -= l; 78 if (!nbytes) 87 struct scatterlist *sg, unsigned int nbytes) 91 return update2(desc, sg, nbytes); 129 struct scatterlist *sg, unsigned int nbytes, u8 *out) 135 update2(desc, sg, nbytes); 34 update2(struct hash_desc *desc, struct scatterlist *sg, unsigned int nbytes) argument 86 update(struct hash_desc *desc, struct scatterlist *sg, unsigned int nbytes) argument 128 digest(struct hash_desc *desc, struct scatterlist *sg, unsigned int nbytes, u8 *out) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/db/ |
H A D | db_dup.c | 23 __db_ditem(dbc, pagep, indx, nbytes) 26 u_int32_t indx, nbytes; 40 ldbt.size = nbytes; 43 (u_int32_t)indx, nbytes, &ldbt, NULL, &LSN(pagep))) != 0) 65 memmove(from + nbytes, from, inp[indx] - HOFFSET(pagep)); 66 HOFFSET(pagep) += nbytes; 72 inp[cnt] += nbytes; 91 __db_pitem(dbc, pagep, indx, nbytes, hdr, data) 95 u_int32_t nbytes; 108 if (nbytes > P_FREESPAC [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/shared/ |
H A D | sromstubs.c | 38 srom_read(si_t *sih, uint bus, void *curmap, osl_t *osh, uint byteoff, uint nbytes, uint16 *buf, argument 45 srom_write(si_t *sih, uint bus, void *curmap, osl_t *osh, uint byteoff, uint nbytes, uint16 *buf) argument 56 srom_otp_write_region_crc(si_t *sih, uint nbytes, uint16* buf16, bool write) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/crypto/ |
H A D | geode-aes.c | 221 unsigned int nbytes) 227 blkcipher_walk_init(&walk, dst, src, nbytes); 230 while((nbytes = walk.nbytes)) { 234 op->len = nbytes - (nbytes % AES_MIN_BLOCK_SIZE); 242 nbytes -= ret; 244 err = blkcipher_walk_done(desc, &walk, nbytes); 253 unsigned int nbytes) 259 blkcipher_walk_init(&walk, dst, src, nbytes); 219 geode_cbc_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 251 geode_cbc_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 303 geode_ecb_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 330 geode_ecb_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/s390/crypto/ |
H A D | aes_s390.c | 166 unsigned int nbytes; local 168 while ((nbytes = walk->nbytes)) { 170 unsigned int n = nbytes & ~(AES_BLOCK_SIZE - 1); 177 nbytes &= AES_BLOCK_SIZE - 1; 178 ret = blkcipher_walk_done(desc, walk, nbytes); 186 unsigned int nbytes) 191 blkcipher_walk_init(&walk, dst, src, nbytes); 197 unsigned int nbytes) 202 blkcipher_walk_init(&walk, dst, src, nbytes); 184 ecb_aes_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 195 ecb_aes_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 255 unsigned int nbytes = walk->nbytes; local 279 cbc_aes_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 290 cbc_aes_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument [all...] |
H A D | des_s390.c | 100 unsigned int nbytes; local 102 while ((nbytes = walk->nbytes)) { 104 unsigned int n = nbytes & ~(DES_BLOCK_SIZE - 1); 111 nbytes &= DES_BLOCK_SIZE - 1; 112 ret = blkcipher_walk_done(desc, walk, nbytes); 122 unsigned int nbytes = walk->nbytes; local 124 if (!nbytes) 130 unsigned int n = nbytes 146 ecb_des_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 157 ecb_des_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 189 cbc_des_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 200 cbc_des_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 302 ecb_des3_128_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 313 ecb_des3_128_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 346 cbc_des3_128_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 357 cbc_des3_128_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 464 ecb_des3_192_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 475 ecb_des3_192_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 508 cbc_des3_192_encrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument 519 cbc_des3_192_decrypt(struct blkcipher_desc *desc, struct scatterlist *dst, struct scatterlist *src, unsigned int nbytes) argument [all...] |
H A D | prng.c | 68 static void prng_seed(int nbytes) argument 73 BUG_ON(nbytes > 16); 74 get_random_bytes(buf, nbytes); 77 while (nbytes >= 8) { 81 nbytes -= 8; 86 static ssize_t prng_read(struct file *file, char __user *ubuf, size_t nbytes, argument 93 /* nbytes can be arbitrary long, we spilt it into chunks */ 94 while (nbytes) { 109 chunk = min_t(int, nbytes, prng_chunk_size); 142 nbytes [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/coda/ |
H A D | psdev.c | 99 size_t nbytes, loff_t *off) 120 count = nbytes; 124 if ( nbytes < sizeof(struct coda_out_hdr) ) { 127 count = nbytes; 130 if ( nbytes > size ) { 133 nbytes = size; 135 CODA_ALLOC(dcbuf, union outputArgs *, nbytes); 136 if (copy_from_user(dcbuf, buf, nbytes)) { 137 CODA_FREE(dcbuf, nbytes); 147 CODA_FREE(dcbuf, nbytes); 98 coda_psdev_write(struct file *file, const char __user *buf, size_t nbytes, loff_t *off) argument 210 coda_psdev_read(struct file * file, char __user * buf, size_t nbytes, loff_t *off) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/mon/ |
H A D | mon_stat.c | 42 size_t nbytes, loff_t *ppos) 50 if (nbytes == 0) 52 if ((cnt = sp->slen - pos) > nbytes) 53 cnt = nbytes; 41 mon_stat_read(struct file *file, char __user *buf, size_t nbytes, loff_t *ppos) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/mach-au1x00/ |
H A D | au1xxx_dbdma.h | 348 u32 _au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags); 349 u32 _au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags); 353 u32 au1xxx_dbdma_get_dest(u32 chanid, void **buf, int *nbytes); 372 #define au1xxx_dbdma_put_source(chanid,buf,nbytes)_au1xxx_dbdma_put_source(chanid, buf, nbytes, DDMA_FLAGS_IE) 373 #define au1xxx_dbdma_put_source_flags(chanid,buf,nbytes,flags) _au1xxx_dbdma_put_source(chanid, buf, nbytes, flags) 374 #define put_source_flags(chanid,buf,nbytes,flags) au1xxx_dbdma_put_source_flags(chanid,buf,nbytes,flags) 377 #define au1xxx_dbdma_put_dest(chanid,buf,nbytes) _au1xxx_dbdma_put_des [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-mips/mach-au1x00/ |
H A D | au1xxx_dbdma.h | 348 u32 _au1xxx_dbdma_put_source(u32 chanid, void *buf, int nbytes, u32 flags); 349 u32 _au1xxx_dbdma_put_dest(u32 chanid, void *buf, int nbytes, u32 flags); 353 u32 au1xxx_dbdma_get_dest(u32 chanid, void **buf, int *nbytes); 372 #define au1xxx_dbdma_put_source(chanid,buf,nbytes)_au1xxx_dbdma_put_source(chanid, buf, nbytes, DDMA_FLAGS_IE) 373 #define au1xxx_dbdma_put_source_flags(chanid,buf,nbytes,flags) _au1xxx_dbdma_put_source(chanid, buf, nbytes, flags) 374 #define put_source_flags(chanid,buf,nbytes,flags) au1xxx_dbdma_put_source_flags(chanid,buf,nbytes,flags) 377 #define au1xxx_dbdma_put_dest(chanid,buf,nbytes) _au1xxx_dbdma_put_des [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/alpha/boot/ |
H A D | bootp.c | 148 static long nbytes; local 179 nbytes = callback_getenv(ENV_BOOTED_OSFLAGS, envval, sizeof(envval)); 180 if (nbytes < 0 || nbytes >= sizeof(envval)) { 181 nbytes = 0; 183 envval[nbytes] = '\0';
|