Home
last modified time | relevance | path

Searched refs:mstat_ff_idx (Results 1 – 2 of 2) sorted by relevance

/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/os_dep/
Dosdep_service.c622 struct rtw_mem_stat rtw_mem_func_stat[mstat_ff_idx(MSTAT_FUNC_MAX)];
648 int value_f[4][mstat_ff_idx(MSTAT_FUNC_MAX)]; in rtw_mstat_dump()
659 for (i = 0; i < mstat_ff_idx(MSTAT_FUNC_MAX); i++) { in rtw_mstat_dump()
674 for (i = 0; i < mstat_ff_idx(MSTAT_FUNC_MAX); i++) in rtw_mstat_dump()
694 for (i = 0; i < mstat_ff_idx(MSTAT_FUNC_MAX); i++) { in rtw_mstat_update()
712 ATOMIC_INC(&(rtw_mem_func_stat[mstat_ff_idx(flags)].alloc_cnt)); in rtw_mstat_update()
713 alloc = ATOMIC_ADD_RETURN(&(rtw_mem_func_stat[mstat_ff_idx(flags)].alloc), sz); in rtw_mstat_update()
714 peak = ATOMIC_READ(&(rtw_mem_func_stat[mstat_ff_idx(flags)].peak)); in rtw_mstat_update()
716 ATOMIC_SET(&(rtw_mem_func_stat[mstat_ff_idx(flags)].peak), alloc); in rtw_mstat_update()
723 ATOMIC_INC(&(rtw_mem_func_stat[mstat_ff_idx(flags)].alloc_err_cnt)); in rtw_mstat_update()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/rtl88x2cs/include/
Dosdep_service.h154 #define mstat_ff_idx(flags) (((flags) & 0xff00) >> 8) macro