/third_party/exfatprogs/include/ |
D | exfat_ondisk.h | 17 #define cpu_to_le16(x) ((((x) >> 8) & 0xffu) | (((x) & 0xffu) << 8)) macro 24 #define cpu_to_le16(x) (x) macro 31 #define le16_to_cpu(x) ((uint16_t)cpu_to_le16(x)) 81 #define ATTR_READONLY_LE cpu_to_le16(0x0001) 82 #define ATTR_HIDDEN_LE cpu_to_le16(0x0002) 83 #define ATTR_SYSTEM_LE cpu_to_le16(0x0004) 84 #define ATTR_VOLUME_LE cpu_to_le16(0x0008) 85 #define ATTR_SUBDIR_LE cpu_to_le16(0x0010) 86 #define ATTR_ARCHIVE_LE cpu_to_le16(0x0020)
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 795 journal->n_nats = cpu_to_le16(1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack() 831 journal->n_sits = cpu_to_le16(6); in f2fs_write_check_point_pack() 834 cpu_to_le16((CURSEG_HOT_NODE << 10) | in f2fs_write_check_point_pack() 844 cpu_to_le16((CURSEG_WARM_NODE << 10)); in f2fs_write_check_point_pack() 847 cpu_to_le16((CURSEG_COLD_NODE << 10)); in f2fs_write_check_point_pack() 852 cpu_to_le16((CURSEG_HOT_DATA << 10) | in f2fs_write_check_point_pack() 862 cpu_to_le16((CURSEG_WARM_DATA << 10)); in f2fs_write_check_point_pack() 865 cpu_to_le16((CURSEG_COLD_DATA << 10)); in f2fs_write_check_point_pack() 883 (sum_entry + off + j)->ofs_in_node = cpu_to_le16(j); in f2fs_write_check_point_pack() 1139 raw_node->i.i_mode = cpu_to_le16(0x41ed); in f2fs_write_root_inode() [all …]
|
/third_party/ntfs-3g/libntfs-3g/ |
D | unistr.c | 861 *outpos++ = cpu_to_le16(wc); in ntfs_utf8_to_utf16() 864 *outpos++ = cpu_to_le16((wc >> 10) + 0xd800); in ntfs_utf8_to_utf16() 865 *outpos++ = cpu_to_le16((wc & 0x3ff) + 0xdc00); in ntfs_utf8_to_utf16() 1121 ucs[o] = cpu_to_le16(wc); 1347 uc[i] = cpu_to_le16(i); 1351 uc[i] = cpu_to_le16(i + off); 1355 uc[i + 1] = cpu_to_le16(i); 1358 uc[uc_byte_table[r][0]] = cpu_to_le16(k); 1367 uc[i] = cpu_to_le16(i + off); 1414 lc[i] = cpu_to_le16(i); [all …]
|
D | acls.c | 861 pnewace->size = cpu_to_le16(usidsz + 8); in ntfs_inherit_acl() 879 pnewace->size = cpu_to_le16(gsidsz + 8); in ntfs_inherit_acl() 946 newacl->ace_count = cpu_to_le16(newcnt); in ntfs_inherit_acl() 947 newacl->size = cpu_to_le16(dst); in ntfs_inherit_acl() 1674 pdace->size = cpu_to_le16(sidsz + 8); in build_user_denials() 1750 pdace->size = cpu_to_le16(sidsz + 8); in build_user_denials() 1758 pacl->size = cpu_to_le16(pos); in build_user_denials() 1759 pacl->ace_count = cpu_to_le16(acecnt); in build_user_denials() 1826 pgace->size = cpu_to_le16(sidsz + 8); in build_user_grants() 1832 pacl->ace_count = cpu_to_le16(acecnt); in build_user_grants() [all …]
|
D | ea.c | 302 ea_info.ea_length = cpu_to_le16(ea_packed); in ntfs_set_ntfs_ea() 303 ea_info.need_ea_count = cpu_to_le16(ea_count); in ntfs_set_ntfs_ea()
|
D | mst.c | 202 le_usn = cpu_to_le16(usn); in ntfs_mst_pre_write_fixup()
|
D | mft.c | 413 mrec->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD_OLD) + 1) & ~1); in ntfs_mft_record_layout() 421 mrec->usa_ofs = cpu_to_le16((sizeof(MFT_RECORD) + 1) & ~1); in ntfs_mft_record_layout() 431 mrec->usa_count = cpu_to_le16(vol->mft_record_size / in ntfs_mft_record_layout() 448 mrec->attrs_offset = cpu_to_le16((le16_to_cpu(mrec->usa_ofs) + in ntfs_mft_record_layout() 1992 ni->mrec->sequence_number = cpu_to_le16(seq_no); 2052 *usnp = cpu_to_le16(usn);
|
D | index.c | 386 dup->length = cpu_to_le16(size); in ntfs_ie_dup_novcn() 918 ib->usa_count = cpu_to_le16(ib_size / NTFS_BLOCK_SIZE + 1); in ntfs_ib_alloc() 1383 old->length = cpu_to_le16(le16_to_cpu(old->length) + sizeof(VCN)); in ntfs_ie_add_vcn() 1646 ie->length = cpu_to_le16(ie_size); in ntfs_index_add_filename() 1647 ie->key_length = cpu_to_le16(fn_size); in ntfs_index_add_filename() 1716 ie->length = cpu_to_le16(le16_to_cpu(ie->length) - sizeof(VCN)); in ntfs_ir_leafify()
|
D | attrib.c | 1096 *(le16*)((u8*)b+count-2) = cpu_to_le16(efs_padding_length); in ntfs_attr_pread_i() 4168 a->value_offset = cpu_to_le16(length - ((size + 7) & ~7)); 4181 cpu_to_le16((le16_to_cpu(m->next_attr_instance) + 1) & 0xffff); 4298 a->name_offset = cpu_to_le16(offsetof(ATTR_RECORD, compressed_size) + 4304 a->mapping_pairs_offset = cpu_to_le16(length - dataruns_size); 4320 cpu_to_le16((le16_to_cpu(m->next_attr_instance) + 1) & 0xffff); 4888 a->value_offset = cpu_to_le16(offset); 4980 nctx->mrec->next_attr_instance = cpu_to_le16( 5220 a->name_offset = cpu_to_le16(name_ofs); 5227 a->mapping_pairs_offset = cpu_to_le16(mp_ofs); [all …]
|
D | xattrs.c | 187 le_acl->ace[i].tag = cpu_to_le16(acl->ace[i].tag); in cpu_to_le_acl() 188 le_acl->ace[i].perms = cpu_to_le16(acl->ace[i].perms); in cpu_to_le_acl()
|
D | attrlist.c | 190 ale->length = cpu_to_le16(entry_len); in ntfs_attrlist_entry_add()
|
/third_party/selinux/libsepol/src/ |
D | private.h | 24 #define cpu_to_le16(x) (x) macro 31 #define cpu_to_le16(x) bswap_16(x) macro
|
/third_party/ntfs-3g/ntfsprogs/ |
D | mkntfs.c | 1551 a->name_offset = cpu_to_le16(hdr_size); in insert_positioned_attr_in_mft_record() 1554 m->next_attr_instance = cpu_to_le16((le16_to_cpu(m->next_attr_instance) in insert_positioned_attr_in_mft_record() 1558 a->mapping_pairs_offset = cpu_to_le16(hdr_size + ((name_len + 7) & ~7)); in insert_positioned_attr_in_mft_record() 1744 a->name_offset = cpu_to_le16(hdr_size); in insert_non_resident_attr_in_mft_record() 1747 m->next_attr_instance = cpu_to_le16((le16_to_cpu(m->next_attr_instance) in insert_non_resident_attr_in_mft_record() 1753 a->mapping_pairs_offset = cpu_to_le16(hdr_size + ((name_len + 7) & ~7)); in insert_non_resident_attr_in_mft_record() 1894 m->next_attr_instance = cpu_to_le16((le16_to_cpu(m->next_attr_instance) in insert_resident_attr_in_mft_record() 1897 a->value_offset = cpu_to_le16(24 + ((name_len*2 + 7) & ~7)); in insert_resident_attr_in_mft_record() 2058 fn->packed_ea_size = cpu_to_le16(packed_ea_size); in add_attr_file_name() 2487 ia_val->usa_count = cpu_to_le16(index_block_size / in upgrade_to_large_index() [all …]
|
D | ntfswipe.c | 1033 rec->usa_ofs = cpu_to_le16(usa_offset); in wipe_mft() 1034 rec->usa_count = cpu_to_le16((u16) usa_size); in wipe_mft() 1036 rec->attrs_offset = cpu_to_le16(attrs_offset); in wipe_mft() 1061 *usnp = cpu_to_le16(le16_to_cpu(*usnp) - 1); in wipe_mft()
|
D | playlog.c | 779 entry->next_attr_instance = cpu_to_le16(instance); in adjust_instance() 786 if (attr->instance == cpu_to_le16(instance)) in adjust_instance() 1236 entry->link_count = cpu_to_le16(links); in insert_resident() 1312 entry->link_count = cpu_to_le16(links); in remove_resident() 1563 record->link_count = cpu_to_le16(0); in delete_names() 1588 attr->value_offset = cpu_to_le16(headlth); in rebuildname() 1660 record->next_attr_instance = cpu_to_le16(instance); in insert_index_allocation() 1663 attr->mapping_pairs_offset = cpu_to_le16( in insert_index_allocation() 1684 attr->value_offset = cpu_to_le16(2*namelength + 24); in insert_index_allocation() 1691 record->next_attr_instance = cpu_to_le16(instance); in insert_index_allocation() [all …]
|
/third_party/f2fs-tools/fsck/ |
D | dir.c | 207 de->name_len = cpu_to_le16(len); in f2fs_update_dentry() 352 dent_blk->dentry[0].name_len = cpu_to_le16(1); in make_empty_dir() 358 dent_blk->dentry[1].name_len = cpu_to_le16(2); in make_empty_dir() 488 node_blk->i.i_mode = cpu_to_le16(mode); in init_inode_block() 516 node_blk->i.i_extra_isize = cpu_to_le16(calc_extra_isize()); in init_inode_block()
|
D | quotaio_tree.c | 129 dh->dqdh_entries = cpu_to_le16(0); in put_free_dqblk() 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()
|
D | xattr.c | 236 last->e_value_size = cpu_to_le16(size); in f2fs_setxattr()
|
D | mount.c | 1387 journal->n_nats = cpu_to_le16(NAT_JOURNAL_ENTRIES); in f2fs_early_init_nid_bitmap() 1397 journal->n_nats = cpu_to_le16(i); in f2fs_early_init_nid_bitmap() 1405 journal->n_nats = cpu_to_le16(i); in f2fs_early_init_nid_bitmap() 2335 journal->n_sits = cpu_to_le16(SIT_JOURNAL_ENTRIES); in build_sit_entries() 2344 journal->n_sits = cpu_to_le16(i); in build_sit_entries() 2489 sit->vblocks = cpu_to_le16((type << SIT_VBLOCKS_SHIFT) | in rewrite_sit_area_bitmap() 2521 sit->vblocks = cpu_to_le16((se->type << SIT_VBLOCKS_SHIFT) | in flush_sit_journal_entries() 2600 sit->vblocks = cpu_to_le16((se->type << SIT_VBLOCKS_SHIFT) | in flush_sit_entries()
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | jfs_compat.h | 24 #define cpu_to_le16(x) ext2fs_cpu_to_le16(x) macro
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 114 output[0] = cpu_to_le16(wc); in wchar_to_utf16() 120 output[0] = cpu_to_le16(0xd800 | ((wc >> 10) & 0x3ff)); in wchar_to_utf16() 121 output[1] = cpu_to_le16(0xdc00 | (wc & 0x3ff)); in wchar_to_utf16() 144 *outp = cpu_to_le16(0); in utf8_to_utf16()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 157 #define cpu_to_le16(x) ((__u16)(x)) macro 164 #define cpu_to_le16(x) bswap_16(x) macro 457 #define set_sb_le16(member, val) (sb->member = cpu_to_le16(val)) 498 #define set_cp_le16(member, val) (cp->member = cpu_to_le16(val))
|
/third_party/exfatprogs/lib/ |
D | libexfat.c | 272 cpu_to_le16(((wcs[i] - 0x10000) >> 10) + 0xD800); in exfat_utf16_enc() 276 out_str[out_len++] = cpu_to_le16(wcs[i]); in exfat_utf16_enc()
|
/third_party/exfatprogs/mkfs/ |
D | mkfs.c | 79 ppbr->signature = cpu_to_le16(PBR_SIGNATURE); in exfat_setup_boot_sector() 156 *peb_signature = cpu_to_le16(PBR_SIGNATURE); in exfat_write_extended_boot_sectors()
|
/third_party/exfatprogs/fsck/ |
D | fsck.c | 308 static const __le16 utf16_slash = cpu_to_le16(0x002F); in resolve_path() 309 static const __le16 utf16_null = cpu_to_le16(0x0000); in resolve_path() 645 exfat->bs->bsx.vol_flags = cpu_to_le16(flags); in exfat_mark_volume_dirty() 931 dentry->file_checksum = cpu_to_le16(checksum); in check_inode()
|