Home
last modified time | relevance | path

Searched refs:key_offset (Results 1 – 25 of 99) sorted by relevance

1234

/Linux-v6.6/arch/um/drivers/
Dvector_transports.c42 uint32_t key_offset; member
103 (*(uint32_t *) (header + td->key_offset)) = td->tx_key; in gre_form_header()
185 key = (*(uint32_t *)(header + td->key_offset)); in gre_verify_header()
260 td->key_offset = 4; in build_gre_transport_data()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h363 u8 key_offset; member
467 u8 key_offset; member
/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c375 unsigned int key_offset = 0; in hclge_comm_set_rss_algo_key() local
391 (key_offset << HCLGE_COMM_RSS_HASH_KEY_OFFSET_B); in hclge_comm_set_rss_algo_key()
395 key + key_offset * HCLGE_COMM_RSS_HASH_KEY_NUM, in hclge_comm_set_rss_algo_key()
399 key_offset++; in hclge_comm_set_rss_algo_key()
/Linux-v6.6/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c35 .key_offset = offsetof(struct nfp_fl_stats_ctx_to_flow, stats_cxt),
486 .key_offset = offsetof(struct nfp_merge_info, parent_ctx),
494 .key_offset = offsetof(struct nfp_fl_ct_zone_entry, zone),
501 .key_offset = offsetof(struct nfp_fl_ct_map_entry, cookie),
506 .key_offset = offsetof(struct nfp_neigh_entry, neigh_cookie),
/Linux-v6.6/include/linux/
Drhashtable-types.h59 u16 key_offset; member
Drhashtable.h174 rht_key_hashfn(ht, tbl, ptr + params.key_offset, params); in rht_head_hashfn()
585 return memcmp(ptr + ht->p.key_offset, arg->key, ht->p.key_len); in rhashtable_compare()
886 key += params.key_offset; in rhltable_insert()
914 ret = __rhashtable_insert_fast(ht, key + ht->p.key_offset, obj, params, in rhashtable_lookup_insert_fast()
940 return __rhashtable_insert_fast(ht, key + ht->p.key_offset, obj, params, in rhashtable_lookup_get_insert_fast()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_acl_bloom_filter.c235 u8 key_offset, u8 chunk_key_len, u8 chunk_len) in __mlxsw_sp_acl_bf_key_encode() argument
251 memcpy(chunk + key_offset, in __mlxsw_sp_acl_bf_key_encode()
Dspectrum_acl_atcam.c56 .key_offset = offsetof(struct mlxsw_sp_acl_atcam_lkey_id, ht_key),
62 .key_offset = offsetof(struct mlxsw_sp_acl_atcam_entry, ht_key),
/Linux-v6.6/net/tls/
Dtls.h62 unsigned int key_offset; member
91 return (char *)crypto_info + cipher_desc->key_offset; in crypto_info_key()
/Linux-v6.6/drivers/net/ethernet/marvell/prestera/
Dprestera_router_hw.c36 .key_offset = offsetof(struct prestera_fib_node, key),
43 .key_offset = offsetof(struct prestera_nh_neigh, key),
49 .key_offset = offsetof(struct prestera_nexthop_group, key),
Dprestera_acl.c83 .key_offset = offsetof(struct prestera_acl_ruleset, ht_key),
90 .key_offset = offsetof(struct prestera_acl_rule, cookie),
96 .key_offset = offsetof(struct prestera_acl_rule_entry, key),
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2634 u.cmd.common.key_offset = keyconf->hw_key_idx; in __iwl_mvm_remove_sta_key()
3544 u8 key_offset, bool mfp) in iwl_mvm_send_sta_key() argument
3622 u.cmd.common.key_offset = key_offset; in iwl_mvm_send_sta_key()
3802 u8 key_offset, in __iwl_mvm_set_sta_key() argument
3838 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
3843 0, NULL, 0, key_offset, mfp); in __iwl_mvm_set_sta_key()
3850 u8 key_offset) in iwl_mvm_set_sta_key() argument
3911 if (key_offset == STA_KEY_IDX_INVALID) { in iwl_mvm_set_sta_key()
3912 key_offset = iwl_mvm_set_fw_key_idx(mvm); in iwl_mvm_set_sta_key()
3913 if (key_offset == STA_KEY_IDX_INVALID) in iwl_mvm_set_sta_key()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
Dact_stats.c28 .key_offset = offsetof(struct mlx5e_tc_act_stats, tc_act_cookie),
/Linux-v6.6/samples/bpf/
Dtest_lru_dist.c275 unsigned long long key_offset = task * dist_key_counts; in do_test_lru_dist() local
280 key = dist_keys[i] + key_offset; in do_test_lru_dist()
/Linux-v6.6/lib/
Dtest_rhashtable.c96 .key_offset = offsetof(struct test_obj, value),
103 .key_offset = offsetof(struct test_obj_rhl, value),
539 key += test_rht_params_dup.key_offset; in test_insert_dup()
Dobjagg.c537 objagg->ht_params.key_offset = offsetof(struct objagg_obj, obj); in objagg_create()
915 ptr += ht->p.key_offset; in objagg_hints_obj_cmp()
954 objagg_hints->ht_params.key_offset = in objagg_hints_get()
/Linux-v6.6/net/bridge/
Dbr_vlan_tunnel.c30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
/Linux-v6.6/drivers/net/ethernet/sfc/
Dtc_counters.c21 .key_offset = 0,
27 .key_offset = 0,
Dtc_conntrack.c20 .key_offset = 0,
26 .key_offset = 0,
/Linux-v6.6/crypto/
Dtestmgr.c304 unsigned int key_offset; member
339 .key_offset = 1,
351 .key_offset = 1,
376 .key_offset = 3,
409 .key_offset = 1,
420 .key_offset = 1,
829 unsigned int key_offset = cfg->key_offset; in prepare_keybuf() local
832 if (key_offset != 0) { in prepare_keybuf()
834 key_offset += alignmask; in prepare_keybuf()
835 keybuf = kmalloc(key_offset + ksize, GFP_KERNEL); in prepare_keybuf()
[all …]
/Linux-v6.6/net/rds/
Dbind.c47 .key_offset = offsetof(struct rds_sock, rs_bound_key),
/Linux-v6.6/net/handshake/
Drequest.c45 .key_offset = offsetof(struct handshake_req, hr_sk),
/Linux-v6.6/drivers/net/wireless/ath/ath11k/
Dpeer.c525 param->key_offset = offsetof(struct ath11k_peer, peer_id); in ath11k_peer_rhash_id_tbl_init()
580 param->key_offset = offsetof(struct ath11k_peer, addr); in ath11k_peer_rhash_addr_tbl_init()
/Linux-v6.6/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c957 wep_cmd->key[i].key_offset = i; in iwl_send_static_wepkey_cmd()
960 wep_cmd->key[i].key_offset = WEP_INVALID_OFFSET; in iwl_send_static_wepkey_cmd()
1124 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1194 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c77 .key_offset = offsetof(struct fs_chain, chain),
84 .key_offset = offsetof(struct prio, key),

1234