Home
last modified time | relevance | path

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

12

/linux/net/netfilter/
H A Dnf_conntrack_proto_gre.c72 struct nf_ct_gre_keymap *km; in gre_keymap_lookup() local
76 if (gre_key_cmpfn(km, t)) { in gre_keymap_lookup()
77 key = km->tuple.src.u.gre.key; in gre_keymap_lookup()
95 struct nf_ct_gre_keymap **kmp, *km; in nf_ct_gre_keymap_add() local
101 if (gre_key_cmpfn(km, t) && km == *kmp) in nf_ct_gre_keymap_add()
109 km = kmalloc(sizeof(*km), GFP_ATOMIC); in nf_ct_gre_keymap_add()
110 if (!km) in nf_ct_gre_keymap_add()
112 memcpy(&km->tuple, t, sizeof(*t)); in nf_ct_gre_keymap_add()
113 *kmp = km; in nf_ct_gre_keymap_add()
115 pr_debug("adding new entry %p: ", km); in nf_ct_gre_keymap_add()
[all …]
/linux/net/xfrm/
H A Dxfrm_state.c138 if (x->km.seq) { in xfrm_hash_transfer()
606 if (x->km.dying) in xfrm_timer_handler()
750 if (x->km.seq) in __xfrm_state_delete()
1178 (*best)->km.dying > x->km.dying || in xfrm_state_look_at()
1179 ((*best)->km.dying == x->km.dying && in xfrm_state_look_at()
1500 if (x->km.seq) { in __xfrm_state_insert()
1799 x->km.state = orig->km.state; in xfrm_state_clone()
1800 x->km.seq = orig->km.seq; in xfrm_state_clone()
2020 x->km.dying = 1; in xfrm_state_check_expire()
2461 if (km->notify) in km_state_notify()
[all …]
H A Dxfrm_input.c478 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
479 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
605 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_input()
606 if (x->km.state == XFRM_STATE_ACQ) in xfrm_input()
H A Dxfrm_user.c859 x->km.seq = p->seq; in xfrm_state_construct()
882 x->km.state = XFRM_STATE_DEAD; in xfrm_state_construct()
915 x->km.state = XFRM_STATE_DEAD; in xfrm_add_sa()
921 if (x->km.state == XFRM_STATE_VOID) in xfrm_add_sa()
922 x->km.state = XFRM_STATE_VALID; in xfrm_add_sa()
1023 p->seq = x->km.seq; in copy_to_user_state()
2677 if (x->km.state != XFRM_STATE_VALID) { in xfrm_new_ae()
2817 if (x->km.state != XFRM_STATE_VALID) { in xfrm_add_sa_expire()
2949 struct xfrm_kmaddress km, *kmp; in xfrm_do_migrate() local
2962 kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL; in xfrm_do_migrate()
[all …]
H A Dxfrm_output.c516 if (unlikely(x->km.state != XFRM_STATE_VALID)) { in xfrm_output_one()
H A Dxfrm_policy.c2516 if (x && x->km.state == XFRM_STATE_VALID) { in xfrm_tmpl_resolve_one()
2523 error = (x->km.state == XFRM_STATE_ERROR ? in xfrm_tmpl_resolve_one()
3985 if (dst->xfrm->km.state != XFRM_STATE_VALID) in xfrm_bundle_ok()
/linux/drivers/net/wireless/marvell/mwifiex/
H A Dsta_cmd.c625 km->key_param_set.len = cpu_to_le16(len); in mwifiex_set_aes_key_v2()
627 sizeof(km->action) + S_DS_GEN; in mwifiex_set_aes_key_v2()
654 km->action = cpu_to_le16(cmd_action); in mwifiex_cmd_802_11_key_material_v2()
658 km->key_param_set.key_idx = in mwifiex_cmd_802_11_key_material_v2()
676 sizeof(km->action)); in mwifiex_cmd_802_11_key_material_v2()
680 memset(&km->key_param_set, 0, in mwifiex_cmd_802_11_key_material_v2()
694 sizeof(km->action)); in mwifiex_cmd_802_11_key_material_v2()
715 if (km->key_param_set.key_idx == in mwifiex_cmd_802_11_key_material_v2()
733 len + sizeof(km->action) + S_DS_GEN); in mwifiex_cmd_802_11_key_material_v2()
761 len + sizeof(km->action) + S_DS_GEN); in mwifiex_cmd_802_11_key_material_v2()
[all …]
/linux/arch/s390/kernel/
H A Dcpacf.c29 CPACF_QUERY(km, KM);
58 CPACF_QAI(km, KM);
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-iio-proximity-as39356 Get the current distance in meters of storm (1km steps)
/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-hdcp.h67 u8 km[HDCP_KM_LEN]; member
H A 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/drivers/net/hippi/
H A DKconfig12 can run over copper (25m) or fiber (300m on multi-mode or 10km on
/linux/net/ipv6/
H A Dipcomp6.c105 t->km.state = XFRM_STATE_DEAD; in ipcomp6_tunnel_create()
H A Dxfrm6_input.c283 likely(x->km.state == XFRM_STATE_VALID) && in xfrm6_input_addr()
/linux/net/ipv4/
H A Dipcomp.c86 t->km.state = XFRM_STATE_DEAD; in ipcomp_tunnel_create()
/linux/arch/x86/crypto/
H A Dcast6-avx-x86_64-asm_64.S23 #define km 0 macro
150 vbroadcastss (km+(4*(nn)))(CTX), RKM; \
H A Dcast5-avx-x86_64-asm_64.S22 #define km 0 macro
150 vbroadcastss (km+(4*n))(CTX), RKM; \
/linux/net/key/
H A 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/arch/s390/include/uapi/asm/
H A Dkvm.h459 __u8 km[16]; /* with MSA */ member
/linux/tools/arch/s390/include/uapi/asm/
H A Dkvm.h459 __u8 km[16]; /* with MSA */ member
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dipsec.c70 if (x->km.state == XFRM_STATE_EXPIRED) { in mlx5e_ipsec_handle_sw_limits()
78 if (x->km.state != XFRM_STATE_VALID) { in mlx5e_ipsec_handle_sw_limits()
/linux/include/net/
H A Dxfrm.h200 struct xfrm_state_walk km; member
652 void xfrm_register_km(struct xfrm_mgr *km);
653 void xfrm_unregister_km(struct xfrm_mgr *km);
/linux/arch/s390/kvm/
H A Dkvm-s390.c395 kvm_s390_available_subfunc.km); in kvm_s390_cpu_feat_init()
1504 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_set_processor_subfunc()
1505 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_set_processor_subfunc()
1718 ((unsigned long *) &kvm->arch.model.subfuncs.km)[0], in kvm_s390_get_processor_subfunc()
1719 ((unsigned long *) &kvm->arch.model.subfuncs.km)[1]); in kvm_s390_get_processor_subfunc()
1786 ((unsigned long *) &kvm_s390_available_subfunc.km)[0], in kvm_s390_get_machine_subfunc()
1787 ((unsigned long *) &kvm_s390_available_subfunc.km)[1]); in kvm_s390_get_machine_subfunc()
/linux/Documentation/virt/kvm/devices/
H A Dvm.rst161 u8 km[16]; # valid with Message-Security-Assist
/linux/tools/power/pm-graph/
H A Dsleepgraph.py2312 km = re.match(r'^(?P<n>.*)_cal$', self.type)
2313 if km:
2316 self.type = km.group('n')
2318 km = re.match(r'^(?P<n>.*)_ret$', self.type)
2319 if km:
2322 self.type = km.group('n')

12