/third_party/FreeBSD/sbin/fsck_msdosfs/ |
H A D | boot.c | 31 __RCSID("$NetBSD: boot.c,v 1.22 2020/01/11 16:29:07 christos Exp $"); 46 readboot(int dosfs, struct bootblock *boot) in readboot() argument 53 perr("could not read boot block"); in readboot() 58 pfatal("Invalid signature in boot block: %02x%02x", in readboot() 63 memset(boot, 0, sizeof *boot); in readboot() 64 boot->ValidFat = -1; in readboot() 69 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot() 70 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot() 71 boot in readboot() 337 writefsinfo(int dosfs, struct bootblock *boot) writefsinfo() argument [all...] |
H A D | fat.c | 168 struct bootblock *boot; member 523 return (fat->boot); in boot_of_() 557 const struct bootblock *boot = boot_of_(fat); in valid_cl() local 559 return (cl >= CLUST_FIRST && cl < boot->NumClusters); in valid_cl() 580 checkdirty(int fs, struct bootblock *boot) in checkdirty() argument 587 if (boot->ClustMask != CLUST16_MASK && boot->ClustMask != CLUST32_MASK) in checkdirty() 590 off = boot->bpbResSectors; in checkdirty() 591 off *= boot->bpbBytesPerSec; in checkdirty() 593 buffer = malloc(len = boot in checkdirty() 646 struct bootblock *boot; cleardirty() local 699 struct bootblock *boot; _readfat() local 806 readfat(int fs, struct bootblock *boot, struct fat_descriptor **fp) readfat() argument 1123 struct bootblock *boot = boot_of_(fat); clearchain() local 1144 struct bootblock *boot; copyfat() local 1194 struct bootblock *boot; writefat() local 1251 struct bootblock *boot; checklost() local [all...] |
H A D | check.c | 50 struct bootblock boot; in checkfilesys() local 79 if (readboot(dosfs, &boot) == FSFATAL) { in checkfilesys() 85 if (skipclean && preen && checkdirty(dosfs, &boot)) { in checkfilesys() 96 mod |= readfat(dosfs, &boot, &fat); in checkfilesys() 132 freebytes = (int64_t)boot.NumFree * boot.ClusterSize; in checkfilesys() 133 badbytes = (int64_t)boot.NumBad * boot.ClusterSize; in checkfilesys() 140 if (boot.NumBad) { in checkfilesys() 145 boot in checkfilesys() [all...] |
H A D | dir.c | 225 struct bootblock *boot; in resetDosDirSection() local 227 boot = fat_get_boot(fat); in resetDosDirSection() 229 rootdir_size = boot->bpbRootDirEnts * 32; in resetDosDirSection() 230 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection() 251 if (boot->flags & FAT32) { in resetDosDirSection() 252 if (!fat_is_cl_head(fat, boot->bpbRootClust)) { in resetDosDirSection() 256 rootDir->head = boot->bpbRootClust; in resetDosDirSection() 302 struct bootblock *boot; in delete() local 304 boot in delete() 391 struct bootblock *boot; checksize() local 469 struct bootblock *boot; check_subdirectory() local 536 struct bootblock *boot; readDosDirSection() local 1075 struct bootblock *boot = fat_get_boot(fat); reconnect() local [all...] |
/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...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/boot/flashboot/ |
H A D | module_config.mk | 5 BOOT_INC := -I$(MAIN_TOPDIR)/boot/flashboot/fixed/include \ 6 -I$(MAIN_TOPDIR)/boot/flashboot/upg \ 7 -I$(MAIN_TOPDIR)/boot/flashboot/include \ 8 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/lsadc \ 9 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/gpio \ 10 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/io \ 11 -I$(MAIN_TOPDIR)/boot/flashboot/drivers/efuse \ 12 -I$(MAIN_TOPDIR)/boot/flashboot/include/lzma \ 13 -I$(MAIN_TOPDIR)/boot/flashboot/lib/lzma \ 14 -I$(MAIN_TOPDIR)/boot/flashboo [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-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-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...] |
/device/board/hihope/dayu210/uboot/ |
H A D | make.sh | 91 echo " ./make.sh --spl --- pack loader with u-boot-spl.bin" 92 echo " ./make.sh --tpl --- pack loader with u-boot-tpl.bin" 93 echo " ./make.sh --tpl --spl --- pack loader with u-boot-tpl.bin and u-boot-spl.bin" 102 echo " ./make.sh map --- cat u-boot.map" 103 echo " ./make.sh sym --- cat u-boot.sym" 156 # fit: pack non-secure uboot.img && boot.img 188 --no-uboot) # FIT: pack uboot.img without u-boot 196 ARG_TPL_BIN="tpl/u-boot-tpl.bin" 200 ARG_SPL_BIN="spl/u-boot [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 \
|
/device/board/hisilicon/hispark_taurus/uboot/ |
H A D | Makefile | 21 UBOOT_VER:=u-boot-2020.01 23 UBOOT:=u-boot-$(CHIP).bin 31 NORMAL_UBOOT_DIR:=$(OSDRV_DIR)/../../../../../third_party/u-boot 47 mkdir $(OSDRV_DIR)/out/boot -p 53 @echo "---------task [1] build boot" 59 pushd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER);make ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- u-boot-z.bin >/dev/null;popd 60 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/out/boot 61 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/secureboot_release 65 @echo "---------boot clea [all...] |
/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/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...] |
/device/soc/hisilicon/hi3861v100/sdk_liteos/build/win_scripts/ |
H A D | build_patch.sh | 23 if [ ! -d $CROOT/third_party/u-boot-v2019.07/u-boot-v2019.07/ ]; then 24 tar -zxf u-boot-v2019.07.tar.gz 25 cd u-boot-v2019.07 35 patch -p1 < ./../hisilicon_patch/hisilicon-u-boot-v2019.07.patch
|
/device/soc/hisilicon/hi3861v100/sdk_liteos/ |
H A D | build_patch.sh | 22 if [ ! -d $CROOT/third_party/u-boot-v2019.07/u-boot-v2019.07/ ]; then 23 tar -zxf u-boot-v2019.07.tar.gz 24 cd u-boot-v2019.07 34 patch -p1 < ./../hisilicon_patch/hisilicon-u-boot-v2019.07.patch
|
/kernel/linux/linux-6.6/arch/mips/ |
H A D | Makefile | 19 $(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs 364 # boot image targets (arch/mips/boot/) 365 boot-y := vmlinux.bin 366 boot-y += vmlinux.ecoff 367 boot-y += vmlinux.srec 368 boot-y += uImage 369 boot-y += uImage.bin 370 boot-y += uImage.bz2 371 boot [all...] |
/device/board/hisilicon/hispark_aries/uboot/ |
H A D | Makefile | 21 UBOOT_VER:=u-boot-2020.01 23 UBOOT:=u-boot-$(CHIP).bin 47 mkdir $(OSDRV_DIR)/out/boot -p 53 @echo "---------task [1] build boot" 59 pushd $(NORMAL_UBOOT_DIR)/$(UBOOT_VER);make ARCH=arm CROSS_COMPILE=$(OSDRV_CROSS)- u-boot-z.bin >/dev/null;popd 60 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/out/boot 61 cp $(NORMAL_UBOOT_DIR)/$(UBOOT_VER)/u-boot-$(CHIP).bin $(OSDRV_DIR)/secureboot_release 65 @echo "---------boot clean"
|
/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/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)
|
/kernel/linux/linux-5.10/arch/riscv/ |
H A D | Makefile | 95 boot := arch/riscv/boot macro 96 KBUILD_IMAGE := $(boot)/Image.gz 114 KBUILD_IMAGE := $(boot)/loader.bin 116 KBUILD_IMAGE := $(boot)/Image.gz 123 $(Q)$(MAKE) $(build)=$(boot) $(boot)/$@ 124 @$(kecho) ' Kernel: $(boot)/$@ is ready' 127 $(Q)$(MAKE) $(build)=$(boot) $@
|