Home
last modified time | relevance | path

Searched refs:add_size (Results 1 – 11 of 11) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/gpu/arm/mali400/mali/linux/
H A Dmali_osk_profiling.c321 u32 add_size = STREAM_HEADER_SIZE; in _mali_profiling_stream_add_counter() local
327 add_size += _mali_profiling_pack_long(profiling_stream->data, MALI_PROFILING_STREAM_BUFFER_SIZE, in _mali_profiling_stream_add_counter()
328 profiling_stream->used_size + add_size, current_time); in _mali_profiling_stream_add_counter()
329 add_size += _mali_profiling_pack_int(profiling_stream->data, MALI_PROFILING_STREAM_BUFFER_SIZE, in _mali_profiling_stream_add_counter()
330 profiling_stream->used_size + add_size, (s32)0); in _mali_profiling_stream_add_counter()
331 add_size += _mali_profiling_pack_int(profiling_stream->data, MALI_PROFILING_STREAM_BUFFER_SIZE, in _mali_profiling_stream_add_counter()
332 profiling_stream->used_size + add_size, (s32)key); in _mali_profiling_stream_add_counter()
333 add_size += _mali_profiling_pack_int(profiling_stream->data, MALI_PROFILING_STREAM_BUFFER_SIZE, in _mali_profiling_stream_add_counter()
334 profiling_stream->used_size + add_size, (s32)counter_value); in _mali_profiling_stream_add_counter()
337 add_size - STREAM_HEADER_SIZE); in _mali_profiling_stream_add_counter()
[all …]
H A Dmali_memory_manager.c230 u32 add_size = physical_size - mem_backend->size; in mali_mem_resize() local
232 MALI_DEBUG_ASSERT(0 == add_size % MALI_MMU_PAGE_SIZE); in mali_mem_resize()
235 retval = mali_mem_os_alloc_pages(&tmp_os_mem, add_size); in mali_mem_resize()
247 MALI_DEBUG_ASSERT(tmp_os_mem.count == add_size / MALI_MMU_PAGE_SIZE); in mali_mem_resize()
259 …ation->cpu_mapping.vma, mali_allocation->cpu_mapping.vma->vm_start + mem_backend->size, add_size); in mali_mem_resize()
276 …mali_allocation->psize / MALI_MMU_PAGE_SIZE, add_size / MALI_MMU_PAGE_SIZE, mali_allocation->mali_… in mali_mem_resize()
365 …osk_errcode_t mali_mem_add_mem_size(struct mali_session_data *session, u32 mali_addr, u32 add_size) in mali_mem_add_mem_size() argument
372 MALI_DEBUG_ASSERT(0 == add_size % MALI_MMU_PAGE_SIZE); in mali_mem_add_mem_size()
386 new_physical_size = add_size + mem_backend->size; in mali_mem_add_mem_size()
H A Dmali_memory_manager.h39 …sk_errcode_t mali_mem_add_mem_size(struct mali_session_data *session, u32 mali_addr, u32 add_size);
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_parse.c103 static MPP_RET realloc_buffer(RK_U8 **buf, RK_U32 *max_size, RK_U32 add_size) in realloc_buffer() argument
112 add_size = MPP_ALIGN(add_size, 16); in realloc_buffer()
114 (*buf) = mpp_realloc((*buf), RK_U8, ((*max_size) + add_size)); in realloc_buffer()
116 H264D_ERR("[realloc_buffer] ERROR: max_size=%d, add_size=%d \n", (*max_size), add_size); in realloc_buffer()
120 (*max_size) += add_size; in realloc_buffer()
320 RK_U32 add_size = sizeof(H264dNaluHead_t); in add_empty_nalu() local
322 if ((p_strm->head_offset + add_size) >= p_strm->head_max_size) { in add_empty_nalu()
329 p_strm->head_offset += add_size; in add_empty_nalu()
352 RK_U32 add_size = head_size + sizeof(H264dNaluHead_t); in store_cur_nalu() local
354 if ((p_strm->head_offset + add_size) >= p_strm->head_max_size) { in store_cur_nalu()
[all …]
/OK3568_Linux_fs/kernel/drivers/pci/
H A Dsetup-bus.c37 resource_size_t add_size; member
61 struct resource *res, resource_size_t add_size, in add_to_list() argument
75 tmp->add_size = add_size; in add_to_list()
115 return dev_res ? dev_res->add_size : 0; in get_res_add_size()
221 resource_size_t add_size, align; in reassign_resources_sorted() local
243 add_size = add_res->add_size; in reassign_resources_sorted()
247 res->end = res->start + add_size - 1; in reassign_resources_sorted()
254 add_size, align)) in reassign_resources_sorted()
256 (unsigned long long) add_size, idx, in reassign_resources_sorted()
792 resource_size_t add_size, in calculate_iosize() argument
[all …]
/OK3568_Linux_fs/kernel/crypto/
H A Dfips140-selftests.c109 size_t add_size; member
504 drbg_string_fill(&addtl, vec->add_a, vec->add_size); in fips_test_drbg()
524 drbg_string_fill(&addtl, vec->add_b, vec->add_size); in fips_test_drbg()
944 .add_size = 32,
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/avs2/
H A Davs2d_parse.c127 RK_U32 add_size = SZ_1K; in store_nalu() local
132 add_size = SZ_512K; in store_nalu()
135 add_size = SZ_1K; in store_nalu()
140 RK_U32 new_size = p_header->size + add_size + len; in store_nalu()
/OK3568_Linux_fs/kernel/drivers/infiniband/hw/mlx5/
H A Dmr.c1638 int add_size; in mlx5_alloc_priv_descs() local
1641 add_size = max_t(int, MLX5_UMR_ALIGN - ARCH_KMALLOC_MINALIGN, 0); in mlx5_alloc_priv_descs()
1643 mr->descs_alloc = kzalloc(size + add_size, GFP_KERNEL); in mlx5_alloc_priv_descs()
/OK3568_Linux_fs/kernel/fs/ubifs/
H A Ddebug.c1693 static int add_size(struct ubifs_info *c, struct ubifs_znode *znode, void *priv) in add_size() function
1721 err = dbg_walk_index(c, NULL, add_size, &calc); in dbg_check_idx_size()
/OK3568_Linux_fs/u-boot/fs/ubifs/
H A Ddebug.c1739 static int add_size(struct ubifs_info *c, struct ubifs_znode *znode, void *priv) in add_size() function
1767 err = dbg_walk_index(c, NULL, add_size, &calc); in dbg_check_idx_size()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpci.h1256 int __must_check pci_reassign_resource(struct pci_dev *dev, int i, resource_size_t add_size, resour…