Searched refs:alloc_size (Results 1 - 25 of 26) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavutil/
H A Dmem.h38 #define av_alloc_size(n) __attribute__((alloc_size(n)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/include/libavutil/
H A Dmem.h38 #define av_alloc_size(n) __attribute__((alloc_size(n)))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/smbd/
H A Dfileio.c308 size_t data_used = MIN((wcp->alloc_size - (pos - wcp->offset)), n);
353 (pos + n <= wcp->offset + wcp->alloc_size)) {
412 (pos < wcp->offset + wcp->alloc_size) ) {
437 if(pos + n <= wcp->offset + wcp->alloc_size)
440 data_used = wcp->offset + wcp->alloc_size - pos;
551 if ( n <= wcp->alloc_size && n > wcp->data_size) {
605 if (n > wcp->alloc_size ) {
687 ssize_t alloc_size = lp_write_cache_size(SNUM(fsp->conn)); local
693 if(alloc_size == 0 || fsp->wcp)
703 wcp->alloc_size
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/wireless/
H A Dcore.c44 int alloc_size; local
46 alloc_size = sizeof(*drv) + sizeof_priv;
48 drv = kzalloc(alloc_size, GFP_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/base/
H A Dfirmware_class.c48 int alloc_size; member in struct:firmware_priv
152 fw_priv->alloc_size = 0;
209 int new_size = fw_priv->alloc_size;
211 if (min_size <= fw_priv->alloc_size)
222 fw_priv->alloc_size = new_size;
228 BUG_ON(min_size > fw_priv->alloc_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/cpufreq/
H A Dcpufreq_stats.c191 unsigned int alloc_size; local
217 alloc_size = count * sizeof(int) + count * sizeof(cputime64_t);
220 alloc_size += count * count * sizeof(int);
223 stat->time_in_state = kzalloc(alloc_size, GFP_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/mtd/
H A Dcmdlinepart.c157 int alloc_size; local
160 alloc_size = *num_parts * sizeof(struct mtd_partition) +
162 parts = kzalloc(alloc_size, GFP_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/
H A Dshaper.c547 size_t alloc_size; local
554 alloc_size = sizeof(*dev) * shapers;
555 devs = kmalloc(alloc_size, GFP_KERNEL);
558 memset(devs, 0, alloc_size);
H A Ddefxx.c520 int alloc_size; /* total buffer size used */ local
602 alloc_size = sizeof(PI_DESCR_BLOCK) +
610 dma_free_coherent(bdev, alloc_size,
961 int alloc_size; /* total buffer size needed */ local
1044 alloc_size = sizeof(PI_DESCR_BLOCK) +
1052 bp->kmalloced = top_v = dma_alloc_coherent(bp->bus_dev, alloc_size,
1060 memset(top_v, 0, alloc_size); /* zero out memory before continuing */
3576 int alloc_size; /* total buffer size used */ local
3580 alloc_size = sizeof(PI_DESCR_BLOCK) +
3588 dma_free_coherent(bdev, alloc_size,
[all...]
H A Dspider_net.c346 size_t alloc_size; local
348 alloc_size = chain->num_desc * sizeof(struct spider_net_hw_descr);
350 chain->hwring = dma_alloc_coherent(&card->pdev->dev, alloc_size,
2304 size_t alloc_size; local
2306 alloc_size = sizeof(struct spider_net_card) +
2308 netdev = alloc_etherdev(alloc_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/mm/
H A Dmempolicy.c951 unsigned long nr_bits, alloc_size; local
955 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8;
958 nm = compat_alloc_user_space(alloc_size);
963 err = copy_from_user(bm, nm, alloc_size);
977 unsigned long nr_bits, alloc_size; local
981 alloc_size = ALIGN(nr_bits, BITS_PER_LONG) / 8;
985 nm = compat_alloc_user_space(alloc_size);
986 err |= copy_to_user(nm, bm, alloc_size);
1001 unsigned long nr_bits, alloc_size; local
1005 alloc_size
[all...]
H A Dpage_alloc.c2190 size_t alloc_size; local
2200 alloc_size = zone->wait_table_hash_nr_entries
2205 alloc_bootmem_node(pgdat, alloc_size);
2217 zone->wait_table = (wait_queue_head_t *)vmalloc(alloc_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Drelay.h62 size_t alloc_size; /* total buffer size allocated */ member in struct:rchan
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dfloppyd.c235 Dword alloc_size; member in struct:Packet
266 packet->len = packet->alloc_size = 0;
284 packet->alloc_size = 0;
289 if (l < packet->alloc_size) {
294 packet->len = packet->alloc_size = l;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/wan/
H A Dwanxl.c562 int i, ports, alloc_size; local
597 alloc_size = sizeof(card_t) + ports * sizeof(port_t);
598 card = kmalloc(alloc_size, GFP_KERNEL);
606 memset(card, 0, alloc_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/kernel/
H A Drelay.c90 if (length != (unsigned long)buf->chan->alloc_size)
156 buf->start = relay_alloc_buf(buf, &chan->alloc_size);
550 chan->alloc_size = FIX_SIZE(subbuf_size * n_subbufs);
986 subbuf_pages = buf->chan->alloc_size >> PAGE_SHIFT;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc64/kernel/
H A Dpci_sun4v.c844 unsigned long q_size, alloc_size, pages, order; local
848 alloc_size = (pbm->msiq_num * q_size);
849 order = get_order(alloc_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/iucv/
H A Diucv.c513 size_t alloc_size; local
517 alloc_size = iucv_max_pathid * sizeof(struct iucv_path);
518 iucv_path_table = kzalloc(alloc_size, GFP_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dattrib.c3378 u32 old_size, alloc_size, attr_size; local
3381 alloc_size = le32_to_cpu(m->bytes_allocated);
3385 (unsigned)old_size, (unsigned)alloc_size,
3397 if (new_muse > alloc_size) {
3400 "(%u > %u)\n", new_muse, alloc_size);
3405 new_muse + 120 > alloc_size && old_size + 120 <= alloc_size) {
3408 new_muse, alloc_size);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/char/agp/
H A Dgeneric.c117 unsigned long alloc_size = num_agp_pages*sizeof(struct page *); local
130 agp_alloc_page_array(alloc_size, new);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/atm/
H A Dfore200e.c159 chunk->alloc_size = size + alignment;
163 chunk->alloc_addr = kzalloc(chunk->alloc_size, GFP_KERNEL | GFP_DMA);
444 chunk->alloc_size = size * nbr;
446 chunk->alloc_size,
464 chunk->alloc_size,
691 chunk->alloc_size = chunk->align_size = size * nbr;
695 chunk->alloc_size,
713 chunk->alloc_size,
H A Dfore200e.h569 u32 alloc_size; /* length of allocated chunk */ member in struct:chunk
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/net/tokenring/
H A Dsmctr.c1394 unsigned short alloc_size; local
1405 alloc_size = (bytes_count + 1) & 0xfffe;
1408 if((tp->tx_buff_used[queue] + alloc_size) > tp->tx_buff_size[queue])
1415 if(((unsigned long)(tp->tx_buff_curr[queue]) + alloc_size)
1419 alloc_size = alloc_size +
1423 if((tp->tx_buff_used[queue] + alloc_size)
1433 tp->tx_buff_used[queue] += alloc_size;
1436 tp->tx_fcb_curr[queue]->memory_alloc = alloc_size;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/net/core/
H A Ddev.c3733 int alloc_size; local
3738 alloc_size = (sizeof(*dev) + NETDEV_ALIGN_CONST) & ~NETDEV_ALIGN_CONST;
3739 alloc_size += sizeof_priv + NETDEV_ALIGN_CONST;
3741 p = kzalloc(alloc_size, GFP_KERNEL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dpal.h1024 ia64_pal_copy_pal (u64 target_addr, u64 alloc_size, u64 processor, u64 *pal_proc_offset) argument
1027 PAL_CALL(iprv, PAL_COPY_PAL, target_addr, alloc_size, processor);

Completed in 212 milliseconds

12