Lines Matching refs:r
300 calc_reloc(unsigned long r, struct lib_info *p, int curid, int internalp) in calc_reloc() argument
310 if (r == 0) in calc_reloc()
313 id = (r >> 24) & 0xff; /* Find ID for this reloc */ in calc_reloc()
314 r &= 0x00ffffff; /* Trim ID off here */ in calc_reloc()
318 (unsigned) r, id); in calc_reloc()
324 "(%d != %d)", (unsigned) r, curid, id); in calc_reloc()
347 if (!flat_reloc_valid(r, start_brk - start_data + text_len)) { in calc_reloc()
349 (int) r,(int)(start_brk-start_code),(int)text_len); in calc_reloc()
353 if (r < text_len) /* In text segment */ in calc_reloc()
354 addr = r + start_code; in calc_reloc()
356 addr = r - text_len + start_data; in calc_reloc()
375 flat_v2_reloc_t r; in old_reloc() local
378 r.value = rl; in old_reloc()
380 ptr = (unsigned long *) (current->mm->start_code + r.reloc.offset); in old_reloc()
382 ptr = (unsigned long *) (current->mm->start_data + r.reloc.offset); in old_reloc()
388 r.reloc.offset, ptr, (int)*ptr, segment[r.reloc.type]); in old_reloc()
391 switch (r.reloc.type) { in old_reloc()
402 printk("BINFMT_FLAT: Unknown relocation type=%x\n", r.reloc.type); in old_reloc()