Home
last modified time | relevance | path

Searched refs:be16_to_cpu (Results 1 – 21 of 21) sorted by relevance

/external/syslinux/core/fs/xfs/
Dxfs_dir2.c227 if ((be16_to_cpu(ncore->di_mode) & S_IFMT) == S_IFDIR) { in xfs_dir2_local_find_entry()
230 } else if ((be16_to_cpu(ncore->di_mode) & S_IFMT) == S_IFREG) { in xfs_dir2_local_find_entry()
234 } else if ((be16_to_cpu(ncore->di_mode) & S_IFMT) == S_IFLNK) { in xfs_dir2_local_find_entry()
286 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_dir2_block_find_entry()
287 p += be16_to_cpu(dup->length); in xfs_dir2_block_find_entry()
326 if ((be16_to_cpu(ncore->di_mode) & S_IFMT) == S_IFDIR) { in xfs_dir2_block_find_entry()
329 } else if ((be16_to_cpu(ncore->di_mode) & S_IFMT) == S_IFREG) { in xfs_dir2_block_find_entry()
333 } else if ((be16_to_cpu(ncore->di_mode) & S_IFMT) == S_IFLNK) { in xfs_dir2_block_find_entry()
379 if (be16_to_cpu(leaf->hdr.info.magic) != XFS_DIR2_LEAF1_MAGIC) { in xfs_dir2_leaf_find_entry()
390 for (lep = leaf->ents, low = 0, high = be16_to_cpu(leaf->hdr.count) - 1; in xfs_dir2_leaf_find_entry()
[all …]
Dxfs_readdir.c51 if (be16_to_cpu(core->di_mode) & S_IFDIR) in fill_dirent()
53 else if (be16_to_cpu(core->di_mode) & S_IFREG) in fill_dirent()
55 else if (be16_to_cpu(core->di_mode) & S_IFLNK) in fill_dirent()
168 if (be16_to_cpu(dup->freetag) == XFS_DIR2_DATA_FREE_TAG) { in xfs_readdir_dir2_block()
169 p += be16_to_cpu(dup->length); in xfs_readdir_dir2_block()
224 if (be16_to_cpu(leaf->hdr.info.magic) != XFS_DIR2_LEAF1_MAGIC) { in xfs_readdir_dir2_leaf()
232 if (file->offset + 1 > be16_to_cpu(leaf->hdr.count)) in xfs_readdir_dir2_leaf()
307 if (be16_to_cpu(node->hdr.info.magic) != XFS_DA_NODE_MAGIC) { in xfs_readdir_dir2_node()
314 XFS_PVT(inode)->i_btree_offset >= be16_to_cpu(node->hdr.count)) in xfs_readdir_dir2_node()
325 if (be16_to_cpu(leaf->hdr.info.magic) != XFS_DIR2_LEAFN_MAGIC) { in xfs_readdir_dir2_node()
[all …]
Dxfs_dinode.c50 if (be16_to_cpu(core->di_magic) != in xfs_dinode_get_core()
51 be16_to_cpu(*(uint16_t *)XFS_DINODE_MAGIC)) { in xfs_dinode_get_core()
53 xfs_debug("magic number 0x%04x", (be16_to_cpu(core->di_magic))); in xfs_dinode_get_core()
Dxfs.c141 if (be16_to_cpu(blk->bb_level) == 0) in xfs_next_extent()
152 nextents = be16_to_cpu(blk->bb_numrecs); in xfs_next_extent()
309 xfs_debug("magic number 0x%04x", be16_to_cpu(core->di_magic)); in xfs_iget_root()
317 if ((be16_to_cpu(core->di_mode) & S_IFMT) != S_IFDIR) { in xfs_iget_root()
362 info->inodesize = be16_to_cpu(sb->sb_inodesize); in xfs_new_sb_info()
Dmisc.h44 static inline uint16_t be16_to_cpu(uint16_t val) in be16_to_cpu() function
Dxfs.h519 be16_to_cpu(dup->length) - sizeof(uint16_t)); in xfs_dir2_data_unused_tag_p()
/external/syslinux/gpxe/src/core/
Duuid.c43 be16_to_cpu ( uuid->canonical.b ), in uuid_ntoa()
44 be16_to_cpu ( uuid->canonical.c ), in uuid_ntoa()
45 be16_to_cpu ( uuid->canonical.d ), in uuid_ntoa()
/external/blktrace/
Dblktrace.h72 #define be16_to_cpu(x) __bswap_16(x) macro
79 #define be16_to_cpu(x) (x) macro
117 t->cpu = be16_to_cpu(t->cpu); in trace_to_cpu()
118 t->error = be16_to_cpu(t->error); in trace_to_cpu()
119 t->pdu_len = be16_to_cpu(t->pdu_len); in trace_to_cpu()
/external/syslinux/com32/lib/jpeg/
Dtinyjpeg.c207 #define be16_to_cpu(x) (((x)[0]<<8)|(x)[1]) macro
454 height = be16_to_cpu(stream+3); in print_SOF()
455 width = be16_to_cpu(stream+5); in print_SOF()
509 dqt_block_end = stream + be16_to_cpu(stream); in parse_DQT()
538 height = be16_to_cpu(stream+3); in parse_SOF()
539 width = be16_to_cpu(stream+5); in parse_SOF()
615 length = be16_to_cpu(stream) - 2; in parse_DHT()
658 length = be16_to_cpu(stream); in parse_DRI()
665 priv->restart_interval = be16_to_cpu(stream+2); in parse_DRI()
747 chuck_len = be16_to_cpu(stream); in parse_JFIF()
/external/blktrace/btt/
Dmmap.c67 tp->cpu = be16_to_cpu(t->cpu); in convert_to_cpu()
68 tp->error = be16_to_cpu(t->error); in convert_to_cpu()
69 tp->pdu_len = be16_to_cpu(t->pdu_len); in convert_to_cpu()
/external/syslinux/com32/include/
Dbyteswap.h66 #define be16_to_cpu(x) bswap_16(x) macro
89 #define be16_to_cpu(x) (x) macro
128 return be16_to_cpu(up->x); in get_be16()
/external/syslinux/com32/include/netinet/
Din.h12 #define ntohs(x) be16_to_cpu(x)
/external/syslinux/extlinux/
Dmisc.h44 static inline uint16_t be16_to_cpu(uint16_t val) in be16_to_cpu() function
/external/syslinux/gpxe/src/include/
Dbig_bswap.h19 #define be16_to_cpu(x) (x) macro
Dlittle_bswap.h21 #define be16_to_cpu(x) __bswap_16(x) macro
/external/syslinux/gpxe/src/net/
Dtcpip.c110 value = be16_to_cpu ( value ); in tcpip_continue_chksum()
/external/e2fsprogs/lib/ext2fs/
Djfs_compat.h26 #define be16_to_cpu(n) ntohs(n) macro
/external/syslinux/gpxe/src/drivers/net/
Dmtnic.c600 mtnic->fw_ver = ((u64) be16_to_cpu(cmd->rev_maj) << 32) | in mtnic_QUERY_FW()
601 ((u64) be16_to_cpu(cmd->rev_min) << 16) | in mtnic_QUERY_FW()
602 (u64) be16_to_cpu(cmd->rev_smin); in mtnic_QUERY_FW()
603 mtnic->fw.ifc_rev = be16_to_cpu(cmd->ifc_rev); in mtnic_QUERY_FW()
612 mtnic->fw.fw_pages.num = be16_to_cpu(cmd->fw_pages); in mtnic_QUERY_FW()
/external/syslinux/gpxe/src/arch/i386/interface/pcbios/
Dint13.c694 if ( signature != be16_to_cpu ( 0x55aa ) ) { in int13_boot()
/external/blktrace/btreplay/
Dbtrecord.c523 pdu_len = be16_to_cpu(t.pdu_len); in next_io()
/external/e2fsprogs/debugfs/
Dlogdump.c530 tag_flags = be16_to_cpu(tag->t_flags); in dump_descriptor_block()