D | node.c | 184 struct nat_entry *ne, struct f2fs_nat_entry *raw_ne, bool no_fail) in __init_nat_entry() argument 187 f2fs_radix_tree_insert(&nm_i->nat_root, nat_get_nid(ne), ne); in __init_nat_entry() 188 else if (radix_tree_insert(&nm_i->nat_root, nat_get_nid(ne), ne)) in __init_nat_entry() 192 node_info_from_raw_nat(&ne->ni, raw_ne); in __init_nat_entry() 195 list_add_tail(&ne->list, &nm_i->nat_entries); in __init_nat_entry() 200 return ne; in __init_nat_entry() 205 struct nat_entry *ne; in __lookup_nat_cache() local 207 ne = radix_tree_lookup(&nm_i->nat_root, n); in __lookup_nat_cache() 210 if (ne && !get_nat_flag(ne, IS_DIRTY)) { in __lookup_nat_cache() 212 if (!list_empty(&ne->list)) in __lookup_nat_cache() [all …]
|