Lines Matching defs:set
241 nid_t set = NAT_BLOCK_OFFSET(ne->ni.nid);
244 head = radix_tree_lookup(&nm_i->nat_set_root, set);
251 head->set = set;
253 f2fs_radix_tree_insert(&nm_i->nat_set_root, set, head);
294 struct nat_entry_set *set, struct nat_entry *ne)
301 set->entry_cnt--;
759 * f2fs_unlock_op() only if mode is set with ALLOC_NODE.
785 /* if inline_data is set, should not report any block indices */
1735 /* set page dirty and write it */
2265 bool set, bool build)
2274 if (set) {
2761 /* 3: update and set xattr node page dirty */
3011 struct nat_entry_set *set, struct cp_control *cpc)
3015 nid_t start_nid = set->set * NAT_ENTRY_PER_BLOCK;
3027 !__has_cursum_space(journal, set->entry_cnt, NAT_JOURNAL))
3041 /* flush dirty nats in nat entry set */
3042 list_for_each_entry_safe(ne, cur, &set->entry_list, list) {
3060 __clear_nat_cache_dirty(NM_I(sbi), set, ne);
3078 if (!set->entry_cnt) {
3079 radix_tree_delete(&NM_I(sbi)->nat_set_root, set->set);
3080 kmem_cache_free(nat_entry_set_slab, set);
3094 struct nat_entry_set *set, *tmp;
3118 * into nat entry set.
3129 set_idx = setvec[found - 1]->set + 1;
3135 /* flush dirty nats in nat entry set */
3136 list_for_each_entry_safe(set, tmp, &sets, set_list) {
3137 err = __flush_nat_entry_set(sbi, set, cpc);
3386 /* destroy nat set cache */
3393 nid = setvec[found - 1]->set + 1;
3397 radix_tree_delete(&nm_i->nat_set_root, setvec[idx]->set);