/base/update/updater/test/unittest/updater_main_test/ |
H A D | updater_main_unittest.cpp | 72 UpdateMessage boot {};
in HWTEST_F() 81 EXPECT_EQ(strncpy_s(boot.command, sizeof(boot.command) - 1, commandMsg.c_str(), commandMsg.size()), 0);
in HWTEST_F() 82 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update), "", sizeof(boot.update)), 0);
in HWTEST_F() 83 bool bRet = WriteUpdaterMessage(commandFile, boot);
in HWTEST_F() 99 UpdateMessage boot {};
in HWTEST_F() 101 EXPECT_EQ(strncpy_s(boot.command, sizeof(boot in HWTEST_F() [all...] |
/base/update/updater/utils/ |
H A D | write_updater.cpp | 35 static int ExceptionUpdater(int argc, char **argv, UpdateMessage &boot) in ExceptionUpdater() argument 42 if (snprintf_s(boot.update, sizeof(boot.update), sizeof(boot.update) - 1, "--update_package=%s", in ExceptionUpdater() 77 struct UpdateMessage boot {}; in main() struct 80 if (ExceptionUpdater(argc, argv, boot) == -1) { in main() 84 if (strncpy_s(boot.update, sizeof(boot.update), "--user_wipe_data", sizeof(boot.update) - 1) != 0) { in main() 89 if (strncpy_s(boot in main() [all...] |
/base/update/updater/test/fuzztest/updatermain_fuzzer/ |
H A D | updatermain_fuzzer.cpp | 41 UpdateMessage boot {}; in ParseParamsFuzzTest() 48 if (strncpy_s(boot.command, sizeof(boot.command) - 1, commandMsg.c_str(), commandMsg.size()) != 0) { in ParseParamsFuzzTest() 51 if (strncpy_s(boot.update, sizeof(boot.update), "", sizeof(boot.update)) != 0) { in ParseParamsFuzzTest() 54 WriteUpdaterMessage(commandFile, boot); in ParseParamsFuzzTest() 70 UpdateMessage boot {}; in MianUpdaterFuzzTest() 85 if (strncpy_s(boot.command, sizeof(boot in MianUpdaterFuzzTest() [all...] |
/base/update/updater/test/unittest/misc_info_test/ |
H A D | misc_info_unittest.cpp | 45 UpdateMessage boot {};
in HWTEST_F() 47 EXPECT_EQ(strncpy_s(boot.command, sizeof(boot.command) - 1, command1.c_str(), command1.size()), 0);
in HWTEST_F() 49 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, command2.c_str(), command2.size()), 0);
in HWTEST_F() 51 bool ret = WriteUpdaterMessage(path, boot);
in HWTEST_F() 55 ret = WriteUpdaterMessage(path, boot);
in HWTEST_F() 59 ret = ReadUpdaterMessage(path, boot);
in HWTEST_F() 64 ret = ReadUpdaterMessage(path, boot);
in HWTEST_F() 67 ret = WriteUpdaterMiscMsg(boot);
in HWTEST_F() [all...] |
/base/update/updater/test/fuzztest/writeupdatermsg_fuzzer/ |
H A D | writeupdatermsg_fuzzer.cpp | 30 UpdateMessage boot; in FuzzWriteUpdaterMsg() local 31 if (memcpy_s(boot.update, MAX_UPDATE_SIZE - 1, reinterpret_cast<const char*>(data), size) != EOK) { in FuzzWriteUpdaterMsg() 34 ReadUpdaterMiscMsg(boot); in FuzzWriteUpdaterMsg() 36 WriteUpdaterMessage(path, boot); in FuzzWriteUpdaterMsg() 37 WriteUpdaterMiscMsg(boot); in FuzzWriteUpdaterMsg() 41 UpdaterPara boot; in FuzzWriteUpdaterPara() local 42 WriteUpdaterParaMisc(boot); in FuzzWriteUpdaterPara() 43 ReadUpdaterParaMisc(boot); in FuzzWriteUpdaterPara()
|
/kernel/linux/linux-5.10/arch/xtensa/boot/ |
H A D | Makefile | 2 # arch/xtensa/boot/Makefile 11 # KBUILD_CFLAGS used when building rest of boot (takes effect recursively) 22 # Subdirs for the boot loader(s) 24 boot-$(CONFIG_XTENSA_PLATFORM_ISS) += Image 25 boot-$(CONFIG_XTENSA_PLATFORM_XT2000) += Image zImage uImage 26 boot-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += Image zImage uImage 28 all: $(boot-y) 29 Image: boot-elf 30 zImage: boot-redboot 34 boot [all...] |
/kernel/linux/linux-6.6/arch/xtensa/boot/ |
H A D | Makefile | 2 # arch/xtensa/boot/Makefile 11 # KBUILD_CFLAGS used when building rest of boot (takes effect recursively) 18 # Subdirs for the boot loader(s) 20 boot-$(CONFIG_XTENSA_PLATFORM_ISS) += Image 21 boot-$(CONFIG_XTENSA_PLATFORM_XT2000) += Image zImage uImage 22 boot-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += Image zImage uImage 24 all: $(boot-y) 25 Image: boot-elf 26 zImage: boot-redboot 30 boot [all...] |
/kernel/linux/linux-5.10/arch/c6x/ |
H A D | Makefile | 37 boot := arch/$(ARCH)/boot macro 43 core-y += $(boot)/dts/ 48 $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@) 51 $(Q)$(MAKE) $(build)=$(boot) $(patsubst %,$(boot)/%,$@) 54 $(Q)$(MAKE) $(clean)=$(boot) 57 @echo ' vmlinux.bin - Binary kernel image (arch/$(ARCH)/boot/vmlinux.bin)' 58 @echo ' dtbImage.<dt> - ELF image with $(arch)/boot/dt [all...] |
/kernel/linux/linux-5.10/arch/alpha/ |
H A D | Makefile | 46 # export what is needed by arch/alpha/boot/Makefile 50 boot := arch/alpha/boot macro 53 all boot: $(boot)/vmlinux.gz 55 $(boot)/vmlinux.gz: vmlinux 56 $(Q)$(MAKE) $(build)=$(boot) $@ 59 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 62 $(Q)$(MAKE) $(clean)=$(boot) [all...] |
/kernel/linux/linux-6.6/arch/alpha/ |
H A D | Makefile | 41 # export what is needed by arch/alpha/boot/Makefile 45 boot := arch/alpha/boot macro 48 all boot: $(boot)/vmlinux.gz 50 $(boot)/vmlinux.gz: vmlinux 51 $(Q)$(MAKE) $(build)=$(boot) $@ 54 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 60 echo '* boot [all...] |
/kernel/linux/linux-6.6/crypto/ |
H A D | jitterentropy-testing.c | 31 * boot variable: 32 * 0 ==> No boot test, gathering of runtime data allowed 49 static void jent_testing_data_init(struct jent_testing *data, u32 boot) in jent_testing_data_init() argument 52 * The boot time testing implies we have a running test. If the in jent_testing_data_init() 56 if (boot) in jent_testing_data_init() 64 static void jent_testing_fini(struct jent_testing *data, u32 boot) in jent_testing_fini() argument 66 /* If we have boot data, we do not reset yet to allow data to be read */ in jent_testing_fini() 67 if (boot) in jent_testing_fini() 76 u32 *boot) in jent_testing_store() 80 if (!atomic_read(&data->jent_testing_enabled) && (*boot ! in jent_testing_store() 75 jent_testing_store(struct jent_testing *data, u32 value, u32 *boot) jent_testing_store() argument 121 jent_testing_reader(struct jent_testing *data, u32 *boot, u8 *outbuf, u32 outbuflen) jent_testing_reader() argument [all...] |
/base/update/updater/test/unittest/service_test/ |
H A D | updater_service_unittest.cpp | 114 UpdateMessage boot {}; in HWTEST_F() 120 EXPECT_EQ(strncpy_s(boot.command, sizeof(boot.command) - 1, commandMsg.c_str(), commandMsg.size()), 0); in HWTEST_F() 121 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot.update) - 1, updateMsg.c_str(), updateMsg.size()), 0); in HWTEST_F() 122 bool bRet = WriteUpdaterMessage(commandFile, boot); in HWTEST_F() 138 EXPECT_EQ(strncpy_s(boot.command, sizeof(boot.command) - 1, commandMsg.c_str(), commandMsg.size()), 0); in HWTEST_F() 139 EXPECT_EQ(strncpy_s(boot.update, sizeof(boot in HWTEST_F() [all...] |
/kernel/linux/linux-5.10/arch/xtensa/boot/boot-elf/ |
H A D | Makefile | 17 boot-y := bootstrap.o 18 targets += $(boot-y) boot.lds 20 OBJS := $(addprefix $(obj)/,$(boot-y)) 28 $(obj)/../Image.elf: $(obj)/Image.o $(obj)/boot.lds 30 -T $(obj)/boot.lds \
|
/kernel/linux/linux-6.6/arch/xtensa/boot/boot-elf/ |
H A D | Makefile | 12 boot-y := bootstrap.o 13 targets += $(boot-y) boot.lds 15 OBJS := $(addprefix $(obj)/,$(boot-y)) 23 $(obj)/../Image.elf: $(obj)/Image.o $(obj)/boot.lds 25 -T $(obj)/boot.lds \
|
/kernel/linux/linux-5.10/arch/parisc/ |
H A D | Makefile | 21 boot := arch/parisc/boot macro 22 KBUILD_IMAGE := $(boot)/bzImage 126 boot := arch/parisc/boot macro 163 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 167 $(OBJCOPY) $(boot)/bzImage $@ 195 $(Q)$(MAKE) $(clean)=$(boot)
|
/kernel/linux/linux-5.10/arch/s390/include/asm/ |
H A D | vmlinux.lds.h | 5 * .boot.data section is shared between the decompressor code and the 9 * .boot.data variables are kept in separate .boot.data.<var name> sections, 11 * into single .boot.data section. This way big holes cased by page aligned 16 .boot.data : { \ 18 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.boot.data*))) \ 23 * .boot.preserved.data is similar to .boot.data, but it is not part of the 29 .boot.preserved.data : { \ 31 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.boot [all...] |
/kernel/linux/linux-6.6/arch/s390/include/asm/ |
H A D | vmlinux.lds.h | 5 * .boot.data section is shared between the decompressor code and the 9 * .boot.data variables are kept in separate .boot.data.<var name> sections, 11 * into single .boot.data section. This way big holes cased by page aligned 16 .boot.data : { \ 18 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.boot.data*))) \ 23 * .boot.preserved.data is similar to .boot.data, but it is not part of the 29 .boot.preserved.data : { \ 31 *(SORT_BY_ALIGNMENT(SORT_BY_NAME(.boot [all...] |
/kernel/linux/linux-5.10/arch/mips/ |
H A D | Makefile | 20 $(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs 343 # boot image targets (arch/mips/boot/) 344 boot-y := vmlinux.bin 345 boot-y += vmlinux.ecoff 346 boot-y += vmlinux.srec 348 boot-y += uImage 349 boot-y += uImage.bin 350 boot-y += uImage.bz2 351 boot [all...] |
/kernel/linux/linux-6.6/arch/riscv/ |
H A D | Makefile | 123 boot := arch/riscv/boot macro 125 KBUILD_IMAGE := $(boot)/xipImage 127 KBUILD_IMAGE := $(boot)/Image.gz 152 KBUILD_IMAGE := $(boot)/loader.bin 155 KBUILD_IMAGE := $(boot)/Image.gz 157 KBUILD_IMAGE := $(boot)/vmlinuz.efi 166 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 167 @$(kecho) ' Kernel: $(boot)/ [all...] |
/base/startup/init/services/modules/reboot/ |
H A D | reboot_misc.c | 35 static int RBMiscWriteUpdaterMessage(const char *path, const struct RBMiscUpdateMessage *boot)
in RBMiscWriteUpdaterMessage() argument 44 size_t writeLen = fwrite(boot, sizeof(struct RBMiscUpdateMessage), 1, fp);
in RBMiscWriteUpdaterMessage() 52 static int RBMiscReadUpdaterMessage(const char *path, struct RBMiscUpdateMessage *boot)
in RBMiscReadUpdaterMessage() argument 65 size_t readLen = fread(boot, 1, sizeof(struct RBMiscUpdateMessage), fp);
in RBMiscReadUpdaterMessage() 84 int UpdateMiscMessage(const char *valueData, const char *cmd, const char *cmdExt, const char *boot)
in UpdateMiscMessage() argument 96 if (boot != NULL) {
in UpdateMiscMessage() 97 ret = snprintf_s(msg.command, MAX_COMMAND_SIZE, MAX_COMMAND_SIZE - 1, "%s", boot);
in UpdateMiscMessage()
|
/kernel/linux/linux-5.10/arch/sparc/ |
H A D | Makefile | 70 boot := arch/sparc/boot macro 76 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 79 $(Q)$(MAKE) $(build)=$(boot) $@ 82 $(Q)$(MAKE) $(clean)=$(boot) 92 KBUILD_IMAGE := $(boot)/zImage 97 echo '* image - kernel image ($(boot)/image)' 98 echo '* zImage - stripped kernel image ($(boot)/zImage)' 105 echo '* zImage - stripped and compressed sparc64 kernel ($(boot)/zImag [all...] |
/kernel/linux/linux-5.10/arch/xtensa/boot/boot-redboot/ |
H A D | Makefile | 13 LD_ARGS = -T $(srctree)/$(obj)/boot.ld 15 boot-y := bootstrap.o 16 targets += $(boot-y) 18 OBJS := $(addprefix $(obj)/,$(boot-y)) 19 LIBS := arch/xtensa/boot/lib/lib.a arch/xtensa/lib/lib.a
|
/kernel/linux/linux-6.6/arch/xtensa/boot/boot-redboot/ |
H A D | Makefile | 9 boot-y := bootstrap.o 10 targets += $(boot-y) 12 OBJS := $(addprefix $(obj)/,$(boot-y)) 13 LIBS := arch/xtensa/boot/lib/lib.a arch/xtensa/lib/lib.a 23 -T $(srctree)/$(obj)/boot.ld \
|
/base/update/updater/interfaces/kits/misc_info/ |
H A D | misc_info.cpp | 24 bool WriteUpdaterMessage(const std::string &path, const UpdateMessage &boot)
in WriteUpdaterMessage() argument 38 size_t ret = fwrite(&boot, sizeof(UpdateMessage), 1, fp);
in WriteUpdaterMessage() 56 bool ReadUpdaterMessage(const std::string &path, UpdateMessage &boot)
in ReadUpdaterMessage() argument 83 if (memcpy_s(&boot, sizeof(UpdateMessage), &tempBoot, sizeof(UpdateMessage)) != EOK) {
in ReadUpdaterMessage() 90 bool WriteUpdaterMiscMsg(const UpdateMessage &boot)
in WriteUpdaterMiscMsg() argument 98 return WriteUpdaterMessage(path, boot);
in WriteUpdaterMiscMsg() 101 bool ReadUpdaterMiscMsg(UpdateMessage &boot)
in ReadUpdaterMiscMsg() argument 108 return ReadUpdaterMessage(path, boot);
in ReadUpdaterMiscMsg()
|
/kernel/linux/linux-5.10/arch/arc/ |
H A D | Makefile | 92 core-y += arch/arc/boot/dts/ 103 boot := arch/arc/boot macro 109 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 117 @ln -sf $< $(boot)/uImage 118 @$(kecho) ' Image $(boot)/uImage is ready' 120 CLEAN_FILES += $(boot)/uImage 123 $(Q)$(MAKE) $(clean)=$(boot)
|