/openbmc/u-boot/lib/libavb/ |
H A D | avb_vbmeta_image.c | 96 if (!avb_safe_add(&hash_end, h.hash_offset, h.hash_size) || in avb_vbmeta_image_verify() 184 if (avb_safe_memcmp(authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 197 authentication_block + h.hash_offset, in avb_vbmeta_image_verify() 238 dest->hash_offset = avb_be64toh(dest->hash_offset); in avb_vbmeta_image_header_to_host_byte_order()
|
H A D | avb_vbmeta_image.h | 124 uint64_t hash_offset; member
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | mdt_loader.c | 132 size_t hash_offset; in qcom_mdt_read_metadata() local 172 hash_offset = phdrs[0].p_filesz; in qcom_mdt_read_metadata() 173 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata() 176 hash_offset = phdrs[hash_segment].p_offset; in qcom_mdt_read_metadata() 177 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata()
|
/openbmc/linux/kernel/bpf/ |
H A D | bpf_lru_list.h | 60 unsigned int hash_offset; member 71 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
|
H A D | bpf_lru_list.c | 358 *(u32 *)((void *)node + lru->hash_offset) = hash; in __local_list_add_pending() 426 *(u32 *)((void *)node + lru->hash_offset) = hash; in bpf_percpu_lru_pop_free() 651 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, in bpf_lru_init() argument 689 lru->hash_offset = hash_offset; in bpf_lru_init()
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_table.c | 393 u32 hash_offset; in ipa_table_init_add() local 409 hash_offset = hash_mem ? hash_mem->offset : 0; in ipa_table_init_add() 434 hash_size, hash_offset, hash_addr); in ipa_table_init_add() 447 zero_offset = hash_offset + hash_size; in ipa_table_init_add()
|
H A D | ipa_cmd.h | 98 u16 hash_size, u32 hash_offset,
|
H A D | ipa_cmd.c | 362 dma_addr_t addr, u16 hash_size, u32 hash_offset, in ipa_cmd_table_init_add() argument 379 hash_offset += ipa->mem_offset; in ipa_cmd_table_init_add() 380 val |= u64_encode_bits(hash_offset, in ipa_cmd_table_init_add()
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_ppe.c | 175 hash <<= (ffs(eth->soc->hash_offset) - 1); in mtk_ppe_hash_entry() 689 hlist_add_head(&entry->list, &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit() 714 &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit_subflow() 739 struct hlist_head *head = &ppe->foe_flow[hash / soc->hash_offset]; in __mtk_ppe_check_skb() 909 foe_flow_size = (MTK_PPE_ENTRIES / soc->hash_offset) * in mtk_ppe_init()
|
H A D | mtk_eth_soc.c | 5058 .hash_offset = 2, 5079 .hash_offset = 2, 5100 .hash_offset = 2, 5141 .hash_offset = 4, 5163 .hash_offset = 4, 5185 .hash_offset = 4,
|
H A D | mtk_eth_soc.h | 1170 u8 hash_offset; member
|
/openbmc/google-misc/subprojects/libcr51sign/src/ |
H A D | libcr51sign.c | 283 uint32_t byte_count, region_count, image_size, hash_offset, digest_size; in validate_payload_regions() local 299 hash_offset = d_offset + sizeof(struct image_descriptor) + in validate_payload_regions() 376 rv = intf->read(ctx, hash_offset, in validate_payload_regions()
|
/openbmc/u-boot/include/ |
H A D | cros_ec.h | 103 int cros_ec_read_hash(struct udevice *dev, uint hash_offset,
|
/openbmc/qemu/contrib/elf2dmp/ |
H A D | pdb.h | 69 uint32_t hash_offset; member
|
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | rvu_npc_hash.h | 183 u16 hash_offset; // 11 bits offset member
|
H A D | rvu_npc_hash.c | 449 hash += table->mem_table.hash_offset; in rvu_exact_calculate_hash() 681 rvu->hw->table->mem_table.hash_offset = 0; in rvu_exact_config_result_ctrl()
|
H A D | rvu_debugfs.c | 3092 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset); in rvu_dbg_npc_exact_show_info()
|
/openbmc/u-boot/lib/ |
H A D | tpm-v2.c | 1142 u32 hash_offset = offsetof(struct tpml_pcr_selection, selection) + in tpm2_get_pcr_info() local 1146 hash_offset + offsetof(struct tpms_pcr_selection, in tpm2_get_pcr_info() 1149 hash_offset + offsetof(struct tpms_pcr_selection, in tpm2_get_pcr_info() 1153 get_unaligned_be16(response + hash_offset); in tpm2_get_pcr_info()
|
/openbmc/linux/drivers/crypto/ |
H A D | s5p-sss.c | 244 unsigned int hash_offset; member 391 .hash_offset = 0x6000, 397 .hash_offset = 0x400, 403 .hash_offset = 0x800, 2238 pdata->io_hash_base = pdata->ioaddr + variant->hash_offset; in s5p_aes_probe()
|
/openbmc/u-boot/drivers/misc/ |
H A D | cros_ec.c | 502 int cros_ec_read_hash(struct udevice *dev, uint hash_offset, in cros_ec_read_hash() argument 509 p.offset = hash_offset; in cros_ec_read_hash() 532 p.offset = hash_offset; in cros_ec_read_hash()
|
/openbmc/linux/drivers/md/ |
H A D | dm-integrity.c | 1420 unsigned int hash_offset = 0; in dm_integrity_rw_tag() local 1465 hash_offset++; in dm_integrity_rw_tag() 1466 if (unlikely(hash_offset == ic->tag_size)) { in dm_integrity_rw_tag() 1471 hash_offset = 0; in dm_integrity_rw_tag() 1487 hash_offset = (hash_offset + to_copy) % ic->tag_size; in dm_integrity_rw_tag()
|
/openbmc/linux/drivers/net/ethernet/freescale/dpaa/ |
H A D | dpaa_eth.c | 2686 u32 fd_status, hash_offset; in rx_default_dqrr() local 2764 &hash_offset)) { in rx_default_dqrr() 2765 hash = be32_to_cpu(*(u32 *)(vaddr + hash_offset)); in rx_default_dqrr()
|