You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
kernel_samsung_sm7125/mm/sec_mm/sec_mm.h

15 lines
391 B

/* SPDX-License-Identifier: GPL-2.0 */
#ifndef _SEC_MM_DEBUG_H
#define _SEC_MM_DEBUG_H
#define GB_TO_PAGES(x) ((x) << (30 - PAGE_SHIFT))
#define MB_TO_PAGES(x) ((x) << (20 - PAGE_SHIFT))
#define K(x) ((x) << (PAGE_SHIFT-10))
void mm_debug_show_free_areas(void);
void mm_debug_dump_tasks(void);
void init_lowfile_detect(void);
void exit_lowfile_detect(void);
#endif /* _SEC_MM_DEBUG_H */