Home
last modified time | relevance | path

Searched refs:be32_to_cpu (Results 1 – 25 of 31) sorted by relevance

12

/external/blktrace/
Dblktrace.h73 #define be32_to_cpu(x) __bswap_32(x) macro
80 #define be32_to_cpu(x) (x) macro
109 t->magic = be32_to_cpu(t->magic); in trace_to_cpu()
110 t->sequence = be32_to_cpu(t->sequence); in trace_to_cpu()
113 t->bytes = be32_to_cpu(t->bytes); in trace_to_cpu()
114 t->action = be32_to_cpu(t->action); in trace_to_cpu()
115 t->pid = be32_to_cpu(t->pid); in trace_to_cpu()
116 t->device = be32_to_cpu(t->device); in trace_to_cpu()
Dblkparse_fmt.c157 r->device_from = be32_to_cpu(__r->device_from); in get_pdu_remap()
158 r->device_to = be32_to_cpu(__r->device_to); in get_pdu_remap()
Dblktrace.c2411 bnh.magic = be32_to_cpu(bnh.magic); in net_client_data()
2412 bnh.cpu = be32_to_cpu(bnh.cpu); in net_client_data()
2413 bnh.max_cpus = be32_to_cpu(bnh.max_cpus); in net_client_data()
2414 bnh.len = be32_to_cpu(bnh.len); in net_client_data()
2415 bnh.cl_id = be32_to_cpu(bnh.cl_id); in net_client_data()
2416 bnh.buf_size = be32_to_cpu(bnh.buf_size); in net_client_data()
2417 bnh.buf_nr = be32_to_cpu(bnh.buf_nr); in net_client_data()
2418 bnh.page_size = be32_to_cpu(bnh.page_size); in net_client_data()
/external/syslinux/core/fs/xfs/
Dxfs_dir2.c270 if (be32_to_cpu(hdr->magic) != XFS_DIR2_BLOCK_MAGIC) { in xfs_dir2_block_find_entry()
272 xfs_debug("hdr->magic: 0x%lx", be32_to_cpu(hdr->magic)); in xfs_dir2_block_find_entry()
279 endp = (uint8_t *)((xfs_dir2_leaf_entry_t *)btp - be32_to_cpu(btp->count)); in xfs_dir2_block_find_entry()
373 be32_to_cpu(core->di_nextents) - 1); in xfs_dir2_leaf_find_entry()
393 if ((hash = be32_to_cpu(lep[mid].hashval)) == hashwant) in xfs_dir2_leaf_find_entry()
407 while (mid > 0 && be32_to_cpu(lep[mid - 1].hashval) == hashwant) in xfs_dir2_leaf_find_entry()
412 be32_to_cpu(lep->hashval) == hashwant; in xfs_dir2_leaf_find_entry()
415 if (be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR) in xfs_dir2_leaf_find_entry()
418 newdb = xfs_dir2_dataptr_to_db(parent->fs, be32_to_cpu(lep->address)); in xfs_dir2_leaf_find_entry()
427 if (be32_to_cpu(data_hdr->magic) != XFS_DIR2_DATA_MAGIC) { in xfs_dir2_leaf_find_entry()
[all …]
Dxfs_readdir.c147 if (be32_to_cpu(hdr->magic) != XFS_DIR2_BLOCK_MAGIC) { in xfs_readdir_dir2_block()
149 xfs_debug("hdr->magic: 0x%lx", be32_to_cpu(hdr->magic)); in xfs_readdir_dir2_block()
155 if (file->offset + 1 > be32_to_cpu(btp->count)) in xfs_readdir_dir2_block()
218 be32_to_cpu(core->di_nextents) - 1); in xfs_readdir_dir2_leaf()
238 for ( ; be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR; in xfs_readdir_dir2_leaf()
241 db = xfs_dir2_dataptr_to_db(fs, be32_to_cpu(lep->address)); in xfs_readdir_dir2_leaf()
249 if (be32_to_cpu(data_hdr->magic) != XFS_DIR2_DATA_MAGIC) { in xfs_readdir_dir2_leaf()
254 offset = xfs_dir2_dataptr_to_off(fs, be32_to_cpu(lep->address)); in xfs_readdir_dir2_leaf()
317 fsblkno = be32_to_cpu(node->btree[XFS_PVT(inode)->i_btree_offset].before); in xfs_readdir_dir2_node()
341 be32_to_cpu(lep->address) == XFS_DIR2_NULL_DATAPTR; in xfs_readdir_dir2_node()
[all …]
Dxfs.c51 if (be32_to_cpu(core->di_nextents) <= 1) { in xfs_fmt_extents_readdir()
116 if (XFS_PVT(inode)->i_cur_extent == be32_to_cpu(core->di_nextents)) in xfs_next_extent()
193 if (be32_to_cpu(core->di_nextents) <= 1) { in xfs_fmt_extents_find_entry()
352 info->blocksize = be32_to_cpu(sb->sb_blocksize); in xfs_new_sb_info()
359 info->agblocks = be32_to_cpu(sb->sb_agblocks); in xfs_new_sb_info()
361 info->agcount = be32_to_cpu(sb->sb_agcount); in xfs_new_sb_info()
389 xfs_debug("magicnum 0x%lX", be32_to_cpu(sb.sb_magicnum)); in xfs_fs_init()
Dxfs_ag.h171 be32_to_cpu((a)->agf_levels[XFS_BTNUM_BNOi]), \
172 be32_to_cpu((a)->agf_levels[XFS_BTNUM_CNTi]), mp))
Dmisc.h35 static inline uint32_t be32_to_cpu(uint32_t val) in be32_to_cpu() function
Dxfs_dir2.h50 be32_to_cpu(dip->di_nextents) - 1); in xfs_dir2_isleaf()
/external/blktrace/btt/
Dmmap.c59 tp->magic = be32_to_cpu(t->magic); in convert_to_cpu()
60 tp->sequence = be32_to_cpu(t->sequence); in convert_to_cpu()
63 tp->bytes = be32_to_cpu(t->bytes); in convert_to_cpu()
64 tp->action = be32_to_cpu(t->action); in convert_to_cpu()
65 tp->pid = be32_to_cpu(t->pid); in convert_to_cpu()
66 tp->device = be32_to_cpu(t->device); in convert_to_cpu()
Dtrace_remap.c25 rp->device_from = be32_to_cpu(rp->device_from); in cvt_pdu_remap()
26 rp->device_to = be32_to_cpu(rp->device_to); in cvt_pdu_remap()
/external/e2fsprogs/debugfs/
Dlogdump.c71 if (blocknr >= be32_to_cpu((jsb)->s_maxlen)) \
72 blocknr -= (be32_to_cpu((jsb)->s_maxlen) - \
73 be32_to_cpu((jsb)->s_first));
364 if ((be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) && in dump_journal()
387 if (be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) { in dump_journal()
392 blocksize = be32_to_cpu(jsb->s_blocksize); in dump_journal()
393 transaction = be32_to_cpu(jsb->s_sequence); in dump_journal()
394 blocknr = be32_to_cpu(jsb->s_start); in dump_journal()
416 magic = be32_to_cpu(header->h_magic); in dump_journal()
417 sequence = be32_to_cpu(header->h_sequence); in dump_journal()
[all …]
/external/linux-kselftest/tools/testing/selftests/powerpc/vphn/
Dtest-vphn.c9 #define be32_to_cpu(x) bswap_32(x) macro
14 #define be32_to_cpu(x) (x) macro
373 len = be32_to_cpu(output[0]); in test_one()
381 u32 val = be32_to_cpu(output[i]); in test_one()
/external/syslinux/com32/include/
Dbyteswap.h68 #define be32_to_cpu(x) bswap_32(x) macro
91 #define be32_to_cpu(x) (x) macro
134 return be32_to_cpu(up->x); in get_be32()
/external/syslinux/gpxe/src/drivers/block/
Dscsi.c232 blockdev->blksize = be32_to_cpu ( capacity.blksize ); in scsi_read_capacity_10()
233 blockdev->blocks = ( be32_to_cpu ( capacity.lba ) + 1 ); in scsi_read_capacity_10()
263 blockdev->blksize = be32_to_cpu ( capacity.blksize ); in scsi_read_capacity_16()
/external/syslinux/com32/include/netinet/
Din.h14 #define ntohl(x) be32_to_cpu(x)
/external/syslinux/gpxe/src/core/
Duuid.c42 be32_to_cpu ( uuid->canonical.a ), in uuid_ntoa()
/external/syslinux/gpxe/src/drivers/infiniband/
Dmlx_bitops.h196 uint32_t __value = be32_to_cpu ( *__ptr ); \
214 uint32_t __value = be32_to_cpu ( *__ptr ); \
/external/syslinux/extlinux/
Dmisc.h35 static inline uint32_t be32_to_cpu(uint32_t val) in be32_to_cpu() function
/external/syslinux/gpxe/src/drivers/net/
Dmtnic.c454 status = be32_to_cpu(readl(&hcr->status_go_opcode)); in cmdif_go_bit()
531 status = be32_to_cpu((u32)readl(&hcr->status_go_opcode)) >> 24; in mtnic_cmd()
607 mtnic->fw.err_buf.size = be32_to_cpu(cmd->err_buf_size); in mtnic_QUERY_FW()
645 mtnic->fw.extra_pages.num = be32_to_cpu(*(extra_pages+1)); in mtnic_OPEN_NIC()
677 flags = be32_to_cpu(heart_beat.flags); in mtnic_HEART_BEAT()
886 *((u32*)result) = be32_to_cpu(*(out_imm+1)); in mtnic_QUERY_CAP()
887 *((u32*)result + 1) = be32_to_cpu(*out_imm); in mtnic_QUERY_CAP()
1253 length = be32_to_cpu(cqe->byte_cnt); in mtnic_process_rx_cq()
/external/syslinux/gpxe/src/include/
Dbig_bswap.h18 #define be32_to_cpu(x) (x) macro
Dlittle_bswap.h20 #define be32_to_cpu(x) __bswap_32(x) macro
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h24 #define be32_to_cpu(n) ntohl(n) macro
/external/e2fsprogs/misc/
Ddumpe2fs.c402 if (be32_to_cpu(jsb->s_header.h_magic) != JFS_MAGIC_NUMBER) { in print_inline_journal_information()
409 mask = be32_to_cpu(*mask_ptr); in print_inline_journal_information()
492 mask = be32_to_cpu(*mask_ptr); in print_journal_information()
/external/f2fs-tools/fsck/
Dquotaio.h189 #define be32_to_cpu(n) ntohl(n) macro

12