Home
last modified time | relevance | path

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

/linux/net/ipv6/
H A Dtcp_ao.c136 const u8 *tkey, int hash_offset, u32 sne) in tcp_v6_ao_hash_skb() argument
139 hash_offset, sne); in tcp_v6_ao_hash_skb()
150 int hash_offset, u32 sne) in tcp_v6_ao_synack_hash() argument
164 hash_buf, hash_offset, sne); in tcp_v6_ao_synack_hash()
/linux/drivers/soc/qcom/
H A Dmdt_loader.c130 size_t hash_offset; in qcom_mdt_read_metadata() local
170 hash_offset = phdrs[0].p_filesz; in qcom_mdt_read_metadata()
171 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata()
174 hash_offset = phdrs[hash_segment].p_offset; in qcom_mdt_read_metadata()
175 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size); in qcom_mdt_read_metadata()
/linux/kernel/bpf/
H A Dbpf_lru_list.h60 unsigned int hash_offset; member
71 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset,
H A 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/drivers/net/ipa/
H A Dipa_table.c394 u32 hash_offset; in ipa_table_init_add() local
410 hash_offset = hash_mem ? hash_mem->offset : 0; in ipa_table_init_add()
435 hash_size, hash_offset, hash_addr); in ipa_table_init_add()
448 zero_offset = hash_offset + hash_size; in ipa_table_init_add()
H A Dipa_cmd.h86 u16 hash_size, u32 hash_offset,
H A Dipa_cmd.c363 dma_addr_t addr, u16 hash_size, u32 hash_offset, in ipa_cmd_table_init_add() argument
380 hash_offset += ipa->mem_offset; in ipa_cmd_table_init_add()
381 val |= u64_encode_bits(hash_offset, in ipa_cmd_table_init_add()
/linux/net/ipv4/
H A Dtcp_ao.c529 int hash_offset, int hash_len) in tcp_ao_hash_header() argument
540 (u8 *)th + hash_offset - sizeof(struct tcp_ao_hdr), in tcp_ao_hash_header()
550 memset(hdr + hash_offset, 0, hash_len); in tcp_ao_hash_header()
567 int hash_offset = ao_hash - (char *)th; in tcp_ao_hash_hdr() local
602 ao_hash, hash_offset, tcp_ao_maclen(key))) in tcp_ao_hash_hdr()
624 const u8 *tkey, int hash_offset, u32 sne) in tcp_ao_hash_skb() argument
651 ao_hash, hash_offset, tcp_ao_maclen(key))) in tcp_ao_hash_skb()
674 const u8 *tkey, int hash_offset, u32 sne) in tcp_v4_ao_hash_skb() argument
677 tkey, hash_offset, sne); in tcp_v4_ao_hash_skb()
682 int hash_offset, u32 sne) in tcp_v4_ao_synack_hash() argument
[all …]
/linux/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c178 hash <<= (ffs(eth->soc->hash_offset) - 1); in mtk_ppe_hash_entry()
691 hlist_add_head(&entry->list, &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit()
716 &ppe->foe_flow[hash / soc->hash_offset]); in mtk_foe_entry_commit_subflow()
741 struct hlist_head *head = &ppe->foe_flow[hash / soc->hash_offset]; in __mtk_ppe_check_skb()
911 foe_flow_size = (MTK_PPE_ENTRIES / soc->hash_offset) * in mtk_ppe_init()
H A Dmtk_eth_soc.c5126 .hash_offset = 2,
5155 .hash_offset = 2,
5184 .hash_offset = 2,
5240 .hash_offset = 4,
5270 .hash_offset = 4,
5300 .hash_offset = 4,
H A Dmtk_eth_soc.h1157 u8 hash_offset; member
/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.h183 u16 hash_offset; // 11 bits offset member
H A 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()
/linux/drivers/md/
H A Ddm-integrity.c1406 unsigned int hash_offset = 0; in dm_integrity_rw_tag() local
1451 hash_offset++; in dm_integrity_rw_tag()
1452 if (unlikely(hash_offset == ic->tag_size)) { in dm_integrity_rw_tag()
1457 hash_offset = 0; in dm_integrity_rw_tag()
1473 hash_offset = (hash_offset + to_copy) % ic->tag_size; in dm_integrity_rw_tag()
/linux/include/net/
H A Dtcp.h2278 const u8 *tkey, int hash_offset, u32 sne);
2299 int hash_offset, u32 sne);