Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/net/xfrm/
Dxfrm_state.c530 if (x->km.state == XFRM_STATE_DEAD) in xfrm_timer_handler()
532 if (x->km.state == XFRM_STATE_EXPIRED) in xfrm_timer_handler()
559 if (x->km.dying) in xfrm_timer_handler()
582 x->km.dying = warn; in xfrm_timer_handler()
594 if (x->km.state == XFRM_STATE_ACQ && x->id.spi == 0) in xfrm_timer_handler()
595 x->km.state = XFRM_STATE_EXPIRED; in xfrm_timer_handler()
620 INIT_LIST_HEAD(&x->km.all); in xfrm_state_alloc()
642 WARN_ON(x->km.state != XFRM_STATE_DEAD); in __xfrm_state_destroy()
661 if (x->km.state != XFRM_STATE_DEAD) { in __xfrm_state_delete()
662 x->km.state = XFRM_STATE_DEAD; in __xfrm_state_delete()
[all …]
Dxfrm_input.c481 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
482 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
601 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
602 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
Dxfrm_user.c650 x->km.seq = p->seq; in xfrm_state_construct()
672 x->km.state = XFRM_STATE_DEAD; in xfrm_state_construct()
705 x->km.state = XFRM_STATE_DEAD; in xfrm_add_sa()
711 if (x->km.state == XFRM_STATE_VOID) in xfrm_add_sa()
712 x->km.state = XFRM_STATE_VALID; in xfrm_add_sa()
811 p->seq = x->km.seq; in copy_to_user_state()
2271 if (x->km.state != XFRM_STATE_VALID) in xfrm_new_ae()
2406 if (x->km.state != XFRM_STATE_VALID) in xfrm_add_sa_expire()
2531 struct xfrm_kmaddress km, *kmp; in xfrm_do_migrate() local
2542 kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL; in xfrm_do_migrate()
[all …]
Dxfrm_output.c439 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_output_one()
Dxfrm_policy.c2398 if (x && x->km.state == XFRM_STATE_VALID) { in xfrm_tmpl_resolve_one()
2405 error = (x->km.state == XFRM_STATE_ERROR ? in xfrm_tmpl_resolve_one()
3862 if (dst->xfrm->km.state != XFRM_STATE_VALID) in xfrm_bundle_ok()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/Documentation/ABI/testing/
Dsysfs-bus-iio-proximity-as39356 Get the current distance in meters of storm (1km steps)
/kernel/linux/linux-5.10/drivers/net/hippi/
DKconfig12 can run over copper (25m) or fiber (300m on multi-mode or 10km on
/kernel/linux/linux-5.10/tools/arch/s390/include/uapi/asm/
Dkvm.h145 __u8 km[16]; /* with MSA */ member
/kernel/linux/linux-5.10/net/ipv4/
Dipcomp.c85 t->km.state = XFRM_STATE_DEAD; in ipcomp_tunnel_create()
/kernel/linux/linux-5.10/net/ipv6/
Dipcomp6.c105 t->km.state = XFRM_STATE_DEAD; in ipcomp6_tunnel_create()
Dxfrm6_input.c221 likely(x->km.state == XFRM_STATE_VALID) && in xfrm6_input_addr()
/kernel/linux/linux-5.10/arch/s390/include/uapi/asm/
Dkvm.h145 __u8 km[16]; /* with MSA */ member
/kernel/linux/linux-5.10/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; \
/kernel/linux/linux-5.10/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()
3197 hdr->sadb_msg_seq = x->km.seq = get_acqseq(); in pfkey_send_acquire()
3401 hdr->sadb_msg_seq = x->km.seq = get_acqseq(); in pfkey_send_new_mapping()
/kernel/linux/linux-5.10/include/net/
Dxfrm.h170 struct xfrm_state_walk km; member
590 int xfrm_register_km(struct xfrm_mgr *km);
591 int xfrm_unregister_km(struct xfrm_mgr *km);
/kernel/linux/linux-5.10/arch/s390/kvm/
Dkvm-s390.c380 kvm_s390_available_subfunc.km); in kvm_s390_cpu_feat_init()
1365 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_set_processor_subfunc()
1366 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_set_processor_subfunc()
1546 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_get_processor_subfunc()
1547 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_get_processor_subfunc()
1614 ((unsigned long *) &kvm_s390_available_subfunc.km)[0], in kvm_s390_get_machine_subfunc()
1615 ((unsigned long *) &kvm_s390_available_subfunc.km)[1]); in kvm_s390_get_machine_subfunc()
/kernel/linux/linux-5.10/Documentation/virt/kvm/devices/
Dvm.rst161 u8 km[16]; # valid with Message-Security-Assist
/kernel/linux/linux-5.10/tools/power/pm-graph/
Dsleepgraph.py2124 km = re.match('^(?P<n>.*)_cal$', self.type)
2125 if km:
2128 self.type = km.group('n')
2130 km = re.match('^(?P<n>.*)_ret$', self.type)
2131 if km:
2134 self.type = km.group('n')
/kernel/linux/linux-5.10/arch/s390/tools/
Dopcodes.txt519 b92e km RRE_RR
/kernel/linux/linux-5.10/mm/
DKconfig491 # UP and nommu archs use km based percpu allocator
/kernel/linux/linux-5.10/Documentation/networking/
Darcnet-hardware.rst360 networks, on the order of 4km or so; in any case, the only real
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0020_linux_drivers_gpu.patch1247 + /* HDCP 2.2(and/or 1.4) | activate | km-key | 0 */
1504 + /* save the new stored km */
1507 + /* save the current stored km */
1560 + DRM_DEV_ERROR(mhdp->dev, "Failed to hdcp2 tx km stored.\n");
2007 + i += snprintf(&s[i], sizeof(s), "%02x", p->km[k]);
5353 + DRM_ERROR("hdcp2 tx is km stored req failed: %d\n", ret);

12