/external/erofs-utils/lib/ |
D | namei.c | 39 ifmt = le16_to_cpu(dic->i_format); in erofs_read_inode_from_disk() 58 vi->i_mode = le16_to_cpu(die->i_mode); in erofs_read_inode_from_disk() 90 vi->i_mode = le16_to_cpu(dic->i_mode); in erofs_read_inode_from_disk() 111 vi->i_uid = le16_to_cpu(dic->i_uid); in erofs_read_inode_from_disk() 112 vi->i_gid = le16_to_cpu(dic->i_gid); in erofs_read_inode_from_disk() 113 vi->i_nlink = le16_to_cpu(dic->i_nlink); in erofs_read_inode_from_disk() 149 nameoff = le16_to_cpu(de->nameoff); in find_target_dirent() 156 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff; in find_target_dirent() 202 nameoff = le16_to_cpu(de->nameoff); in erofs_namei()
|
D | zmap.c | 48 vi->z_advise = le16_to_cpu(h->h_advise); in z_erofs_fill_inode_lazy() 126 advise = le16_to_cpu(di->di_advise); in legacy_load_cluster_from_disk() 132 m->delta[0] = le16_to_cpu(di->di_u.delta[0]); in legacy_load_cluster_from_disk() 133 m->delta[1] = le16_to_cpu(di->di_u.delta[1]); in legacy_load_cluster_from_disk() 137 m->clusterofs = le16_to_cpu(di->di_clusterofs); in legacy_load_cluster_from_disk()
|
D | compress.c | 238 const unsigned int advise = le16_to_cpu(di->di_advise); in parse_legacy_indexes() 242 cv->clusterofs = le16_to_cpu(di->di_clusterofs); in parse_legacy_indexes() 245 cv->u.delta[0] = le16_to_cpu(di->di_u.delta[0]); in parse_legacy_indexes() 246 cv->u.delta[1] = le16_to_cpu(di->di_u.delta[1]); in parse_legacy_indexes()
|
D | super.c | 67 sbi.root_nid = le16_to_cpu(dsb->root_nid); in erofs_read_superblock()
|
/external/squashfs-tools/kernel/fs/squashfs/ |
D | inode.c | 60 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()
|
D | super.c | 132 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()
|
D | dir.c | 185 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()
|
D | namei.c | 187 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/erofs-utils/fuse/ |
D | dir.c | 26 nameoff = le16_to_cpu(de->nameoff); in erofs_fill_dentries() 33 de_namelen = le16_to_cpu(de[1].nameoff) - nameoff; in erofs_fill_dentries() 86 nameoff = le16_to_cpu(de->nameoff); in erofsfuse_readdir()
|
/external/selinux/libsepol/src/ |
D | private.h | 26 #define le16_to_cpu(x) (x) macro 33 #define le16_to_cpu(x) bswap_16(x) macro
|
D | avtab.c | 527 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/f2fs-tools/include/ |
D | f2fs_fs.h | 187 #define le16_to_cpu(x) ((__u16)(x)) macro 194 #define le16_to_cpu(x) bswap_16(x) macro 267 #member":", le16_to_cpu(((ptr)->member))); \ 270 #member, le16_to_cpu(((ptr)->member)), \ 271 le16_to_cpu(((ptr)->member))); \ 558 #define get_sb_le16(member) le16_to_cpu(sb->member) 561 #define get_newsb_le16(member) le16_to_cpu(new_sb->member) 599 #define get_cp_le16(member) le16_to_cpu(cp->member) 1077 (le16_to_cpu((raw_sit)->vblocks) & SIT_VBLOCKS_MASK) 1079 ((le16_to_cpu((raw_sit)->vblocks) & ~SIT_VBLOCKS_MASK) \ [all …]
|
/external/fsverity-utils/common/ |
D | common_defs.h | 81 # define le16_to_cpu(v) ((__force u16)(__le16)(v)) macro 88 # define le16_to_cpu(v) (__builtin_bswap16((__force u16)(v))) macro
|
/external/f2fs-tools/fsck/ |
D | segment.c | 150 ASSERT(S_ISREG(le16_to_cpu(inode->i.i_mode))); in f2fs_quota_size() 182 ASSERT(!S_ISDIR(le16_to_cpu(inode->i.i_mode))); in f2fs_read() 183 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_read() 284 ASSERT(!S_ISDIR(le16_to_cpu(inode->i.i_mode))); in f2fs_write_ex() 285 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_write_ex() 398 ASSERT(!S_ISDIR(le16_to_cpu(inode->i.i_mode))); in f2fs_filesize_update() 399 ASSERT(!S_ISLNK(le16_to_cpu(inode->i.i_mode))); in f2fs_filesize_update()
|
D | quotaio_tree.c | 227 if (le16_to_cpu(dh->dqdh_entries) + 1 >= in find_free_dqentry() 232 cpu_to_le16(le16_to_cpu(dh->dqdh_entries) + 1); in find_free_dqentry() 383 cpu_to_le16(le16_to_cpu(dh->dqdh_entries) - 1); in free_dqentry() 385 if (!le16_to_cpu(dh->dqdh_entries)) { /* Block got free? */ in free_dqentry() 394 if (le16_to_cpu(dh->dqdh_entries) == in free_dqentry() 577 entries = le16_to_cpu(dh->dqdh_entries); in report_block()
|
D | dump.c | 351 le16_to_cpu(ent->e_value_size), 0); in dump_xattr() 354 le16_to_cpu(ent->e_value_size), 0, in dump_xattr() 415 u32 imode = le16_to_cpu(inode->i_mode); in dump_file() 611 if (IS_INODE(node_blk) && S_ISDIR(le16_to_cpu(node_blk->i.i_mode))) in has_dirent() 663 name_len = le16_to_cpu(de->name_len); in dump_dirent() 769 le16_to_cpu(sum_entry.ofs_in_node)); in dump_info_from_blkaddr()
|
D | node.c | 83 set_cold_node(node_blk, S_ISDIR(le16_to_cpu(f2fs_inode->i.i_mode))); in new_node_block() 87 if (S_ISDIR(le16_to_cpu(f2fs_inode->i.i_mode))) in new_node_block()
|
D | xattr.h | 124 entry->e_name_len + le16_to_cpu(entry->e_value_size)))
|
D | fsck.c | 224 u16 ofs_in_node = le16_to_cpu(sum->ofs_in_node); in is_valid_summary() 307 le16_to_cpu(sum_entry->ofs_in_node) != idx_in_node) { in is_valid_ssa_data_blk() 314 le16_to_cpu(sum_entry->ofs_in_node)); in is_valid_ssa_data_blk() 469 __check_inode_mode(nid, ftype, le16_to_cpu(node_blk->i.i_mode))) in sanity_check_nid() 751 le16_to_cpu(node_blk->i.i_extra_isize); in fsck_chk_inode_blk() 781 le16_to_cpu(node_blk->i.i_inline_xattr_size); in fsck_chk_inode_blk() 1055 i_gc_failures = le16_to_cpu(node_blk->i.i_gc_failures); in fsck_chk_inode_blk() 1315 name_len = le16_to_cpu(dentry[idx].name_len); in print_dentry() 1499 name_len = le16_to_cpu(dentry[i].name_len); in __chk_dentries() 1538 name_len = le16_to_cpu(dentry[i].name_len); in __chk_dentries() [all …]
|
D | defrag.c | 52 le16_to_cpu(sum.ofs_in_node), to); in migrate_block()
|
D | f2fs.h | 495 #define nats_in_cursum(jnl) (le16_to_cpu(jnl->n_nats)) 496 #define sits_in_cursum(jnl) (le16_to_cpu(jnl->n_sits)) 647 return le16_to_cpu(F2FS_RAW_SUPER(sbi)->s_encoding); in get_encoding()
|
/external/erofs-utils/include/ |
D | erofs_fs.h | 183 sizeof(__u32) * (le16_to_cpu(i_xattr_icount) - 1); in erofs_xattr_ibody_size() 191 e->e_name_len + le16_to_cpu(e->e_value_size)); in erofs_xattr_entry_size()
|
/external/erofs-utils/include/erofs/ |
D | defs.h | 70 #define le16_to_cpu(x) ((__u16)(x)) macro 79 #define le16_to_cpu(x) (__builtin_bswap16(x)) macro
|
D | xattr.h | 15 u32 __size = le16_to_cpu(_size); \
|
/external/f2fs-tools/lib/ |
D | libf2fs.c | 149 if ((le16_to_cpu(input[0]) & 0xfc00) == 0xd800) { in utf16_to_wchar() 150 if (insize < 2 || (le16_to_cpu(input[1]) & 0xfc00) != 0xdc00) in utf16_to_wchar() 152 *wc = ((wchar_t) (le16_to_cpu(input[0]) & 0x3ff) << 10); in utf16_to_wchar() 153 *wc |= (le16_to_cpu(input[1]) & 0x3ff); in utf16_to_wchar() 157 *wc = le16_to_cpu(*input); in utf16_to_wchar() 216 while ((size_t)(inp - input) < insize && le16_to_cpu(*inp)) { in utf16_to_utf8() 507 if (!LINUX_S_ISREG(le16_to_cpu(i->i_mode)) || in addrs_per_inode() 515 if (!LINUX_S_ISREG(le16_to_cpu(i->i_mode)) || in addrs_per_block()
|