Home
last modified time | relevance | path

Searched refs:entry_len (Results 1 – 17 of 17) sorted by relevance

/Linux-v5.10/drivers/firmware/google/
Dvpd_decode.c37 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-v5.10/drivers/s390/net/
Dqeth_l3_sys.c375 int entry_len; in qeth_l3_dev_ipato_add_show() local
380 entry_len = qeth_l3_ipaddr_to_string(proto, ipatoe->addr, in qeth_l3_dev_ipato_add_show()
382 if (entry_len < 0) in qeth_l3_dev_ipato_add_show()
386 entry_len += 1 + ((proto == QETH_PROT_IPV4) ? 2 : 3); in qeth_l3_dev_ipato_add_show()
388 if (entry_len + 1 > PAGE_SIZE - str_len - 1) in qeth_l3_dev_ipato_add_show()
391 entry_len = scnprintf(buf, PAGE_SIZE - str_len, in qeth_l3_dev_ipato_add_show()
393 str_len += entry_len; in qeth_l3_dev_ipato_add_show()
394 buf += entry_len; in qeth_l3_dev_ipato_add_show()
596 int entry_len; in qeth_l3_dev_ip_add_show() local
601 entry_len = qeth_l3_ipaddr_to_string(proto, (u8 *)&ipaddr->u, in qeth_l3_dev_ip_add_show()
[all …]
Dism.h174 u64 entry_len; member
/Linux-v5.10/drivers/firmware/efi/
Dapple-properties.c56 u32 key_len, val_len, entry_len; in unmarshal_key_value_pairs() local
90 entry_len = val_len - sizeof(val_len); in unmarshal_key_value_pairs()
92 entry_len); in unmarshal_key_value_pairs()
96 16, 1, entry_data, entry_len, true); in unmarshal_key_value_pairs()
/Linux-v5.10/drivers/crypto/bcm/
Dutil.c143 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-v5.10/drivers/base/regmap/
Dregmap-debugfs.c371 unsigned entry_len; in regmap_reg_ranges_read_file() local
402 entry_len = snprintf(entry, PAGE_SIZE, "%x-%x\n", in regmap_reg_ranges_read_file()
405 if (buf_pos + entry_len > count) in regmap_reg_ranges_read_file()
407 memcpy(buf + buf_pos, entry, entry_len); in regmap_reg_ranges_read_file()
408 buf_pos += entry_len; in regmap_reg_ranges_read_file()
410 p += entry_len; in regmap_reg_ranges_read_file()
/Linux-v5.10/drivers/acpi/
Dtables.c290 unsigned long table_end, subtable_len, entry_len; in acpi_parse_entries_array() local
327 entry_len = acpi_get_entry_length(&entry); in acpi_parse_entries_array()
328 if (entry_len == 0) { in acpi_parse_entries_array()
334 ((unsigned long)entry.hdr + entry_len); in acpi_parse_entries_array()
/Linux-v5.10/fs/hfs/
Dbrec.c65 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len) in hfs_brec_insert() argument
89 size = key_len + entry_len; in hfs_brec_insert()
133 hfs_bnode_write(node, entry, data_off + key_len, entry_len); in hfs_brec_insert()
156 entry_len = sizeof(cnid); in hfs_brec_insert()
/Linux-v5.10/fs/hfsplus/
Dbrec.c63 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len) in hfs_brec_insert() argument
87 size = key_len + entry_len; in hfs_brec_insert()
133 hfs_bnode_write(node, entry, data_off + key_len, entry_len); in hfs_brec_insert()
156 entry_len = sizeof(cnid); in hfs_brec_insert()
Dhfsplus_fs.h428 int hfs_brec_insert(struct hfs_find_data *fd, void *entry, int entry_len);
/Linux-v5.10/drivers/media/pci/tw686x/
Dtw686x-video.c189 unsigned int len, entry_len; in tw686x_sg_desc_fill() local
206 entry_len = min_t(unsigned int, len, in tw686x_sg_desc_fill()
208 entry_len = min_t(unsigned int, entry_len, buf_len); in tw686x_sg_desc_fill()
211 cpu_to_le32(BIT(30) | entry_len); in tw686x_sg_desc_fill()
212 phys += entry_len; in tw686x_sg_desc_fill()
213 len -= entry_len; in tw686x_sg_desc_fill()
214 buf_len -= entry_len; in tw686x_sg_desc_fill()
/Linux-v5.10/drivers/net/wireless/intersil/p54/
Deeprom.c734 unsigned int data_len, entry_len; in p54_parse_eeprom() local
746 entry_len = le16_to_cpu(entry->len); in p54_parse_eeprom()
747 data_len = ((entry_len - 1) << 1); in p54_parse_eeprom()
878 crc16 = crc_ccitt(crc16, (u8 *)entry, (entry_len + 1) * 2); in p54_parse_eeprom()
879 entry = (void *)entry + (entry_len + 1) * 2; in p54_parse_eeprom()
/Linux-v5.10/include/uapi/linux/
Di2o-dev.h195 __u8 entry_len; member
/Linux-v5.10/fs/btrfs/
Dqgroup.c3509 u64 entry_len; in qgroup_unreserve_range() local
3515 entry_len = entry_end - entry_start + 1; in qgroup_unreserve_range()
3519 if (entry_start + entry_len <= start) in qgroup_unreserve_range()
3531 if (likely(reserved->bytes_changed >= entry_len)) { in qgroup_unreserve_range()
3532 reserved->bytes_changed -= entry_len; in qgroup_unreserve_range()
/Linux-v5.10/drivers/scsi/
Ddpt_i2o.c1070 pHba->hrt->num_entries * pHba->hrt->entry_len << 2, in adpt_i2o_delete_hba()
3250 if (pHba->hrt->num_entries * pHba->hrt->entry_len << 2 > size) { in adpt_i2o_hrt_get()
3251 int newsize = pHba->hrt->num_entries * pHba->hrt->entry_len << 2; in adpt_i2o_hrt_get()
/Linux-v5.10/drivers/net/wireless/
Drndis_wlan.c1652 int i, len, count, max_pmkids, entry_len; in debug_print_pmkids() local
1658 entry_len = (count > 0) ? (len - sizeof(*pmkids)) / count : -1; in debug_print_pmkids()
1661 "%d)\n", func_str, count, len, entry_len); in debug_print_pmkids()
/Linux-v5.10/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2085 u32 offset, entry_len; in _base_build_nvme_prp() local
2161 entry_len = ioc->page_size - offset; in _base_build_nvme_prp()
2219 dma_addr += entry_len; in _base_build_nvme_prp()
2222 if (entry_len > length) in _base_build_nvme_prp()
2225 length -= entry_len; in _base_build_nvme_prp()