mirror of
https://github.com/hardkernel/kernel_common_drivers.git
synced 2026-06-25 12:03:48 +09:00
249f5a941a
PD#SWPL-87897 Problem: build error Solution: 1. add config 2. fix memory build error Verify: s4d sc2 a1 c2 c3 Change-Id: If8f5575461fa5da65f2c8d941eaba70508016b89 Signed-off-by: wanwei.jiang <wanwei.jiang@amlogic.com>
25 lines
551 B
C
25 lines
551 B
C
/* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
|
|
/*
|
|
* Copyright (c) 2019 Amlogic, Inc. All rights reserved.
|
|
*/
|
|
|
|
#ifndef __FILE_CACHE_H__
|
|
#define __FILE_CACHE_H__
|
|
|
|
#include <asm/memory.h>
|
|
#include <asm/stacktrace.h>
|
|
#include <asm/sections.h>
|
|
|
|
#define MAX_FCT 2048
|
|
struct file_cache_trace {
|
|
unsigned int count;
|
|
unsigned int active_count;
|
|
unsigned int inactive_count;
|
|
unsigned int lock_count;
|
|
unsigned int mapcnt;
|
|
unsigned long off; /* for find out vma */
|
|
struct address_space *mapping;
|
|
struct rb_node entry;
|
|
};
|
|
#endif /* __FILE_CACHE_H__ */
|