Home
last modified time | relevance | path

Searched refs:fn_size (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dmkntfs.c1714 int i, fn_size; in add_attr_file_name() local
1734 fn_size = sizeof(FILE_NAME_ATTR) + i; in add_attr_file_name()
1735 fn = ntfs_malloc(fn_size); in add_attr_file_name()
1775 fn_size = sizeof(FILE_NAME_ATTR) + i * sizeof(ntfschar); in add_attr_file_name()
1778 RESIDENT_ATTR_IS_INDEXED, (u8*)fn, fn_size); in add_attr_file_name()
2863 int i, fn_size, idx_size; in create_hardlink_res() local
2869 fn_size = sizeof(FILE_NAME_ATTR) + i; in create_hardlink_res()
2870 fn = ntfs_malloc(fn_size); in create_hardlink_res()
2909 fn_size = sizeof(FILE_NAME_ATTR) + i * sizeof(ntfschar); in create_hardlink_res()
2921 RESIDENT_ATTR_IS_INDEXED, (u8*)fn, fn_size); in create_hardlink_res()
[all …]
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dindex.c1627 int fn_size, ie_size, err, ret = -1; in ntfs_index_add_filename() local
1637 fn_size = (fn->file_name_length * sizeof(ntfschar)) + in ntfs_index_add_filename()
1639 ie_size = (sizeof(INDEX_ENTRY_HEADER) + fn_size + 7) & ~7; in ntfs_index_add_filename()
1647 ie->key_length = cpu_to_le16(fn_size); in ntfs_index_add_filename()
1648 memcpy(&ie->key, fn, fn_size); in ntfs_index_add_filename()