/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gettext-tools/gnulib-lib/ |
H A D | vsnprintf.c | 45 vsnprintf (char *str, size_t size, const char *format, va_list args) argument 49 size_t lenbuf = size; 59 if (size) 61 size_t pruned_len = (len < size ? len : size - 1);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/libid3tag-0.15.0b/ |
H A D | debug.c | 46 size_t size; member in struct:debug 67 debug->file, debug->line, debug->size); 71 void *id3_debug_malloc(size_t size, char const *file, unsigned int line) argument 80 if (size == 0) 83 debug = malloc(sizeof(*debug) + size); 85 fprintf(stderr, "%s:%u: malloc(%lu) failed\n", file, line, size); 93 debug->size = size; 106 void *id3_debug_calloc(size_t nmemb, size_t size, argument 111 ptr = id3_debug_malloc(nmemb * size, fil 118 id3_debug_realloc(void *ptr, size_t size, char const *file, unsigned int line) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/packages/libid3tag-0.15.0b/ |
H A D | debug.c | 46 size_t size; member in struct:debug 67 debug->file, debug->line, debug->size); 71 void *id3_debug_malloc(size_t size, char const *file, unsigned int line) argument 80 if (size == 0) 83 debug = malloc(sizeof(*debug) + size); 85 fprintf(stderr, "%s:%u: malloc(%lu) failed\n", file, line, size); 93 debug->size = size; 106 void *id3_debug_calloc(size_t nmemb, size_t size, argument 111 ptr = id3_debug_malloc(nmemb * size, fil 118 id3_debug_realloc(void *ptr, size_t size, char const *file, unsigned int line) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/router/udev/extras/volume_id/lib/ |
H A D | nvidia_raid.c | 31 uint32_t size; member in struct:nvidia_meta 38 int volume_id_probe_nvidia_raid(struct volume_id *id, uint64_t off, uint64_t size) argument 44 info("probing at offset 0x%llx, size 0x%llx", 45 (unsigned long long) off, (unsigned long long) size); 47 if (size < 0x10000) 50 meta_off = ((size / 0x200)-2) * 0x200;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/i386/lib/ |
H A D | usercopy.c | 122 #define __do_clear_user(addr,size) \ 140 : "=&c"(size), "=&D" (__d0) \ 141 : "r"(size & 3), "0"(size / 4), "1"(addr), "a"(0)); \ 184 * strnlen_user: - Get the size of a string in user space. 188 * Get the size of a NUL-terminated string in user space. 190 * Returns the size of the string INCLUDING the terminating NUL. 229 __copy_user_intel(void __user *to, const void *from, unsigned long size) argument 329 : "=&c"(size), "=&D" (d0), "=&S" (d1) 330 : "1"(to), "2"(from), "0"(size) 336 __copy_user_zeroing_intel(void *to, const void __user *from, unsigned long size) argument 435 __copy_user_zeroing_intel_nocache(void *to, const void __user *from, unsigned long size) argument 532 __copy_user_intel_nocache(void *to, const void __user *from, unsigned long size) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/rapidio/ |
H A D | rio-sysfs.c | 74 unsigned int size = 0x100; local 80 size = 0x200000; 82 if (off > size) 84 if (off + count > size) { 85 size -= off; 86 count = size; 88 size = count; 91 if ((off & 1) && size) { 96 size--; 99 if ((off & 3) && size > 144 unsigned int size = count; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sh/mm/ |
H A D | ioremap.c | 36 void __iomem *__ioremap(unsigned long phys_addr, unsigned long size, argument 43 /* Don't allow wraparound or zero size */ 44 last_addr = phys_addr + size - 1; 45 if (!size || last_addr < phys_addr) 73 size = PAGE_ALIGN(last_addr+1) - phys_addr; 78 area = get_vm_area(size, VM_IOREMAP); 87 * established. Smaller allocations (or the rest of the size 88 * remaining after a PMB mapping due to the size not being 89 * perfectly aligned on a PMB size boundary) are then mapped 94 if (unlikely(size > [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/mm/ |
H A D | ioremap.c | 25 ioremap (unsigned long phys_addr, unsigned long size) argument 40 attr = kern_mem_attribute(phys_addr, size); 51 gran_size = GRANULEROUNDUP(phys_addr + size) - gran_base; 62 size = PAGE_ALIGN(phys_addr + size) - page_base; 63 if (efi_mem_attribute(page_base, size) & EFI_MEMORY_WB) { 75 area = get_vm_area(size, VM_IOREMAP); 82 (unsigned long) addr + size, phys_addr, prot)) { 95 ioremap_nocache (unsigned long phys_addr, unsigned long size) argument 97 if (kern_mem_attribute(phys_addr, size) [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/m68knommu/platform/5272/ |
H A D | config.c | 104 void config_BSP(char *commandp, int size) argument 117 strncpy(commandp, CONFIG_BOOTPARAM_STRING, size); 118 commandp[size-1] = 0; 121 memcpy(commandp, (char *) 0xf0004000, size); 122 commandp[size-1] = 0; 125 memcpy(commandp, (char *) 0xffe06000, size); 126 commandp[size-1] = 0; 129 memcpy(commandp, (char *) 0xf0010000, size); 130 commandp[size-1] = 0; 132 memset(commandp, 0, size); [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/mips-boards/sim/ |
H A D | sim_mem.c | 49 pr_info("Setting default memory size 0x%08x\n", memsize); 55 mdesc[0].size = 0x00001000; 59 mdesc[1].size = 0x000ff000; 63 mdesc[2].size = CPHYSADDR(PFN_ALIGN(&_end)) - mdesc[2].base; 67 mdesc[3].size = memsize - mdesc[3].base; 89 while (p->size) { 91 unsigned long base, size; local 95 size = p->size; 97 add_memory_region(base, size, typ [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-i386/ |
H A D | mtrr.h | 34 unsigned int size; /* Size of region */ member in struct:mtrr_sentry 42 unsigned int size; /* Size of region */ member in struct:mtrr_gentry 74 extern int mtrr_add (unsigned long base, unsigned long size, 76 extern int mtrr_add_page (unsigned long base, unsigned long size, 78 extern int mtrr_del (int reg, unsigned long base, unsigned long size); 79 extern int mtrr_del_page (int reg, unsigned long base, unsigned long size); 86 static __inline__ int mtrr_add (unsigned long base, unsigned long size, argument 91 static __inline__ int mtrr_add_page (unsigned long base, unsigned long size, argument 97 unsigned long size) 102 unsigned long size) 96 mtrr_del(int reg, unsigned long base, unsigned long size) argument 101 mtrr_del_page(int reg, unsigned long base, unsigned long size) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/blackfin/mm/ |
H A D | blackfin_sram.c | 64 int size; member in struct:l1_sram_piece 91 l1_ssram[0].size = L1_SCRATCH_LENGTH; 104 l1_data_A_sram[0].size = L1_DATA_A_LENGTH - (_ebss_l1 - _sdata_l1); 108 L1_DATA_A_LENGTH >> 10, l1_data_A_sram[0].size >> 10); 114 l1_data_B_sram[0].size = L1_DATA_B_LENGTH - (_ebss_b_l1 - _sdata_b_l1); 118 L1_DATA_B_LENGTH >> 10, l1_data_B_sram[0].size >> 10); 130 l1_inst_sram[0].size = L1_CODE_LENGTH - (_etext_l1 - _stext_l1); 134 L1_CODE_LENGTH >> 10, l1_inst_sram[0].size >> 10); 142 static void *_l1_sram_alloc(size_t size, struct l1_sram_piece *pfree, int count) argument 147 if (size < 282 l1_data_A_sram_alloc(size_t size) argument 326 l1_data_B_sram_alloc(size_t size) argument 371 l1_data_sram_alloc(size_t size) argument 382 l1_data_sram_zalloc(size_t size) argument 403 l1_inst_sram_alloc(size_t size) argument 449 l1sram_alloc(size_t size) argument 518 sram_alloc_with_lsl(size_t size, unsigned long flags) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/ |
H A D | uaccess.h | 52 static inline int __access_ok(const void __user * addr, unsigned long size) argument 57 static inline int access_ok(int type, const void __user * addr, unsigned long size) argument 83 * They automatically use the right size if we just have the right 107 #define __put_user_nocheck(data,addr,size) ({ \ 109 switch (size) { \ 117 #define __put_user_asm(x,size,addr,ret) \ 120 "1:\t" "st"#size "a %1, [%2] %%asi\n\t" \ 138 #define __get_user_nocheck(data,addr,size,type) ({ \ 141 switch (size) { \ 149 #define __get_user_nocheck_ret(data,addr,size,typ 213 copy_from_user(void *to, const void __user *from, unsigned long size) argument 229 copy_to_user(void __user *to, const void *from, unsigned long size) argument 245 copy_in_user(void __user *to, void __user *from, unsigned long size) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-xtensa/ |
H A D | uaccess.h | 70 * kernel_ok determines whether we should bypass addr/size checking. 111 * <as> register containing memory size 118 * <at> destroyed (actually, (TASK_SIZE + 1 - size)) 140 * <as> register containing memory size 180 #define __user_ok(addr,size) (((size) <= TASK_SIZE)&&((addr) <= TASK_SIZE-(size))) 181 #define __access_ok(addr,size) (__kernel_ok || __user_ok((addr),(size))) 182 #define access_ok(type,addr,size) __access_o [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/avahi-0.6.25/avahi-compat-libdns_sd/ |
H A D | txt.c | 38 size_t size, max_size; member in struct:TXTRecordInternal 64 t->size = 0; 91 static int make_sure_fits_in(TXTRecordInternal *t, size_t size) { argument 97 if (t->size + size <= t->max_size) 100 nsize = t->size + size + 100; 108 if (!t->malloc_buffer && t->size) 109 memcpy(n, t->buffer, t->size); 129 while (i < t->size) { 262 find_key(const uint8_t *buffer, size_t size, const char *key) argument 301 TXTRecordContainsKey( uint16_t size, const void *buffer, const char *key) argument 321 TXTRecordGetValuePtr( uint16_t size, const void *buffer, const char *key, uint8_t *value_len) argument 372 TXTRecordGetCount( uint16_t size, const void *buffer) argument 408 TXTRecordGetItemAtIndex( uint16_t size, const void *buffer, uint16_t idx, uint16_t key_len, char *key, uint8_t *value_len, const void **value) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/lib/ |
H A D | rheap.c | 136 blk->size = 0; 154 int size; local 159 size = blkn->size; 161 e = s + size; 173 be = bs + blk->size; 190 if (before && s != (before->start + before->size)) 212 before->size += size; 218 after->start -= size; 323 rh_attach_region(rh_info_t * info, unsigned long start, int size) argument 363 rh_detach_region(rh_info_t * info, unsigned long start, int size) argument 434 rh_alloc_align(rh_info_t * info, int size, int alignment, const char *owner) argument 508 rh_alloc(rh_info_t * info, int size, const char *owner) argument 517 rh_alloc_fixed(rh_info_t * info, unsigned long start, int size, const char *owner) argument 604 int size; local 669 int size; local [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/arm/mm/ |
H A D | proc-arm7tdmi.S | 56 .size __arm7tdmi_setup, . - __arm7tdmi_setup 74 .size arm7tdmi_processor_functions, . - arm7tdmi_processor_functions 81 .size cpu_arch_name, . - cpu_arch_name 86 .size cpu_elf_name, . - cpu_elf_name 91 .size cpu_arm7tdmi_name, . - cpu_arm7tdmi_name 96 .size cpu_triscenda7_name, . - cpu_triscenda7_name 101 .size cpu_at91_name, . - cpu_at91_name 106 .size cpu_s3c3410_name, . - cpu_s3c3410_name 111 .size cpu_s3c44b0x_name, . - cpu_s3c44b0x_name 116 .size cpu_s3c4510b_nam [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/hp/common/ |
H A D | hwsw_iommu.c | 20 extern int swiotlb_late_init_with_default_size (size_t size); 83 hwsw_alloc_coherent (struct device *dev, size_t size, dma_addr_t *dma_handle, gfp_t flags) argument 86 return swiotlb_alloc_coherent(dev, size, dma_handle, flags); 88 return hwiommu_alloc_coherent(dev, size, dma_handle, flags); 92 hwsw_free_coherent (struct device *dev, size_t size, void *vaddr, dma_addr_t dma_handle) argument 95 swiotlb_free_coherent(dev, size, vaddr, dma_handle); 97 hwiommu_free_coherent(dev, size, vaddr, dma_handle); 101 hwsw_map_single (struct device *dev, void *addr, size_t size, int dir) argument 104 return swiotlb_map_single(dev, addr, size, dir); 106 return hwiommu_map_single(dev, addr, size, di 110 hwsw_unmap_single(struct device *dev, dma_addr_t iova, size_t size, int dir) argument 138 hwsw_sync_single_for_cpu(struct device *dev, dma_addr_t addr, size_t size, int dir) argument 156 hwsw_sync_single_for_device(struct device *dev, dma_addr_t addr, size_t size, int dir) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/sound/isa/gus/ |
H A D | gus_mem_proc.c | 31 unsigned int size; member in struct:gus_proc_private 39 long size; local 44 size = count; 45 if (pos + size > priv->size) 46 size = (long)priv->size - pos; 47 if (size > 0) { 48 if ((err = snd_gus_dram_read(gus, buf, pos, size, priv->rom)) < 0) 50 return size; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gettext-0.17/gnulib-local/lib/libxml/ |
H A D | xmlmemory.in.h | 60 * @size: the size requested in bytes 66 typedef void *(XMLCALL *xmlMallocFunc)(size_t size); 71 * @size: the new size requested in bytes 77 typedef void *(XMLCALL *xmlReallocFunc)(void *mem, size_t size); 151 xmlMemMalloc (size_t size); 153 xmlMemRealloc (void *ptr,size_t size); 159 xmlMallocLoc (size_t size, const char *file, int line); 161 xmlReallocLoc (void *ptr, size_t size, cons [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavformat/ |
H A D | avc.c | 63 int ff_avc_parse_nal_units(ByteIOContext *pb, const uint8_t *buf_in, int size) argument 66 const uint8_t *end = p + size; 69 size = 0; 76 size += 4 + nal_end - nal_start; 79 return size; 82 int ff_avc_parse_nal_units_buf(const uint8_t *buf_in, uint8_t **buf, int *size) argument 89 ff_avc_parse_nal_units(pb, buf_in, *size); 92 *size = url_close_dyn_buf(pb, buf); 114 unsigned int size; local 116 size [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/drm/ |
H A D | drm_pci.c | 50 drm_dma_handle_t *drm_pci_alloc(drm_device_t * dev, size_t size, size_t align, argument 69 * PAGE_SIZE order which is greater than or equal to the requested size. 72 if (align > size) 84 dmah->size = size; 85 dmah->vaddr = dma_alloc_coherent(&dev->pdev->dev, size, &dmah->busaddr, GFP_KERNEL | __GFP_COMP); 98 drm_mem_stats[area].bytes_allocated += size; 99 drm_ram_used += size; 108 memset(dmah->vaddr, 0, size); 111 for (addr = (unsigned long)dmah->vaddr, sz = size; [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm/ |
H A D | dma-mapping.h | 7 void *dma_alloc_noncoherent(struct device *dev, size_t size, 10 void dma_free_noncoherent(struct device *dev, size_t size, 13 void *dma_alloc_coherent(struct device *dev, size_t size, 16 void dma_free_coherent(struct device *dev, size_t size, 19 extern dma_addr_t dma_map_single(struct device *dev, void *ptr, size_t size, 22 size_t size, enum dma_data_direction direction); 26 unsigned long offset, size_t size, enum dma_data_direction direction); 28 size_t size, enum dma_data_direction direction); 32 size_t size, enum dma_data_direction direction); 34 dma_addr_t dma_handle, size_t size, enu [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libxml2-2.7.2/include/libxml/ |
H A D | xmlmemory.h | 60 * @size: the size requested in bytes 66 typedef void *(XMLCALL *xmlMallocFunc)(size_t size); 71 * @size: the new size requested in bytes 77 typedef void *(XMLCALL *xmlReallocFunc)(void *mem, size_t size); 153 xmlMemMalloc (size_t size); 155 xmlMemRealloc (void *ptr,size_t size); 161 xmlMallocLoc (size_t size, const char *file, int line); 163 xmlReallocLoc (void *ptr, size_t size, cons [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/hfs/ |
H A D | attr.c | 17 const void *value, size_t size, int flags) 40 if (size == 4) 45 if (size == 4) 60 void *value, size_t size) 71 if (size) { 85 if (size >= 4) { 89 res = size ? -ERANGE : 4; 91 if (size >= 4) { 95 res = size ? -ERANGE : 4; 99 if (size) 16 hfs_setxattr(struct dentry *dentry, const char *name, const void *value, size_t size, int flags) argument 59 hfs_getxattr(struct dentry *dentry, const char *name, void *value, size_t size) argument 106 hfs_listxattr(struct dentry *dentry, char *buffer, size_t size) argument [all...] |