Home
last modified time | relevance | path

Searched refs:sh_info (Results 1 – 25 of 43) sorted by relevance

12

/linux/drivers/pci/
H A Dxen-pcifront.c48 /* Lock this when doing any operations in sh_info */
50 struct xen_pci_sharedinfo *sh_info; member
104 if (test_bit(_XEN_PCIB_active, (unsigned long *)&pdev->sh_info->flags) in schedule_pcifront_aer_op()
114 struct xen_pci_op *active_op = &pdev->sh_info->op; in do_pci_op()
126 set_bit(_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags); in do_pci_op()
140 (unsigned long *)&pdev->sh_info->flags)) { in do_pci_op()
148 (unsigned long *)&pdev->sh_info->flags); in do_pci_op()
160 (unsigned long *)&pdev->sh_info->flags)) { in do_pci_op()
579 int bus = pdev->sh_info->aer_op.bus; in pcifront_common_process()
580 int devfn = pdev->sh_info in pcifront_common_process()
[all...]
/linux/arch/m68k/kernel/
H A Dmodule.c34 sechdrs[relsec].sh_info); in apply_relocate()
37 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate()
74 sechdrs[relsec].sh_info); in apply_relocate_add()
77 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/drivers/xen/xen-pciback/
H A Dpciback_ops.c283 (unsigned long *)&pdev->sh_info->flags) && in xen_pcibk_test_op_pending()
305 if (!test_bit(_XEN_PCIB_active, (unsigned long *)&pdev->sh_info->flags) in xen_pcibk_test_and_schedule_op()
331 *op = pdev->sh_info->op; in xen_pcibk_do_one_op()
375 pdev->sh_info->op.err = op->err; in xen_pcibk_do_one_op()
376 pdev->sh_info->op.value = op->value; in xen_pcibk_do_one_op()
382 pdev->sh_info->op.msix_entries[i].vector = in xen_pcibk_do_one_op()
388 clear_bit(_XEN_PCIF_active, (unsigned long *)&pdev->sh_info->flags); in xen_pcibk_do_one_op()
H A Dpci_stub.c745 struct xen_pci_sharedinfo *sh_info = pdev->sh_info; in common_process() local
749 aer_op = &(sh_info->aer_op); in common_process()
775 (unsigned long *)&sh_info->flags); in common_process()
784 &sh_info->flags)), 300*HZ); in common_process()
792 (unsigned long *)&sh_info->flags)) { in common_process()
796 (unsigned long *)&sh_info->flags); in common_process()
834 if (!psdev->pdev->sh_info) { in xen_pcibk_slot_reset()
842 (unsigned long *)&psdev->pdev->sh_info->flags)) { in xen_pcibk_slot_reset()
891 if (!psdev->pdev->sh_info) { in xen_pcibk_mmio_enabled()
[all...]
H A Dxenbus.c50 pdev->sh_info = NULL; in alloc_pdev()
81 if (pdev->sh_info != NULL) { in xen_pcibk_disconnect()
82 xenbus_unmap_ring_vfree(pdev->xdev, pdev->sh_info); in xen_pcibk_disconnect()
83 pdev->sh_info = NULL; in xen_pcibk_disconnect()
124 pdev->sh_info = vaddr; in xen_pcibk_do_attach()
/linux/arch/openrisc/kernel/
H A Dmodule.c29 sechdrs[relsec].sh_info); in apply_relocate_add()
32 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/arch/microblaze/kernel/
H A Dmodule.c29 relsec, sechdrs[relsec].sh_info); in apply_relocate_add()
33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add()
/linux/arch/sh/kernel/
H A Dmodule.c38 sechdrs[relsec].sh_info); in apply_relocate_add()
41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/arch/nios2/kernel/
H A Dmodule.c31 sechdrs[relsec].sh_info); in apply_relocate_add()
37 = ((void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/arch/x86/kernel/
H A Dmodule.c53 relsec, sechdrs[relsec].sh_info); in apply_relocate()
56 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate()
99 relsec, sechdrs[relsec].sh_info); in __write_relocate_add()
104 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __write_relocate_add()
/linux/arch/xtensa/kernel/
H A Dmodule.c60 sechdrs[relsec].sh_info); in apply_relocate_add()
63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/arch/arm64/kernel/
H A Dmodule-plts.c317 Elf64_Shdr *dstsec = sechdrs + sechdrs[i].sh_info; in module_frob_arch_sections()
331 sechdrs[i].sh_info); in module_frob_arch_sections()
337 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
340 sechdrs[i].sh_info, dstsec); in module_frob_arch_sections()
/linux/scripts/
H A Drecordmcount.h315 mcsec.sh_info = 0; in append_func()
330 mcsec.sh_info = w(old_shnum); in append_func()
460 Elf_Shdr const *const shdr = &shdr0[w(relhdr->sh_info)]; in nop_mcount()
558 /* .sh_info depends on .sh_type == SHT_REL[,A] */ in __has_rel_mcount()
559 Elf_Shdr const *const txthdr = &shdr0[w(relhdr->sh_info)]; in __has_rel_mcount()
667 result = find_secsym_ndx(w(relhdr->sh_info), txtname, in do_func()
/linux/arch/mips/boot/tools/
H A Drelocs.c286 sec->shdr.sh_info = elf_word_to_cpu(shdr.sh_info); in read_shdrs()
485 if (sec->shdr.sh_info == extab_index) in walk_relocs()
489 sec_applies = &secs[sec->shdr.sh_info]; in walk_relocs()
645 sec_name(sec->shdr.sh_info), in do_reloc_info()
/linux/arch/s390/tools/
H A Drelocs.c209 sec->shdr.sh_info = elf_word_to_cpu(shdr.sh_info); in read_shdrs()
306 sec_applies = &secs[sec->shdr.sh_info]; in walk_relocs()
/linux/arch/alpha/kernel/
H A Dmodule.c144 sechdrs[relsec].sh_info); in apply_relocate_add()
146 base = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr; in apply_relocate_add()
/linux/arch/csky/kernel/
H A Dmodule.c60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/tools/include/uapi/linux/
H A Delf.h53 * or equal to PN_XNUM(0xffff), it is set to sh_info field of the
324 Elf32_Word sh_info; member
337 Elf64_Word sh_info; /* Additional section information */ member
/linux/arch/powerpc/kernel/
H A Dmodule_32.c209 sechdrs[relsec].sh_info); in apply_relocate_add()
212 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add()
/linux/arch/arm64/kernel/pi/
H A Drelacheck.c87 info = swab_elfword(shdr[i].sh_info); in main()
/linux/arch/hexagon/kernel/
H A Dmodule.c77 Elf32_Word sym_info = sechdrs[relsec].sh_info; in apply_relocate_add()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/
H A Dgh100.c226 /* Non-zero sh_info is a CRC */ in elf_validate_sections()
227 if (shdr[i].sh_info) { in elf_validate_sections()
231 if (shdr[i].sh_info != crc32) in elf_validate_sections()
/linux/arch/mips/kernel/
H A Dmodule.c319 sechdrs[relsec].sh_info); in __apply_relocate()
326 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in __apply_relocate()
/linux/arch/arc/kernel/
H A Dmodule.c61 tgtsec = sechdrs[relsec].sh_info; in apply_relocate_add()
/linux/tools/lib/bpf/
H A Dlinker.c423 sec->shdr->sh_info = 0; in init_output_elf()
463 /* sh_info should be one greater than the index of the last local in init_output_elf()
466 sec->shdr->sh_info = 0; in init_output_elf()
1004 /* SHT_REL's sh_info points to relocated section */ in linker_sanity_check_elf_relos()
1005 if (!sec->shdr->sh_info || sec->shdr->sh_info >= obj->sec_cnt) { in linker_sanity_check_elf_relos()
1007 sec->sec_idx, (size_t)sec->shdr->sh_info, obj->filename); in linker_sanity_check_elf_relos()
1010 link_sec = &obj->secs[sec->shdr->sh_info]; in linker_sanity_check_elf_relos()
1027 sec->sec_idx, (size_t)sec->shdr->sh_info, obj->filename); in linker_sanity_check_elf_relos()
1179 /* sh_link and sh_info hav in init_sec()
[all...]

12