Searched refs:HFS_32_TO_CPU (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Djournal.c83 binsect = HFS_32_TO_CPU(priv_data->vh->block_size, is_le) / PED_SECTOR_SIZE_DEFAULT;
138 blhdr_nbsect = HFS_32_TO_CPU(jh->blhdr_size, is_le) / PED_SECTOR_SIZE_DEFAULT;
149 cksum = HFS_32_TO_CPU(blhdr->checksum, is_le);
161 size = HFS_32_TO_CPU(blhdr->binfo[i].bsize, is_le);
287 if ( (jh->magic != HFS_32_TO_CPU(HFSJ_HEADER_MAGIC, is_le))
288 || (jh->endian != HFS_32_TO_CPU(HFSJ_ENDIAN_MAGIC, is_le)) ) {
309 || (HFS_32_TO_CPU(jh->blhdr_size, is_le) % PED_SECTOR_SIZE_DEFAULT)
310 || (HFS_32_TO_CPU(jh->jhdr_size, is_le) % PED_SECTOR_SIZE_DEFAULT) ) {
319 if (HFS_32_TO_CPU(jh->jhdr_size, is_le) != PED_SECTOR_SIZE_DEFAULT) {
329 cksum = HFS_32_TO_CPU(j
[all...]
H A Djournal.h38 #define HFS_32_TO_CPU(x, is_little_endian) ((is_little_endian) ? (uint32_t)PED_LE32_TO_CPU(x) : (uint32_t)PED_BE32_TO_CPU(x)) macro

Completed in 23 milliseconds