Searched refs:tot_size (Results 1 – 6 of 6) sorted by relevance
393 unsigned long tot_size = 0; in vmw_mob_calculate_pt_pages() local398 tot_size += (data_size + PAGE_SIZE - 1) & PAGE_MASK; in vmw_mob_calculate_pt_pages()401 return tot_size >> PAGE_SHIFT; in vmw_mob_calculate_pt_pages()
1361 size_t tot_size; in bnx2x_iov_alloc_mem() local1368 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * in bnx2x_iov_alloc_mem()1373 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ); in bnx2x_iov_alloc_mem()1383 tot_size -= cxt->size; in bnx2x_iov_alloc_mem()1387 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp); in bnx2x_iov_alloc_mem()1389 tot_size); in bnx2x_iov_alloc_mem()1392 BP_VFDB(bp)->sp_dma.size = tot_size; in bnx2x_iov_alloc_mem()1395 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE; in bnx2x_iov_alloc_mem()1397 tot_size); in bnx2x_iov_alloc_mem()1401 BP_VF_MBX_DMA(bp)->size = tot_size; in bnx2x_iov_alloc_mem()[all …]
87 size_t tot_size; in alloc_dr() local92 &tot_size))) in alloc_dr()95 dr = kmalloc_node_track_caller(tot_size, gfp, nid); in alloc_dr()
352 u32 arr_size, void *buf, u32 *tot_size) in cxgb4_cudbg_collect_entity() argument384 *tot_size += total_size; in cxgb4_cudbg_collect_entity()
290 u64 tot_size; in cobalt_start_streaming() local311 tot_size = V4L2_DV_BT_FRAME_WIDTH(bt) * V4L2_DV_BT_FRAME_HEIGHT(bt); in cobalt_start_streaming()323 iowrite32(div_u64((u64)clk_freq * tot_size, bt->pixelclock), in cobalt_start_streaming()
2904 unsigned tot_size = ctrl->elems * ctrl->elem_size; in prepare_ext_ctrls() local2906 if (c->size < tot_size) { in prepare_ext_ctrls()2908 c->size = tot_size; in prepare_ext_ctrls()2913 c->size = tot_size; in prepare_ext_ctrls()