Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/bpf/
Dbpf_lru_list.h60 unsigned int hash_offset; member
71 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
Dbpf_lru_list.c358 *(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()
/linux-6.6.21/drivers/soc/qcom/
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.6.21/drivers/net/ipa/
Dipa_table.c393 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()
Dipa_cmd.h98 u16 hash_size, u32 hash_offset,
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.6.21/drivers/net/ethernet/mediatek/
Dmtk_ppe.c175 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()
Dmtk_eth_soc.c5059 .hash_offset = 2,
5080 .hash_offset = 2,
5101 .hash_offset = 2,
5142 .hash_offset = 4,
5164 .hash_offset = 4,
5186 .hash_offset = 4,
Dmtk_eth_soc.h1170 u8 hash_offset; member
/linux-6.6.21/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.h183 u16 hash_offset; // 11 bits offset member
Drvu_npc_hash.c449 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()
Drvu_debugfs.c3094 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset); in rvu_dbg_npc_exact_show_info()
/linux-6.6.21/drivers/crypto/
Ds5p-sss.c244 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()
/linux-6.6.21/drivers/md/
Ddm-integrity.c1420 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()
/linux-6.6.21/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2671 u32 fd_status, hash_offset; in rx_default_dqrr() local
2749 &hash_offset)) { in rx_default_dqrr()
2750 hash = be32_to_cpu(*(u32 *)(vaddr + hash_offset)); in rx_default_dqrr()