Home
last modified time | relevance | path

Searched refs:chosen_node (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/arch/powerpc/kernel/
Dmachine_kexec_file_64.c199 int ret, chosen_node; in setup_new_fdt() local
210 chosen_node = fdt_path_offset(fdt, "/chosen"); in setup_new_fdt()
211 if (chosen_node == -FDT_ERR_NOTFOUND) { in setup_new_fdt()
212 chosen_node = fdt_add_subnode(fdt, fdt_path_offset(fdt, "/"), in setup_new_fdt()
214 if (chosen_node < 0) { in setup_new_fdt()
218 } else if (chosen_node < 0) { in setup_new_fdt()
224 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-start", NULL); in setup_new_fdt()
230 prop = fdt_getprop(fdt, chosen_node, "linux,initrd-end", NULL); in setup_new_fdt()
253 ret = fdt_delprop(fdt, chosen_node, in setup_new_fdt()
260 ret = fdt_delprop(fdt, chosen_node, "linux,initrd-end"); in setup_new_fdt()
[all …]
Dima_kexec.c113 void remove_ima_buffer(void *fdt, int chosen_node) in remove_ima_buffer() argument
120 prop = fdt_getprop(fdt, chosen_node, "linux,ima-kexec-buffer", &len); in remove_ima_buffer()
125 fdt_delprop(fdt, chosen_node, "linux,ima-kexec-buffer"); in remove_ima_buffer()
181 int setup_ima_buffer(const struct kimage *image, void *fdt, int chosen_node) in setup_ima_buffer() argument
186 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer()
208 ret = fdt_setprop(fdt, chosen_node, "linux,ima-kexec-buffer", value, in setup_ima_buffer()
/Linux-v4.19/arch/powerpc/include/asm/
Dima.h11 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() argument
25 remove_ima_buffer(fdt, chosen_node); in setup_ima_buffer()
/Linux-v4.19/arch/sparc/kernel/
Dhead_64.S246 stx %l4, [%sp + 2047 + 128 + 0x18] ! arg1, chosen_node