Lines Matching refs:fmi
2276 struct failure_mode_info *fmi;
2278 fmi = kmalloc(sizeof(struct failure_mode_info), GFP_NOFS);
2279 if (!fmi) {
2283 fmi->c = c;
2285 list_add_tail(&fmi->list, &fmi_list);
2291 struct failure_mode_info *fmi, *tmp;
2294 list_for_each_entry_safe(fmi, tmp, &fmi_list, list)
2295 if (fmi->c == c) {
2296 list_del(&fmi->list);
2297 kfree(fmi);
2304 struct failure_mode_info *fmi;
2307 list_for_each_entry(fmi, &fmi_list, list)
2308 if (fmi->c->ubi == desc) {
2309 struct ubifs_info *c = fmi->c;