Searched refs:total_mem (Results 1 – 8 of 8) sorted by relevance
| /drivers/edac/ |
| A D | cpc925_edac.c | 266 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()
|
| A D | altera_edac.c | 212 unsigned long total_mem = 0; in get_total_mem() local 219 total_mem += resource_size(&res); in get_total_mem() 221 edac_dbg(0, "total_mem 0x%lx\n", total_mem); in get_total_mem() 222 return total_mem; in get_total_mem()
|
| /drivers/gpu/drm/msm/ |
| A D | msm_gem.c | 25 uint64_t total_mem = atomic64_add_return(size, &priv->total_mem); in update_device_mem() local 26 trace_gpu_mem_total(0, 0, total_mem); in update_device_mem()
|
| A D | msm_drv.h | 97 atomic64_t total_mem; member
|
| /drivers/usb/core/ |
| A D | devio.c | 148 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/ |
| A D | lpfc_bsg.c | 3063 uint32_t total_mem; in lpfc_bsg_diag_loopback_run() local 3112 total_mem = full_size; in lpfc_bsg_diag_loopback_run() 3114 total_mem = 64 * 1024; in lpfc_bsg_diag_loopback_run() 3117 total_mem = BUF_SZ_4K; in lpfc_bsg_diag_loopback_run() 3119 dataout = kmalloc(total_mem, GFP_KERNEL); in lpfc_bsg_diag_loopback_run()
|
| /drivers/net/ethernet/broadcom/ |
| A D | cnic.c | 1201 int total_mem, blks, i; in cnic_alloc_bnx2x_context() local 1203 total_mem = BNX2X_CONTEXT_MEM_SIZE * cp->max_cid_space; in cnic_alloc_bnx2x_context() 1204 blks = total_mem / ctx_blk_size; in cnic_alloc_bnx2x_context() 1205 if (total_mem % ctx_blk_size) in cnic_alloc_bnx2x_context()
|
| /drivers/net/ethernet/mellanox/mlx4/ |
| A D | resource_tracker.c | 2731 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()
|
Completed in 50 milliseconds