Home
last modified time | relevance | path

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

123

/linux/arch/um/drivers/
H A 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/drivers/net/ethernet/hisilicon/hns3/hns3_common/
H A Dhclge_comm_rss.c387 unsigned int key_offset = 0; in hclge_comm_set_rss_algo_key() local
403 (key_offset << HCLGE_COMM_RSS_HASH_KEY_OFFSET_B); in hclge_comm_set_rss_algo_key()
407 key + key_offset * HCLGE_COMM_RSS_HASH_KEY_NUM, in hclge_comm_set_rss_algo_key()
411 key_offset++; in hclge_comm_set_rss_algo_key()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_bloom_filter.c250 u8 key_offset, u8 chunk_key_len, u8 chunk_len) in __mlxsw_sp_acl_bf_key_encode() argument
270 memcpy(chunk + key_offset, enc_key, chunk_key_len); in __mlxsw_sp_acl_bf_key_encode()
H A 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/include/linux/
H A Drhashtable.h174 rht_key_hashfn(ht, tbl, ptr + params.key_offset, params); in rht_head_hashfn()
607 return memcmp(ptr + ht->p.key_offset, arg->key, ht->p.key_len); in rhashtable_compare()
932 key += params.key_offset; in rhltable_insert()
960 ret = __rhashtable_insert_fast(ht, key + ht->p.key_offset, obj, params, in rhashtable_lookup_insert_fast()
986 return __rhashtable_insert_fast(ht, key + ht->p.key_offset, obj, params, in rhashtable_lookup_get_insert_fast()
/linux/net/tls/
H A Dtls.h62 unsigned int key_offset; member
91 return (char *)crypto_info + cipher_desc->key_offset; in crypto_info_key()
/linux/drivers/net/ethernet/marvell/prestera/
H A 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),
H A 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/lib/
H A Dtest_rhashtable.c97 .key_offset = offsetof(struct test_obj, value),
104 .key_offset = offsetof(struct test_obj_rhl, value),
540 key += test_rht_params_dup.key_offset; in test_insert_dup()
H A Dobjagg.c540 objagg->ht_params.key_offset = offsetof(struct objagg_obj, obj); in objagg_create()
943 objagg_hints->ht_params.key_offset = in objagg_hints_get()
/linux/samples/bpf/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/en/tc/
H A Dact_stats.c28 .key_offset = offsetof(struct mlx5e_tc_act_stats, tc_act_cookie),
/linux/drivers/net/ethernet/sfc/
H A Dtc_counters.c21 .key_offset = 0,
27 .key_offset = 0,
H A Dtc_conntrack.c20 .key_offset = 0,
26 .key_offset = 0,
/linux/net/bridge/
H A Dbr_vlan_tunnel.c30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
/linux/crypto/
H A Dtestmgr.c309 unsigned int key_offset; member
344 .key_offset = 1,
356 .key_offset = 1,
381 .key_offset = 3,
414 .key_offset = 1,
424 .key_offset = 1,
833 unsigned int key_offset = cfg->key_offset; in prepare_keybuf() local
836 if (key_offset != 0) { in prepare_keybuf()
838 key_offset += alignmask; in prepare_keybuf()
839 keybuf = kmalloc(key_offset + ksize, GFP_KERNEL); in prepare_keybuf()
[all …]
/linux/net/rds/
H A Dbind.c47 .key_offset = offsetof(struct rds_sock, rs_bound_key),
/linux/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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/drivers/net/wireless/ath/ath11k/
H A 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/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c77 .key_offset = offsetof(struct fs_chain, chain),
84 .key_offset = offsetof(struct prio, key),
/linux/drivers/net/ethernet/mscc/
H A 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()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
H A Dneigh.c271 .key_offset = offsetof(struct mlx5e_neigh_hash_entry, m_neigh),
/linux/net/ipv6/
H A Dioam6.c65 .key_offset = offsetof(struct ioam6_namespace, id),
73 .key_offset = offsetof(struct ioam6_schema, id),
/linux/drivers/net/wireless/intel/iwlegacy/
H A D4965-mac.c3147 wep_cmd->key[i].key_offset = i; in il4965_static_wepkey_cmd()
3150 wep_cmd->key[i].key_offset = WEP_INVALID_OFFSET; in il4965_static_wepkey_cmd()
3262 il->stations[sta_id].sta.key.key_offset = in il4965_set_wep_dynamic_key_info()
3267 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, in il4965_set_wep_dynamic_key_info()
3310 il->stations[sta_id].sta.key.key_offset = in il4965_set_ccmp_dynamic_key_info()
3315 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, in il4965_set_ccmp_dynamic_key_info()
3353 il->stations[sta_id].sta.key.key_offset = in il4965_set_tkip_dynamic_key_info()
3358 WARN(il->stations[sta_id].sta.key.key_offset == WEP_INVALID_OFFSET, in il4965_set_tkip_dynamic_key_info()
3444 (il->stations[sta_id].sta.key.key_offset, &il->ucode_key_table)) in il4965_remove_dynamic_key()
3446 il->stations[sta_id].sta.key.key_offset); in il4965_remove_dynamic_key()
[all …]
/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c1984 .key_offset = offsetof(struct bnxt_tc_flow_node, cookie),
1991 .key_offset = offsetof(struct bnxt_tc_l2_node, key),
1998 .key_offset = offsetof(struct bnxt_tc_l2_node, key),
2005 .key_offset = offsetof(struct bnxt_tc_tunnel_node, key),

123