Searched refs:__weak (Results 1 - 121 of 121) sorted by relevance

/linux-4.4.14/kernel/
H A Delfcore.c6 Elf_Half __weak elf_core_extra_phdrs(void) elf_core_extra_phdrs()
11 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) elf_core_write_extra_phdrs()
16 int __weak elf_core_write_extra_data(struct coredump_params *cprm) elf_core_write_extra_data()
21 size_t __weak elf_core_extra_data_size(void) elf_core_extra_data_size()
H A Dstacktrace.c65 __weak void save_stack_trace_tsk()
71 __weak void save_stack_trace_regs()
H A Dksysfs.c167 extern const void __start_notes __weak;
168 extern const void __stop_notes __weak;
H A Dkallsyms.c40 extern const unsigned long kallsyms_addresses[] __weak;
41 extern const u8 kallsyms_names[] __weak;
50 extern const u8 kallsyms_token_table[] __weak;
51 extern const u16 kallsyms_token_index[] __weak;
53 extern const unsigned long kallsyms_markers[] __weak;
H A Dkexec_file.c31 char __weak kexec_purgatory[0];
32 size_t __weak kexec_purgatory_size = 0;
96 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf, arch_kexec_kernel_image_probe()
102 void * __weak arch_kexec_kernel_image_load(struct kimage *image) arch_kexec_kernel_image_load()
107 int __weak arch_kimage_file_post_load_cleanup(struct kimage *image) arch_kimage_file_post_load_cleanup()
112 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf, arch_kexec_kernel_verify_sig()
119 int __weak arch_kexec_apply_relocations_add()
128 int __weak arch_kexec_apply_relocations()
H A Dsoftirq.c765 * [ These __weak aliases are kept in a separate compilation unit, so that
769 int __init __weak early_irq_init(void) early_irq_init()
774 int __init __weak arch_probe_nr_irqs(void) arch_probe_nr_irqs()
779 int __init __weak arch_early_irq_init(void) arch_early_irq_init()
784 unsigned int __weak arch_dynirq_lower_bound(unsigned int from) arch_dynirq_lower_bound()
H A Dirq_work.c52 void __weak arch_irq_work_raise(void) arch_irq_work_raise()
H A Dmemremap.c21 __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size) ioremap_cache()
H A Dkexec_core.c890 void __weak crash_free_reserved_phys_range(unsigned long begin, crash_free_reserved_phys_range()
1348 void __weak arch_crash_save_vmcoreinfo(void) arch_crash_save_vmcoreinfo()
1351 unsigned long __weak paddr_vmcoreinfo_note(void) paddr_vmcoreinfo_note()
1530 void __weak crash_map_reserved_pages(void) crash_map_reserved_pages()
1533 void __weak crash_unmap_reserved_pages(void) crash_unmap_reserved_pages()
H A Dcpu.c615 void __weak arch_enable_nonboot_cpus_begin(void) arch_enable_nonboot_cpus_begin()
619 void __weak arch_enable_nonboot_cpus_end(void) arch_enable_nonboot_cpus_end()
H A Dsmp.c514 void __weak arch_disable_smp_support(void) { } arch_disable_smp_support()
561 void __weak smp_announce(void) smp_announce()
H A Djump_label.c150 void __weak __init_or_module arch_jump_label_transform_static(struct jump_entry *entry, arch_jump_label_transform_static()
H A Dfork.c132 void __weak arch_release_task_struct(struct task_struct *tsk) arch_release_task_struct()
150 void __weak arch_release_thread_info(struct thread_info *ti) arch_release_thread_info()
266 void __init __weak arch_task_cache_init(void) { } arch_task_cache_init()
319 int __weak arch_dup_task_struct(struct task_struct *dst, arch_dup_task_struct()
H A Dpanic.c58 void __weak panic_smp_self_stop(void) panic_smp_self_stop()
H A Dmodule.c1990 void __weak module_memfree(void *module_region) module_memfree()
1995 void __weak module_arch_cleanup(struct module *mod) module_arch_cleanup()
1999 void __weak module_arch_freeing_init(struct module *mod) module_arch_freeing_init()
2204 unsigned int __weak arch_mod_section_prepend(struct module *mod, arch_mod_section_prepend()
2576 void * __weak module_alloc(unsigned long size) module_alloc()
3102 int __weak module_frob_arch_sections(Elf_Ehdr *hdr, module_frob_arch_sections()
3159 int __weak module_finalize(const Elf_Ehdr *hdr, module_finalize()
H A Dkprobes.c1328 bool __weak arch_within_kprobe_blacklist(unsigned long addr) arch_within_kprobe_blacklist()
1414 int __weak arch_check_ftrace_location(struct kprobe *p) arch_check_ftrace_location()
1713 unsigned long __weak arch_deref_entry_point(void *entry) arch_deref_entry_point()
H A Dresource.c489 int __weak page_is_ram(unsigned long pfn) page_is_ram()
542 void __weak arch_remove_reservations(struct resource *avail) arch_remove_reservations()
H A Dsignal.c3575 __weak const char *arch_vma_name(struct vm_area_struct *vma) arch_vma_name()
/linux-4.4.14/lib/
H A Dclz_ctz.c19 int __weak __ctzsi2(int val); __ctzsi2()
20 int __weak __ctzsi2(int val) __ctzsi2()
26 int __weak __clzsi2(int val); __clzsi2()
27 int __weak __clzsi2(int val) __clzsi2()
33 int __weak __clzdi2(long val);
34 int __weak __ctzdi2(long val);
37 int __weak __clzdi2(long val) __clzdi2()
43 int __weak __ctzdi2(long val) __ctzdi2()
51 int __weak __clzdi2(long val) __clzdi2()
57 int __weak __ctzdi2(long val) __ctzdi2()
/linux-4.4.14/arch/avr32/kernel/
H A Dirq.c20 int __weak nmi_enable(void) nmi_enable()
25 void __weak nmi_disable(void) nmi_disable()
/linux-4.4.14/arch/blackfin/include/asm/
H A Dsections.h21 extern char _stext_l1[], _etext_l1[], _text_l1_lma[], __weak _text_l1_len[];
23 _data_l1_lma[], __weak _data_l1_len[];
28 _data_b_l1_lma[], __weak _data_b_l1_len[];
30 _sbss_l2[], _ebss_l2[], _l2_lma[], __weak _l2_len[];
/linux-4.4.14/tools/lib/traceevent/
H A Dparse-utils.c26 #define __weak __attribute__((weak)) macro
49 void __weak warning(const char *fmt, ...) warning()
73 void __weak vpr_stat(const char *fmt, va_list ap) vpr_stat()
78 void __weak pr_stat(const char *fmt, ...) pr_stat()
/linux-4.4.14/tools/perf/util/
H A Dperf_regs.c5 const struct sample_reg __weak sample_reg_masks[] = {
H A Dtsc.c27 u64 __weak rdtsc(void) rdtsc()
H A Dcloexec.c12 int __weak sched_getcpu(void) sched_getcpu()
H A Dpath.c29 size_t __weak strlcpy(char *dest, const char *src, size_t size) strlcpy()
H A Devlist.c813 int __weak auxtrace_mmap__mmap(struct auxtrace_mmap *mm __maybe_unused, auxtrace_mmap__mmap()
821 void __weak auxtrace_mmap__munmap(struct auxtrace_mmap *mm __maybe_unused) auxtrace_mmap__munmap()
825 void __weak auxtrace_mmap_params__init( auxtrace_mmap_params__init()
833 void __weak auxtrace_mmap_params__set_idx( auxtrace_mmap_params__set_idx()
H A Dmap.c325 int __weak arch__compare_symbol_names(const char *namea, const char *nameb) arch__compare_symbol_names()
H A Dpmu.c453 struct perf_event_attr * __weak perf_pmu__get_default_config()
H A Dsymbol-elf.c633 bool __weak elf__needs_adjust_symbols(GElf_Ehdr ehdr) elf__needs_adjust_symbols()
779 void __weak arch__elf_sym_adjust(GElf_Sym *sym __maybe_unused) { } arch__elf_sym_adjust()
H A Dauxtrace.c562 struct auxtrace_record *__weak auxtrace_record__init()
H A Dprobe-event.c2496 void __weak arch__fix_tev_from_maps(struct perf_probe_event *pev __maybe_unused, arch__fix_tev_from_maps()
2736 bool __weak arch__prefers_symtab(void) { return false; } arch__prefers_symtab()
H A Dsymbol.c88 int __weak arch__choose_best_symbol(struct symbol *syma, arch__choose_best_symbol()
/linux-4.4.14/arch/mips/boot/compressed/
H A Ddbg.c11 void __weak putc(char c) putc()
/linux-4.4.14/arch/mips/loongson64/common/
H A Dpm.c63 void __weak setup_wakeup_events(void) setup_wakeup_events()
70 int __weak wakeup_loongson(void) wakeup_loongson()
117 void __weak mach_suspend(void) mach_suspend()
121 void __weak mach_resume(void) mach_resume()
H A Dmachtype.c39 void __weak __init mach_prom_init_machtype(void) mach_prom_init_machtype()
/linux-4.4.14/arch/mips/mm/
H A Dcache.c201 extern void __weak r3k_cache_init(void); cpu_cache_init()
206 extern void __weak r6k_cache_init(void); cpu_cache_init()
211 extern void __weak r4k_cache_init(void); cpu_cache_init()
216 extern void __weak r8k_cache_init(void); cpu_cache_init()
221 extern void __weak tx39_cache_init(void); cpu_cache_init()
227 extern void __weak octeon_cache_init(void); cpu_cache_init()
235 int __weak __uncached_access(struct file *file, unsigned long addr) __uncached_access()
H A Dsc-mips.c189 void __weak platform_early_l2_init(void) platform_early_l2_init()
H A Dinit.c256 unsigned __weak platform_maar_init(unsigned num_pairs) platform_maar_init()
H A Dc-r4k.c1630 extern char __weak except_vec2_generic; r4k_cache_error_setup()
1631 extern char __weak except_vec2_sb1; r4k_cache_error_setup()
/linux-4.4.14/arch/mips/oprofile/
H A Dcommon.c19 extern struct op_mips_model op_model_mipsxx_ops __weak;
20 extern struct op_mips_model op_model_loongson2_ops __weak;
21 extern struct op_mips_model op_model_loongson3_ops __weak;
/linux-4.4.14/arch/arm/mach-omap2/
H A Dcommon.c25 int __weak omap_secure_ram_reserve_memblock(void) omap_secure_ram_reserve_memblock()
/linux-4.4.14/drivers/firmware/efi/
H A Dreboot.c36 bool __weak efi_poweroff_required(void) efi_poweroff_required()
H A Defi.c642 * Despite being marked __weak, most architectures should *not*
643 * override this function. It is __weak solely for the benefit
647 u64 __weak efi_mem_attributes(unsigned long phys_addr) efi_mem_attributes()
H A Druntime-wrappers.c96 __weak DEFINE_SPINLOCK(rtc_lock);
/linux-4.4.14/arch/sh/mm/
H A Dcache.c309 extern void __weak sh2_cache_init(void); cpu_cache_init()
315 extern void __weak sh2a_cache_init(void); cpu_cache_init()
321 extern void __weak sh3_cache_init(void); cpu_cache_init()
327 extern void __weak sh7705_cache_init(void); cpu_cache_init()
336 extern void __weak sh4_cache_init(void); cpu_cache_init()
342 extern void __weak shx3_cache_init(void); cpu_cache_init()
349 extern void __weak sh5_cache_init(void); cpu_cache_init()
H A Dcache-sh4.c373 extern void __weak sh4__flush_region_init(void);
H A Dinit.c39 void __init __weak plat_mem_setup(void) plat_mem_setup()
H A Dcache-sh5.c23 extern void __weak sh4__flush_region_init(void);
/linux-4.4.14/include/scsi/
H A Dosd_types.h31 static const struct __weak osd_obj_id osd_root_object = {0, 0};
/linux-4.4.14/arch/mips/loongson64/lemote-2f/
H A Dpm.c141 void __weak mach_suspend(void) mach_suspend()
146 void __weak mach_resume(void) mach_resume()
/linux-4.4.14/kernel/sched/
H A Didle.c71 void __weak arch_cpu_idle_prepare(void) { } arch_cpu_idle_enter()
72 void __weak arch_cpu_idle_enter(void) { } arch_cpu_idle_exit()
73 void __weak arch_cpu_idle_exit(void) { } arch_cpu_idle_dead()
74 void __weak arch_cpu_idle_dead(void) { } arch_cpu_idle()
75 void __weak arch_cpu_idle(void) arch_cpu_idle()
H A Dclock.c70 unsigned long long __weak sched_clock(void) sched_clock()
432 u64 __weak running_clock(void) running_clock()
H A Dcore.c7054 int __weak arch_update_cpu_topology(void) arch_update_cpu_topology()
/linux-4.4.14/kernel/bpf/
H A Dcore.c762 const struct bpf_func_proto bpf_map_lookup_elem_proto __weak; variable in typeref:struct:bpf_map_lookup_elem_proto
763 const struct bpf_func_proto bpf_map_update_elem_proto __weak; variable in typeref:struct:bpf_map_update_elem_proto
764 const struct bpf_func_proto bpf_map_delete_elem_proto __weak; variable in typeref:struct:bpf_map_delete_elem_proto
766 const struct bpf_func_proto bpf_get_prandom_u32_proto __weak; variable in typeref:struct:bpf_get_prandom_u32_proto
767 const struct bpf_func_proto bpf_get_smp_processor_id_proto __weak; variable in typeref:struct:bpf_get_smp_processor_id_proto
768 const struct bpf_func_proto bpf_ktime_get_ns_proto __weak; variable in typeref:struct:bpf_ktime_get_ns_proto
769 const struct bpf_func_proto bpf_get_current_pid_tgid_proto __weak; variable in typeref:struct:bpf_get_current_pid_tgid_proto
770 const struct bpf_func_proto bpf_get_current_uid_gid_proto __weak; variable in typeref:struct:bpf_get_current_uid_gid_proto
771 const struct bpf_func_proto bpf_get_current_comm_proto __weak; bpf_get_trace_printk_proto() variable in typeref:struct:bpf_get_current_comm_proto
772 const struct bpf_func_proto * __weak bpf_get_trace_printk_proto(void) bpf_get_trace_printk_proto()
788 void __weak bpf_int_jit_compile(struct bpf_prog *prog) bpf_int_jit_compile()
795 int __weak skb_copy_bits(const struct sk_buff *skb, int offset, void *to, skb_copy_bits()
/linux-4.4.14/include/linux/
H A Dkexec.h321 int __weak arch_kexec_kernel_image_probe(struct kimage *image, void *buf,
323 void * __weak arch_kexec_kernel_image_load(struct kimage *image);
324 int __weak arch_kimage_file_post_load_cleanup(struct kimage *image);
325 int __weak arch_kexec_kernel_verify_sig(struct kimage *image, void *buf,
327 int __weak arch_kexec_apply_relocations_add(const Elf_Ehdr *ehdr,
329 int __weak arch_kexec_apply_relocations(const Elf_Ehdr *ehdr, Elf_Shdr *sechdrs,
H A Dcompiler-gcc.h88 #define __weak __attribute__((weak)) macro
149 /* GCC 4.1.[01] miscompiles __weak */
152 # error Your version of gcc miscompiles the __weak directive
H A Dpercpu-defs.h94 __PCPU_ATTRS(sec) PER_CPU_DEF_ATTRIBUTES __weak \
/linux-4.4.14/mm/
H A Dmaccess.c23 long __weak probe_kernel_read(void *dst, const void *src, size_t size)
51 long __weak probe_kernel_write(void *dst, const void *src, size_t size)
H A Dearly_ioremap.c33 void __init __weak early_ioremap_shutdown(void) early_ioremap_shutdown()
H A Dutil.c246 int __weak __get_user_pages_fast(unsigned long start, __get_user_pages_fast()
277 int __weak get_user_pages_fast(unsigned long start, get_user_pages_fast()
H A Dsparse.c466 void __weak __meminit vmemmap_populate_print_last(void) vmemmap_populate_print_last()
H A Dhugetlb.c1953 int __weak alloc_bootmem_huge_page(struct hstate *h) alloc_bootmem_huge_page()
4329 struct page * __weak follow_huge_addr()
4336 struct page * __weak follow_huge_pmd()
4371 struct page * __weak follow_huge_pud()
H A Dnommu.c486 void __weak vmalloc_sync_all(void) vmalloc_sync_all()
H A Dvmalloc.c2213 void __weak vmalloc_sync_all(void) vmalloc_sync_all()
/linux-4.4.14/kernel/events/
H A Dcallchain.c27 __weak void perf_callchain_kernel(struct perf_callchain_entry *entry, perf_callchain_kernel()
32 __weak void perf_callchain_user(struct perf_callchain_entry *entry, perf_callchain_user()
H A Dhw_breakpoint.c83 __weak int hw_breakpoint_weight(struct perf_event *bp) hw_breakpoint_weight()
231 __weak void arch_unregister_hw_breakpoint(struct perf_event *bp) arch_unregister_hw_breakpoint()
H A Duprobes.c214 bool __weak is_swbp_insn(uprobe_opcode_t *insn) is_swbp_insn()
228 bool __weak is_trap_insn(uprobe_opcode_t *insn) is_trap_insn()
341 int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, unsigned long vaddr) set_swbp()
355 int __weak set_orig_insn()
1348 void __weak arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, arch_uprobe_copy_ixol()
1369 unsigned long __weak uprobe_get_swbp_addr(struct pt_regs *regs) uprobe_get_swbp_addr()
1842 bool __weak arch_uprobe_ignore(struct arch_uprobe *aup, struct pt_regs *regs) arch_uprobe_ignore()
1847 bool __weak arch_uretprobe_is_alive(struct return_instance *ret, enum rp_check ctx, arch_uretprobe_is_alive()
H A Dcore.c323 void __weak perf_event_print_debug(void) { } perf_event_print_debug()
325 extern __weak const char *perf_pmu_name(void) perf_pmu_name()
4426 void __weak arch_perf_update_userpage( arch_perf_update_userpage()
/linux-4.4.14/arch/mips/kernel/
H A Dtime.c37 int __weak rtc_mips_set_time(unsigned long sec) rtc_mips_set_time()
42 int __weak rtc_mips_set_mmss(unsigned long nowtime) rtc_mips_set_mmss()
H A Duprobes.c277 int __weak set_swbp(struct arch_uprobe *auprobe, struct mm_struct *mm, set_swbp()
301 void __weak arch_uprobe_copy_ixol(struct page *page, unsigned long vaddr, arch_uprobe_copy_ixol()
H A Dcevt-r4k.c171 unsigned int __weak get_c0_compare_int(void) get_c0_compare_int()
H A Dsmp-bmips.c560 asmlinkage void __weak plat_wired_tlb_setup(void) plat_wired_tlb_setup()
/linux-4.4.14/tools/include/linux/
H A Dcompiler.h30 #ifndef __weak
31 # define __weak __attribute__((weak)) macro
/linux-4.4.14/drivers/pci/
H A Dsetup-irq.c19 void __weak pcibios_update_irq(struct pci_dev *dev, int irq) pcibios_update_irq()
H A Dof.c48 struct device_node * __weak pcibios_get_phb_of_node(struct pci_bus *bus) pcibios_get_phb_of_node()
H A Dmsi.c36 struct irq_domain * __weak arch_get_pci_msi_domain(struct pci_dev *dev) arch_get_pci_msi_domain()
80 int __weak arch_setup_msi_irq(struct pci_dev *dev, struct msi_desc *desc) arch_setup_msi_irq()
97 void __weak arch_teardown_msi_irq(unsigned int irq) arch_teardown_msi_irq()
107 int __weak arch_setup_msi_irqs(struct pci_dev *dev, int nvec, int type) arch_setup_msi_irqs()
148 void __weak arch_teardown_msi_irqs(struct pci_dev *dev) arch_teardown_msi_irqs()
171 void __weak arch_restore_msi_irqs(struct pci_dev *dev) arch_restore_msi_irqs()
H A Diov.c228 int __weak pcibios_sriov_enable(struct pci_dev *pdev, u16 num_vfs) pcibios_sriov_enable()
233 int __weak pcibios_sriov_disable(struct pci_dev *pdev) pcibios_sriov_disable()
575 resource_size_t __weak pcibios_iov_resource_alignment(struct pci_dev *dev, pcibios_iov_resource_alignment()
H A Dbus.c272 void __weak pcibios_resource_survey_bus(struct pci_bus *bus) { } pcibios_resource_survey_bus()
H A Dsetup-res.c166 resource_size_t __weak pcibios_retrieve_fw_addr(struct pci_dev *dev, int idx) pcibios_retrieve_fw_addr()
H A Dpci.c1244 int __weak pcibios_enable_device(struct pci_dev *dev, int bars) pcibios_enable_device()
1514 int __weak pcibios_add_device(struct pci_dev *dev) pcibios_add_device()
1527 void __weak pcibios_release_device(struct pci_dev *dev) {} pcibios_release_device()
1537 void __weak pcibios_disable_device (struct pci_dev *dev) {} pcibios_disable_device()
1548 void __weak pcibios_penalize_isa_irq(int irq, int active) {} pcibios_penalize_isa_irq()
1615 int __weak pcibios_set_pcie_reset_state(struct pci_dev *dev, pcibios_set_pcie_reset_state()
3035 int __weak pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr) pci_remap_iospace()
3080 char * __weak __init pcibios_setup(char *str) pcibios_setup()
3093 void __weak pcibios_set_master(struct pci_dev *dev) pcibios_set_master()
3537 void __weak pcibios_reset_secondary_bus(struct pci_dev *dev) pcibios_reset_secondary_bus()
4828 int __weak pci_ext_cfg_avail(void) pci_ext_cfg_avail()
4833 void __weak pci_fixup_cardbus(struct pci_bus *bus) pci_fixup_cardbus()
H A Dpci-driver.c390 int __weak pcibios_alloc_irq(struct pci_dev *dev) pcibios_alloc_irq()
395 void __weak pcibios_free_irq(struct pci_dev *dev) pcibios_free_irq()
865 struct dev_pm_ops __weak pcibios_pm_ops;
H A Dpci-sysfs.c900 void __weak pci_adjust_legacy_attr(struct pci_bus *b, pci_adjust_legacy_attr()
1209 int __weak pci_create_resource_files(struct pci_dev *dev) { return 0; } pci_remove_resource_files()
1210 void __weak pci_remove_resource_files(struct pci_dev *dev) { return; } pci_remove_resource_files()
H A Dprobe.c2075 int __weak pcibios_root_bridge_prepare(struct pci_host_bridge *bridge) pcibios_root_bridge_prepare()
2080 void __weak pcibios_add_bus(struct pci_bus *bus) pcibios_add_bus()
2084 void __weak pcibios_remove_bus(struct pci_bus *bus) pcibios_remove_bus()
H A Dsetup-bus.c857 resource_size_t __weak pcibios_window_alignment(struct pci_bus *bus, pcibios_window_alignment()
/linux-4.4.14/arch/sh/kernel/cpu/
H A Dclock-cpg.c75 int __init __weak arch_clk_init(void) arch_clk_init()
/linux-4.4.14/arch/mips/include/asm/
H A Dtime.h49 extern int __weak get_c0_perfcount_int(void);
/linux-4.4.14/arch/metag/mm/
H A Dnuma.c80 void __init __weak soc_mem_setup(void) soc_mem_setup()
/linux-4.4.14/kernel/debug/
H A Ddebug_core.c168 int __weak kgdb_arch_set_breakpoint(struct kgdb_bkpt *bpt) kgdb_arch_set_breakpoint()
181 int __weak kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt) kgdb_arch_remove_breakpoint()
187 int __weak kgdb_validate_break_address(unsigned long addr) kgdb_validate_break_address()
207 unsigned long __weak kgdb_arch_pc(int exception, struct pt_regs *regs) kgdb_arch_pc()
212 int __weak kgdb_arch_init(void) kgdb_arch_init()
217 int __weak kgdb_skipexception(int exception, struct pt_regs *regs) kgdb_skipexception()
859 void __weak kgdb_arch_late(void) kgdb_arch_late()
/linux-4.4.14/drivers/acpi/
H A Dacpi_processor.c167 int __weak acpi_map_cpu(acpi_handle handle, acpi_map_cpu()
173 int __weak acpi_unmap_cpu(int cpu) acpi_unmap_cpu()
178 int __weak arch_register_cpu(int cpu) arch_register_cpu()
183 void __weak arch_unregister_cpu(int cpu) {} arch_unregister_cpu()
H A Dnuma.c233 void __init __weak acpi_numa_x2apic_affinity_init()
/linux-4.4.14/kernel/time/
H A Djiffies.c103 struct clocksource * __init __weak clocksource_default_clock(void) clocksource_default_clock()
H A Dntp.c490 int __weak update_persistent_clock(struct timespec now) update_persistent_clock()
495 int __weak update_persistent_clock64(struct timespec64 now64) update_persistent_clock64()
H A Dtimekeeping.c1173 void __weak read_persistent_clock(struct timespec *ts) read_persistent_clock()
1179 void __weak read_persistent_clock64(struct timespec64 *ts64) read_persistent_clock64()
1196 void __weak read_boot_clock64(struct timespec64 *ts) read_boot_clock64()
/linux-4.4.14/drivers/of/
H A Dof_reserved_mem.c31 int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size, early_init_dt_alloc_reserved_memory_arch()
59 int __init __weak early_init_dt_alloc_reserved_memory_arch(phys_addr_t size, early_init_dt_alloc_reserved_memory_arch()
H A Dfdt.c983 void __init __weak early_init_dt_add_memory_arch(u64 base, u64 size) early_init_dt_add_memory_arch()
1024 int __init __weak early_init_dt_reserve_memory_arch(phys_addr_t base, early_init_dt_reserve_memory_arch()
1036 void * __init __weak early_init_dt_alloc_memory_arch(u64 size, u64 align) early_init_dt_alloc_memory_arch()
1041 void __init __weak early_init_dt_add_memory_arch(u64 base, u64 size) early_init_dt_add_memory_arch()
1046 int __init __weak early_init_dt_reserve_memory_arch(phys_addr_t base, early_init_dt_reserve_memory_arch()
1054 void * __init __weak early_init_dt_alloc_memory_arch(u64 size, u64 align) early_init_dt_alloc_memory_arch()
H A Daddress.c691 int __weak pci_register_io_range(phys_addr_t addr, resource_size_t size) pci_register_io_range()
765 unsigned long __weak pci_address_to_pio(phys_addr_t address) pci_address_to_pio()
H A Dbase.c90 int __weak of_node_to_nid(struct device_node *np) of_node_to_nid()
318 * However this __weak function provides a default match of physical
325 bool __weak arch_match_cpu_phys_id(int cpu, u64 phys_id) arch_match_cpu_phys_id()
365 bool __weak arch_find_n_match_cpu_physical_id(struct device_node *cpun, arch_find_n_match_cpu_physical_id()
/linux-4.4.14/drivers/base/
H A Dcacheinfo.c175 int __weak init_cache_level(unsigned int cpu) init_cache_level()
180 int __weak populate_cache_leaves(unsigned int cpu) populate_cache_leaves()
402 __weak cache_get_priv_group(struct cacheinfo *this_leaf) cache_get_priv_group()
H A Dmemory.c86 unsigned long __weak memory_block_size_bytes(void) memory_block_size_bytes()
532 int __weak arch_get_memory_phys_device(unsigned long start_pfn) arch_get_memory_phys_device()
H A Dplatform.c56 void __weak arch_setup_pdev_archdata(struct platform_device *pdev) arch_setup_pdev_archdata()
/linux-4.4.14/drivers/irqchip/
H A Dirq-mips-cpu.c103 asmlinkage void __weak plat_irq_dispatch(void) plat_irq_dispatch()
/linux-4.4.14/kernel/power/
H A Dsuspend.c295 void __weak arch_suspend_disable_irqs(void) arch_suspend_disable_irqs()
301 void __weak arch_suspend_enable_irqs(void) arch_suspend_enable_irqs()
/linux-4.4.14/fs/proc/
H A Dvmcore.c130 int __weak elfcorehdr_alloc(unsigned long long *addr, unsigned long long *size) elfcorehdr_alloc()
138 void __weak elfcorehdr_free(unsigned long long addr) elfcorehdr_free()
144 ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos) elfcorehdr_read()
152 ssize_t __weak elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos) elfcorehdr_read_notes()
160 int __weak remap_oldmem_pfn_range(struct vm_area_struct *vma, remap_oldmem_pfn_range()
/linux-4.4.14/arch/arc/kernel/
H A Dsmp.c34 struct plat_smp_ops __weak plat_smp_ops;
/linux-4.4.14/fs/exofs/
H A Dcommon.h186 static const struct __weak osd_attr g_attr_inode_data = ATTR_DEF(
/linux-4.4.14/kernel/trace/
H A Dtrace_stack.c74 void __weak check_stack()
H A Dtrace_syscalls.c513 unsigned long __init __weak arch_syscall_addr(int nr) arch_syscall_addr()
H A Dftrace.c2327 void __weak ftrace_replace_code(int enable) ftrace_replace_code()
2438 int __weak ftrace_arch_code_modify_prepare(void) ftrace_arch_code_modify_prepare()
2447 int __weak ftrace_arch_code_modify_post_process(void) ftrace_arch_code_modify_post_process()
2524 void __weak arch_ftrace_update_code(int command) arch_ftrace_update_code()
2565 void __weak arch_ftrace_trampoline_free(struct ftrace_ops *ops) arch_ftrace_trampoline_free()
3222 void * __weak arch_ftrace_trampoline_func()
5021 void __weak arch_ftrace_update_trampoline(struct ftrace_ops *ops) arch_ftrace_update_trampoline()
H A Dtrace.c5938 int __weak ftrace_arch_read_dyn_info(char *buf, int size) ftrace_arch_read_dyn_info()
/linux-4.4.14/arch/sh/kernel/
H A Dsetup.c237 void __init __weak plat_early_device_setup(void) plat_early_device_setup()
/linux-4.4.14/tools/perf/tests/
H A Dbuiltin-test.c17 struct test __weak arch_tests[] = {
/linux-4.4.14/drivers/acpi/apei/
H A Dapei-base.c764 int __weak arch_apei_enable_cmcff(struct acpi_hest_header *hest_hdr, arch_apei_enable_cmcff()
771 void __weak arch_apei_report_mem_error(int sev, arch_apei_report_mem_error()
/linux-4.4.14/drivers/char/
H A Dmem.c89 void __weak unxlate_dev_mem_ptr(phys_addr_t phys, void *addr) unxlate_dev_mem_ptr()
223 int __weak phys_mem_access_prot_allowed(struct file *file, phys_mem_access_prot_allowed()
/linux-4.4.14/init/
H A Dmain.c469 void __init __weak smp_setup_processor_id(void) smp_setup_processor_id()
474 void __init __weak thread_info_cache_init(void) thread_info_cache_init()
/linux-4.4.14/kernel/irq/
H A Dproc.c434 int __weak arch_show_interrupts(struct seq_file *p, int prec) arch_show_interrupts()
/linux-4.4.14/drivers/tty/
H A Dsysrq.c711 /* Reset in case a __weak definition was present */ sysrq_of_get_keyreset_config()
H A Dmips_ejtag_fdc.c882 int __weak get_c0_fdc_int(void) get_c0_fdc_int()
/linux-4.4.14/drivers/bus/
H A Dmips_cdmm.c341 phys_addr_t __weak mips_cdmm_phys_base(void) mips_cdmm_phys_base()
/linux-4.4.14/scripts/
H A Dkernel-doc2177 $prototype =~ s/__weak +//;
H A Dcheckpatch.pl305 __weak
5217 # Check for __attribute__ weak, or __weak declarations (may have link issues)

Completed in 3025 milliseconds