Home
last modified time | relevance | path

Searched refs:le16_to_cpu (Results 1 – 25 of 40) sorted by relevance

12

/external/squashfs-tools/kernel/fs/squashfs/
Dinode.c60 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->uid), &inode->i_uid); in squashfs_new_inode()
64 err = squashfs_get_id(sb, le16_to_cpu(sqsh_ino->guid), &inode->i_gid); in squashfs_new_inode()
72 inode->i_mode = le16_to_cpu(sqsh_ino->mode); in squashfs_new_inode()
133 type = le16_to_cpu(sqshb_ino->inode_type); in squashfs_read_inode()
230 inode->i_size = le16_to_cpu(sqsh_ino->file_size); in squashfs_read_inode()
235 squashfs_i(inode)->offset = le16_to_cpu(sqsh_ino->offset); in squashfs_read_inode()
242 le16_to_cpu(sqsh_ino->offset)); in squashfs_read_inode()
259 squashfs_i(inode)->offset = le16_to_cpu(sqsh_ino->offset); in squashfs_read_inode()
262 squashfs_i(inode)->dir_idx_cnt = le16_to_cpu(sqsh_ino->i_count); in squashfs_read_inode()
268 le16_to_cpu(sqsh_ino->offset)); in squashfs_read_inode()
Dsuper.c132 err = supported_squashfs_filesystem(le16_to_cpu(sblk->s_major), in squashfs_fill_super()
133 le16_to_cpu(sblk->s_minor), in squashfs_fill_super()
134 le16_to_cpu(sblk->compression)); in squashfs_fill_super()
159 msblk->block_log = le16_to_cpu(sblk->block_log); in squashfs_fill_super()
171 flags = le16_to_cpu(sblk->flags); in squashfs_fill_super()
182 TRACE("Number of ids %d\n", le16_to_cpu(sblk->no_ids)); in squashfs_fill_super()
210 le64_to_cpu(sblk->id_table_start), le16_to_cpu(sblk->no_ids)); in squashfs_fill_super()
Ddir.c185 size = le16_to_cpu(dire->size) + 1; in squashfs_readdir()
199 ((short) le16_to_cpu(dire->inode_number)); in squashfs_readdir()
200 type = le16_to_cpu(dire->type); in squashfs_readdir()
206 le16_to_cpu(dire->offset), in squashfs_readdir()
Dnamei.c187 size = le16_to_cpu(dire->size) + 1; in squashfs_lookup()
203 off = le16_to_cpu(dire->offset); in squashfs_lookup()
205 (short) le16_to_cpu(dire->inode_number); in squashfs_lookup()
/external/syslinux/gpxe/src/drivers/net/
Dpcnet32.c388 pcnet32_bufs.rx_ring[i].buf_length = le16_to_cpu(-PKT_BUF_SZ); in pcnet32_init_ring()
389 pcnet32_bufs.rx_ring[i].status = le16_to_cpu(0x8000); in pcnet32_init_ring()
401 le16_to_cpu(TX_RING_LEN_BITS | RX_RING_LEN_BITS); in pcnet32_init_ring()
499 le16_to_cpu((lp->options & PCNET32_PORT_PORTSEL) << 7); in pcnet32_reset()
541 status = (le16_to_cpu(pcnet32_bufs.rx_ring[entry].status) >> 8); in pcnet32_poll()
557 = le16_to_cpu(-PKT_BUF_SZ); in pcnet32_poll()
559 pcnet32_bufs.rx_ring[entry].status |= le16_to_cpu(0x8000); in pcnet32_poll()
600 pcnet32_bufs.tx_ring[entry].length = le16_to_cpu(-s); in pcnet32_transmit()
605 pcnet32_bufs.tx_ring[entry].status = le16_to_cpu(status); in pcnet32_transmit()
615 ((short) le16_to_cpu(pcnet32_bufs.tx_ring[entry].status) < 0)); in pcnet32_transmit()
[all …]
Damd8111e.c436 status = le16_to_cpu(lp->tx_ring[index].tx_flags); in amd8111e_wait_tx_ring()
439 status = le16_to_cpu(lp->tx_ring[index].tx_flags); in amd8111e_wait_tx_ring()
574 status = le16_to_cpu(lp->rx_ring[index].rx_flags); in amd8111e_poll()
575 pkt_len = le16_to_cpu(lp->rx_ring[index].msg_len) - 4; /* remove 4bytes FCS */ in amd8111e_poll()
/external/wpa_supplicant_8/src/utils/
Dplatform.h7 #define le16_to_cpu le_to_host16 macro
18 #define get_unaligned_le16(p) le16_to_cpu(get_unaligned((le16 *)(p)))
/external/selinux/libsepol/src/
Dprivate.h26 #define le16_to_cpu(x) (x) macro
33 #define le16_to_cpu(x) bswap_16(x) macro
Davtab.c527 key.source_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
528 key.target_type = le16_to_cpu(buf16[items++]); in avtab_read_item()
529 key.target_class = le16_to_cpu(buf16[items++]); in avtab_read_item()
530 key.specified = le16_to_cpu(buf16[items++]); in avtab_read_item()
/external/syslinux/com32/include/
Dbyteswap.h73 #define le16_to_cpu(x) (x) macro
82 #define le16_to_cpu(x) bswap_16(x) macro
110 return le16_to_cpu(up->x); in get_le16()
/external/syslinux/gpxe/src/drivers/bus/
Deisa.c118 le16_to_cpu ( inw ( eisa->ioaddr + EISA_VENDOR_ID ) ); in eisabus_probe()
120 le16_to_cpu ( inw ( eisa->ioaddr + EISA_PROD_ID ) ); in eisabus_probe()
/external/f2fs-tools/lib/
Dlibf2fs.c129 if ((le16_to_cpu(input[0]) & 0xfc00) == 0xd800) { in utf16_to_wchar()
130 if (insize < 2 || (le16_to_cpu(input[1]) & 0xfc00) != 0xdc00) in utf16_to_wchar()
132 *wc = ((wchar_t) (le16_to_cpu(input[0]) & 0x3ff) << 10); in utf16_to_wchar()
133 *wc |= (le16_to_cpu(input[1]) & 0x3ff); in utf16_to_wchar()
137 *wc = le16_to_cpu(*input); in utf16_to_wchar()
196 while ((size_t)(inp - input) < insize && le16_to_cpu(*inp)) { in utf16_to_utf8()
/external/f2fs-tools/include/
Df2fs_fs.h95 #define le16_to_cpu(x) ((__u16)(x)) macro
102 #define le16_to_cpu(x) bswap_16(x) macro
327 #define get_sb_le16(member) le16_to_cpu(sb->member)
330 #define get_newsb_le16(member) le16_to_cpu(new_sb->member)
368 #define get_cp_le16(member) le16_to_cpu(cp->member)
736 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK)
738 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \
/external/f2fs-tools/fsck/
Dxattr.h51 entry->e_name_len + le16_to_cpu(entry->e_value_size)))
Dsegment.c83 if (S_ISDIR(le16_to_cpu(inode->i.i_mode)) || in f2fs_write_block()
84 S_ISLNK(le16_to_cpu(inode->i.i_mode))) in f2fs_write_block()
Ddefrag.c52 le16_to_cpu(sum.ofs_in_node), to); in migrate_block()
Df2fs.h345 #define nats_in_cursum(jnl) (le16_to_cpu(jnl->n_nats))
346 #define sits_in_cursum(jnl) (le16_to_cpu(jnl->n_sits))
Ddir.c72 if (le16_to_cpu(de->name_len) == len && in find_target_dentry()
81 bit_pos += GET_DENTRY_SLOTS(le16_to_cpu(de->name_len)); in find_target_dentry()
582 map_de_type(le16_to_cpu(child->i.i_mode)), in f2fs_create()
/external/syslinux/gpxe/src/include/
Dbig_bswap.h16 #define le16_to_cpu(x) __bswap_16(x) macro
Dlittle_bswap.h18 #define le16_to_cpu(x) (x) macro
/external/syslinux/gpxe/src/net/
Dtcpip.c113 value = le16_to_cpu ( value ); in tcpip_continue_chksum()
/external/fio/
Dserver.c293 cmd->cmd_crc16 = le16_to_cpu(cmd->cmd_crc16); in verify_convert_cmd()
294 cmd->pdu_crc16 = le16_to_cpu(cmd->pdu_crc16); in verify_convert_cmd()
303 cmd->version = le16_to_cpu(cmd->version); in verify_convert_cmd()
304 cmd->opcode = le16_to_cpu(cmd->opcode); in verify_convert_cmd()
744 pdu->name_len = le16_to_cpu(pdu->name_len); in handle_load_file_cmd()
745 pdu->client_type = le16_to_cpu(pdu->client_type); in handle_load_file_cmd()
813 clp->lines = le16_to_cpu(clp->lines); in handle_jobline_cmd()
814 clp->client_type = le16_to_cpu(clp->client_type); in handle_jobline_cmd()
824 offset += sizeof(*cslp) + le16_to_cpu(cslp->len); in handle_jobline_cmd()
960 pdu->len = le16_to_cpu(pdu->len); in handle_trigger_cmd()
/external/syslinux/com32/tools/
Drelocs.c234 #define le16_to_cpu(val) (val) macro
238 #define le16_to_cpu(val) bswap_16(val) macro
244 return le16_to_cpu(val); in elf16_to_cpu()
/external/kernel-headers/original/uapi/linux/
Dmsdos_fs.h19 #define CF_LE_W(v) le16_to_cpu(v)
/external/fio/os/
Dos.h229 #define le16_to_cpu(val) ({ \ macro

12