Lines Matching refs:r
311 calc_reloc(unsigned long r, struct lib_info *p, int curid, int internalp) in calc_reloc() argument
321 if (r == 0) in calc_reloc()
324 id = (r >> 24) & 0xff; /* Find ID for this reloc */ in calc_reloc()
325 r &= 0x00ffffff; /* Trim ID off here */ in calc_reloc()
329 (unsigned) r, id); in calc_reloc()
335 "(%d != %d)", (unsigned) r, curid, id); in calc_reloc()
358 if (!flat_reloc_valid(r, start_brk - start_data + text_len)) { in calc_reloc()
360 (int) r,(int)(start_brk-start_data+text_len),(int)text_len); in calc_reloc()
364 if (r < text_len) /* In text segment */ in calc_reloc()
365 addr = r + start_code; in calc_reloc()
367 addr = r - text_len + start_data; in calc_reloc()
386 flat_v2_reloc_t r; in old_reloc() local
389 r.value = rl; in old_reloc()
391 ptr = (unsigned long *) (current->mm->start_code + r.reloc.offset); in old_reloc()
393 ptr = (unsigned long *) (current->mm->start_data + r.reloc.offset); in old_reloc()
399 r.reloc.offset, ptr, (int)*ptr, segment[r.reloc.type]); in old_reloc()
402 switch (r.reloc.type) { in old_reloc()
413 printk("BINFMT_FLAT: Unknown relocation type=%x\n", r.reloc.type); in old_reloc()