Searched refs:tot_size (Results 1 - 11 of 11) sorted by relevance
/linux-master/drivers/gpu/drm/ |
H A D | drm_managed.c | 89 size_t tot_size; local 93 if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) 96 dr = kmalloc_node_track_caller(tot_size, gfp, nid);
|
/linux-master/drivers/media/v4l2-core/ |
H A D | v4l2-ctrls-api.c | 268 unsigned int tot_size = ctrl->elem_size; local 271 tot_size *= ref->p_req_elems; 273 tot_size *= ctrl->elems; 277 if (c->size < tot_size) { 278 c->size = tot_size; 281 c->size = tot_size; 291 unsigned int tot_size = ctrl->elems * ctrl->elem_size; local 293 if (c->size < tot_size) { 299 c->size = tot_size; 304 id, c->size, tot_size); [all...] |
/linux-master/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4_cudbg.c | 107 u32 arr_size, void *buf, u32 *tot_size) 139 *tot_size += total_size; 104 cxgb4_cudbg_collect_entity(struct cudbg_init *pdbg_init, struct cudbg_buffer *dbg_buff, const struct cxgb4_collect_entity *e_arr, u32 arr_size, void *buf, u32 *tot_size) argument
|
H A D | cudbg_lib.c | 3311 u32 tot_entries = 0, tot_size = 0; local 3317 tot_size += MAX_ETH_QSETS * MAX_TXQ_ENTRIES * MAX_TXQ_DESC_SIZE; 3318 tot_size += MAX_ETH_QSETS * MAX_RSPQ_ENTRIES * MAX_RXQ_DESC_SIZE; 3319 tot_size += MAX_ETH_QSETS * MAX_RX_BUFFERS * MAX_FL_DESC_SIZE; 3320 tot_size += MAX_CTRL_QUEUES * MAX_CTRL_TXQ_ENTRIES * 3325 tot_size += INGQ_EXTRAS * MAX_RSPQ_ENTRIES * MAX_RXQ_DESC_SIZE; 3329 tot_size += MAX_TXQ_ENTRIES * MAX_TXQ_DESC_SIZE; 3335 tot_size += CXGB4_TX_MAX * MAX_OFLD_QSETS * MAX_TXQ_ENTRIES * 3337 tot_size += CXGB4_ULD_MAX * MAX_ULD_QSETS * MAX_RSPQ_ENTRIES * 3339 tot_size [all...] |
/linux-master/drivers/base/ |
H A D | devres.c | 97 static bool check_dr_size(size_t size, size_t *tot_size) argument 101 size, tot_size))) 105 *tot_size = kmalloc_size_roundup(*tot_size); 113 size_t tot_size; local 116 if (!check_dr_size(size, &tot_size)) 119 dr = kmalloc_node_track_caller(tot_size, gfp, nid);
|
/linux-master/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_mob.c | 376 unsigned long tot_size = 0; local 381 tot_size += PFN_ALIGN(data_size); 384 return tot_size >> PAGE_SHIFT;
|
/linux-master/fs/ntfs3/ |
H A D | record.c | 204 u64 data_size, alloc_size, tot_size; local 325 tot_size = le64_to_cpu(attr->nres.total_size); 326 if (tot_size & t32) 329 if (tot_size > alloc_size)
|
/linux-master/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_headroom.sh | 318 local tot_size=$(get_tot_size) 321 local dsize=$((tot_size - buf0size))
|
/linux-master/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_sriov.c | 1357 size_t tot_size; local 1364 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * 1369 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ); 1379 tot_size -= cxt->size; 1383 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp); 1385 tot_size); 1388 BP_VFDB(bp)->sp_dma.size = tot_size; 1391 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE; 1393 tot_size); 1397 BP_VF_MBX_DMA(bp)->size = tot_size; [all...] |
/linux-master/drivers/media/pci/cobalt/ |
H A D | cobalt-v4l2.c | 288 u64 tot_size; local 309 tot_size = V4L2_DV_BT_FRAME_WIDTH(bt) * V4L2_DV_BT_FRAME_HEIGHT(bt); 321 iowrite32(div_u64((u64)clk_freq * tot_size, bt->pixelclock),
|
/linux-master/drivers/net/ethernet/ibm/ |
H A D | ibmvnic.c | 590 int tot_size; /* size of all ltbs */ local 601 tot_size = num_buffs * buff_size; 603 if (ltb_size > tot_size) 604 ltb_size = tot_size; 606 nltbs = tot_size / ltb_size; 607 if (tot_size % ltb_size) 655 rem_size = tot_size;
|
Completed in 190 milliseconds