Home
last modified time | relevance | path

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

123

/Linux-v5.10/drivers/infiniband/sw/rxe/
Drxe_pool.c71 .key_offset = offsetof(struct rxe_mc_grp, mgid),
148 pool->key_offset = rxe_type_info[type].key_offset; in rxe_pool_init()
238 cmp = memcmp((u8 *)elem + pool->key_offset, in insert_key()
239 (u8 *)new + pool->key_offset, pool->key_size); in insert_key()
265 memcpy((u8 *)elem + pool->key_offset, key, pool->key_size); in rxe_add_key()
442 cmp = memcmp((u8 *)elem + pool->key_offset, in rxe_pool_get_key()
Drxe_pool.h43 size_t key_offset; member
84 size_t key_offset; member
/Linux-v5.10/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-v5.10/drivers/net/wireless/intel/iwlwifi/fw/api/
Dsta.h416 u8 key_offset; member
516 u8 key_offset; member
/Linux-v5.10/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-v5.10/drivers/net/wireless/intel/iwlwifi/mvm/
Dsta.c2436 u.cmd.common.key_offset = keyconf->hw_key_idx; in __iwl_mvm_remove_sta_key()
3237 u8 key_offset, bool mfp) in iwl_mvm_send_sta_key() argument
3313 u.cmd.common.key_offset = key_offset; in iwl_mvm_send_sta_key()
3449 u8 key_offset, in __iwl_mvm_set_sta_key() argument
3481 seq.tkip.iv32, p1k, 0, key_offset, in __iwl_mvm_set_sta_key()
3490 0, NULL, 0, key_offset, mfp); in __iwl_mvm_set_sta_key()
3494 0, NULL, 0, key_offset, mfp); in __iwl_mvm_set_sta_key()
3504 u8 key_offset) in iwl_mvm_set_sta_key() argument
3565 if (key_offset == STA_KEY_IDX_INVALID) { in iwl_mvm_set_sta_key()
3566 key_offset = iwl_mvm_set_fw_key_idx(mvm); in iwl_mvm_set_sta_key()
[all …]
Dsta.h512 u8 key_offset);
/Linux-v5.10/kernel/trace/
Dtracing_map.h277 unsigned int key_offset,
/Linux-v5.10/net/bridge/
Dbr_vlan_tunnel.c30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
/Linux-v5.10/samples/bpf/
Dtest_lru_dist.c278 unsigned long long key_offset = task * dist_key_counts; in do_test_lru_dist() local
283 key = dist_keys[i] + key_offset; in do_test_lru_dist()
/Linux-v5.10/lib/
Dtest_rhashtable.c96 .key_offset = offsetof(struct test_obj, value),
103 .key_offset = offsetof(struct test_obj_rhl, value),
554 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()
918 ptr += ht->p.key_offset; in objagg_hints_obj_cmp()
957 objagg_hints->ht_params.key_offset = in objagg_hints_get()
/Linux-v5.10/net/rds/
Dbind.c47 .key_offset = offsetof(struct rds_sock, rs_bound_key),
/Linux-v5.10/crypto/
Dtestmgr.c290 unsigned int key_offset; member
320 .key_offset = 1,
332 .key_offset = 1,
349 .key_offset = 3,
382 .key_offset = 1,
393 .key_offset = 1,
781 unsigned int key_offset = cfg->key_offset; in prepare_keybuf() local
784 if (key_offset != 0) { in prepare_keybuf()
786 key_offset += alignmask; in prepare_keybuf()
787 keybuf = kmalloc(key_offset + ksize, GFP_KERNEL); in prepare_keybuf()
[all …]
/Linux-v5.10/drivers/net/ethernet/mellanox/mlxsw/
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),
Dcore_acl_flex_actions.c110 .key_offset = offsetof(struct mlxsw_afa_set, ht_key),
128 .key_offset = offsetof(struct mlxsw_afa_fwd_entry, ht_key),
192 .key_offset = offsetof(struct mlxsw_afa_policer, fa_index),
/Linux-v5.10/drivers/net/wireless/intel/iwlwifi/dvm/
Dsta.c962 wep_cmd->key[i].key_offset = i; in iwl_send_static_wepkey_cmd()
965 wep_cmd->key[i].key_offset = WEP_INVALID_OFFSET; in iwl_send_static_wepkey_cmd()
1126 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwlagn_send_sta_key()
1196 sta_cmd.key.key_offset = keyconf->hw_key_idx; in iwl_remove_dynamic_key()
/Linux-v5.10/net/ipv6/
Dseg6_hmac.c68 .key_offset = offsetof(struct seg6_hmac_info, hmackeyid),
/Linux-v5.10/drivers/net/ethernet/marvell/octeontx2/af/
Drvu_struct.h898 u64 key_offset :6; member
900 u64 key_offset :6;
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dfs_chains.c97 .key_offset = offsetof(struct fs_chain, chain),
104 .key_offset = offsetof(struct prio, key),
/Linux-v5.10/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()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/rep/
Dneigh.c270 .key_offset = offsetof(struct mlx5e_neigh_hash_entry, m_neigh),
/Linux-v5.10/net/core/
Dxdp.c60 .key_offset = offsetof(struct xdp_mem_allocator, mem.id),
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c140 .key_offset = offsetof(struct mlx5_ct_entry, cookie),
148 .key_offset = offsetof(struct mlx5_ct_ft, zone),
155 .key_offset = offsetof(struct mlx5_ct_entry, tuple),
163 .key_offset = offsetof(struct mlx5_ct_entry, tuple_nat),

123