Lines Matching refs:section

17  *      all sections at the beginning of the core or init section.
24 * to be reserved amount of memory in front of each individual section.
252 kfree(mod->arch.section);
253 mod->arch.section = NULL;
258 unsigned int section)
260 /* size needed for all stubs of this section (including
262 return (mod->arch.section[section].stub_entries + 1)
276 len = hdr->e_shnum * sizeof(me->arch.section[0]);
277 me->arch.section = kzalloc(len, GFP_KERNEL);
278 if (!me->arch.section)
309 /* sh_info gives the section for which we need to add stubs. */
312 /* each code section should only have one relocation section */
313 WARN_ON(me->arch.section[s].stub_entries);
315 /* store number of stubs we need for this section */
316 me->arch.section[s].stub_entries += count;
398 /* initialize stub_offset to point in front of the section */
399 if (!me->arch.section[targetsec].stub_offset) {
400 loc0 -= (me->arch.section[targetsec].stub_entries + 1) *
404 me->arch.section[targetsec].stub_offset = loc0;
408 stub = (void *) me->arch.section[targetsec].stub_offset;
409 me->arch.section[targetsec].stub_offset += sizeof(struct stub_entry);
412 BUG_ON(0 == me->arch.section[targetsec].stub_entries--);
442 * for direct branches (jumps between different section of the
507 pr_debug("Applying relocate section %u to %u\n", relsec,
513 /* This is the start of the target section */
575 /* 32-bit section relative address. */
651 pr_debug("Applying relocate section %u to %u\n", relsec,
657 /* This is the start of the target section */
718 * to the module, but in a different section,
770 /* 32-bit section relative address. */
882 kfree(me->arch.section);
883 me->arch.section = NULL;
910 /* find .altinstructions section */
923 * ftrace callsite section.