Home
last modified time | relevance | path

Searched refs:hash_offset (Results 1 – 15 of 15) sorted by relevance

/linux-6.3-rc2/drivers/soc/qcom/
A Dmdt_loader.c132 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()
/linux-6.3-rc2/kernel/bpf/
A Dbpf_lru_list.h60 unsigned int hash_offset; member
74 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
A Dbpf_lru_list.c353 *(u32 *)((void *)node + lru->hash_offset) = hash; in __local_list_add_pending()
421 *(u32 *)((void *)node + lru->hash_offset) = hash; in bpf_percpu_lru_pop_free()
646 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, in bpf_lru_init() argument
684 lru->hash_offset = hash_offset; in bpf_lru_init()
/linux-6.3-rc2/drivers/net/ipa/
A Dipa_table.c391 u32 hash_offset; in ipa_table_init_add() local
407 hash_offset = hash_mem ? hash_mem->offset : 0; in ipa_table_init_add()
432 hash_size, hash_offset, hash_addr); in ipa_table_init_add()
445 zero_offset = hash_offset + hash_size; in ipa_table_init_add()
A Dipa_cmd.h98 u16 hash_size, u32 hash_offset,
A Dipa_cmd.c362 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()
/linux-6.3-rc2/drivers/net/ethernet/mediatek/
A Dmtk_ppe.c125 hash <<= (ffs(eth->soc->hash_offset) - 1); in mtk_ppe_hash_entry()
601 hlist_add_head(&entry->list, &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit()
626 &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit_subflow()
651 struct hlist_head *head = &ppe->foe_flow[hash / soc->hash_offset]; in __mtk_ppe_check_skb()
790 foe_flow_size = (MTK_PPE_ENTRIES / soc->hash_offset) * in mtk_ppe_init()
A Dmtk_eth_soc.h1047 u8 hash_offset; member
A Dmtk_eth_soc.c4796 .hash_offset = 2,
4816 .hash_offset = 2,
4835 .hash_offset = 2,
4872 .hash_offset = 4,
/linux-6.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A Drvu_npc_hash.h177 u16 hash_offset; // 11 bits offset member
A Drvu_npc_hash.c407 hash += table->mem_table.hash_offset; in rvu_exact_calculate_hash()
639 rvu->hw->table->mem_table.hash_offset = 0; in rvu_exact_config_result_ctrl()
A Drvu_debugfs.c3079 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset); in rvu_dbg_npc_exact_show_info()
/linux-6.3-rc2/drivers/crypto/
A Ds5p-sss.c245 unsigned int hash_offset; member
392 .hash_offset = 0x6000,
398 .hash_offset = 0x400,
404 .hash_offset = 0x800,
2239 pdata->io_hash_base = pdata->ioaddr + variant->hash_offset; in s5p_aes_probe()
/linux-6.3-rc2/drivers/md/
A Ddm-integrity.c1435 unsigned int hash_offset = 0; in dm_integrity_rw_tag() local
1480 hash_offset++; in dm_integrity_rw_tag()
1481 if (unlikely(hash_offset == ic->tag_size)) { in dm_integrity_rw_tag()
1486 hash_offset = 0; in dm_integrity_rw_tag()
1502 hash_offset = (hash_offset + to_copy) % ic->tag_size; in dm_integrity_rw_tag()
/linux-6.3-rc2/drivers/net/ethernet/freescale/dpaa/
A Ddpaa_eth.c2674 u32 fd_status, hash_offset; in rx_default_dqrr() local
2752 &hash_offset)) { in rx_default_dqrr()
2753 hash = be32_to_cpu(*(u32 *)(vaddr + hash_offset)); in rx_default_dqrr()

Completed in 122 milliseconds