/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/um/include/shared/ |
H A D | um_uaccess.h | 13 #define __under_task_size(addr, size) \ 15 (((unsigned long) (addr) + (size)) < TASK_SIZE)) 17 #define __access_ok_vsyscall(type, addr, size) \ 20 ((unsigned long) (addr) + (size) <= FIXADDR_USER_END) && \ 21 ((unsigned long) (addr) + (size) >= (unsigned long)(addr))) 23 #define __addr_range_nowrap(addr, size) \ 24 ((unsigned long) (addr) <= ((unsigned long) (addr) + (size))) 26 #define access_ok(type, addr, size) \ 27 (__addr_range_nowrap(addr, size) && \ 28 (__under_task_size(addr, size) || \ [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/vmwgfx/ |
H A D | svga_overlay.h | 124 * Computes the size, pitches and offsets for YUV frames. 140 uint32 *size, // OUT 155 *size = (*width + 3) & ~3; 158 pitches[0] = *size; 161 *size *= *height; 164 offsets[1] = *size; 174 *size += tmp; 177 offsets[2] = *size; 180 *size += tmp; 185 *size 137 VMwareVideoGetAttributes(const SVGAOverlayFormat format, uint32 *width, uint32 *height, uint32 *size, uint32 *pitches, uint32 *offsets) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/m68knommu/kernel/ |
H A D | dma.c | 15 void *dma_alloc_coherent(struct device *dev, size_t size, argument 24 ret = (void *)__get_free_pages(gfp, get_order(size)); 27 memset(ret, 0, size); 33 void dma_free_coherent(struct device *dev, size_t size, argument 36 free_pages((unsigned long)vaddr, get_order(size)); 40 size_t size, enum dma_data_direction dir) 44 flush_dcache_range(handle, size); 57 dma_addr_t dma_map_single(struct device *dev, void *addr, size_t size, argument 61 flush_dcache_range(handle, size); 67 unsigned long offset, size_t size, 39 dma_sync_single_for_device(struct device *dev, dma_addr_t handle, size_t size, enum dma_data_direction dir) argument 66 dma_map_page(struct device *dev, struct page *page, unsigned long offset, size_t size, enum dma_data_direction dir) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/asihpi/ |
H A D | hpios.c | 48 On error, return -ENOMEM, and *pMemArea.size = 0 50 u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_mem_area, u32 size, argument 55 dma_alloc_coherent(&pdev->dev, size, &p_mem_area->dma_handle, 60 size, (unsigned int)p_mem_area->dma_handle, 63 p_mem_area->size = size; 67 "failed to allocate %d bytes locked memory\n", size); 68 p_mem_area->size = 0; 75 if (p_mem_area->size) { 76 dma_free_coherent(p_mem_area->pdev, p_mem_area->size, [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/install/udev/usr/include/ |
H A D | libvolume_id.h | 22 typedef int (*volume_id_probe_fn_t)(struct volume_id *id, uint64_t off, uint64_t size); 24 struct volume_id *id, uint64_t off, uint64_t size, 29 extern int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size); 30 extern int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size); 31 extern int volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size); 34 struct volume_id *id, uint64_t off, uint64_t size, 90 extern int volume_id_probe_cramfs(struct volume_id *id, uint64_t off, uint64_t size); 91 extern int volume_id_probe_ext(struct volume_id *id, uint64_t off, uint64_t size); 92 extern int volume_id_probe_vfat(struct volume_id *id, uint64_t off, uint64_t size); 93 extern int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t size); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/arm-uclibc/target/usr/include/ |
H A D | libvolume_id.h | 22 typedef int (*volume_id_probe_fn_t)(struct volume_id *id, uint64_t off, uint64_t size); 24 struct volume_id *id, uint64_t off, uint64_t size, 29 extern int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size); 30 extern int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size); 31 extern int volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size); 34 struct volume_id *id, uint64_t off, uint64_t size, 90 extern int volume_id_probe_cramfs(struct volume_id *id, uint64_t off, uint64_t size); 91 extern int volume_id_probe_ext(struct volume_id *id, uint64_t off, uint64_t size); 92 extern int volume_id_probe_vfat(struct volume_id *id, uint64_t off, uint64_t size); 93 extern int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t size); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/extras/volume_id/lib/ |
H A D | libvolume_id.h | 22 typedef int (*volume_id_probe_fn_t)(struct volume_id *id, uint64_t off, uint64_t size); 24 struct volume_id *id, uint64_t off, uint64_t size, 29 extern int volume_id_probe_filesystem(struct volume_id *id, uint64_t off, uint64_t size); 30 extern int volume_id_probe_raid(struct volume_id *id, uint64_t off, uint64_t size); 31 extern int volume_id_probe_all(struct volume_id *id, uint64_t off, uint64_t size); 34 struct volume_id *id, uint64_t off, uint64_t size, 90 extern int volume_id_probe_cramfs(struct volume_id *id, uint64_t off, uint64_t size); 91 extern int volume_id_probe_ext(struct volume_id *id, uint64_t off, uint64_t size); 92 extern int volume_id_probe_vfat(struct volume_id *id, uint64_t off, uint64_t size); 93 extern int volume_id_probe_hfs_hfsplus(struct volume_id *id, uint64_t off, uint64_t size); [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libgcrypt-1.5.0/mpi/ |
H A D | mpih-mul.c | 36 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ 38 if( (size) < KARATSUBA_THRESHOLD ) \ 39 mul_n_basecase (prodp, up, vp, size); \ 41 mul_n (prodp, up, vp, size, tspace); \ 44 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ 46 if ((size) < KARATSUBA_THRESHOLD) \ 47 _gcry_mpih_sqr_n_basecase (prodp, up, size); \ 49 _gcry_mpih_sqr_n (prodp, up, size, tspace); \ 74 mpi_ptr_t vp, mpi_size_t size) 85 MPN_COPY( prodp, up, size ); 73 mul_n_basecase( mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) argument 117 mul_n( mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size, mpi_ptr_t tspace ) argument 267 _gcry_mpih_sqr_n( mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) argument 346 _gcry_mpih_mul_n( mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/libgcrypt-1.5.0/mpi/ |
H A D | mpih-mul.c | 36 #define MPN_MUL_N_RECURSE(prodp, up, vp, size, tspace) \ 38 if( (size) < KARATSUBA_THRESHOLD ) \ 39 mul_n_basecase (prodp, up, vp, size); \ 41 mul_n (prodp, up, vp, size, tspace); \ 44 #define MPN_SQR_N_RECURSE(prodp, up, size, tspace) \ 46 if ((size) < KARATSUBA_THRESHOLD) \ 47 _gcry_mpih_sqr_n_basecase (prodp, up, size); \ 49 _gcry_mpih_sqr_n (prodp, up, size, tspace); \ 74 mpi_ptr_t vp, mpi_size_t size) 85 MPN_COPY( prodp, up, size ); 73 mul_n_basecase( mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) argument 117 mul_n( mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size, mpi_ptr_t tspace ) argument 267 _gcry_mpih_sqr_n( mpi_ptr_t prodp, mpi_ptr_t up, mpi_size_t size, mpi_ptr_t tspace) argument 346 _gcry_mpih_mul_n( mpi_ptr_t prodp, mpi_ptr_t up, mpi_ptr_t vp, mpi_size_t size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavutil/ |
H A D | buffer.h | 78 * The size of this struct is not a part of the public ABI and it is not meant 93 int size; member in struct:AVBufferRef 97 * Allocate an AVBuffer of the given size using av_malloc(). 99 * @return an AVBufferRef of given size or NULL when out of memory 101 AVBufferRef *av_buffer_alloc(int size); 107 AVBufferRef *av_buffer_allocz(int size); 123 * @param size size of data in bytes 130 AVBufferRef *av_buffer_create(uint8_t *data, int size, 187 * unreferenced and a new reference with the required size wil [all...] |
H A D | mem.c | 54 void *malloc(size_t size); 55 void *memalign(size_t align, size_t size); 56 int posix_memalign(void **ptr, size_t align, size_t size); 57 void *realloc(void *ptr, size_t size); 75 void *av_malloc(size_t size) argument 83 if (size > (max_alloc_size - 32)) 87 ptr = malloc(size + ALIGN); 94 if (size) //OS X on SDK 10.6 has a broken posix_memalign implementation 95 if (posix_memalign(&ptr, ALIGN, size)) 98 ptr = _aligned_malloc(size, ALIG 143 av_realloc(void *ptr, size_t size) argument 172 size_t size; local 185 av_reallocp(void *ptr, size_t size) argument 205 av_realloc_array(void *ptr, size_t nmemb, size_t size) argument 212 av_reallocp_array(void *ptr, size_t nmemb, size_t size) argument 243 av_mallocz(size_t size) argument 251 av_calloc(size_t nmemb, size_t size) argument 270 av_memdup(const void *p, size_t size) argument 449 av_fast_realloc(void *ptr, unsigned int *size, size_t min_size) argument 468 ff_fast_malloc(void *ptr, unsigned int *size, size_t min_size, int zero_realloc) argument 482 av_fast_malloc(void *ptr, unsigned int *size, size_t min_size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/conntrack-tools/conntrack-tools-1.4.0/src/ |
H A D | traffic_stats.c | 37 int size; local 42 size = sprintf(buf, "traffic processed:\n"); 43 size += sprintf(buf+size, "%20llu Bytes ", (unsigned long long)bytes); 44 size += sprintf(buf+size, "%20llu Pckts\n\n", (unsigned long long)packets); 46 send(fd, buf, size, 0);
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/linux/ |
H A D | slob_def.h | 22 void *__kmalloc_node(size_t size, gfp_t flags, int node); 24 static __always_inline void *kmalloc_node(size_t size, gfp_t flags, int node) argument 26 return __kmalloc_node(size, flags, node); 31 * @size: how many bytes of memory are required. 37 static __always_inline void *kmalloc(size_t size, gfp_t flags) argument 39 return __kmalloc_node(size, flags, -1); 42 static __always_inline void *__kmalloc(size_t size, gfp_t flags) argument 44 return kmalloc(size, flags);
|
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavcodec/ |
H A D | avpacket.c | 39 pkt->size = 0; 69 static int packet_alloc(AVBufferRef **buf, int size) argument 72 if ((unsigned)size >= (unsigned)size + FF_INPUT_BUFFER_PADDING_SIZE) 75 ret = av_buffer_realloc(buf, size + FF_INPUT_BUFFER_PADDING_SIZE); 79 memset((*buf)->data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE); 84 int av_new_packet(AVPacket *pkt, int size) argument 87 int ret = packet_alloc(&buf, size); 94 pkt->size = size; 104 av_shrink_packet(AVPacket *pkt, int size) argument 145 av_packet_from_data(AVPacket *pkt, uint8_t *data, int size) argument 300 av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int size) argument 325 av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int *size) argument 347 uint64_t size= pkt->size + 8LL + FF_INPUT_BUFFER_PADDING_SIZE; local 385 unsigned int size; local 424 av_packet_pack_dictionary(AVDictionary *dict, int *size) argument 459 av_packet_unpack_dictionary(const uint8_t *data, int size, AVDictionary **dict) argument 484 av_packet_shrink_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int size) argument 514 int size = src->side_data[i].size; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/src/router/udev/ |
H A D | udev_sysdeps.c | 31 size_t strlcpy(char *dst, const char *src, size_t size) argument 39 if (bytes+1 < size) 44 /* If size == 0 there is no space for a final null... */ 45 if (size) 50 size_t strlcat(char *dst, const char *src, size_t size) argument 57 while (bytes < size && *q) { 61 if (bytes == size) 65 if (bytes+1 < size)
|
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/mm/ |
H A D | memblock.c | 34 unsigned long long base, size; local 41 size = region->region[i].size; 44 name, i, base, base + size - 1, size); 55 pr_info(" memory.size = 0x%llx\n", (unsigned long long)memblock.memory.size); 81 u64 size1 = rgn->region[r1].size; 83 u64 size2 = rgn->region[r2].size; 94 rgn->region[i].size 132 memblock_add_region(struct memblock_region *rgn, u64 base, u64 size) argument 196 memblock_add(u64 base, u64 size) argument 208 __memblock_remove(struct memblock_region *rgn, u64 base, u64 size) argument 256 memblock_remove(u64 base, u64 size) argument 261 memblock_free(u64 base, u64 size) argument 266 memblock_reserve(u64 base, u64 size) argument 275 memblock_overlaps_region(struct memblock_region *rgn, u64 base, u64 size) argument 289 memblock_align_down(u64 addr, u64 size) argument 294 memblock_align_up(u64 addr, u64 size) argument 299 memblock_alloc_nid_unreserved(u64 start, u64 end, u64 size, u64 align) argument 323 memblock_alloc_nid_region(struct memblock_property *mp, u64 (*nid_range)(u64, u64, int *), u64 size, u64 align, int nid) argument 350 memblock_alloc_nid(u64 size, u64 align, int nid, u64 (*nid_range)(u64 start, u64 end, int *nid)) argument 371 memblock_alloc(u64 size, u64 align) argument 376 memblock_alloc_base(u64 size, u64 align, u64 max_addr) argument 389 __memblock_alloc_base(u64 size, u64 align, u64 max_addr) argument 505 memblock_is_region_reserved(u64 base, u64 size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/asm-generic/ |
H A D | ioctl.h | 5 * size of the parameter structure in the lower 14 bits of the 7 * Encoding the size of the parameter structure in the ioctl request 11 * NOTE: This limits the max parameter size to 16kB -1 ! 65 #define _IOC(dir,type,nr,size) \ 69 ((size) << _IOC_SIZESHIFT)) 72 /* provoke compile error for invalid uses of size argument */ 84 #define _IOR(type,nr,size) _IOC(_IOC_READ,(type),(nr),(_IOC_TYPECHECK(size))) 85 #define _IOW(type,nr,size) _IOC(_IOC_WRITE,(type),(nr),(_IOC_TYPECHECK(size))) [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/staging/octeon/ |
H A D | ethernet-mem.c | 40 * @size: Size of the buffer needed for the pool 45 static int cvm_oct_fill_hw_skbuff(int pool, int size, int elements) argument 50 struct sk_buff *skb = dev_alloc_skb(size + 256); 60 cvmx_fpa_free(skb->data, pool, DONT_WRITEBACK(size / 128)); 69 * @size: Size of the buffer needed for the pool 72 static void cvm_oct_free_hw_skbuff(int pool, int size, int elements) argument 97 * @size: Size of each buffer in the pool 102 static int cvm_oct_fill_hw_memory(int pool, int size, int elements) argument 119 memory = kmalloc(size + 256, GFP_ATOMIC); 122 elements * size, poo 139 cvm_oct_free_hw_memory(int pool, int size, int elements) argument 161 cvm_oct_mem_fill_fpa(int pool, int size, int elements) argument 171 cvm_oct_mem_empty_fpa(int pool, int size, int elements) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/netatalk-2.2.5/libatalk/unicode/charsets/ |
H A D | mac_chinese_trad.c | 46 static size_t mac_chinese_trad_char_push(u_int8_t* out, const ucs2_t* in, size_t* size) argument 51 if (wc == 0x5c && *size >= 2 && in[1] == 0xf87f) { 52 *size = 2; 55 *size = 1; 60 *size = 1; 62 } else if (*size >= 2 && (in[1] & ~15) == 0xf870) { 67 *size = 2; 69 *size = 1; 72 *size = 1; 85 static size_t mac_chinese_trad_char_pull(ucs2_t* out, const u_int8_t* in, size_t* size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/net/sctp/ |
H A D | ssnmap.c | 49 /* Storage size needed for map includes 2 headers and then the 65 int size; local 67 size = sctp_ssnmap_size(in, out); 68 if (size <= MAX_KMALLOC_SIZE) 69 retval = kmalloc(size, gfp); 72 __get_free_pages(gfp, get_order(size)); 85 if (size <= MAX_KMALLOC_SIZE) 88 free_pages((unsigned long)retval, get_order(size)); 114 size_t size; local 116 size 124 int size; local [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/isa/gus/ |
H A D | gus_dram.c | 29 unsigned int address, unsigned int size) 35 while (size > 0) { 36 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; 52 size -= size1; 60 unsigned int address, unsigned int size) 62 return snd_gus_dram_poke(gus, buffer, address, size); 66 unsigned int address, unsigned int size, 73 while (size > 0) { 74 size1 = size > sizeo 28 snd_gus_dram_poke(struct snd_gus_card *gus, char __user *_buffer, unsigned int address, unsigned int size) argument 59 snd_gus_dram_write(struct snd_gus_card *gus, char __user *buffer, unsigned int address, unsigned int size) argument 65 snd_gus_dram_peek(struct snd_gus_card *gus, char __user *_buffer, unsigned int address, unsigned int size, int rom) argument 97 snd_gus_dram_read(struct snd_gus_card *gus, char __user *buffer, unsigned int address, unsigned int size, int rom) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/timemachine/db-4.7.25.NC/btree/ |
H A D | bt_compare.c | 83 * routine had better not be looking at fields other than data, size 97 pg_dbt.size = bk->len; 131 pg_dbt.size = bi->len; 175 len = a->size > b->size ? b->size : a->size; 179 return ((long)a->size - (long)b->size); 199 len = a->size > [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavformat/ |
H A D | url.c | 36 int ff_url_join(char *str, int size, const char *proto, argument 46 av_strlcatf(str, size, "%s://", proto); 48 av_strlcatf(str, size, "%s@", authorization); 55 av_strlcat(str, "[", size); 56 av_strlcat(str, hostname, size); 57 av_strlcat(str, "]", size); 59 av_strlcat(str, hostname, size); 65 av_strlcat(str, hostname, size); 68 av_strlcatf(str, size, ":%d", port); 74 vsnprintf(str + len, size > le 80 ff_make_absolute_url(char *buf, int size, const char *base, const char *rel) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/boot/ |
H A D | simple_alloc.c | 24 unsigned long size; member in struct:alloc_info 33 * First time an entry is used, its base and size are set. 34 * An entry can be freed and re-malloc'd but its base & size don't change. 37 static void *simple_malloc(unsigned long size) argument 42 if (size == 0) 45 size = _ALIGN_UP(size, alloc_min); 49 if (size <= space_left) { 51 p->size = size; 97 simple_realloc(void *ptr, unsigned long size) argument [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavcodec/ |
H A D | avpacket.c | 28 pkt->data = NULL; pkt->size = 0; 38 pkt->data = NULL; pkt->size = 0; 60 int av_new_packet(AVPacket *pkt, int size) argument 63 if((unsigned)size < (unsigned)size + FF_INPUT_BUFFER_PADDING_SIZE) 64 data = av_malloc(size + FF_INPUT_BUFFER_PADDING_SIZE); 66 memset(data + size, 0, FF_INPUT_BUFFER_PADDING_SIZE); 68 size=0; 72 pkt->size = size; 79 av_shrink_packet(AVPacket *pkt, int size) argument 161 av_packet_new_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int size) argument 185 av_packet_get_side_data(AVPacket *pkt, enum AVPacketSideDataType type, int *size) argument [all...] |