Lines Matching refs:iec

1092 static inline int ie_cache_writeback(struct ll_disk *ll, struct ie_cache *iec)  in ie_cache_writeback()  argument
1094 iec->dirty = false; in ie_cache_writeback()
1095 __dm_bless_for_disk(iec->ie); in ie_cache_writeback()
1097 &iec->index, &iec->ie, &ll->bitmap_root); in ie_cache_writeback()
1110 struct ie_cache *iec = ll->ie_cache + h; in disk_ll_load_ie() local
1112 if (iec->valid) { in disk_ll_load_ie()
1113 if (iec->index == index) { in disk_ll_load_ie()
1114 memcpy(ie, &iec->ie, sizeof(*ie)); in disk_ll_load_ie()
1118 if (iec->dirty) { in disk_ll_load_ie()
1119 r = ie_cache_writeback(ll, iec); in disk_ll_load_ie()
1127 iec->valid = true; in disk_ll_load_ie()
1128 iec->dirty = false; in disk_ll_load_ie()
1129 iec->index = index; in disk_ll_load_ie()
1130 memcpy(&iec->ie, ie, sizeof(*ie)); in disk_ll_load_ie()
1141 struct ie_cache *iec = ll->ie_cache + h; in disk_ll_save_ie() local
1144 if (iec->valid) { in disk_ll_save_ie()
1145 if (iec->index == index) { in disk_ll_save_ie()
1146 memcpy(&iec->ie, ie, sizeof(*ie)); in disk_ll_save_ie()
1147 iec->dirty = true; in disk_ll_save_ie()
1151 if (iec->dirty) { in disk_ll_save_ie()
1152 r = ie_cache_writeback(ll, iec); in disk_ll_save_ie()
1158 iec->valid = true; in disk_ll_save_ie()
1159 iec->dirty = true; in disk_ll_save_ie()
1160 iec->index = index; in disk_ll_save_ie()
1161 memcpy(&iec->ie, ie, sizeof(*ie)); in disk_ll_save_ie()
1169 struct ie_cache *iec = ll->ie_cache + i; in disk_ll_init_index() local
1170 iec->valid = false; in disk_ll_init_index()
1171 iec->dirty = false; in disk_ll_init_index()
1192 struct ie_cache *iec = ll->ie_cache + i; in disk_ll_commit() local
1193 if (iec->valid && iec->dirty) in disk_ll_commit()
1194 r = ie_cache_writeback(ll, iec); in disk_ll_commit()