Lines Matching full:ent

26 	struct ei_entry *ent;  in within_error_injection_list()  local
30 list_for_each_entry(ent, &error_injection_list, list) { in within_error_injection_list()
31 if (addr >= ent->start_addr && addr < ent->end_addr) { in within_error_injection_list()
42 struct ei_entry *ent; in get_injectable_error_type() local
46 list_for_each_entry(ent, &error_injection_list, list) { in get_injectable_error_type()
47 if (addr >= ent->start_addr && addr < ent->end_addr) { in get_injectable_error_type()
48 ei_type = ent->etype; in get_injectable_error_type()
69 struct ei_entry *ent; in populate_error_injection_list() local
83 ent = kmalloc(sizeof(*ent), GFP_KERNEL); in populate_error_injection_list()
84 if (!ent) in populate_error_injection_list()
86 ent->start_addr = entry; in populate_error_injection_list()
87 ent->end_addr = entry + size; in populate_error_injection_list()
88 ent->etype = iter->etype; in populate_error_injection_list()
89 ent->priv = priv; in populate_error_injection_list()
90 INIT_LIST_HEAD(&ent->list); in populate_error_injection_list()
91 list_add_tail(&ent->list, &error_injection_list); in populate_error_injection_list()
119 struct ei_entry *ent, *n; in module_unload_ei_list() local
125 list_for_each_entry_safe(ent, n, &error_injection_list, list) { in module_unload_ei_list()
126 if (ent->priv == mod) { in module_unload_ei_list()
127 list_del_init(&ent->list); in module_unload_ei_list()
128 kfree(ent); in module_unload_ei_list()
199 struct ei_entry *ent = list_entry(v, struct ei_entry, list); in ei_seq_show() local
201 seq_printf(m, "%ps\t%s\n", (void *)ent->start_addr, in ei_seq_show()
202 error_type_string(ent->etype)); in ei_seq_show()