Home
last modified time | relevance | path

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

/linux-4.19.296/fs/f2fs/
Dnode.c69 mem_size = (nm_i->nat_cnt * sizeof(struct nat_entry)) >> in f2fs_available_free_memory()
146 static struct nat_entry *__alloc_nat_entry(nid_t nid, bool no_fail) in __alloc_nat_entry()
148 struct nat_entry *new; in __alloc_nat_entry()
161 static void __free_nat_entry(struct nat_entry *e) in __free_nat_entry()
167 static struct nat_entry *__init_nat_entry(struct f2fs_nm_info *nm_i, in __init_nat_entry()
168 struct nat_entry *ne, struct f2fs_nat_entry *raw_ne, bool no_fail) in __init_nat_entry()
186 static struct nat_entry *__lookup_nat_cache(struct f2fs_nm_info *nm_i, nid_t n) in __lookup_nat_cache()
188 struct nat_entry *ne; in __lookup_nat_cache()
204 nid_t start, unsigned int nr, struct nat_entry **ep) in __gang_lookup_nat_cache()
209 static void __del_from_nat_cache(struct f2fs_nm_info *nm_i, struct nat_entry *e) in __del_from_nat_cache()
[all …]
Dnode.h61 struct nat_entry { struct
87 static inline void set_nat_flag(struct nat_entry *ne, in set_nat_flag()
97 static inline bool get_nat_flag(struct nat_entry *ne, unsigned int type) in get_nat_flag()
103 static inline void nat_reset_flag(struct nat_entry *ne) in nat_reset_flag()
Ddebug.c243 si->cache_mem += NM_I(sbi)->nat_cnt * sizeof(struct nat_entry); in update_mem_info()