/kernel/linux/linux-6.6/drivers/of/ |
H A D | kexec.c | 196 * @chosen_node: Offset to the chosen node in the device tree 201 static void remove_ima_buffer(void *fdt, int chosen_node) in remove_ima_buffer() argument 211 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer() 216 fdt_delprop(fdt, chosen_node, "linux,ima-kexec-buffer"); in remove_ima_buffer() 230 * @chosen_node: Offset to the chosen node. 235 int chosen_node) in setup_ima_buffer() 242 ret = fdt_appendprop_addrrange(fdt, 0, chosen_node, in setup_ima_buffer() 261 int chosen_node) in setup_ima_buffer() 285 int ret, chosen_node, len; in of_kexec_alloc_and_setup_fdt() local 311 chosen_node in of_kexec_alloc_and_setup_fdt() 234 setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) setup_ima_buffer() argument 260 setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) setup_ima_buffer() argument [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kexec/ |
H A D | file_load.c | 159 int ret, chosen_node; in setup_new_fdt() local 170 chosen_node = fdt_path_offset(fdt, "/chosen"); in setup_new_fdt() 171 if (chosen_node == -FDT_ERR_NOTFOUND) { in setup_new_fdt() 172 chosen_node = fdt_add_subnode(fdt, fdt_path_offset(fdt, "/"), in setup_new_fdt() 174 if (chosen_node < 0) { in setup_new_fdt() 178 } else if (chosen_node < 0) { in setup_new_fdt() 184 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", NULL); in setup_new_fdt() 190 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", NULL); in setup_new_fdt() 213 ret = fdt_delprop(fdt, chosen_node, in setup_new_fdt() 220 ret = fdt_delprop(fdt, chosen_node, "linu in setup_new_fdt() [all...] |
H A D | ima.c | 109 void remove_ima_buffer(void *fdt, int chosen_node) in remove_ima_buffer() argument 116 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer() 121 fdt_delprop(fdt, chosen_node, "linux,ima-kexec-buffer"); in remove_ima_buffer() 173 * @chosen_node: Offset to the chosen node. 177 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) in setup_ima_buffer() argument 182 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer() 204 ret = fdt_setprop(fdt, chosen_node, "linux,ima-kexec-buffer", value, in setup_ima_buffer()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | ima.h | 11 void remove_ima_buffer(void *fdt, int chosen_node); 13 static inline void remove_ima_buffer(void *fdt, int chosen_node) {} in remove_ima_buffer() argument 20 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node); 23 int chosen_node) in setup_ima_buffer() 25 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer() 22 setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) setup_ima_buffer() argument
|
/kernel/linux/linux-5.10/drivers/firmware/efi/libstub/ |
H A D | riscv-stub.c | 31 int chosen_node, len; in get_boot_hartid_from_fdt() local 38 chosen_node = fdt_path_offset(fdt, "/chosen"); in get_boot_hartid_from_fdt() 39 if (chosen_node < 0) in get_boot_hartid_from_fdt() 42 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
|
/kernel/linux/linux-6.6/arch/riscv/kernel/pi/ |
H A D | cmdline_early.c | 23 int chosen_node; in get_early_cmdline() local 26 chosen_node = fdt_path_offset((void *)dtb_pa, "/chosen"); in get_early_cmdline() 27 if (chosen_node >= 0) { in get_early_cmdline() 28 fdt_cmdline = fdt_getprop((void *)dtb_pa, chosen_node, in get_early_cmdline()
|
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/ |
H A D | riscv.c | 21 int chosen_node, len; in get_boot_hartid_from_fdt() local 28 chosen_node = fdt_path_offset(fdt, "/chosen"); in get_boot_hartid_from_fdt() 29 if (chosen_node < 0) in get_boot_hartid_from_fdt() 32 prop = fdt_getprop((void *)fdt, chosen_node, "boot-hartid", &len); in get_boot_hartid_from_fdt()
|
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/ |
H A D | plpks.c | 661 int chosen_node = fdt_path_offset(fdt, "/chosen"); in plpks_early_init_devtree() local 665 if (chosen_node < 0) in plpks_early_init_devtree() 668 password = fdt_getprop(fdt, chosen_node, "ibm,plpks-pw", &len); in plpks_early_init_devtree() 684 fdt_nop_property(fdt, chosen_node, "ibm,plpks-pw"); in plpks_early_init_devtree()
|
/kernel/linux/linux-5.10/arch/sparc/kernel/ |
H A D | head_64.S | 221 /* chosen_node = prom_finddevice("/chosen") */ 240 /* prom_mmu_ihandle_cache = prom_getint(chosen_node, "mmu") */ 246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node
|
/kernel/linux/linux-6.6/arch/sparc/kernel/ |
H A D | head_64.S | 221 /* chosen_node = prom_finddevice("/chosen") */ 240 /* prom_mmu_ihandle_cache = prom_getint(chosen_node, "mmu") */ 246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node
|