Home
last modified time | relevance | path

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

/Linux-v5.4/net/netfilter/
Dnf_conntrack_proto_gre.c61 struct nf_ct_gre_keymap *km, *tmp; in nf_ct_gre_keymap_flush() local
64 list_for_each_entry_safe(km, tmp, &net_gre->keymap_list, list) { in nf_ct_gre_keymap_flush()
65 list_del_rcu(&km->list); in nf_ct_gre_keymap_flush()
66 kfree_rcu(km, rcu); in nf_ct_gre_keymap_flush()
71 static inline int gre_key_cmpfn(const struct nf_ct_gre_keymap *km, in gre_key_cmpfn() argument
74 return km->tuple.src.l3num == t->src.l3num && in gre_key_cmpfn()
75 !memcmp(&km->tuple.src.u3, &t->src.u3, sizeof(t->src.u3)) && in gre_key_cmpfn()
76 !memcmp(&km->tuple.dst.u3, &t->dst.u3, sizeof(t->dst.u3)) && in gre_key_cmpfn()
77 km->tuple.dst.protonum == t->dst.protonum && in gre_key_cmpfn()
78 km->tuple.dst.u.all == t->dst.u.all; in gre_key_cmpfn()
[all …]
/Linux-v5.4/net/xfrm/
Dxfrm_state.c531 if (x->km.state == XFRM_STATE_DEAD) in xfrm_timer_handler()
533 if (x->km.state == XFRM_STATE_EXPIRED) in xfrm_timer_handler()
560 if (x->km.dying) in xfrm_timer_handler()
583 x->km.dying = warn; in xfrm_timer_handler()
595 if (x->km.state == XFRM_STATE_ACQ && x->id.spi == 0) in xfrm_timer_handler()
596 x->km.state = XFRM_STATE_EXPIRED; in xfrm_timer_handler()
621 INIT_LIST_HEAD(&x->km.all); in xfrm_state_alloc()
643 WARN_ON(x->km.state != XFRM_STATE_DEAD); in __xfrm_state_destroy()
662 if (x->km.state != XFRM_STATE_DEAD) { in __xfrm_state_delete()
663 x->km.state = XFRM_STATE_DEAD; in __xfrm_state_delete()
[all …]
Dxfrm_input.c477 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
478 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
597 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
598 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
Dxfrm_user.c641 x->km.seq = p->seq; in xfrm_state_construct()
663 x->km.state = XFRM_STATE_DEAD; in xfrm_state_construct()
696 x->km.state = XFRM_STATE_DEAD; in xfrm_add_sa()
702 if (x->km.state == XFRM_STATE_VOID) in xfrm_add_sa()
703 x->km.state = XFRM_STATE_VALID; in xfrm_add_sa()
802 p->seq = x->km.seq; in copy_to_user_state()
2108 if (x->km.state != XFRM_STATE_VALID) in xfrm_new_ae()
2241 if (x->km.state != XFRM_STATE_VALID) in xfrm_add_sa_expire()
2363 struct xfrm_kmaddress km, *kmp; in xfrm_do_migrate() local
2373 kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL; in xfrm_do_migrate()
[all …]
Dxfrm_output.c433 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_output_one()
Dxfrm_policy.c2394 if (x && x->km.state == XFRM_STATE_VALID) { in xfrm_tmpl_resolve_one()
2401 error = (x->km.state == XFRM_STATE_ERROR ? in xfrm_tmpl_resolve_one()
3807 if (dst->xfrm->km.state != XFRM_STATE_VALID) in xfrm_bundle_ok()
/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dsta_cmd.c595 struct host_cmd_ds_802_11_key_material_v2 *km) in mwifiex_set_aes_key_v2() argument
604 memcpy(km->key_param_set.key_params.cmac_aes.ipn, in mwifiex_set_aes_key_v2()
606 km->key_param_set.key_info &= cpu_to_le16(~KEY_MCAST); in mwifiex_set_aes_key_v2()
607 km->key_param_set.key_info |= cpu_to_le16(KEY_IGTK); in mwifiex_set_aes_key_v2()
608 km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC; in mwifiex_set_aes_key_v2()
609 km->key_param_set.key_params.cmac_aes.key_len = in mwifiex_set_aes_key_v2()
611 memcpy(km->key_param_set.key_params.cmac_aes.key, in mwifiex_set_aes_key_v2()
617 km->key_param_set.key_type = KEY_TYPE_ID_AES_CMAC_DEF; in mwifiex_set_aes_key_v2()
618 km->key_param_set.key_idx = enc_key->key_index & KEY_INDEX_MASK; in mwifiex_set_aes_key_v2()
623 memcpy(km->key_param_set.key_params.aes.pn, in mwifiex_set_aes_key_v2()
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-bus-iio-proximity-as39356 Get the current distance in meters of storm (1km steps)
/Linux-v5.4/drivers/net/hippi/
DKconfig12 can run over copper (25m) or fiber (300m on multi-mode or 10km on
/Linux-v5.4/net/ipv6/
Dxfrm6_input.c130 likely(x->km.state == XFRM_STATE_VALID) && in xfrm6_input_addr()
Dipcomp6.c104 t->km.state = XFRM_STATE_DEAD; in ipcomp6_tunnel_create()
/Linux-v5.4/arch/s390/include/uapi/asm/
Dkvm.h145 __u8 km[16]; /* with MSA */ member
/Linux-v5.4/net/ipv4/
Dipcomp.c84 t->km.state = XFRM_STATE_DEAD; in ipcomp_tunnel_create()
/Linux-v5.4/tools/arch/s390/include/uapi/asm/
Dkvm.h145 __u8 km[16]; /* with MSA */ member
/Linux-v5.4/arch/x86/crypto/
Dcast6-avx-x86_64-asm_64.S23 #define km 0 macro
146 vbroadcastss (km+(4*(nn)))(CTX), RKM; \
Dcast5-avx-x86_64-asm_64.S22 #define km 0 macro
146 vbroadcastss (km+(4*n))(CTX), RKM; \
/Linux-v5.4/include/linux/
Dsuspend.h431 extern void __register_nosave_region(unsigned long b, unsigned long e, int km);
/Linux-v5.4/net/key/
Daf_key.c844 switch (x->km.state) { in __pfkey_xfrm_state2msg()
846 sa->sadb_sa_state = x->km.dying ? in __pfkey_xfrm_state2msg()
1295 x->km.seq = hdr->sadb_msg_seq; in pfkey_msg2xfrm_state()
1299 x->km.state = XFRM_STATE_DEAD; in pfkey_msg2xfrm_state()
1430 if (x->km.state == XFRM_STATE_ACQ) in pfkey_acquire()
1431 x->km.state = XFRM_STATE_ERROR; in pfkey_acquire()
1521 x->km.state = XFRM_STATE_DEAD; in pfkey_add()
3174 hdr->sadb_msg_seq = x->km.seq = get_acqseq(); in pfkey_send_acquire()
3375 hdr->sadb_msg_seq = x->km.seq = get_acqseq(); in pfkey_send_new_mapping()
/Linux-v5.4/include/net/
Dxfrm.h168 struct xfrm_state_walk km; member
586 int xfrm_register_km(struct xfrm_mgr *km);
587 int xfrm_unregister_km(struct xfrm_mgr *km);
/Linux-v5.4/arch/s390/kvm/
Dkvm-s390.c371 kvm_s390_available_subfunc.km); in kvm_s390_cpu_feat_init()
1342 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_set_processor_subfunc()
1343 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_set_processor_subfunc()
1523 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_get_processor_subfunc()
1524 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_get_processor_subfunc()
1591 ((unsigned long *) &kvm_s390_available_subfunc.km)[0], in kvm_s390_get_machine_subfunc()
1592 ((unsigned long *) &kvm_s390_available_subfunc.km)[1]); in kvm_s390_get_machine_subfunc()
/Linux-v5.4/Documentation/virt/kvm/devices/
Dvm.txt134 u8 km[16]; # valid with Message-Security-Assist
/Linux-v5.4/tools/power/pm-graph/
Dsleepgraph.py2003 km = re.match('^(?P<n>.*)_cal$', self.type)
2004 if km:
2007 self.type = km.group('n')
2009 km = re.match('^(?P<n>.*)_ret$', self.type)
2010 if km:
2013 self.type = km.group('n')
/Linux-v5.4/mm/
DKconfig427 # UP and nommu archs use km based percpu allocator
/Linux-v5.4/arch/s390/tools/
Dopcodes.txt519 b92e km RRE_RR
/Linux-v5.4/Documentation/networking/
Darcnet-hardware.txt335 networks, on the order of 4km or so; in any case, the only real