Home
last modified time | relevance | path

Searched refs:value_length (Results 1 – 13 of 13) sorted by relevance

/linux/fs/ntfs/
H A Dwof.c301 u32 value_length; in parse_wof_chunk_table() local
318 value_length = in parse_wof_chunk_table()
319 le32_to_cpu(ctx->attr->data.resident.value_length); in parse_wof_chunk_table()
322 if (byte_off + bytes_to_read > value_length) { in parse_wof_chunk_table()
376 u32 value_length; in ntfs_read_wof_chunk() local
406 value_length = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_read_wof_chunk()
408 if (chunk_offset + chunk_size > value_length) { in ntfs_read_wof_chunk()
H A Dattrib.c620 static bool ntfs_file_name_attr_value_is_valid(const u8 *value, const u32 value_length) in ntfs_file_name_attr_value_is_valid() argument
629 value_length - offsetof(struct file_name_attr, file_name); in ntfs_file_name_attr_value_is_valid()
632 static bool ntfs_volume_name_attr_value_is_valid(const u32 value_length) in ntfs_volume_name_attr_value_is_valid() argument
634 if (value_length & 1) in ntfs_volume_name_attr_value_is_valid()
637 return value_length <= NTFS_MAX_LABEL_LEN * sizeof(__le16); in ntfs_volume_name_attr_value_is_valid()
640 static bool ntfs_index_root_attr_value_is_valid(const u8 *value, const u32 value_length) in ntfs_index_root_attr_value_is_valid() argument
649 index_size = value_length - offsetof(struct index_root, index); in ntfs_index_root_attr_value_is_valid()
681 value->len = le32_to_cpu(a->data.resident.value_length); in ntfs_resident_attr_value_get()
946 u32 value_length = le32_to_cpu(a->data.resident.value_length); in ntfs_attr_find() local
951 min_t(u32, val_len, value_length)); in ntfs_attr_find()
[all …]
H A Dattrib.h84 return (s64)le32_to_cpu(a->data.resident.value_length); in ntfs_attr_size()
H A Dindex.c560 u32 value_length = le32_to_cpu(a->data.resident.value_length); in ntfs_index_root_inconsistent() local
562 if (value_length < offsetof(struct index_root, index)) { in ntfs_index_root_inconsistent()
569 value_length - in ntfs_index_root_inconsistent()
1336 old_value_length = le32_to_cpu(ctx->attr->data.resident.value_length); in ntfs_ir_reparent()
1394 le32_to_cpu(ctx->attr->data.resident.value_length)); in ntfs_ir_reparent()
H A Dinode.c590 p2 = (u8 *)file_name_attr + le32_to_cpu(attr->data.resident.value_length); in ntfs_is_extended_system_file()
860 a->data.resident.value_length)); in ntfs_read_locked_inode()
1033 le32_to_cpu(a->data.resident.value_length); in ntfs_read_locked_inode()
1187 a->data.resident.value_length); in ntfs_read_locked_inode()
1395 a->data.resident.value_length); in ntfs_read_locked_attr_inode()
2025 le32_to_cpu(a->data.resident.value_length)); in ntfs_read_inode_mount()
3695 le32_to_cpu(ctx->attr->data.resident.value_length)); in __ntfs_inode_resident_attr_pwrite()
H A Dattrlist.c378 0 : le32_to_cpu(attr->data.resident.value_length), ctx); in ntfs_attrlist_entry_add()
H A Dnamei.c937 err = ntfs_index_remove(dir_ni, fn, le32_to_cpu(actx->attr->data.resident.value_length)); in ntfs_delete()
1628 if (unlikely((u8 *)fn + le32_to_cpu(attr->data.resident.value_length) > in ntfs_get_parent()
H A Dsuper.c1493 le32_to_cpu(ctx->attr->data.resident.value_length) > 0) { in load_system_files()
1496 le32_to_cpu(ctx->attr->data.resident.value_length) / 2, in load_system_files()
H A Ddir.c1043 if (le32_to_cpu(ctx->attr->data.resident.value_length) != in ntfs_check_empty_dir()
H A Dea.c708 if (le32_to_cpu(a->data.resident.value_length)) { in ntfs_new_attr_flags()
H A Dmft.c922 value_len = le32_to_cpu(a->data.resident.value_length); in mft_reserved_is_free()
/linux/net/nfc/
H A Dllcp_commands.c79 u8 *nfc_llcp_build_tlv(u8 type, const u8 *value, u8 value_length, u8 *tlv_length) in nfc_llcp_build_tlv() argument
89 if (length == 0 && value_length == 0) in nfc_llcp_build_tlv()
92 length = value_length; in nfc_llcp_build_tlv()
H A Dllcp.h229 u8 *nfc_llcp_build_tlv(u8 type, const u8 *value, u8 value_length, u8 *tlv_length);