Searched refs:entry_len (Results 1 – 10 of 10) sorted by relevance
| /linux/fs/ntfs/ |
| H A D | attrlist.c | 127 int entry_len, entry_offset, err; in ntfs_attrlist_entry_add() local 158 entry_len = (sizeof(struct attr_list_entry) + sizeof(__le16) * in ntfs_attrlist_entry_add() 160 new_al = kvzalloc(ni->attr_list_size + entry_len, GFP_NOFS); in ntfs_attrlist_entry_add() 211 memset(ale, 0, entry_len); in ntfs_attrlist_entry_add() 214 ale->length = cpu_to_le16(entry_len); in ntfs_attrlist_entry_add() 228 memcpy(new_al + entry_offset + entry_len, ni->attr_list + in ntfs_attrlist_entry_add() 234 ni->attr_list_size = ni->attr_list_size + entry_len; in ntfs_attrlist_entry_add() 239 ni->attr_list_size -= entry_len; in ntfs_attrlist_entry_add()
|
| /linux/drivers/firmware/google/ |
| H A D | vpd_decode.c | 37 u32 *_consumed, const u8 **entry, u32 *entry_len) in vpd_decode_entry() argument 43 entry_len, &decoded_len) != VPD_OK) in vpd_decode_entry() 52 if (max_len - consumed < *entry_len) in vpd_decode_entry() 55 consumed += *entry_len; in vpd_decode_entry()
|
| /linux/lib/ |
| H A D | fw_table.c | 156 unsigned long table_len, table_end, subtable_len, entry_len; in acpi_parse_entries_array() local 193 entry_len = acpi_get_entry_length(&entry); in acpi_parse_entries_array() 194 if (entry_len == 0) { in acpi_parse_entries_array() 200 ((unsigned long)entry.hdr + entry_len); in acpi_parse_entries_array()
|
| /linux/drivers/crypto/bcm/ |
| H A D | util.c | 143 u32 entry_len = 0; in spu_msg_sg_add() local 152 entry_len = sg->length - skip; in spu_msg_sg_add() 153 frag_len = min(entry_len, length - copied); in spu_msg_sg_add() 158 if (copied == entry_len) { in spu_msg_sg_add() 167 if (frag_len < entry_len) in spu_msg_sg_add()
|
| /linux/include/linux/ |
| H A D | iommu.h | 451 size_t entry_len; member 519 src_data.uptr = src_array->uptr + src_array->entry_len * index; in __iommu_copy_struct_from_user_array() 520 src_data.len = src_array->entry_len; in __iommu_copy_struct_from_user_array() 573 if (likely(user_array->entry_len == kdst_entry_size)) { in iommu_copy_struct_from_full_user_array() 576 user_array->entry_len)) in iommu_copy_struct_from_full_user_array() 585 user_array->uptr + user_array->entry_len * i, in iommu_copy_struct_from_full_user_array() 586 user_array->entry_len); in iommu_copy_struct_from_full_user_array()
|
| /linux/sound/soc/sof/ |
| H A D | ipc3-dtrace.c | 117 int entry_len; in trace_filter_parse() local 135 entry_len = trace_filter_parse_entry(sdev, entry, *out, capacity, &cnt); in trace_filter_parse() 136 if (entry_len < 0) { in trace_filter_parse() 139 entry, entry_len); in trace_filter_parse()
|
| /linux/drivers/net/wireless/intersil/p54/ |
| H A D | eeprom.c | 730 unsigned int data_len, entry_len; in p54_parse_eeprom() local 742 entry_len = le16_to_cpu(entry->len); in p54_parse_eeprom() 743 data_len = ((entry_len - 1) << 1); in p54_parse_eeprom() 874 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom() 875 entry = (void *)entry + (entry_len + 1) * 2; in p54_parse_eeprom()
|
| /linux/include/uapi/linux/ |
| H A D | i2o-dev.h | 195 __u8 entry_len; member
|
| /linux/tools/testing/selftests/iommu/ |
| H A D | iommufd_utils.h | 314 .entry_len = lreq, in _test_cmd_hwpt_invalidate() 345 .entry_len = lreq, in _test_cmd_viommu_invalidate()
|
| /linux/fs/btrfs/ |
| H A D | qgroup.c | 4160 u64 entry_len; in qgroup_unreserve_range() local 4166 entry_len = entry_end - entry_start + 1; in qgroup_unreserve_range() 4170 if (entry_start + entry_len <= start) in qgroup_unreserve_range() 4182 if (likely(reserved->bytes_changed >= entry_len)) { in qgroup_unreserve_range() 4183 reserved->bytes_changed -= entry_len; in qgroup_unreserve_range()
|