Files
kernel_common_drivers/include/linux/amlogic/file_cache.h
T
wanwei.jiang 249f5a941a kernel: merge from android13-5.15 [1/1]
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>
2022-07-12 19:20:44 -07:00

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__ */