Home
last modified time | relevance | path

Searched refs:kmp (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/lib/
Dts_kmp.c44 struct ts_kmp *kmp = ts_config_priv(conf); in kmp_find() local
56 while (q > 0 && kmp->pattern[q] in kmp_find()
58 q = kmp->prefix_tbl[q - 1]; in kmp_find()
59 if (kmp->pattern[q] in kmp_find()
62 if (unlikely(q == kmp->pattern_len)) { in kmp_find()
64 return state->offset - kmp->pattern_len; in kmp_find()
95 struct ts_kmp *kmp; in kmp_init() local
98 size_t priv_size = sizeof(*kmp) + len + prefix_tbl_len; in kmp_init()
105 kmp = ts_config_priv(conf); in kmp_init()
106 kmp->pattern_len = len; in kmp_init()
[all …]
/linux-6.1.9/net/netfilter/
Dnf_conntrack_proto_gre.c95 struct nf_ct_gre_keymap **kmp, *km; in nf_ct_gre_keymap_add() local
97 kmp = &ct_pptp_info->keymap[dir]; in nf_ct_gre_keymap_add()
98 if (*kmp) { in nf_ct_gre_keymap_add()
101 if (gre_key_cmpfn(km, t) && km == *kmp) in nf_ct_gre_keymap_add()
113 *kmp = km; in nf_ct_gre_keymap_add()
/linux-6.1.9/kernel/debug/kdb/
Dkdb_main.c762 struct kdb_macro *kmp; in kdb_defcmd() local
769 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_defcmd()
770 list_for_each_entry(kms, &kmp->statements, in kdb_defcmd()
837 struct kdb_macro *kmp; in kdb_exec_defcmd() local
852 kmp = container_of(kp, struct kdb_macro, cmd); in kdb_exec_defcmd()
853 list_for_each_entry(kms, &kmp->statements, list_node) { in kdb_exec_defcmd()
858 kdb_printf("[%s]kdb> %s\n", kmp->cmd.name, kms->statement); in kdb_exec_defcmd()
/linux-6.1.9/net/xfrm/
Dxfrm_user.c2713 struct xfrm_kmaddress km, *kmp; in xfrm_do_migrate() local
2724 kmp = attrs[XFRMA_KMADDRESS] ? &km : NULL; in xfrm_do_migrate()
2730 err = copy_from_user_migrate((struct xfrm_migrate *)m, kmp, attrs, &n); in xfrm_do_migrate()
2747 err = xfrm_migrate(&pi->sel, pi->dir, type, m, n, kmp, net, encap, if_id); in xfrm_do_migrate()