Home
last modified time | relevance | path

Searched refs:kps (Results 1 – 13 of 13) sorted by relevance

/Linux-v5.4/include/linux/
Dkprobes.h356 int register_kprobes(struct kprobe **kps, int num);
357 void unregister_kprobes(struct kprobe **kps, int num);
398 static inline int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
405 static inline void unregister_kprobes(struct kprobe **kps, int num) in unregister_kprobes() argument
/Linux-v5.4/kernel/
Dtest_kprobes.c112 struct kprobe *kps[2] = {&kp, &kp2}; in test_kprobes() local
117 ret = register_kprobes(kps, 2); in test_kprobes()
151 unregister_kprobes(kps, 2); in test_kprobes()
Dparams.c493 const struct kparam_string *kps = kp->str; in param_set_copystring() local
495 if (strlen(val)+1 > kps->maxlen) { in param_set_copystring()
497 kp->name, kps->maxlen-1); in param_set_copystring()
500 strcpy(kps->string, val); in param_set_copystring()
507 const struct kparam_string *kps = kp->str; in param_get_string() local
508 return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); in param_get_string()
Dkprobes.c1772 int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
1779 ret = register_kprobe(kps[i]); in register_kprobes()
1782 unregister_kprobes(kps, i); in register_kprobes()
1796 void unregister_kprobes(struct kprobe **kps, int num) in unregister_kprobes() argument
1804 if (__unregister_kprobe_top(kps[i]) < 0) in unregister_kprobes()
1805 kps[i]->addr = NULL; in unregister_kprobes()
1810 if (kps[i]->addr) in unregister_kprobes()
1811 __unregister_kprobe_bottom(kps[i]); in unregister_kprobes()
/Linux-v5.4/drivers/clk/bcm/
Dclk-nsp.c32 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, .ki_shift = kis,\ argument
33 .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, .ka_shift = kas, \
Dclk-ns2.c32 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, .ki_shift = kis,\ argument
33 .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, .ka_shift = kas, \
Dclk-cygnus.c40 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, .ki_shift = kis,\ argument
41 .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, .ka_shift = kas, \
Dclk-sr.c24 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, \ argument
25 .ki_shift = kis, .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, \
/Linux-v5.4/drivers/tty/serial/
Dkgdboc.c32 static struct kparam_string kps = { variable
346 module_param_call(kgdboc, param_set_kgdboc_var, param_get_string, &kps, 0644);
/Linux-v5.4/kernel/power/
Dhibernate.c246 unsigned int kps; in swsusp_show_speed() local
254 kps = (k * 100) / centisecs; in swsusp_show_speed()
256 msg, k, centisecs / 100, centisecs % 100, kps / 1000, in swsusp_show_speed()
257 (kps % 1000) / 10); in swsusp_show_speed()
/Linux-v5.4/drivers/misc/
Dkgdbts.c155 static struct kparam_string kps = { variable
1179 module_param_call(kgdbts, param_set_kgdbts_var, param_get_string, &kps, 0644);
/Linux-v5.4/Documentation/
Dkprobes.txt490 int register_kprobes(struct kprobe **kps, int num);
498 - kps/rps: an array of pointers to ``*probe`` data structures
512 void unregister_kprobes(struct kprobe **kps, int num);
/Linux-v5.4/arch/x86/kvm/
Dx86.c4577 struct kvm_kpit_state *kps = &kvm->arch.vpit->pit_state; in kvm_vm_ioctl_get_pit() local
4579 BUILD_BUG_ON(sizeof(*ps) != sizeof(kps->channels)); in kvm_vm_ioctl_get_pit()
4581 mutex_lock(&kps->lock); in kvm_vm_ioctl_get_pit()
4582 memcpy(ps, &kps->channels, sizeof(*ps)); in kvm_vm_ioctl_get_pit()
4583 mutex_unlock(&kps->lock); in kvm_vm_ioctl_get_pit()