Home
last modified time | relevance | path

Searched refs:const_cpu_to_le32 (Results 1 – 15 of 15) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlayout.h105 magic_FILE = const_cpu_to_le32(0x454c4946), /* Mft entry. */
106 magic_INDX = const_cpu_to_le32(0x58444e49), /* Index buffer. */
107 magic_HOLE = const_cpu_to_le32(0x454c4f48), /* ? (NTFS 3.0+?) */
110 magic_RSTR = const_cpu_to_le32(0x52545352), /* Restart page. */
111 magic_RCRD = const_cpu_to_le32(0x44524352), /* Log record page. */
114 magic_CHKD = const_cpu_to_le32(0x444b4843), /* Modified by chkdsk. */
117 magic_BAAD = const_cpu_to_le32(0x44414142), /* Failed multi sector
125 magic_empty = const_cpu_to_le32(0xffffffff),/* Record is empty and has
499 AT_UNUSED = const_cpu_to_le32( 0),
500 AT_STANDARD_INFORMATION = const_cpu_to_le32( 0x10),
[all …]
H A Dsecurity.c155 static const GUID __zero_guid = { const_cpu_to_le32(0), const_cpu_to_le16(0),
572 newsii.fill1 = const_cpu_to_le32(0); in entersecurity_indexes()
594 newsdh.fill1 = const_cpu_to_le32(0); in entersecurity_indexes()
611 newsdh.fill3 = const_cpu_to_le32(0x00490049); in entersecurity_indexes()
659 securid = const_cpu_to_le32(0); in entersecurityattr()
663 keyid = const_cpu_to_le32(-1); in entersecurityattr()
700 keyid = const_cpu_to_le32(0); in entersecurityattr()
753 securid = const_cpu_to_le32(0); in entersecurityattr()
759 securid = const_cpu_to_le32(FIRST_SECURITY_ID); in entersecurityattr()
804 securid = const_cpu_to_le32(0); in entersecurityattr()
[all …]
H A Dlogfile.h361 LOG_STANDARD = const_cpu_to_le32(1),
362 LOG_CHECKPOINT = const_cpu_to_le32(2),
H A Dreparse.c524 || (wsl_reparse_data->type != const_cpu_to_le32(2))) in valid_reparse_data()
849 & const_cpu_to_le32(1))) { in ntfs_make_symlink()
859 & const_cpu_to_le32(1)) { in ntfs_make_symlink()
869 & const_cpu_to_le32(1)) { in ntfs_make_symlink()
881 if (wsl_link_data->type == const_cpu_to_le32(2)) { in ntfs_make_symlink()
955 indx.header.reservedV = const_cpu_to_le32(0); in set_reparse_index()
965 indx.filling = const_cpu_to_le32(0); in set_reparse_index()
1361 data->type = const_cpu_to_le32(2); in ntfs_reparse_set_wsl_symlink()
H A Dacls.c201 && (usid->sub_authority[0] == const_cpu_to_le32(0))) in is_world_sid()
207 && (usid->sub_authority[0] == const_cpu_to_le32(32)) in is_world_sid()
208 && (usid->sub_authority[1] == const_cpu_to_le32(545))) in is_world_sid()
214 && (usid->sub_authority[0] == const_cpu_to_le32(11))) in is_world_sid()
221 && (usid->sub_authority[0] == const_cpu_to_le32(4))) in is_world_sid()
237 && (usid->sub_authority[0] == const_cpu_to_le32(21))); in ntfs_is_user_sid()
659 && !(phead->owner & const_cpu_to_le32(3)) in ntfs_valid_descr()
660 && !(phead->group & const_cpu_to_le32(3)) in ntfs_valid_descr()
661 && !(phead->dacl & const_cpu_to_le32(3)) in ntfs_valid_descr()
662 && !(phead->sacl & const_cpu_to_le32(3)) in ntfs_valid_descr()
[all …]
H A Dea.c497 = const_cpu_to_le32(sizeof(attr.mod)); in ntfs_ea_set_wsl_not_symlink()
509 = const_cpu_to_le32(sizeof(attr.dev)); in ntfs_ea_set_wsl_not_symlink()
H A Dinode.c220 ni->owner_id = const_cpu_to_le32(0); in ntfs_inode_real_open()
221 ni->security_id = const_cpu_to_le32(0); in ntfs_inode_real_open()
823 reparse_tag = const_cpu_to_le32(0); in ntfs_inode_sync_file_name()
H A Dendians.h278 #define const_cpu_to_le32(x) ((le32) __constant_cpu_to_le32(x)) macro
H A Dobject_id.c157 indx.header.reservedV = const_cpu_to_le32(0); in set_object_id_index()
H A Dmft.c462 a->length = const_cpu_to_le32(0); in ntfs_mft_record_layout()
1601 ni->flags = const_cpu_to_le32(0); in ntfs_mft_rec_alloc()
1927 ni->flags = const_cpu_to_le32(0); in ntfs_mft_record_alloc()
H A Ddir.c1520 ni->owner_id = si->owner_id = const_cpu_to_le32(0); in __ntfs_create()
1599 ir->index.entries_offset = const_cpu_to_le32(sizeof(INDEX_HEADER)); in __ntfs_create()
H A Dindex.c927 ib->index.index_length = const_cpu_to_le32(0); in ntfs_ib_alloc()
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dsd.c42 sd->owner = const_cpu_to_le32(0x48); in init_system_file_sd()
43 sd->group = const_cpu_to_le32(0x54); in init_system_file_sd()
44 sd->sacl = const_cpu_to_le32(0); in init_system_file_sd()
45 sd->dacl = const_cpu_to_le32(0x14); in init_system_file_sd()
87 const_cpu_to_le32(SECURITY_LOCAL_SYSTEM_RID); in init_system_file_sd()
126 const_cpu_to_le32(SECURITY_BUILTIN_DOMAIN_RID); in init_system_file_sd()
128 const_cpu_to_le32(DOMAIN_ALIAS_RID_ADMINS); in init_system_file_sd()
143 sid->sub_authority[0] = const_cpu_to_le32(SECURITY_LOCAL_SYSTEM_RID); in init_system_file_sd()
159 *sub_authorities++ = const_cpu_to_le32(SECURITY_BUILTIN_DOMAIN_RID); in init_system_file_sd()
160 *sub_authorities = const_cpu_to_le32(DOMAIN_ALIAS_RID_ADMINS); in init_system_file_sd()
[all …]
H A Dmkntfs.c1282 == const_cpu_to_le32(FILE_LogFile))) in insert_positioned_attr_in_mft_record()
1633 if (si.security_id != const_cpu_to_le32(0)) in add_attr_std_info()
1980 ? AT_FILE_NAME : const_cpu_to_le32(0); in add_attr_index_root()
2016 r->index.entries_offset = const_cpu_to_le32(sizeof(INDEX_HEADER)); in add_attr_index_root()
2017 r->index.index_length = const_cpu_to_le32(sizeof(INDEX_HEADER) + in add_attr_index_root()
2557 idx_entry_sdh->reservedV = const_cpu_to_le32(0x00); in initialize_secure()
2570 sdh_data->reserved_II = const_cpu_to_le32(0x00490049); in initialize_secure()
2575 idx_entry_sii->reservedV = const_cpu_to_le32(0x00); in initialize_secure()
2621 idx_entry_q1->reservedV = const_cpu_to_le32(0x00); in initialize_quota()
2626 idx_entry_q1->key.owner_id = const_cpu_to_le32(0x01); in initialize_quota()
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dlowntfs.c404 tag = const_cpu_to_le32(0); in ntfs_fuse_readlink()
675 securid = const_cpu_to_le32(0); in ntfs_fuse_create()