Lines Matching refs:magic

31 	errcode_t	magic;  member
42 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || \
43 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP) || \
44 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP))
47 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP64) || \
48 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP64) || \
49 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP64))
69 if (!bitmap || !((bitmap->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || in check_magic()
70 (bitmap->magic == EXT2_ET_MAGIC_INODE_BITMAP) || in check_magic()
71 (bitmap->magic == EXT2_ET_MAGIC_BLOCK_BITMAP))) in check_magic()
76 errcode_t ext2fs_make_generic_bitmap(errcode_t magic, ext2_filsys fs, in ext2fs_make_generic_bitmap() argument
90 bitmap->magic = magic; in ext2fs_make_generic_bitmap()
95 switch (magic) { in ext2fs_make_generic_bitmap()
146 return (ext2fs_make_generic_bitmap(src->magic, src->fs, in ext2fs_copy_generic_bitmap()
158 bitmap->magic = 0; in ext2fs_free_generic_bitmap()
289 errcode_t magic, errcode_t neq, in ext2fs_fudge_generic_bitmap_end() argument
292 EXT2_CHECK_MAGIC(bitmap, magic); in ext2fs_fudge_generic_bitmap_end()
302 errcode_t ext2fs_resize_generic_bitmap(errcode_t magic, in ext2fs_resize_generic_bitmap() argument
310 if (!bmap || (bmap->magic != magic)) in ext2fs_resize_generic_bitmap()
311 return magic; in ext2fs_resize_generic_bitmap()
345 errcode_t ext2fs_compare_generic_bitmap(errcode_t magic, errcode_t neq, in ext2fs_compare_generic_bitmap() argument
351 if (!bm1 || bm1->magic != magic) in ext2fs_compare_generic_bitmap()
352 return magic; in ext2fs_compare_generic_bitmap()
353 if (!bm2 || bm2->magic != magic) in ext2fs_compare_generic_bitmap()
354 return magic; in ext2fs_compare_generic_bitmap()
382 errcode_t magic, in ext2fs_get_generic_bitmap_range() argument
386 if (!bmap || (bmap->magic != magic)) in ext2fs_get_generic_bitmap_range()
387 return magic; in ext2fs_get_generic_bitmap_range()
397 errcode_t magic, in ext2fs_set_generic_bitmap_range() argument
401 if (!bmap || (bmap->magic != magic)) in ext2fs_set_generic_bitmap_range()
402 return magic; in ext2fs_set_generic_bitmap_range()