Searched refs:hash_offset (Results 1 - 19 of 19) sorted by relevance

/linux-master/kernel/bpf/
H A Dbpf_lru_list.h60 unsigned int hash_offset; member in struct:bpf_lru
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;
426 *(u32 *)((void *)node + lru->hash_offset) = hash;
651 int bpf_lru_init(struct bpf_lru *lru, bool percpu, u32 hash_offset, argument
689 lru->hash_offset = hash_offset;
/linux-master/drivers/net/ipa/
H A Dipa_cmd.h91 * @hash_offset: Offset in IPA shared memory of hashed routing table memory
94 * If hash_size is 0, hash_offset and hash_addr are ignored.
98 u16 hash_size, u32 hash_offset,
H A Dipa_table.c391 u32 hash_offset; local
407 hash_offset = hash_mem ? hash_mem->offset : 0;
432 hash_size, hash_offset, hash_addr);
445 zero_offset = hash_offset + hash_size;
H A Dipa_cmd.c359 /* If hash_size is 0, hash_offset and hash_addr ignored. */
362 dma_addr_t addr, u16 hash_size, u32 hash_offset,
379 hash_offset += ipa->mem_offset;
380 val |= u64_encode_bits(hash_offset,
360 ipa_cmd_table_init_add(struct gsi_trans *trans, enum ipa_cmd_opcode opcode, u16 size, u32 offset, dma_addr_t addr, u16 hash_size, u32 hash_offset, dma_addr_t hash_addr) argument
/linux-master/net/ipv6/
H A Dtcp_ao.c136 const u8 *tkey, int hash_offset, u32 sne)
139 hash_offset, sne);
150 int hash_offset, u32 sne)
164 hash_buf, hash_offset, sne);
134 tcp_v6_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, const struct sock *sk, const struct sk_buff *skb, const u8 *tkey, int hash_offset, u32 sne) argument
148 tcp_v6_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key, struct request_sock *req, const struct sk_buff *skb, int hash_offset, u32 sne) argument
/linux-master/drivers/soc/qcom/
H A Dmdt_loader.c132 size_t hash_offset; local
172 hash_offset = phdrs[0].p_filesz;
173 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size);
176 hash_offset = phdrs[hash_segment].p_offset;
177 memcpy(data + ehdr_size, fw->data + hash_offset, hash_size);
/linux-master/include/net/
H A Dtcp_ao.h214 const u8 *tkey, int hash_offset, u32 sne);
255 int hash_offset, u32 sne);
266 const u8 *tkey, int hash_offset, u32 sne);
285 const u8 *tkey, int hash_offset, u32 sne);
289 int hash_offset, u32 sne);
H A Dtcp.h2257 const u8 *tkey, int hash_offset, u32 sne);
2278 int hash_offset, u32 sne);
/linux-master/net/ipv4/
H A Dtcp_ao.c510 int hash_offset, int hash_len)
521 (u8 *)th + hash_offset - sizeof(struct tcp_ao_hdr),
531 memset(hdr + hash_offset, 0, hash_len);
548 int hash_offset = ao_hash - (char *)th; local
583 ao_hash, hash_offset, tcp_ao_maclen(key)))
605 const u8 *tkey, int hash_offset, u32 sne)
632 ao_hash, hash_offset, tcp_ao_maclen(key)))
655 const u8 *tkey, int hash_offset, u32 sne)
658 tkey, hash_offset, sne);
663 int hash_offset, u3
507 tcp_ao_hash_header(struct tcp_sigpool *hp, const struct tcphdr *th, bool exclude_options, u8 *hash, int hash_offset, int hash_len) argument
602 tcp_ao_hash_skb(unsigned short int family, char *ao_hash, struct tcp_ao_key *key, const struct sock *sk, const struct sk_buff *skb, const u8 *tkey, int hash_offset, u32 sne) argument
653 tcp_v4_ao_hash_skb(char *ao_hash, struct tcp_ao_key *key, const struct sock *sk, const struct sk_buff *skb, const u8 *tkey, int hash_offset, u32 sne) argument
661 tcp_v4_ao_synack_hash(char *ao_hash, struct tcp_ao_key *ao_key, struct request_sock *req, const struct sk_buff *skb, int hash_offset, u32 sne) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/
H A Drvu_npc_hash.h183 u16 hash_offset; // 11 bits offset member in struct:npc_exact_table::__anon13
H A Drvu_npc_hash.c449 hash += table->mem_table.hash_offset;
681 rvu->hw->table->mem_table.hash_offset = 0;
H A Drvu_debugfs.c3174 seq_printf(s, "Hash Offset : 0x%x\n", table->mem_table.hash_offset);
/linux-master/drivers/net/ethernet/mediatek/
H A Dmtk_ppe.c175 hash <<= (ffs(eth->soc->hash_offset) - 1);
691 hlist_add_head(&entry->list, &ppe->foe_flow[hash / soc->hash_offset]);
716 &ppe->foe_flow[hash / soc->hash_offset]);
741 struct hlist_head *head = &ppe->foe_flow[hash / soc->hash_offset];
911 foe_flow_size = (MTK_PPE_ENTRIES / soc->hash_offset) *
H A Dmtk_eth_soc.c5060 .hash_offset = 2,
5081 .hash_offset = 2,
5102 .hash_offset = 2,
5143 .hash_offset = 4,
5165 .hash_offset = 4,
5187 .hash_offset = 4,
H A Dmtk_eth_soc.h1151 * @hash_offset Flow table hash offset.
1170 u8 hash_offset; member in struct:mtk_soc_data
/linux-master/drivers/crypto/
H A Ds5p-sss.c232 * @hash_offset: HASH register offset from SSS module's base.
241 unsigned int hash_offset; member in struct:samsung_aes_variant
388 .hash_offset = 0x6000,
394 .hash_offset = 0x400,
400 .hash_offset = 0x800,
2232 pdata->io_hash_base = pdata->ioaddr + variant->hash_offset;
/linux-master/drivers/md/
H A Ddm-integrity.c1410 unsigned int hash_offset = 0; local
1455 hash_offset++;
1456 if (unlikely(hash_offset == ic->tag_size)) {
1461 hash_offset = 0;
1477 hash_offset = (hash_offset + to_copy) % ic->tag_size;
/linux-master/drivers/net/ethernet/freescale/dpaa/
H A Ddpaa_eth.c2671 u32 fd_status, hash_offset; local
2749 &hash_offset)) {
2750 hash = be32_to_cpu(*(u32 *)(vaddr + hash_offset));

Completed in 478 milliseconds