Searched refs:total_mem (Results 1 – 8 of 8) sorted by relevance
119 ctx->total_mem += VMWGFX_VALIDATION_MEM_GRAN; in vmw_validation_mem_alloc()158 if (ctx->vm && ctx->total_mem) { in vmw_validation_mem_free()159 ctx->total_mem = 0; in vmw_validation_mem_free()
73 size_t total_mem; member
266 unsigned long total_mem; member300 pdata->total_mem = 0; in get_total_mem()307 pdata->total_mem += size; in get_total_mem()311 edac_dbg(0, "total_mem 0x%lx\n", pdata->total_mem); in get_total_mem()
211 unsigned long total_mem = 0; in get_total_mem() local218 total_mem += resource_size(&res); in get_total_mem()220 edac_dbg(0, "total_mem 0x%lx\n", total_mem); in get_total_mem()221 return total_mem; in get_total_mem()
148 u64 lim, total_mem; in usbfs_increase_memory_usage() local157 total_mem = usbfs_memory_usage + amount; in usbfs_increase_memory_usage()158 if (lim > 0 && total_mem > lim) in usbfs_increase_memory_usage()161 usbfs_memory_usage = total_mem; in usbfs_increase_memory_usage()
3050 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local3099 total_mem = full_size; in lpfc_bsg_diag_loopback_run()3101 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run()3104 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run()3106 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
1193 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local1195 total_mem = BNX2X_CONTEXT_MEM_SIZE * cp->max_cid_space; in cnic_alloc_bnx2x_context()1196 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context()1197 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()
2731 int total_mem; in qp_get_mtt_size() local2737 total_mem = sq_size + rq_size; in qp_get_mtt_size()2738 tot = (total_mem + (page_offset << 6)) >> page_shift; in qp_get_mtt_size()