| /OK3568_Linux_fs/kernel/drivers/gpu/drm/ |
| H A D | drm_managed.c | 88 size_t tot_size; in alloc_dr() local 92 if (unlikely(check_add_overflow(sizeof(*dr), size, &tot_size))) in alloc_dr() 95 dr = kmalloc_node_track_caller(tot_size, gfp, nid); in alloc_dr()
|
| /OK3568_Linux_fs/u-boot/drivers/core/ |
| H A D | devres.c | 65 size_t tot_size = sizeof(struct devres) + size; in __devres_alloc() local 68 dr = kmalloc(tot_size, gfp); in __devres_alloc()
|
| /OK3568_Linux_fs/kernel/drivers/base/ |
| H A D | devres.c | 92 static bool check_dr_size(size_t size, size_t *tot_size) in check_dr_size() argument 96 size, tot_size))) in check_dr_size() 105 size_t tot_size; in alloc_dr() local 108 if (!check_dr_size(size, &tot_size)) in alloc_dr() 111 dr = kmalloc_node_track_caller(tot_size, gfp, nid); in alloc_dr()
|
| /OK3568_Linux_fs/kernel/drivers/gpu/drm/vmwgfx/ |
| H A D | vmwgfx_mob.c | 371 unsigned long tot_size = 0; in vmw_mob_calculate_pt_pages() local 376 tot_size += (data_size + PAGE_SIZE - 1) & PAGE_MASK; in vmw_mob_calculate_pt_pages() 379 return tot_size >> PAGE_SHIFT; in vmw_mob_calculate_pt_pages()
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/chelsio/cxgb4/ |
| H A D | cxgb4_cudbg.c | 107 u32 arr_size, void *buf, u32 *tot_size) in cxgb4_cudbg_collect_entity() argument 139 *tot_size += total_size; in cxgb4_cudbg_collect_entity()
|
| H A D | cudbg_lib.c | 3329 u32 tot_entries = 0, tot_size = 0; in cudbg_fill_qdesc_num_and_size() local 3335 tot_size += MAX_ETH_QSETS * MAX_TXQ_ENTRIES * MAX_TXQ_DESC_SIZE; in cudbg_fill_qdesc_num_and_size() 3336 tot_size += MAX_ETH_QSETS * MAX_RSPQ_ENTRIES * MAX_RXQ_DESC_SIZE; in cudbg_fill_qdesc_num_and_size() 3337 tot_size += MAX_ETH_QSETS * MAX_RX_BUFFERS * MAX_FL_DESC_SIZE; in cudbg_fill_qdesc_num_and_size() 3338 tot_size += MAX_CTRL_QUEUES * MAX_CTRL_TXQ_ENTRIES * in cudbg_fill_qdesc_num_and_size() 3343 tot_size += INGQ_EXTRAS * MAX_RSPQ_ENTRIES * MAX_RXQ_DESC_SIZE; in cudbg_fill_qdesc_num_and_size() 3347 tot_size += MAX_TXQ_ENTRIES * MAX_TXQ_DESC_SIZE; in cudbg_fill_qdesc_num_and_size() 3353 tot_size += CXGB4_TX_MAX * MAX_OFLD_QSETS * MAX_TXQ_ENTRIES * in cudbg_fill_qdesc_num_and_size() 3355 tot_size += CXGB4_ULD_MAX * MAX_ULD_QSETS * MAX_RSPQ_ENTRIES * in cudbg_fill_qdesc_num_and_size() 3357 tot_size += CXGB4_ULD_MAX * MAX_ULD_QSETS * MAX_RX_BUFFERS * in cudbg_fill_qdesc_num_and_size() [all …]
|
| /OK3568_Linux_fs/kernel/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))
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/broadcom/bnx2x/ |
| H A D | bnx2x_sriov.c | 1358 size_t tot_size; in bnx2x_iov_alloc_mem() local 1365 tot_size = (BP_VFDB(bp)->sriov.first_vf_in_pf + BNX2X_NR_VIRTFN(bp)) * in bnx2x_iov_alloc_mem() 1370 cxt->size = min_t(size_t, tot_size, CDU_ILT_PAGE_SZ); in bnx2x_iov_alloc_mem() 1380 tot_size -= cxt->size; in bnx2x_iov_alloc_mem() 1384 tot_size = BNX2X_NR_VIRTFN(bp) * sizeof(struct bnx2x_vf_sp); in bnx2x_iov_alloc_mem() 1386 tot_size); in bnx2x_iov_alloc_mem() 1389 BP_VFDB(bp)->sp_dma.size = tot_size; in bnx2x_iov_alloc_mem() 1392 tot_size = BNX2X_NR_VIRTFN(bp) * MBX_MSG_ALIGNED_SIZE; in bnx2x_iov_alloc_mem() 1394 tot_size); in bnx2x_iov_alloc_mem() 1398 BP_VF_MBX_DMA(bp)->size = tot_size; in bnx2x_iov_alloc_mem() [all …]
|
| /OK3568_Linux_fs/kernel/drivers/media/pci/cobalt/ |
| H A D | cobalt-v4l2.c | 290 u64 tot_size; in cobalt_start_streaming() local 311 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()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/ |
| H A D | dhd_pno.h | 257 uint32 tot_size; member
|
| H A D | dhd_pno.c | 810 (phead->tot_size + phead->tot_cnt * ENTRY_OVERHEAD)) in _dhd_pno_convert_format() 3101 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; in _dhd_pno_get_for_batch()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/ |
| H A D | dhd_pno.h | 258 uint32 tot_size; member
|
| H A D | dhd_pno.c | 821 (phead->tot_size + phead->tot_cnt * ENTRY_OVERHEAD)) 3272 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; 3381 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE;
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/ |
| H A D | dhd_pno.h | 240 uint32 tot_size; member
|
| H A D | dhd_pno.c | 827 (phead->tot_size + phead->tot_cnt * ENTRY_OVERHEAD)) in _dhd_pno_convert_format() 3290 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; in _dhd_pno_get_for_batch() 3399 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; in _dhd_pno_get_for_batch()
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/infineon/ |
| H A D | dhd_pno.h | 258 uint32 tot_size; member
|
| H A D | dhd_pno.c | 821 (phead->tot_size + phead->tot_cnt * ENTRY_OVERHEAD)) 3272 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; 3381 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE;
|
| /OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/ |
| H A D | dhd_pno.h | 240 uint32 tot_size; member
|
| H A D | dhd_pno.c | 827 (phead->tot_size + phead->tot_cnt * ENTRY_OVERHEAD)) in _dhd_pno_convert_format() 3290 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; in _dhd_pno_get_for_batch() 3399 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; in _dhd_pno_get_for_batch()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/ |
| H A D | dhd_pno.h | 258 uint32 tot_size; member
|
| H A D | dhd_pno.c | 821 (phead->tot_size + phead->tot_cnt * ENTRY_OVERHEAD)) 3272 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE; 3381 pbestnetheader->tot_size += BESTNET_ENTRY_SIZE;
|
| /OK3568_Linux_fs/kernel/drivers/media/v4l2-core/ |
| H A D | v4l2-ctrls.c | 3701 unsigned tot_size = ctrl->elems * ctrl->elem_size; in prepare_ext_ctrls() local 3703 if (c->size < tot_size) { in prepare_ext_ctrls() 3709 c->size = tot_size; in prepare_ext_ctrls() 3714 id, c->size, tot_size); in prepare_ext_ctrls() 3717 c->size = tot_size; in prepare_ext_ctrls()
|