/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)) 82 #define ATTR_READONLY_LE cpu_to_le16(0x0001) 83 #define ATTR_HIDDEN_LE cpu_to_le16(0x0002) 84 #define ATTR_SYSTEM_LE cpu_to_le16(0x0004) 85 #define ATTR_VOLUME_LE cpu_to_le16(0x0008) 86 #define ATTR_SUBDIR_LE cpu_to_le16(0x0010) 87 #define ATTR_ARCHIVE_LE cpu_to_le16(0x0020)
|
/third_party/f2fs-tools/mkfs/ |
D | f2fs_format.c | 865 journal->n_nats = cpu_to_le16(1 + c.quota_inum + c.lpf_inum); in f2fs_write_check_point_pack() 903 journal->n_sits = cpu_to_le16(2); in f2fs_write_check_point_pack() 905 journal->n_sits = cpu_to_le16(6); in f2fs_write_check_point_pack() 909 cpu_to_le16((CURSEG_HOT_NODE << 10) | in f2fs_write_check_point_pack() 921 cpu_to_le16((CURSEG_HOT_DATA << 10) | in f2fs_write_check_point_pack() 931 cpu_to_le16((CURSEG_WARM_NODE << 10)); in f2fs_write_check_point_pack() 934 cpu_to_le16((CURSEG_COLD_NODE << 10)); in f2fs_write_check_point_pack() 939 cpu_to_le16((CURSEG_HOT_DATA << 10) | in f2fs_write_check_point_pack() 949 cpu_to_le16((CURSEG_WARM_DATA << 10)); in f2fs_write_check_point_pack() 952 cpu_to_le16((CURSEG_COLD_DATA << 10)); in f2fs_write_check_point_pack() [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 | 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 | mst.c | 202 le_usn = cpu_to_le16(usn); in ntfs_mst_pre_write_fixup()
|
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/fsverity-utils/programs/ |
D | cmd_digest.c | 95 cpu_to_le16(digest->digest_algorithm); in fsverity_cmd_digest() 96 d->digest_size = cpu_to_le16(digest->digest_size); in fsverity_cmd_digest()
|
/third_party/fsverity-utils/common/ |
D | common_defs.h | 80 # define cpu_to_le16(v) ((__force __le16)(u16)(v)) macro 87 # define cpu_to_le16(v) ((__force __le16)__builtin_bswap16(v)) 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 …]
|
/third_party/exfatprogs/lib/ |
D | exfat_dir.c | 548 ch = cpu_to_le16(ch); in exfat_calc_name_hash() 567 *date = cpu_to_le16(d); in unix_time_to_exfat_time() 568 *time = cpu_to_le16(t); in unix_time_to_exfat_time() 597 dset[0].dentry.file.attr = cpu_to_le16(attr); in exfat_build_file_dentry_set() 620 cpu_to_le16(exfat_calc_name_hash(exfat, utf16_name, name_len)); in exfat_build_file_dentry_set() 630 cpu_to_le16(calc_dentry_set_checksum(dset, dcount)); in exfat_build_file_dentry_set() 676 cpu_to_le16(calc_dentry_set_checksum(dset, dcount)); in exfat_update_file_dentry_set()
|
D | exfat_fs.c | 259 static const __le16 utf16_slash = cpu_to_le16(0x002F); in exfat_resolve_path() 260 static const __le16 utf16_null = cpu_to_le16(0x0000); in exfat_resolve_path()
|
/third_party/exfatprogs/fsck/ |
D | fsck.c | 354 exfat->bs->bsx.vol_flags = cpu_to_le16(flags); in exfat_mark_volume_dirty() 631 dentry->file_checksum = cpu_to_le16(checksum); in check_inode() 659 if (cpu_to_le16(hash) != stream_de->stream_name_hash) { in check_name_dentry_set() 663 stream_de->stream_name_hash = cpu_to_le16(hash); in check_name_dentry_set() 741 const __le16 MSDOS_DOT[ENTRY_NAME_MAX] = {cpu_to_le16(46), 0, }; 742 const __le16 MSDOS_DOTDOT[ENTRY_NAME_MAX] = {cpu_to_le16(46), cpu_to_le16(46), 0, }; 806 stream_de->stream_name_hash = cpu_to_le16(hash); in handle_dot_dotdot_filename()
|
/third_party/f2fs-tools/fsck/ |
D | dir.c | 208 de->name_len = cpu_to_le16(len); in f2fs_update_dentry() 353 dent_blk->dentry[0].name_len = cpu_to_le16(1); in make_empty_dir() 359 dent_blk->dentry[1].name_len = cpu_to_le16(2); in make_empty_dir() 497 node_blk->i.i_mode = cpu_to_le16(mode); in init_inode_block() 525 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()
|
/third_party/f2fs-tools/include/ |
D | f2fs_fs.h | 205 #define cpu_to_le16(x) ((uint16_t)(x)) macro 213 #define cpu_to_le16(x) bswap_16(x) macro 579 #define set_sb_le16(member, val) (sb->member = cpu_to_le16(val)) 620 #define set_cp_le16(member, val) (cp->member = cpu_to_le16(val)) 1647 raw_node->i.i_mode = cpu_to_le16(0x8180); in f2fs_init_qf_inode() 1669 raw_node->i.i_extra_isize = cpu_to_le16(calc_extra_isize()); in f2fs_init_qf_inode()
|
/third_party/fsverity-utils/lib/ |
D | sign_digest.c | 455 d->digest_algorithm = cpu_to_le16(digest->digest_algorithm); in libfsverity_sign_digest() 456 d->digest_size = cpu_to_le16(digest->digest_size); in libfsverity_sign_digest()
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 112 output[0] = cpu_to_le16(wc); in wchar_to_utf16() 118 output[0] = cpu_to_le16(0xd800 | ((wc >> 10) & 0x3ff)); in wchar_to_utf16() 119 output[1] = cpu_to_le16(0xdc00 | (wc & 0x3ff)); in wchar_to_utf16() 142 *outp = cpu_to_le16(0); in utf8_to_utf16()
|
/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()
|