Home
last modified time | relevance | path

Searched refs:const_cpu_to_le16 (Results 1 – 25 of 34) sorted by relevance

12

/third_party/ntfs-3g/libntfs-3g/
Dreparse.c93 const_cpu_to_le16('\\'),
94 const_cpu_to_le16('?'),
95 const_cpu_to_le16('?'),
96 const_cpu_to_le16('\\')
100 const_cpu_to_le16('\\'),
101 const_cpu_to_le16('?'),
102 const_cpu_to_le16('?'),
103 const_cpu_to_le16('\\'),
104 const_cpu_to_le16('V'),
105 const_cpu_to_le16('o'),
[all …]
Dunistr.c377 dst[len] = const_cpu_to_le16(L'\0'); in ntfs_ucsndup()
857 *outpos++ = const_cpu_to_le16(0); in ntfs_utf8_to_utf16()
1132 ucs[o] = const_cpu_to_le16(L'\0');
1501 (strict && (name[len-1] == const_cpu_to_le16(' ') ||
1502 name[len-1] == const_cpu_to_le16('.')));
1536 static const ntfschar dot = const_cpu_to_le16('.');
1537 static const ntfschar con[] = { const_cpu_to_le16('c'),
1538 const_cpu_to_le16('o'), const_cpu_to_le16('n') };
1539 static const ntfschar prn[] = { const_cpu_to_le16('p'),
1540 const_cpu_to_le16('r'), const_cpu_to_le16('n') };
[all …]
Ddir.c77 ntfschar NTFS_INDEX_I30[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('I'),
78 const_cpu_to_le16('3'), const_cpu_to_le16('0'),
79 const_cpu_to_le16('\0') };
80 ntfschar NTFS_INDEX_SII[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('S'),
81 const_cpu_to_le16('I'), const_cpu_to_le16('I'),
82 const_cpu_to_le16('\0') };
83 ntfschar NTFS_INDEX_SDH[5] = { const_cpu_to_le16('$'), const_cpu_to_le16('S'),
84 const_cpu_to_le16('D'), const_cpu_to_le16('H'),
85 const_cpu_to_le16('\0') };
86 ntfschar NTFS_INDEX_O[3] = { const_cpu_to_le16('$'), const_cpu_to_le16('O'),
[all …]
Dobject_id.c131 static ntfschar objid_index_name[] = { const_cpu_to_le16('$'),
132 const_cpu_to_le16('O') };
152 indx.header.data_offset = const_cpu_to_le16( in set_object_id_index()
155 indx.header.data_length = const_cpu_to_le16( in set_object_id_index()
158 indx.header.length = const_cpu_to_le16( in set_object_id_index()
160 indx.header.key_length = const_cpu_to_le16( in set_object_id_index()
162 indx.header.flags = const_cpu_to_le16(0); in set_object_id_index()
163 indx.header.reserved = const_cpu_to_le16(0); in set_object_id_index()
Defs.c59 const_cpu_to_le16('$'),
60 const_cpu_to_le16('E'),
61 const_cpu_to_le16('F'),
62 const_cpu_to_le16('S'),
63 const_cpu_to_le16(0)
Dsecurity.c127 static ntfschar sii_stream[] = { const_cpu_to_le16('$'),
128 const_cpu_to_le16('S'),
129 const_cpu_to_le16('I'),
130 const_cpu_to_le16('I'),
131 const_cpu_to_le16(0) };
132 static ntfschar sdh_stream[] = { const_cpu_to_le16('$'),
133 const_cpu_to_le16('S'),
134 const_cpu_to_le16('D'),
135 const_cpu_to_le16('H'),
136 const_cpu_to_le16(0) };
[all …]
Dmft.c426 mrec->reserved = const_cpu_to_le16(0); in ntfs_mft_record_layout()
434 mrec->usa_count = const_cpu_to_le16(1); in ntfs_mft_record_layout()
443 *(le16*)((u8*)mrec + le16_to_cpu(mrec->usa_ofs)) = const_cpu_to_le16(1); in ntfs_mft_record_layout()
445 mrec->sequence_number = const_cpu_to_le16(1); in ntfs_mft_record_layout()
446 mrec->link_count = const_cpu_to_le16(0); in ntfs_mft_record_layout()
450 mrec->flags = const_cpu_to_le16(0); in ntfs_mft_record_layout()
459 mrec->next_attr_instance = const_cpu_to_le16(0); in ntfs_mft_record_layout()
1542 usn = const_cpu_to_le16(1); in ntfs_mft_rec_alloc()
1551 if (seq_no && seq_no != const_cpu_to_le16(0xffff)) in ntfs_mft_rec_alloc()
1867 usn = const_cpu_to_le16(1); in ntfs_mft_record_alloc()
[all …]
Dea.c452 == const_cpu_to_le16(sizeof(device))) in ntfs_ea_check_wsldev()
500 attr.mod.base.value_length = const_cpu_to_le16(sizeof(mode)); in ntfs_ea_set_wsl_not_symlink()
512 attr.dev.base.value_length = const_cpu_to_le16(sizeof(device)); in ntfs_ea_set_wsl_not_symlink()
Dwin32_io.c88 #define const_cpu_to_le16(x) (x) macro
890 const_cpu_to_le16('\\'), const_cpu_to_le16('?'), in ntfs_device_win32_open_lowlevel()
891 const_cpu_to_le16('?'), const_cpu_to_le16('\\'), in ntfs_device_win32_open_lowlevel()
892 const_cpu_to_le16(' '), const_cpu_to_le16(':'), in ntfs_device_win32_open_lowlevel()
893 const_cpu_to_le16(0) in ntfs_device_win32_open_lowlevel()
Dattrib.c68 ntfschar AT_UNNAMED[] = { const_cpu_to_le16('\0') };
69 ntfschar STREAM_SDS[] = { const_cpu_to_le16('$'),
70 const_cpu_to_le16('S'),
71 const_cpu_to_le16('D'),
72 const_cpu_to_le16('S'),
73 const_cpu_to_le16('\0') };
75 ntfschar TXF_DATA[] = { const_cpu_to_le16('$'),
76 const_cpu_to_le16('T'),
77 const_cpu_to_le16('X'),
78 const_cpu_to_le16('F'),
[all …]
Dbootsect.c165 if (b->end_of_sector_marker != const_cpu_to_le16(0xaa55)) in ntfs_boot_sector_is_ntfs()
/third_party/ntfs-3g/include/ntfs-3g/
Dlayout.h264 MFT_RECORD_IN_USE = const_cpu_to_le16(0x0001),
265 MFT_RECORD_IS_DIRECTORY = const_cpu_to_le16(0x0002),
266 MFT_RECORD_IS_4 = const_cpu_to_le16(0x0004),
267 MFT_RECORD_IS_VIEW_INDEX = const_cpu_to_le16(0x0008),
632 ATTR_IS_COMPRESSED = const_cpu_to_le16(0x0001),
633 ATTR_COMPRESSION_MASK = const_cpu_to_le16(0x00ff), /* Compression
636 ATTR_IS_ENCRYPTED = const_cpu_to_le16(0x4000),
637 ATTR_IS_SPARSE = const_cpu_to_le16(0x8000),
1785 SE_OWNER_DEFAULTED = const_cpu_to_le16(0x0001),
1786 SE_GROUP_DEFAULTED = const_cpu_to_le16(0x0002),
[all …]
Dlogfile.h107 #define LOGFILE_NO_CLIENT const_cpu_to_le16(LOGFILE_NO_CLIENT_CPU)
114 RESTART_VOLUME_IS_CLEAN = const_cpu_to_le16(0x0002),
339 LOG_RECORD_MULTI_PAGE = const_cpu_to_le16(0x0001), /* ??? */
341 LOG_RECORD_DELETING = const_cpu_to_le16(0x0002),
342 LOG_RECORD_ADDING = const_cpu_to_le16(0x0004),
374 ACTS_ON_MFT = const_cpu_to_le16(2),
375 ACTS_ON_INDX = const_cpu_to_le16(8),
Dendians.h277 #define const_cpu_to_le16(x) ((le16) __constant_cpu_to_le16(x)) macro
/third_party/ntfs-3g/ntfsprogs/
Dsd.c53 acl->size = const_cpu_to_le16(0x34); in init_system_file_sd()
54 acl->ace_count = const_cpu_to_le16(2); in init_system_file_sd()
55 acl->alignment2 = const_cpu_to_le16(0); in init_system_file_sd()
63 aa_ace->size = const_cpu_to_le16(0x14); in init_system_file_sd()
98 aa_ace->size = const_cpu_to_le16(0x18); in init_system_file_sd()
197 acl->size = const_cpu_to_le16(0x1000); in init_root_sd()
198 acl->ace_count = const_cpu_to_le16(0x08); in init_root_sd()
199 acl->alignment2 = const_cpu_to_le16(0); in init_root_sd()
205 ace->size = const_cpu_to_le16(0x18); in init_root_sd()
230 ace->size = const_cpu_to_le16(0x18); in init_root_sd()
[all …]
Dmkntfs.c1889 a->name_offset = const_cpu_to_le16(0); in insert_resident_attr_in_mft_record()
1891 a->name_offset = const_cpu_to_le16(24); in insert_resident_attr_in_mft_record()
1943 NULL, 0, CASE_SENSITIVE, const_cpu_to_le16(0), in add_attr_std_info()
2059 fn->reserved = const_cpu_to_le16(0); in add_attr_file_name()
2078 CASE_SENSITIVE, const_cpu_to_le16(0), in add_attr_file_name()
2104 0, CASE_SENSITIVE, const_cpu_to_le16(0), in add_attr_object_id()
2128 CASE_SENSITIVE, const_cpu_to_le16(0), sd, in add_attr_sd()
2133 CASE_SENSITIVE, const_cpu_to_le16(0), 0, sd, in add_attr_sd()
2230 CASE_SENSITIVE, const_cpu_to_le16(0), in add_attr_vol_name()
2254 0, CASE_SENSITIVE, const_cpu_to_le16(0), in add_attr_vol_info()
[all …]
Dplaylog.c1227 == const_cpu_to_le16(CreateAttribute)) { in insert_resident()
1315 == const_cpu_to_le16(CreateAttribute)) { in remove_resident()
1582 attr->name_offset = const_cpu_to_le16(0); in rebuildname()
1583 attr->flags = const_cpu_to_le16(0); in rebuildname()
1584 attr->instance = const_cpu_to_le16(0); in rebuildname()
1653 attr->name_offset = const_cpu_to_le16(0x40); in insert_index_allocation()
1656 attr->flags = const_cpu_to_le16(0); in insert_index_allocation()
1679 attr->name_offset = const_cpu_to_le16(0x18); in insert_index_allocation()
1682 attr->flags = const_cpu_to_le16(0); in insert_index_allocation()
1800 indx->usa_ofs = const_cpu_to_le16(0x28); in create_indx()
[all …]
Dntfsmove.c474 const_cpu_to_le16('n'), const_cpu_to_le16('t'), const_cpu_to_le16('l'), in dont_move()
475 const_cpu_to_le16('d'), const_cpu_to_le16('r'), const_cpu_to_le16('\0') in dont_move()
Dntfsundelete.c177 || (*p == const_cpu_to_le16('?')) in patmatch()
181 if (*f++ == const_cpu_to_le16('.')) in patmatch()
188 && ((*f == *p) || (*p == const_cpu_to_le16('?')))) { in patmatch()
190 if (*f++ == const_cpu_to_le16('.')) in patmatch()
201 if (*p++ == const_cpu_to_le16('*')) { in patmatch()
205 && (p[0] == const_cpu_to_le16('.')) in patmatch()
206 && (p[1] == const_cpu_to_le16('*')) in patmatch()
209 if (f[i] == const_cpu_to_le16('.')) in patmatch()
Dntfsdecrypt.c141 const_cpu_to_le16('$'), const_cpu_to_le16('E'), const_cpu_to_le16('F'),
142 const_cpu_to_le16('S'), const_cpu_to_le16('\0')
Dntfsfix.c383 const_cpu_to_le16('$'), const_cpu_to_le16('B'), in clear_badclus()
384 const_cpu_to_le16('a'), const_cpu_to_le16('d') in clear_badclus()
1075 mft1->sequence_number = const_cpu_to_le16(SELFLOC_LIMIT - 1); in fix_selfloc_conditions()
Dntfsrecover.c173 const_cpu_to_le16('$'), const_cpu_to_le16('S'),
174 const_cpu_to_le16('D'), const_cpu_to_le16('S')
178 const_cpu_to_le16('$'), const_cpu_to_le16('I'),
179 const_cpu_to_le16('3'), const_cpu_to_le16('0')
906 || ((logr->redo_operation == const_cpu_to_le16(1)) in likelyop()
909 || ((logr->undo_operation == const_cpu_to_le16(1)) in likelyop()
2245 == const_cpu_to_le16(ForgetTransaction)) in mark_transactions()
3248 || !(rest->flags & const_cpu_to_le16(2))) in getvolumedata()
Dntfsinfo.c1221 static ntfschar NTFS_DATA_SDS[5] = { const_cpu_to_le16('$'),
1222 const_cpu_to_le16('S'), const_cpu_to_le16('D'),
1223 const_cpu_to_le16('S'), const_cpu_to_le16('\0') };
Dntfsresize.c2395 const_cpu_to_le16('$'), const_cpu_to_le16('B'), in open_badclust_bad_attr()
2396 const_cpu_to_le16('a'), const_cpu_to_le16('d') in open_badclust_bad_attr()
3368 const_cpu_to_le16('$'), const_cpu_to_le16('B'), in check_expand_constraints()
3369 const_cpu_to_le16('a'), const_cpu_to_le16('d') in check_expand_constraints()
4009 mrec->usa_ofs = const_cpu_to_le16(sizeof(MFT_RECORD)); in minimal_record()
Dntfslabel.c393 new_label[label_len] = const_cpu_to_le16(0); in change_label()

12