Home
last modified time | relevance | path

Searched refs:ext2fs_cpu_to_be32 (Results 1 – 12 of 12) sorted by relevance

/external/e2fsprogs/lib/ext2fs/
Dkernel-jbd.h252 ((j)->j_superblock->s_feature_compat & ext2fs_cpu_to_be32((mask))))
255 ((j)->j_superblock->s_feature_ro_compat & ext2fs_cpu_to_be32((mask))))
258 ((j)->j_superblock->s_feature_incompat & ext2fs_cpu_to_be32((mask))))
310 ext2fs_cpu_to_be32(JFS_FEATURE_COMPAT_##flagname)) != 0); \
316 ext2fs_cpu_to_be32(JFS_FEATURE_COMPAT_##flagname); \
322 ~ext2fs_cpu_to_be32(JFS_FEATURE_COMPAT_##flagname); \
331 ext2fs_cpu_to_be32(JFS_FEATURE_RO_COMPAT_##flagname)) != 0); \
337 ext2fs_cpu_to_be32(JFS_FEATURE_RO_COMPAT_##flagname); \
343 ~ext2fs_cpu_to_be32(JFS_FEATURE_RO_COMPAT_##flagname); \
352 ext2fs_cpu_to_be32(JFS_FEATURE_INCOMPAT_##flagname)) != 0); \
[all …]
Dbitops.h23 #define ext2fs_cpu_to_be32(x) ((__force __be32)(__u32)(x)) macro
37 #define ext2fs_cpu_to_be32(x) ((__force __be32)ext2fs_swab32((__u32)(x))) macro
Dcrc32c.c54 #define __cpu_to_be32(x) (ext2fs_cpu_to_be32((x)))
/external/e2fsprogs/debugfs/
Ddo_journal.c88 commit->h_magic = ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER); in journal_commit_trans()
89 commit->h_blocktype = ext2fs_cpu_to_be32(JFS_COMMIT_BLOCK); in journal_commit_trans()
90 commit->h_sequence = ext2fs_cpu_to_be32(trans->tid); in journal_commit_trans()
119 commit->h_chksum[0] = ext2fs_cpu_to_be32(csum_v1); in journal_commit_trans()
127 commit->h_commit_sec = ext2fs_cpu_to_be32(tv.tv_sec); in journal_commit_trans()
128 commit->h_commit_nsec = ext2fs_cpu_to_be32(tv.tv_usec * 1000); in journal_commit_trans()
193 jrb->r_header.h_magic = ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER); in journal_add_revoke_to_trans()
194 jrb->r_header.h_blocktype = ext2fs_cpu_to_be32(JFS_REVOKE_BLOCK); in journal_add_revoke_to_trans()
195 jrb->r_header.h_sequence = ext2fs_cpu_to_be32(trans->tid); in journal_add_revoke_to_trans()
206 jrb->r_count = ext2fs_cpu_to_be32(offset); in journal_add_revoke_to_trans()
[all …]
Drevoke.c617 header->h_magic = ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER);
618 header->h_blocktype = ext2fs_cpu_to_be32(JFS_REVOKE_BLOCK);
619 header->h_sequence = ext2fs_cpu_to_be32(transaction->t_tid);
652 tail->r_checksum = ext2fs_cpu_to_be32(csum);
674 header->r_count = ext2fs_cpu_to_be32(offset);
Drecovery.c215 return provided == ext2fs_cpu_to_be32(calculated); in jbd2_descr_block_csum_verify()
418 return provided == ext2fs_cpu_to_be32(calculated); in jbd2_commit_block_csum_verify()
431 seq = ext2fs_cpu_to_be32(sequence); in jbd2_block_tag_csum_verify()
520 if (tmp->h_magic != ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER)) { in do_one_pass()
650 __u32 magic = ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER); in do_one_pass()
850 return provided == ext2fs_cpu_to_be32(calculated); in jbd2_revoke_block_csum_verify()
Djournal.c94 jsb->s_checksum = ext2fs_cpu_to_be32(crc); in ext2fs_journal_sb_csum_set()
886 h->h_chksum[0] = ext2fs_cpu_to_be32(csum); in jbd2_commit_block_csum_set()
901 tail->r_checksum = ext2fs_cpu_to_be32(csum); in jbd2_revoke_csum_set()
916 tail->t_checksum = ext2fs_cpu_to_be32(csum); in jbd2_descr_block_csum_set()
929 seq = ext2fs_cpu_to_be32(sequence); in jbd2_block_tag_csum_set()
934 tag3->t_checksum = ext2fs_cpu_to_be32(csum32); in jbd2_block_tag_csum_set()
/external/e2fsprogs/e2fsck/
Drevoke.c617 header->h_magic = ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER);
618 header->h_blocktype = ext2fs_cpu_to_be32(JFS_REVOKE_BLOCK);
619 header->h_sequence = ext2fs_cpu_to_be32(transaction->t_tid);
652 tail->r_checksum = ext2fs_cpu_to_be32(csum);
674 header->r_count = ext2fs_cpu_to_be32(offset);
Drecovery.c215 return provided == ext2fs_cpu_to_be32(calculated); in jbd2_descr_block_csum_verify()
418 return provided == ext2fs_cpu_to_be32(calculated); in jbd2_commit_block_csum_verify()
431 seq = ext2fs_cpu_to_be32(sequence); in jbd2_block_tag_csum_verify()
520 if (tmp->h_magic != ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER)) { in do_one_pass()
650 __u32 magic = ext2fs_cpu_to_be32(JFS_MAGIC_NUMBER); in do_one_pass()
850 return provided == ext2fs_cpu_to_be32(calculated); in jbd2_revoke_block_csum_verify()
Djfs_user.h205 ((jsb)->s_header.h_blocktype == ext2fs_cpu_to_be32(JFS_SUPERBLOCK_V2) && \
206 ((jsb)->s_feature_incompat & ext2fs_cpu_to_be32((mask))))
Djournal.c89 jsb->s_checksum = ext2fs_cpu_to_be32(crc); in e2fsck_journal_sb_csum_set()
/external/e2fsprogs/misc/
De2image.c908 header->magic = ext2fs_cpu_to_be32(QCOW_MAGIC); in initialize_qcow2_image()
909 header->version = ext2fs_cpu_to_be32(QCOW_VERSION); in initialize_qcow2_image()
911 header->cluster_bits = ext2fs_cpu_to_be32(cluster_bits); in initialize_qcow2_image()
922 header->l1_size = ext2fs_cpu_to_be32(l1_size); in initialize_qcow2_image()
936 ext2fs_cpu_to_be32(image->refcount.refcount_table_clusters); in initialize_qcow2_image()