/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...] |
/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...] |
/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/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...] |
/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...] |
/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) $@
|
/kernel/linux/linux-5.10/drivers/pnp/pnpbios/ |
H A D | bioscalls.c | 280 * get_dev_node() and set_dev_node() with boot=1 rather than with boot=0. 286 * boot = whether to get nonvolatile boot (!=0) 290 static int __pnp_bios_get_dev_node(u8 *nodenum, char boot, in __pnp_bios_get_dev_node() argument 298 if (!boot && pnpbios_dont_use_current_config) in __pnp_bios_get_dev_node() 302 boot ? 2 : 1, PNP_DS, 0, &tmp_nodenum, in __pnp_bios_get_dev_node() 308 int pnp_bios_get_dev_node(u8 *nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_get_dev_node() argument 312 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node() 321 * boot 324 __pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) __pnp_bios_set_dev_node() argument 339 pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) pnp_bios_set_dev_node() argument [all...] |
/kernel/linux/linux-6.6/drivers/pnp/pnpbios/ |
H A D | bioscalls.c | 280 * get_dev_node() and set_dev_node() with boot=1 rather than with boot=0. 286 * boot = whether to get nonvolatile boot (!=0) 290 static int __pnp_bios_get_dev_node(u8 *nodenum, char boot, in __pnp_bios_get_dev_node() argument 298 if (!boot && pnpbios_dont_use_current_config) in __pnp_bios_get_dev_node() 302 boot ? 2 : 1, PNP_DS, 0, &tmp_nodenum, in __pnp_bios_get_dev_node() 308 int pnp_bios_get_dev_node(u8 *nodenum, char boot, struct pnp_bios_node *data) in pnp_bios_get_dev_node() argument 312 status = __pnp_bios_get_dev_node(nodenum, boot, data); in pnp_bios_get_dev_node() 321 * boot 324 __pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) __pnp_bios_set_dev_node() argument 339 pnp_bios_set_dev_node(u8 nodenum, char boot, struct pnp_bios_node *data) pnp_bios_set_dev_node() argument [all...] |
/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/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 \
|