Home
last modified time | relevance | path

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

/Linux-v6.1/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-v6.1/kernel/bpf/
Dbpf_lru_list.h60 unsigned int hash_offset; member
74 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
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-v6.1/drivers/net/ipa/
Dipa_cmd.h98 u16 hash_size, u32 hash_offset,
Dipa_cmd.c391 dma_addr_t addr, u16 hash_size, u32 hash_offset, in ipa_cmd_table_init_add() argument
408 hash_offset += ipa->mem_offset; in ipa_cmd_table_init_add()
409 val |= u64_encode_bits(hash_offset, in ipa_cmd_table_init_add()
/Linux-v6.1/drivers/net/ethernet/mediatek/
Dmtk_ppe.c125 hash <<= (ffs(eth->soc->hash_offset) - 1); in mtk_ppe_hash_entry()
581 hlist_add_head(&entry->list, &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit()
607 &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit_subflow()
632 struct hlist_head *head = &ppe->foe_flow[hash / soc->hash_offset]; in __mtk_ppe_check_skb()
744 foe_flow_size = (MTK_PPE_ENTRIES / soc->hash_offset) * in mtk_ppe_init()
Dmtk_eth_soc.h986 u8 hash_offset; member
Dmtk_eth_soc.c4246 .hash_offset = 2,
4266 .hash_offset = 2,
4285 .hash_offset = 2,
4321 .hash_offset = 4,
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_npc_hash.h177 u16 hash_offset; // 11 bits offset member
Drvu_npc_hash.c411 hash += table->mem_table.hash_offset; in rvu_exact_calculate_hash()
643 rvu->hw->table->mem_table.hash_offset = 0; in rvu_exact_config_result_ctrl()
Drvu_debugfs.c3066 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset); in rvu_dbg_npc_exact_show_info()
/Linux-v6.1/drivers/crypto/
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-v6.1/drivers/md/
Ddm-integrity.c1420 unsigned 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-v6.1/drivers/net/ethernet/freescale/dpaa/
Ddpaa_eth.c2660 u32 fd_status, hash_offset; in rx_default_dqrr() local
2738 &hash_offset)) { in rx_default_dqrr()
2739 hash = be32_to_cpu(*(u32 *)(vaddr + hash_offset)); in rx_default_dqrr()