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

/asus-wl-520gu-7.0.1.45/src/router/rp-l2tp/handlers/
H A Ddstring.c32 if (len >= str->alloc_size * GROW_FACTOR) {
35 newlen = str->alloc_size * GROW_FACTOR;
40 str->alloc_size = 0;
45 str->alloc_size = newlen;
64 str->alloc_size = INITIAL_SIZE;
86 str->alloc_size = 0;
123 if (len + str->actual_size >= str->alloc_size) {
H A Ddstring.h17 size_t alloc_size; member in struct:__anon12264
/asus-wl-520gu-7.0.1.45/src/router/samba/source/smbd/
H A Dfileio.c300 size_t data_used = MIN((wcp->alloc_size - (pos - wcp->offset)), n);
345 (pos + n <= wcp->offset + wcp->alloc_size)) {
404 (pos < wcp->offset + wcp->alloc_size) ) {
429 if(pos + n <= wcp->offset + wcp->alloc_size)
432 data_used = wcp->offset + wcp->alloc_size - pos;
543 if ( n <= wcp->alloc_size && n > wcp->data_size) {
597 if (n > wcp->alloc_size ) {
679 ssize_t alloc_size = lp_write_cache_size(SNUM(fsp->conn)); local
685 if(alloc_size == 0 || fsp->wcp)
695 wcp->alloc_size
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/
H A Dnet_init.c78 int alloc_size; local
81 alloc_size = sizeof (*dev) + sizeof_priv + 31;
83 dev = (struct net_device *) kmalloc (alloc_size, GFP_KERNEL);
90 memset(dev, 0, alloc_size);
104 int alloc_size; local
107 alloc_size = sizeof (*dev) + sizeof_priv + 31;
109 dev = (struct net_device *) kmalloc (alloc_size, GFP_KERNEL);
116 memset(dev, 0, alloc_size);
H A Dshaper.c656 size_t alloc_size; local
663 alloc_size = (sizeof(*devs) * shapers) +
665 devs = kmalloc(alloc_size, GFP_KERNEL);
668 memset(devs, 0, alloc_size);
H A Ddefxx.c787 int alloc_size; /* total buffer size needed */
883 alloc_size = sizeof(PI_DESCR_BLOCK) +
891 bp->kmalloced = top_v = (char *) kmalloc(alloc_size, GFP_KERNEL);
897 memset(top_v, 0, alloc_size); /* zero out memory before continuing */
782 int alloc_size; /* total buffer size needed */ local
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390/kernel/
H A Ddebug.c860 int numargs,alloc_size,idx; local
868 alloc_size=offsetof(debug_sprintf_entry,args[numargs]);
869 curr_event=alloca(alloc_size);
876 retval=debug_common(id,level, curr_event,alloc_size,0);
891 int numargs,alloc_size,idx; local
899 alloc_size=offsetof(debug_sprintf_entry,args[numargs]);
900 curr_event=alloca(alloc_size);
907 retval=debug_common(id,level, curr_event,alloc_size,1);
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/s390x/kernel/
H A Ddebug.c860 int numargs,alloc_size,idx; local
868 alloc_size=offsetof(debug_sprintf_entry,args[numargs]);
869 curr_event=alloca(alloc_size);
876 retval=debug_common(id,level, curr_event,alloc_size,0);
891 int numargs,alloc_size,idx; local
899 alloc_size=offsetof(debug_sprintf_entry,args[numargs]);
900 curr_event=alloca(alloc_size);
907 retval=debug_common(id,level, curr_event,alloc_size,1);
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/
H A Ddv.c54 int alloc_size = (sizeof(struct divert_blk) + 3) & ~3; local
61 kmalloc(alloc_size, GFP_KERNEL);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/irda/
H A Dvlsi_ir.c1162 int alloc_size; local
1177 alloc_size = sizeof(*ndev) + sizeof(*idev);
1179 ndev = (struct net_device *) kmalloc (alloc_size, GFP_KERNEL);
1186 memset(ndev, 0, alloc_size);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/atm/
H A Dfore200e.c183 chunk->alloc_size = size + alignment;
187 chunk->alloc_addr = fore200e_kmalloc(chunk->alloc_size, GFP_KERNEL | GFP_DMA);
467 chunk->alloc_size,
490 chunk->alloc_size,
742 chunk->alloc_size = chunk->align_size = size * nbr;
746 chunk->alloc_size,
764 chunk->alloc_size,
H A Dfore200e.h565 u32 alloc_size; /* length of allocated chunk */ member in struct:chunk
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-ia64/
H A Dpal.h860 ia64_pal_copy_pal (u64 target_addr, u64 alloc_size, u64 processor, u64 *pal_proc_offset) argument
863 PAL_CALL(iprv, PAL_COPY_PAL, target_addr, alloc_size, processor);
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-ia64/
H A Dpal.h860 ia64_pal_copy_pal (u64 target_addr, u64 alloc_size, u64 processor, u64 *pal_proc_offset) argument
863 PAL_CALL(iprv, PAL_COPY_PAL, target_addr, alloc_size, processor);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/tokenring/
H A Dsmctr.c1411 unsigned short alloc_size; local
1422 alloc_size = (bytes_count + 1) & 0xfffe;
1425 if((tp->tx_buff_used[queue] + alloc_size) > tp->tx_buff_size[queue])
1432 if(((unsigned long)(tp->tx_buff_curr[queue]) + alloc_size)
1436 alloc_size = alloc_size +
1440 if((tp->tx_buff_used[queue] + alloc_size)
1450 tp->tx_buff_used[queue] += alloc_size;
1453 tp->tx_fcb_curr[queue]->memory_alloc = alloc_size;
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/misc/
H A Dchandev.c1541 int alloc_size = sizeof (*dev) + sizeof_priv + 31; local
1543 dev = (struct net_device *) kmalloc (alloc_size, GFP_KERNEL);
1550 memset(dev, 0, alloc_size);
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/
H A Dsmb.h368 size_t alloc_size; member in struct:write_cache

Completed in 334 milliseconds