Home
last modified time | relevance | path

Searched refs:magic (Results 1 – 25 of 44) sorted by relevance

12

/busybox-1.35.0/util-linux/volume_id/
Dunused_highpoint.c31 uint32_t magic; member
35 uint32_t magic; member
49 uint32_t magic; in volume_id_probe_highpoint_37x_raid() local
57 magic = hpt->magic; in volume_id_probe_highpoint_37x_raid()
58 if (magic != cpu_to_le32(HPT37X_MAGIC_OK) && magic != cpu_to_le32(HPT37X_MAGIC_BAD)) in volume_id_probe_highpoint_37x_raid()
71 uint32_t magic; in volume_id_probe_highpoint_45x_raid() local
84 magic = hpt->magic; in volume_id_probe_highpoint_45x_raid()
85 if (magic != cpu_to_le32(HPT45X_MAGIC_OK) && magic != cpu_to_le32(HPT45X_MAGIC_BAD)) in volume_id_probe_highpoint_45x_raid()
Dsquashfs.c23 uint32_t magic; member
48 if (sb->magic == SIG1 in volume_id_probe_squashfs()
49 || sb->magic == SIG2 in volume_id_probe_squashfs()
50 || sb->magic == SIG3 in volume_id_probe_squashfs()
51 || sb->magic == SIG4 in volume_id_probe_squashfs()
Dreiserfs.c40 uint8_t magic[12]; member
47 uint8_t magic[16]; member
69 if (memcmp(rs->magic, "ReIsErFs", 8) == 0) { in volume_id_probe_reiserfs()
74 if (memcmp(rs->magic, "ReIsEr2Fs", 9) == 0) { in volume_id_probe_reiserfs()
79 if (memcmp(rs->magic, "ReIsEr3Fs", 9) == 0) { in volume_id_probe_reiserfs()
86 if (memcmp(rs4->magic, "ReIsEr4", 7) == 0) { in volume_id_probe_reiserfs()
99 if (memcmp(rs->magic, "ReIsErFs", 8) == 0) { in volume_id_probe_reiserfs()
Dunused_ufs.c175 uint32_t magic; in volume_id_probe_ufs() local
187 magic = ufs->fs_magic; in volume_id_probe_ufs()
188 if ((magic == cpu_to_be32(UFS_MAGIC)) in volume_id_probe_ufs()
189 || (magic == cpu_to_be32(UFS2_MAGIC)) in volume_id_probe_ufs()
190 || (magic == cpu_to_be32(UFS_MAGIC_FEA)) in volume_id_probe_ufs()
191 || (magic == cpu_to_be32(UFS_MAGIC_LFN)) in volume_id_probe_ufs()
193 dbg("magic 0x%08x(be)", magic); in volume_id_probe_ufs()
196 if ((magic == cpu_to_le32(UFS_MAGIC)) in volume_id_probe_ufs()
197 || (magic == cpu_to_le32(UFS2_MAGIC)) in volume_id_probe_ufs()
198 || (magic == cpu_to_le32(UFS_MAGIC_FEA)) in volume_id_probe_ufs()
[all …]
Dunused_hpfs.c30 uint8_t magic[4]; member
46 if (memcmp(hs->magic, "\x49\xe8\x95\xf9", 4) == 0) { in volume_id_probe_hpfs()
Dbcache.c32 uint8_t magic[16]; member
87 #define BCACHE_SB_MAGIC_OFF offsetof (struct bcache_super_block, magic)
97 if (memcmp(sb->magic, BCACHE_SB_MAGIC, BCACHE_SB_MAGIC_LEN) != 0) in volume_id_probe_bcache()
Dromfs.c30 uint8_t magic[8]; member
47 if (memcmp(rfs->magic, "-rom1fs-", 4) == 0) { in volume_id_probe_romfs()
Dntfs.c57 uint8_t magic[4]; member
147 dbg("mftr->magic '%c%c%c%c'", mftr->magic[0], mftr->magic[1], mftr->magic[2], mftr->magic[3]); in volume_id_probe_ntfs()
148 if (memcmp(mftr->magic, "FILE", 4) != 0) in volume_id_probe_ntfs()
Dlfs.c41 /* 0x28 */ uint8_t magic[LFS_MAGIC_LEN]; // Magic string "littlefs" member
56 if (memcmp(sb->magic, LFS_MAGIC_NAME, LFS_MAGIC_LEN) != 0) in volume_id_probe_lfs()
Dcramfs.c30 uint32_t magic; member
55 if (cs->magic == cpu_to_be32(0x453dcd28)) { in volume_id_probe_cramfs()
Djfs.c30 uint8_t magic[4]; member
55 if (memcmp(js->magic, "JFS1", 4) != 0) in volume_id_probe_jfs()
Dxfs.c30 uint8_t magic[4]; member
55 if (memcmp(xs->magic, "XFSB", 4) != 0) in volume_id_probe_xfs()
Dunused_silicon_raid.c34 uint32_t magic; member
66 if (sil->magic != cpu_to_le32(SILICON_MAGIC)) in volume_id_probe_silicon_medley_raid()
Derofs.c25 uint32_t magic; /* file system magic number */ member
56 if (sb->magic != cpu_to_le32(EROFS_SUPER_MAGIC_V1)) in volume_id_probe_erofs()
Dfat.c60 uint8_t magic[8]; member
75 uint8_t magic[8]; member
161 if (memcmp(vs->type.fat32.magic, "MSWIN", 5) == 0) in volume_id_probe_vfat()
164 if (memcmp(vs->type.fat32.magic, "FAT32 ", 8) == 0) in volume_id_probe_vfat()
167 if (memcmp(vs->type.fat.magic, "FAT16 ", 8) == 0) in volume_id_probe_vfat()
170 if (memcmp(vs->type.fat.magic, "MSDOS", 5) == 0) in volume_id_probe_vfat()
173 if (memcmp(vs->type.fat.magic, "FAT12 ", 8) == 0) in volume_id_probe_vfat()
Dluks.c41 uint8_t magic[LUKS_MAGIC_L]; member
98 if (memcmp(header->magic, LUKS_MAGIC, LUKS_MAGIC_L)) in volume_id_probe_luks()
Dubifs.c36 uint32_t magic; member
115 if (le32_to_cpu(sb->ch.magic) != UBIFS_NODE_MAGIC) in volume_id_probe_ubifs()
Df2fs.c32 /* 0x00 */ uint32_t magic; // Magic Number member
77 if (sb->magic != cpu_to_le32(F2FS_MAGIC)) in volume_id_probe_f2fs()
Dbtrfs.c59 uint8_t magic[8]; member
104 if (memcmp(sb->magic, BTRFS_MAGIC, 8) != 0) in volume_id_probe_btrfs()
/busybox-1.35.0/archival/libarchive/
Dunpack_ar_archive.c11 char magic[7]; in unpack_ar_archive() local
13 xread(ar_archive->src_fd, magic, AR_MAGIC_LEN); in unpack_ar_archive()
14 if (!is_prefixed_with(magic, AR_MAGIC)) { in unpack_ar_archive()
Dopen_transformer.c170 xread(fd, xstate->magic.b16, 2); in setup_transformer_on_fd()
172 && xstate->magic.b16[0] == GZIP_MAGIC in setup_transformer_on_fd()
179 && xstate->magic.b16[0] == COMPRESS_MAGIC in setup_transformer_on_fd()
186 && xstate->magic.b16[0] == BZIP2_MAGIC in setup_transformer_on_fd()
193 && xstate->magic.b16[0] == XZ_MAGIC1 in setup_transformer_on_fd()
197 xread(fd, &xstate->magic.b16[1], 4); in setup_transformer_on_fd()
198 move_from_unaligned32(v32, &xstate->magic.b16[1]); in setup_transformer_on_fd()
358 xmemdup(&xstate->magic, xstate->signature_skipped), in xmalloc_open_zipped_read_close()
/busybox-1.35.0/util-linux/
Dfdisk_aix.c9 uint32_t magic; /* expect AIX_LABEL_MAGIC */ member
57 if (aixlabel->magic != AIX_LABEL_MAGIC in check_aix_label()
58 && aixlabel->magic != AIX_LABEL_MAGIC_SWAPPED in check_aix_label()
/busybox-1.35.0/console-tools/
Dloadfont.c92 unsigned char magic[2]; /* Magic number */ member
100 (x)->magic[0] == PSF1_MAGIC0 \
101 && (x)->magic[1] == PSF1_MAGIC1 \
117 unsigned char magic[4]; member
130 (x)->magic[0] == PSF2_MAGIC0 \
131 && (x)->magic[1] == PSF2_MAGIC1 \
132 && (x)->magic[2] == PSF2_MAGIC2 \
133 && (x)->magic[3] == PSF2_MAGIC3 \
/busybox-1.35.0/include/
Dar_.h17 char magic[2]; member
/busybox-1.35.0/archival/
Dchksum_and_xwrite_tar_header.c20 strcpy(hp->magic, "ustar "); in chksum_and_xwrite_tar_header()

12