Home
last modified time | relevance | path

Searched refs:early (Results 1 – 25 of 322) sorted by relevance

12345678910>>...13

/linux/arch/loongarch/mm/
H A Dkasan_init.c17 #define __pgd_none(early, pgd) (0) argument
19 #define __pgd_none(early, pgd) (early ? (pgd_val(pgd) == 0) : \ argument
24 #define __p4d_none(early, p4d) (0) argument
26 #define __p4d_none(early, p4d) (early ? (p4d_val(p4d) == 0) : \ argument
31 #define __pud_none(early, pud) (0) argument
33 #define __pud_none(early, pud) (early ? (pud_val(pud) == 0) : \ argument
37 #define __pmd_none(early, pm argument
40 __pte_none(early,pte) global() argument
118 kasan_pte_offset(pmd_t * pmdp,unsigned long addr,int node,bool early) kasan_pte_offset() argument
131 kasan_pmd_offset(pud_t * pudp,unsigned long addr,int node,bool early) kasan_pmd_offset() argument
144 kasan_pud_offset(p4d_t * p4dp,unsigned long addr,int node,bool early) kasan_pud_offset() argument
157 kasan_p4d_offset(pgd_t * pgdp,unsigned long addr,int node,bool early) kasan_p4d_offset() argument
171 kasan_pte_populate(pmd_t * pmdp,unsigned long addr,unsigned long end,int node,bool early) kasan_pte_populate() argument
186 kasan_pmd_populate(pud_t * pudp,unsigned long addr,unsigned long end,int node,bool early) kasan_pmd_populate() argument
198 kasan_pud_populate(p4d_t * p4dp,unsigned long addr,unsigned long end,int node,bool early) kasan_pud_populate() argument
210 kasan_p4d_populate(pgd_t * pgdp,unsigned long addr,unsigned long end,int node,bool early) kasan_p4d_populate() argument
222 kasan_pgd_populate(unsigned long addr,unsigned long end,int node,bool early) kasan_pgd_populate() argument
[all...]
/linux/arch/arm64/mm/
H A Dkasan_init.c30 * directly on kernel symbols (bm_p*d). All the early functions are called too
31 * early to use lm_alias so __p*d_populate functions must be used to populate
63 bool early) in kasan_pte_offset() argument
66 phys_addr_t pte_phys = early ? in kasan_pte_offset()
72 return early ? pte_offset_kimg(pmdp, addr) in kasan_pte_offset()
77 bool early) in kasan_pmd_offset() argument
80 phys_addr_t pmd_phys = early ? in kasan_pmd_offset()
86 return early ? pmd_offset_kimg(pudp, addr) : pmd_offset(pudp, addr); in kasan_pmd_offset()
90 bool early) in kasan_pud_offset() argument
93 phys_addr_t pud_phys = early in kasan_pud_offset()
103 kasan_p4d_offset(pgd_t * pgdp,unsigned long addr,int node,bool early) kasan_p4d_offset() argument
116 kasan_pte_populate(pmd_t * pmdp,unsigned long addr,unsigned long end,int node,bool early) kasan_pte_populate() argument
133 kasan_pmd_populate(pud_t * pudp,unsigned long addr,unsigned long end,int node,bool early) kasan_pmd_populate() argument
145 kasan_pud_populate(p4d_t * p4dp,unsigned long addr,unsigned long end,int node,bool early) kasan_pud_populate() argument
157 kasan_p4d_populate(pgd_t * pgdp,unsigned long addr,unsigned long end,int node,bool early) kasan_p4d_populate() argument
169 kasan_pgd_populate(unsigned long addr,unsigned long end,int node,bool early) kasan_pgd_populate() argument
[all...]
/linux/drivers/gpu/drm/xe/
H A Dxe_bo_evict.c68 ret = xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_prepare_all_pinned()
69 &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_prepare_all_pinned()
89 (void)xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_unprepare_all_pinned()
90 &xe->pinned.early.kernel_bo_present, in xe_bo_notifier_unprepare_all_pinned()
178 return xe_bo_apply_to_pinned(xe, &xe->pinned.early.kernel_bo_present, in xe_bo_evict_all()
179 &xe->pinned.early.evicted, in xe_bo_evict_all()
215 * xe_bo_restore_early - restore early phase kernel BOs to VRAM
222 * This function should be called early, before trying to init the GT, on device
227 return xe_bo_apply_to_pinned(xe, &xe->pinned.early.evicted, in xe_bo_restore_early()
228 &xe->pinned.early in xe_bo_restore_early()
[all...]
/linux/arch/arm/mm/
H A Dkasan_init.c44 unsigned long end, bool early) in kasan_pte_populate() argument
55 if (!early) { in kasan_pte_populate()
70 * The early shadow memory is mapping all KASan in kasan_pte_populate()
94 unsigned long end, bool early) in kasan_pmd_populate() argument
106 void *p = early ? kasan_early_shadow_pte : in kasan_pmd_populate()
119 kasan_pte_populate(pmdp, addr, next, early); in kasan_pmd_populate()
124 bool early) in kasan_pgd_populate() argument
138 if (!early && pgd_none(*pgdp)) { in kasan_pgd_populate()
158 kasan_pmd_populate(pudp, addr, next, early); in kasan_pgd_populate()
218 * At first we should unmap early shado in kasan_init()
[all...]
/linux/Documentation/driver-api/driver-model/
H A Dplatform.rst178 early during system boot.
192 The early platform interfaces provide platform data to platform device
193 drivers early on during the system boot. The code is built on top of the
194 early_param() command line parsing and can be executed very early on.
196 Example: "earlyprintk" class early serial console in 6 steps
198 1. Registering early platform device data
201 early_platform_add_devices(). In the case of early serial console this
203 at this point will later on be matched against early platform drivers.
209 User specified early platform devices will be registered at this point.
210 For the early seria
[all...]
/linux/tools/include/linux/
H A Dinit.h26 int early; member
29 #define __setup_param(str, unique_id, fn, early) \ argument
35 { __setup_str_##unique_id, fn, early }
/linux/arch/nios2/
H A DKconfig.debug4 bool "Activate early kernel debugging"
9 Enable early printk on console.
11 early before the console code is initialized.
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_ring.c505 uint32_t value, result, early[3]; in amdgpu_debugfs_ring_read() local
519 early[0] = amdgpu_ring_get_rptr(ring) & ring->buf_mask; in amdgpu_debugfs_ring_read()
520 early[1] = amdgpu_ring_get_wptr(ring) & ring->buf_mask; in amdgpu_debugfs_ring_read()
521 early[2] = ring->wptr & ring->buf_mask; in amdgpu_debugfs_ring_read()
523 r = put_user(early[i], (uint32_t *)buf); in amdgpu_debugfs_ring_read()
550 p = early[0]; in amdgpu_debugfs_ring_read()
551 if (early[0] <= early[1]) in amdgpu_debugfs_ring_read()
552 size = (early[1] - early[ in amdgpu_debugfs_ring_read()
[all...]
/linux/arch/x86/kernel/
H A Dmpparse.c189 static int __init smp_read_mpc(struct mpc_table *mpc, unsigned early) in smp_read_mpc() argument
200 if (early) { in smp_read_mpc()
425 static int __init check_physptr(struct mpf_intel *mpf, unsigned int early) in check_physptr() argument
437 if (!smp_read_mpc(mpc, early)) { in check_physptr()
448 if (early) in check_physptr()
477 static __init void mpparse_get_smp_config(unsigned int early) in mpparse_get_smp_config() argument
487 if (acpi_lapic && early) in mpparse_get_smp_config()
518 if (early) { in mpparse_get_smp_config()
528 if (check_physptr(mpf, early)) in mpparse_get_smp_config()
533 if (!early in mpparse_get_smp_config()
[all...]
H A Dmodule.c197 bool early = me->state == MODULE_STATE_UNFORMED; in write_relocate_add() local
200 if (!early) { in write_relocate_add()
208 if (!early) { in write_relocate_add()
/linux/Documentation/core-api/
H A Ddebugging-via-ohci1394.rst34 Together with a early initialization of the OHCI-1394 controller for debugging,
36 buffer on to debug early boot problems in areas like ACPI where the system
48 completed, an initialization routine which runs pretty early has been
53 Remote debugging over FireWire early on boot) and pass the parameter
54 "ohci1394_dma=early" to the recompiled kernel on boot.
89 Step-by-step instructions for using firescope with early OHCI initialization:
147 4) Prepare for debugging with early OHCI-1394 initialization:
152 (Kernel hacking: Provide code for enabling DMA over FireWire early on boot)
164 CONFIG_PROVIDE_OHCI1394_DMA_INIT enabled, with the option ohci1394_dma=early.
/linux/arch/x86/kernel/cpu/
H A Dtopology_common.c115 static void parse_topology(struct topo_scan *tscan, bool early) in parse_topology() argument
144 if (early) in parse_topology()
177 static void topo_set_ids(struct topo_scan *tscan, bool early) in topo_set_ids() argument
185 if (!early) { in topo_set_ids()
/linux/Documentation/driver-api/cxl/
H A Dindex.rst8 BIOS, EFI), OS (early boot, core kernel, driver), and user policy decisions
39 linux/early-boot
/linux/Documentation/driver-api/early-userspace/
H A Dearly_userspace_support.rst25 two ways to add an early userspace image: specify an existing cpio
32 You can create a cpio archive that contains the early userspace image.
41 The kernel build process can also build an early userspace image from
68 early userspace image can be built by an unprivileged user.
88 early userspace useful. The klibc distribution is currently
111 move to early userspace:
124 For questions and help, you can sign up for the early userspace
/linux/arch/s390/kernel/
H A Dsmp.c685 static void __ref smp_get_core_info(struct sclp_core_info *info, int early) in smp_get_core_info() argument
690 if (use_sigp_detection || sclp_get_core_info(info, early)) { in smp_get_core_info()
707 bool configured, bool early) in smp_add_core() argument
730 if (!early && arch_register_cpu(cpu)) in smp_add_core()
740 static int __smp_rescan_cpus(struct sclp_core_info *info, bool early) in __smp_rescan_cpus() argument
756 if (early) { in __smp_rescan_cpus()
761 nr += smp_add_core(core, &avail, true, early); in __smp_rescan_cpus()
768 nr += smp_add_core(&info->core[i], &avail, configured, early); in __smp_rescan_cpus()
1140 int __ref smp_rescan_cpus(bool early) in smp_rescan_cpus() argument
1149 nr = __smp_rescan_cpus(info, early); in smp_rescan_cpus()
[all...]
H A Dhead64.S30 brasl %r14,startup_init # s390 specific early init
/linux/Documentation/arch/riscv/
H A Dboot.rst12 touching the early boot process. For the purposes of this document, the
13 ``early boot process`` refers to any code that runs before the final virtual
69 wins a lottery and executes the early boot code while the other harts are
108 The RISC-V kernel's early boot process operates under the following constraints:
156 patching of early alternatives and the early parsing of the kernel command line.
/linux/arch/mips/
H A DKconfig.debug9 to print messages very early in the bootup process.
12 early before the console code is initialized. For normal operation,
22 "8250/16550 and compatible serial early printk driver"
131 occur early in the boot process of a secondary core.
144 debug information from the early stages of core startup.
/linux/Documentation/driver-api/cxl/linux/
H A Dearly-boot.rst9 During early boot, Linux sets up immutable resources (such as numa nodes), while
24 which dictate how memory will be managed by Linux during early boot.
125 regions on NUMA nodes during early boot. However, CMA cannot reserve memory
126 on NUMA nodes that are not online during early boot. ::
135 SystemRAM in `ZONE_NORMAL` during early boot, CMA reservations per-node can be
/linux/lib/
H A Dbootconfig.c62 static inline void __init xbc_free_mem(void *addr, size_t size, bool early) in xbc_free_mem() argument
64 if (early) in xbc_free_mem()
77 static inline void xbc_free_mem(void *addr, size_t size, bool early) in xbc_free_mem() argument
903 * @early: Set true if this is called before budy system is initialized.
909 void __init _xbc_exit(bool early) in _xbc_exit() argument
911 xbc_free_mem(xbc_data, xbc_data_size, early); in _xbc_exit()
915 xbc_free_mem(xbc_nodes, sizeof(struct xbc_node) * XBC_NODE_MAX, early); in _xbc_exit()
/linux/security/lockdown/
H A DKconfig10 bool "Enable lockdown LSM early in init"
13 Enable the lockdown LSM early in boot. This is necessary in order
/linux/Documentation/translations/zh_CN/mm/
H A Dhwpoison.rst
/linux/arch/s390/include/asm/
H A Dsclp.h195 static inline int sclp_get_core_info(struct sclp_core_info *info, int early) in sclp_get_core_info() argument
197 if (early) in sclp_get_core_info()
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-a64-pinetab-early-adopter.dts13 compatible = "pine64,pinetab-early-adopter", "allwinner,sun50i-a64";
/linux/arch/arc/kernel/
H A Dhead.S22 ; Setting up Vectror Table (in case exception happens in early boot
51 ; Unaligned access is disabled at reset, so re-enable early as
71 /* On HSDK, CCMs need to remapped super early */

12345678910>>...13