Home
last modified time | relevance | path

Searched refs:km (Results 1 – 25 of 27) sorted by relevance

12

/Linux-v6.6/net/netfilter/
Dnf_conntrack_proto_gre.c58 static inline int gre_key_cmpfn(const struct nf_ct_gre_keymap *km, in gre_key_cmpfn() argument
61 return km->tuple.src.l3num == t->src.l3num && in gre_key_cmpfn()
62 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn()
63 !memcmp(&km->tuple.dst.u3, &t->dst.u3, sizeof(t->dst.u3)) && in gre_key_cmpfn()
64 km->tuple.dst.protonum == t->dst.protonum && in gre_key_cmpfn()
65 km->tuple.dst.u.all == t->dst.u.all; in gre_key_cmpfn()
72 struct nf_ct_gre_keymap *km; in gre_keymap_lookup() local
75 list_for_each_entry_rcu(km, &net_gre->keymap_list, list) { in gre_keymap_lookup()
76 if (gre_key_cmpfn(km, t)) { in gre_keymap_lookup()
77 key = km->tuple.src.u.gre.key; in gre_keymap_lookup()
[all …]
/Linux-v6.6/net/xfrm/
Dxfrm_state.c137 if (x->km.seq) { in xfrm_hash_transfer()
138 h = __xfrm_seq_hash(x->km.seq, nhashmask); in xfrm_hash_transfer()
575 if (x->km.state == XFRM_STATE_DEAD) in xfrm_timer_handler()
577 if (x->km.state == XFRM_STATE_EXPIRED) in xfrm_timer_handler()
604 if (x->km.dying) in xfrm_timer_handler()
627 x->km.dying = warn; in xfrm_timer_handler()
639 if (x->km.state == XFRM_STATE_ACQ && x->id.spi == 0) in xfrm_timer_handler()
640 x->km.state = XFRM_STATE_EXPIRED; in xfrm_timer_handler()
665 INIT_LIST_HEAD(&x->km.all); in xfrm_state_alloc()
688 WARN_ON(x->km.state != XFRM_STATE_DEAD); in __xfrm_state_destroy()
[all …]
Dxfrm_input.c468 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
469 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
588 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
589 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
Dxfrm_user.c752 x->km.seq = p->seq; in xfrm_state_construct()
775 x->km.state = XFRM_STATE_DEAD; in xfrm_state_construct()
808 x->km.state = XFRM_STATE_DEAD; in xfrm_add_sa()
814 if (x->km.state == XFRM_STATE_VOID) in xfrm_add_sa()
815 x->km.state = XFRM_STATE_VALID; in xfrm_add_sa()
916 p->seq = x->km.seq; in copy_to_user_state()
2544 if (x->km.state != XFRM_STATE_VALID) { in xfrm_new_ae()
2684 if (x->km.state != XFRM_STATE_VALID) { in xfrm_add_sa_expire()
2816 struct xfrm_kmaddress km, *kmp; in xfrm_do_migrate() local
2829 kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL; in xfrm_do_migrate()
[all …]
Dxfrm_output.c516 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_output_one()
Dxfrm_policy.c2477 if (x && x->km.state == XFRM_STATE_VALID) { in xfrm_tmpl_resolve_one()
2484 error = (x->km.state == XFRM_STATE_ERROR ? in xfrm_tmpl_resolve_one()
3911 if (dst->xfrm->km.state != XFRM_STATE_VALID) in xfrm_bundle_ok()
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c587 struct host_cmd_ds_802_11_key_material_v2 *km) in mwifiex_set_aes_key_v2() argument
596 memcpy(km->key_param_set.key_params.cmac_aes.ipn, in mwifiex_set_aes_key_v2()
598 km->key_param_set.key_info &= cpu_to_le16(~KEY_MCAST); in mwifiex_set_aes_key_v2()
599 km->key_param_set.key_info |= cpu_to_le16(KEY_IGTK); in mwifiex_set_aes_key_v2()
600 km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC; in mwifiex_set_aes_key_v2()
601 km->key_param_set.key_params.cmac_aes.key_len = in mwifiex_set_aes_key_v2()
603 memcpy(km->key_param_set.key_params.cmac_aes.key, in mwifiex_set_aes_key_v2()
609 km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC_DEF; in mwifiex_set_aes_key_v2()
610 km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; in mwifiex_set_aes_key_v2()
615 memcpy(km->key_param_set.key_params.aes.pn, in mwifiex_set_aes_key_v2()
[all …]
/Linux-v6.6/Documentation/ABI/testing/
Dsysfs-bus-iio-proximity-as39356 Get the current distance in meters of storm (1km steps)
/Linux-v6.6/drivers/gpu/drm/bridge/cadence/
Dcdns-mhdp8546-hdcp.h67 u8 km[HDCP_KM_LEN]; member
Dcdns-mhdp8546-hdcp.c218 u32 size, u8 *km) in cdns_mhdp_hdcp_km_stored_resp() argument
224 HDCP2X_TX_RESPOND_KM, size, km); in cdns_mhdp_hdcp_km_stored_resp()
/Linux-v6.6/drivers/net/hippi/
DKconfig12 can run over copper (25m) or fiber (300m on multi-mode or 10km on
/Linux-v6.6/net/ipv4/
Dipcomp.c86 t->km.state = XFRM_STATE_DEAD; in ipcomp_tunnel_create()
/Linux-v6.6/net/ipv6/
Dipcomp6.c105 t->km.state = XFRM_STATE_DEAD; in ipcomp6_tunnel_create()
Dxfrm6_input.c224 likely(x->km.state == XFRM_STATE_VALID) && in xfrm6_input_addr()
/Linux-v6.6/arch/s390/include/uapi/asm/
Dkvm.h146 __u8 km[16]; /* with MSA */ member
/Linux-v6.6/tools/arch/s390/include/uapi/asm/
Dkvm.h146 __u8 km[16]; /* with MSA */ member
/Linux-v6.6/arch/x86/crypto/
Dcast6-avx-x86_64-asm_64.S23 #define km 0 macro
150 vbroadcastss (km+(4*(nn)))(CTX), RKM; \
Dcast5-avx-x86_64-asm_64.S22 #define km 0 macro
150 vbroadcastss (km+(4*n))(CTX), RKM; \
/Linux-v6.6/net/key/
Daf_key.c840 switch (x->km.state) { in __pfkey_xfrm_state2msg()
842 sa->sadb_sa_state = x->km.dying ? in __pfkey_xfrm_state2msg()
1290 x->km.seq = hdr->sadb_msg_seq; in pfkey_msg2xfrm_state()
1294 x->km.state = XFRM_STATE_DEAD; in pfkey_msg2xfrm_state()
1425 if (x->km.state == XFRM_STATE_ACQ) in pfkey_acquire()
1426 x->km.state = XFRM_STATE_ERROR; in pfkey_acquire()
1516 x->km.state = XFRM_STATE_DEAD; in pfkey_add()
3196 hdr->sadb_msg_seq = x->km.seq = get_acqseq(); in pfkey_send_acquire()
3400 hdr->sadb_msg_seq = x->km.seq; in pfkey_send_new_mapping()
/Linux-v6.6/include/net/
Dxfrm.h195 struct xfrm_state_walk km; member
608 void xfrm_register_km(struct xfrm_mgr *km);
609 void xfrm_unregister_km(struct xfrm_mgr *km);
/Linux-v6.6/arch/s390/kvm/
Dkvm-s390.c378 kvm_s390_available_subfunc.km); in kvm_s390_cpu_feat_init()
1488 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_set_processor_subfunc()
1489 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_set_processor_subfunc()
1702 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_get_processor_subfunc()
1703 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_get_processor_subfunc()
1770 ((unsigned long *) &kvm_s390_available_subfunc.km)[0], in kvm_s390_get_machine_subfunc()
1771 ((unsigned long *) &kvm_s390_available_subfunc.km)[1]); in kvm_s390_get_machine_subfunc()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
Dipsec.c71 if (x->km.state == XFRM_STATE_EXPIRED) { in mlx5e_ipsec_handle_tx_limit()
/Linux-v6.6/Documentation/virt/kvm/devices/
Dvm.rst161 u8 km[16]; # valid with Message-Security-Assist
/Linux-v6.6/tools/power/pm-graph/
Dsleepgraph.py2312 km = re.match('^(?P<n>.*)_cal$', self.type)
2313 if km:
2316 self.type = km.group('n')
2318 km = re.match('^(?P<n>.*)_ret$', self.type)
2319 if km:
2322 self.type = km.group('n')
/Linux-v6.6/arch/s390/tools/
Dopcodes.txt522 b92e km RRE_RR

12