Lines Matching refs:addr
36 static unsigned long adjust_error_retval(unsigned long addr, unsigned long retv) in adjust_error_retval() argument
38 switch (get_injectable_error_type(addr)) { in adjust_error_retval()
56 static struct fei_attr *fei_attr_new(const char *sym, unsigned long addr) in fei_attr_new() argument
69 attr->retval = adjust_error_retval(addr, 0); in fei_attr_new()
124 if (attr->kp.addr) { in fei_retval_set()
125 if (adjust_error_retval((unsigned long)attr->kp.addr, in fei_retval_set()
206 seq_printf(m, "%ps\n", attr->kp.addr); in fei_seq_show()
243 unsigned long addr; in fei_write() local
281 addr = kallsyms_lookup_name(sym); in fei_write()
282 if (!addr) { in fei_write()
286 if (!within_error_injection_list(addr)) { in fei_write()
294 attr = fei_attr_new(sym, addr); in fei_write()