Home
last modified time | relevance | path

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

1234

/linux-6.1.9/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-6.1.9/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h363 u8 key_offset; member
467 u8 key_offset; member
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns3/hns3_common/
Dhclge_comm_rss.c376 unsigned int key_offset = 0; in hclge_comm_set_rss_algo_key() local
392 (key_offset << HCLGE_COMM_RSS_HASH_KEY_OFFSET_B); in hclge_comm_set_rss_algo_key()
396 key + key_offset * HCLGE_COMM_RSS_HASH_KEY_NUM, in hclge_comm_set_rss_algo_key()
400 key_offset++; in hclge_comm_set_rss_algo_key()
/linux-6.1.9/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-6.1.9/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()
577 return memcmp(ptr + ht->p.key_offset, arg->key, ht->p.key_len); in rhashtable_compare()
877 key += params.key_offset; in rhltable_insert()
905 ret = __rhashtable_insert_fast(ht, key + ht->p.key_offset, obj, params, in rhashtable_lookup_insert_fast()
931 return __rhashtable_insert_fast(ht, key + ht->p.key_offset, obj, params, in rhashtable_lookup_get_insert_fast()
/linux-6.1.9/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-6.1.9/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-6.1.9/kernel/trace/
Dtracing_map.h277 unsigned int key_offset,
/linux-6.1.9/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2472 u.cmd.common.key_offset = keyconf->hw_key_idx; in __iwl_mvm_remove_sta_key()
3373 u8 key_offset, bool mfp) in iwl_mvm_send_sta_key() argument
3451 u.cmd.common.key_offset = key_offset; in iwl_mvm_send_sta_key()
3628 u8 key_offset, in __iwl_mvm_set_sta_key() argument
3659 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
3664 0, NULL, 0, key_offset, mfp); in __iwl_mvm_set_sta_key()
3671 u8 key_offset) in iwl_mvm_set_sta_key() argument
3732 if (key_offset == STA_KEY_IDX_INVALID) { in iwl_mvm_set_sta_key()
3733 key_offset = iwl_mvm_set_fw_key_idx(mvm); in iwl_mvm_set_sta_key()
3734 if (key_offset == STA_KEY_IDX_INVALID) in iwl_mvm_set_sta_key()
[all …]
Dsta.h478 u8 key_offset);
/linux-6.1.9/net/bridge/
Dbr_vlan_tunnel.c30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
/linux-6.1.9/samples/bpf/
Dtest_lru_dist.c280 unsigned long long key_offset = task * dist_key_counts; in do_test_lru_dist() local
285 key = dist_keys[i] + key_offset; in do_test_lru_dist()
/linux-6.1.9/lib/
Dtest_rhashtable.c96 .key_offset = offsetof(struct test_obj, value),
103 .key_offset = offsetof(struct test_obj_rhl, value),
541 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-6.1.9/net/rds/
Dbind.c47 .key_offset = offsetof(struct rds_sock, rs_bound_key),
/linux-6.1.9/crypto/
Dtestmgr.c304 unsigned int key_offset; member
339 .key_offset = 1,
351 .key_offset = 1,
368 .key_offset = 3,
401 .key_offset = 1,
412 .key_offset = 1,
821 unsigned int key_offset = cfg->key_offset; in prepare_keybuf() local
824 if (key_offset != 0) { in prepare_keybuf()
826 key_offset += alignmask; in prepare_keybuf()
827 keybuf = kmalloc(key_offset + ksize, GFP_KERNEL); in prepare_keybuf()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dpeer.c524 param->key_offset = offsetof(struct ath11k_peer, peer_id); in ath11k_peer_rhash_id_tbl_init()
579 param->key_offset = offsetof(struct ath11k_peer, addr); in ath11k_peer_rhash_addr_tbl_init()
/linux-6.1.9/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()
1121 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1191 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c77 .key_offset = offsetof(struct fs_chain, chain),
84 .key_offset = offsetof(struct prio, key),
/linux-6.1.9/net/ipv6/
Dseg6_hmac.c67 .key_offset = offsetof(struct seg6_hmac_info, hmackeyid),
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c271 .key_offset = offsetof(struct mlx5e_neigh_hash_entry, m_neigh),
/linux-6.1.9/drivers/net/ethernet/mscc/
Docelot_vcap.c42 u32 key_offset; /* Current entry offset */ member
208 data->key_offset = (base * vcap->entry_width) / vcap->sw_count; in vcap_data_offset_get()
250 vcap_data_set(data->entry, offset + data->key_offset, width, value); in vcap_key_field_set()
251 vcap_data_set(data->mask, offset + data->key_offset, width, mask); in vcap_key_field_set()

1234