Home
last modified time | relevance | path

Searched refs:total_mem (Results 1 – 8 of 8) sorted by relevance

/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.c119 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()
Dvmwgfx_validation.h73 size_t total_mem; member
/drivers/edac/
Dcpc925_edac.c266 unsigned long total_mem; member
300 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()
Daltera_edac.c211 unsigned long total_mem = 0; in get_total_mem() local
218 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()
/drivers/usb/core/
Ddevio.c148 u64 lim, total_mem; in usbfs_increase_memory_usage() local
157 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()
/drivers/scsi/lpfc/
Dlpfc_bsg.c3050 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local
3099 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()
/drivers/net/ethernet/broadcom/
Dcnic.c1193 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local
1195 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()
/drivers/net/ethernet/mellanox/mlx4/
Dresource_tracker.c2731 int total_mem; in qp_get_mtt_size() local
2737 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()