Lines Matching refs:magic
32 errcode_t magic; member
45 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || \
46 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP) || \
47 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP))
50 (((bmap)->magic == EXT2_ET_MAGIC_GENERIC_BITMAP64) || \
51 ((bmap)->magic == EXT2_ET_MAGIC_BLOCK_BITMAP64) || \
52 ((bmap)->magic == EXT2_ET_MAGIC_INODE_BITMAP64))
74 if (!bitmap || !((bitmap->magic == EXT2_ET_MAGIC_GENERIC_BITMAP) || in check_magic()
75 (bitmap->magic == EXT2_ET_MAGIC_INODE_BITMAP) || in check_magic()
76 (bitmap->magic == EXT2_ET_MAGIC_BLOCK_BITMAP))) in check_magic()
81 errcode_t ext2fs_make_generic_bitmap(errcode_t magic, ext2_filsys fs, in ext2fs_make_generic_bitmap() argument
95 bitmap->magic = magic; in ext2fs_make_generic_bitmap()
100 switch (magic) { in ext2fs_make_generic_bitmap()
153 return (ext2fs_make_generic_bitmap(src->magic, src->fs, in ext2fs_copy_generic_bitmap()
167 bitmap->magic = 0; in ext2fs_free_generic_bitmap()
310 errcode_t magic, errcode_t neq, in ext2fs_fudge_generic_bitmap_end() argument
315 EXT2_CHECK_MAGIC(bitmap, magic); in ext2fs_fudge_generic_bitmap_end()
325 errcode_t ext2fs_resize_generic_bitmap(errcode_t magic, in ext2fs_resize_generic_bitmap() argument
334 if (!bmap || (bmap->magic != magic)) in ext2fs_resize_generic_bitmap()
335 return magic; in ext2fs_resize_generic_bitmap()
369 errcode_t ext2fs_compare_generic_bitmap(errcode_t magic, errcode_t neq, in ext2fs_compare_generic_bitmap() argument
377 if (!bm1 || bm1->magic != magic) in ext2fs_compare_generic_bitmap()
378 return magic; in ext2fs_compare_generic_bitmap()
379 if (!bm2 || bm2->magic != magic) in ext2fs_compare_generic_bitmap()
380 return magic; in ext2fs_compare_generic_bitmap()
409 errcode_t magic, in ext2fs_get_generic_bitmap_range() argument
415 if (!bmap || (bmap->magic != magic)) in ext2fs_get_generic_bitmap_range()
416 return magic; in ext2fs_get_generic_bitmap_range()
426 errcode_t magic, in ext2fs_set_generic_bitmap_range() argument
432 if (!bmap || (bmap->magic != magic)) in ext2fs_set_generic_bitmap_range()
433 return magic; in ext2fs_set_generic_bitmap_range()