Home
last modified time | relevance | path

Searched refs:alloc_cnt (Results 1 – 3 of 3) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/
Dosdep_service.c616 ATOMIC_T alloc_cnt; /* the alloc count for alloc currently */ member
654 value_t[2][i] = ATOMIC_READ(&(rtw_mem_type_stat[i].alloc_cnt)); in rtw_mstat_dump()
662 value_f[2][i] = ATOMIC_READ(&(rtw_mem_func_stat[i].alloc_cnt)); in rtw_mstat_dump()
690 ATOMIC_SET(&(rtw_mem_type_stat[i].alloc_cnt), 0); in rtw_mstat_update()
697 ATOMIC_SET(&(rtw_mem_func_stat[i].alloc_cnt), 0); in rtw_mstat_update()
705 ATOMIC_INC(&(rtw_mem_type_stat[mstat_tf_idx(flags)].alloc_cnt)); in rtw_mstat_update()
712 ATOMIC_INC(&(rtw_mem_func_stat[mstat_ff_idx(flags)].alloc_cnt)); in rtw_mstat_update()
728 ATOMIC_DEC(&(rtw_mem_type_stat[mstat_tf_idx(flags)].alloc_cnt)); in rtw_mstat_update()
731 ATOMIC_DEC(&(rtw_mem_func_stat[mstat_ff_idx(flags)].alloc_cnt)); in rtw_mstat_update()
/device/soc/amlogic/a311d/soc/amlogic/media/common/codec_mm/
Dcodec_mm_scatter.c162 int alloc_cnt; member
331 smgt->alloc_cnt++; in codec_mm_update_alloc_time()
389 smgt->alloc_cnt = 0; in codec_mm_clear_alloc_infos_in()
1766 … BUFPRINT("\talloc cnt:%d step:%d:%d:%d:%d:%d:%d:%d\n", smgt->alloc_cnt, smgt->alloc_10us_less_cnt, in codec_mm_scatter_info_dump_in()
1777 do_div(divider, smgt->alloc_cnt); in codec_mm_scatter_info_dump_in()
1778 average_timeus = (smgt->alloc_cnt == 0 ? 0 : (int)divider); in codec_mm_scatter_info_dump_in()
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/common/codec_mm/
Dcodec_mm_scatter.c173 int alloc_cnt; member
363 smgt->alloc_cnt++; in codec_mm_update_alloc_time()
423 smgt->alloc_cnt = 0; in codec_mm_clear_alloc_infos_in()
2054 smgt->alloc_cnt, in codec_mm_scatter_info_dump_in()
2079 do_div(divider, smgt->alloc_cnt); in codec_mm_scatter_info_dump_in()
2080 average_timeus = (smgt->alloc_cnt == 0 ? in codec_mm_scatter_info_dump_in()