Home | History | Annotate | Download | only in src

Lines Matching refs:total_size

101 	__u32 total_size = Size + sizeof(struct os_mem_block) + sizeof(__u32);
105 os_printf("MTT:%s:%d ::os_memoryAlloc(0x%p, %lu) : %lu\n",__FUNCTION__, __LINE__,OsContext,Size,total_size);
114 if (total_size < 6 * 4096)
116 if (total_size < 2 * 4096)
119 blk = kmalloc(total_size, flags);
136 blk = vmalloc(total_size);
144 os_profile (OsContext, 4, total_size);
149 *(__u32 *)((unsigned char *)blk + total_size - sizeof(__u32)) = MEM_BLOCK_END;
299 __u32 total_size = Size + sizeof(struct os_mem_block) + sizeof(__u32);
308 blk = kmalloc(total_size, flags | GFP_DMA);
323 *(__u32 *)((unsigned char *)blk + total_size - sizeof(__u32)) = MEM_BLOCK_END;