/linux/arch/um/drivers/ |
H A D | vector_transports.c | 42 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 D | hclge_comm_rss.c | 387 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/netronome/nfp/flower/ |
H A D | metadata.c | 35 .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/drivers/net/wireless/intel/iwlwifi/fw/api/ |
H A D | sta.h | 365 u8 key_offset; member 469 u8 key_offset; member
|
/linux/include/linux/ |
H A D | rhashtable.h | 174 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/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_bloom_filter.c | 235 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()
|
H A D | spectrum_acl_atcam.c | 56 .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/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | ipsec.c | 458 int key_offset = 0; in nfp_net_xfrm_add_state() local 474 key_offset = key_len / sizeof(cfg->ciph_key[0]) >> 1; in nfp_net_xfrm_add_state() 477 int index = (i + key_offset) % (key_len / sizeof(cfg->ciph_key[0])); in nfp_net_xfrm_add_state()
|
/linux/drivers/net/ethernet/marvell/prestera/ |
H A D | prestera_router_hw.c | 36 .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 D | prestera_acl.c | 83 .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 D | test_rhashtable.c | 97 .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 D | objagg.c | 540 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 D | test_lru_dist.c | 275 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 D | act_stats.c | 28 .key_offset = offsetof(struct mlx5e_tc_act_stats, tc_act_cookie),
|
/linux/drivers/net/ethernet/sfc/ |
H A D | tc_counters.c | 21 .key_offset = 0, 27 .key_offset = 0,
|
H A D | tc_conntrack.c | 20 .key_offset = 0, 26 .key_offset = 0,
|
/linux/net/bridge/ |
H A D | br_vlan_tunnel.c | 30 .key_offset = offsetof(struct net_bridge_vlan, tinfo.tunnel_id),
|
/linux/net/rds/ |
H A D | bind.c | 47 .key_offset = offsetof(struct rds_sock, rs_bound_key),
|
/linux/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | sta.c | 957 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 D | peer.c | 525 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/crypto/ |
H A D | testmgr.c | 315 unsigned int key_offset; member 351 .key_offset = 1, 363 .key_offset = 1, 388 .key_offset = 3, 421 .key_offset = 1, 431 .key_offset = 1, 840 unsigned int key_offset = cfg->key_offset; in prepare_keybuf() local 843 if (key_offset != 0) { in prepare_keybuf() 845 key_offset += alignmask; in prepare_keybuf() 846 keybuf = kmalloc(key_offset + ksize, GFP_KERNEL); in prepare_keybuf() [all …]
|
/linux/fs/bcachefs/ |
H A D | bset.c | 302 u8 key_offset; member 465 bkey_float(b, t, j)->key_offset); in tree_to_bkey() 724 bkey_float(b, t, j)->key_offset = in __build_ro_aux_tree() 1142 return cacheline_to_bkey(b, t, inorder, f->key_offset); in bset_search_tree()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/ |
H A D | fs_chains.c | 77 .key_offset = offsetof(struct fs_chain, chain), 84 .key_offset = offsetof(struct prio, key),
|
/linux/net/ipv6/ |
H A D | seg6_hmac.c | 67 .key_offset = offsetof(struct seg6_hmac_info, hmackeyid),
|
/linux/drivers/net/ethernet/mscc/ |
H A D | ocelot_vcap.c | 42 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()
|