Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dkprobes.h416 int register_kprobes(struct kprobe **kps, int num);
417 void unregister_kprobes(struct kprobe **kps, int num);
472 static inline int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
479 static inline void unregister_kprobes(struct kprobe **kps, int num) in unregister_kprobes() argument
/linux/kernel/
H A Dparams.c515 const struct kparam_string *kps = kp->str; in param_set_copystring() local
517 if (strnlen(val, kps->maxlen) == kps->maxlen) { in param_set_copystring()
519 kp->name, kps->maxlen-1); in param_set_copystring()
522 strcpy(kps->string, val); in param_set_copystring()
529 const struct kparam_string *kps = kp->str; in param_get_string() local
530 return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); in param_get_string()
H A Dkprobes.c1834 int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
1841 ret = register_kprobe(kps[i]); in register_kprobes()
1844 unregister_kprobes(kps, i); in register_kprobes()
1858 void unregister_kprobes(struct kprobe **kps, int num) in unregister_kprobes() argument
1866 if (__unregister_kprobe_top(kps[i]) < 0) in unregister_kprobes()
1867 kps[i]->addr = NULL; in unregister_kprobes()
1872 if (kps[i]->addr) in unregister_kprobes()
1873 __unregister_kprobe_bottom(kps[i]); in unregister_kprobes()
/linux/drivers/clk/bcm/
H A Dclk-nsp.c22 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, .ki_shift = kis,\ argument
23 .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, .ka_shift = kas, \
H A Dclk-ns2.c22 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, .ki_shift = kis,\ argument
23 .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, .ka_shift = kas, \
H A Dclk-cygnus.c30 #define DF_VAL(o, kis, kiw, kps, kpw, kas, kaw) { .offset = o, .ki_shift = kis,\ argument
31 .ki_width = kiw, .kp_shift = kps, .kp_width = kpw, .ka_shift = kas, \
H A 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/lib/
H A Dtest_kprobes.c124 struct kprobe *kps[2] = {&kp, &kp2}; in test_kprobes() local
132 KUNIT_EXPECT_EQ(test, 0, register_kprobes(kps, 2)); in test_kprobes()
146 unregister_kprobes(kps, 2); in test_kprobes()
/linux/kernel/power/
H A Dhibernate.c274 unsigned int kps; in swsusp_show_speed() local
282 kps = (k * 100) / centisecs; in swsusp_show_speed()
284 msg, k, centisecs / 100, centisecs % 100, kps / 1000, in swsusp_show_speed()
285 (kps % 1000) / 10); in swsusp_show_speed()
/linux/drivers/tty/serial/
H A Dkgdboc.c36 static struct kparam_string kps = {
655 module_param_call(kgdboc, param_set_kgdboc_var, param_get_string, &kps, 0644);
35 static struct kparam_string kps = { global() variable
/linux/drivers/misc/
H A Dkgdbts.c157 static struct kparam_string kps = { variable
1190 module_param_call(kgdbts, param_set_kgdbts_var, param_get_string, &kps, 0644);
/linux/Documentation/trace/
H A Dkprobes.rst477 int register_kprobes(struct kprobe **kps, int num);
485 - kps/rps: an array of pointers to ``*probe`` data structures
499 void unregister_kprobes(struct kprobe **kps, int num);
/linux/arch/x86/kvm/
H A Dx86.c6419 struct kvm_kpit_state *kps = &kvm->arch.vpit->pit_state; in kvm_vm_ioctl_get_pit() local
6421 BUILD_BUG_ON(sizeof(*ps) != sizeof(kps->channels)); in kvm_vm_ioctl_get_pit()
6423 mutex_lock(&kps->lock); in kvm_vm_ioctl_get_pit()
6424 memcpy(ps, &kps->channels, sizeof(*ps)); in kvm_vm_ioctl_get_pit()
6425 mutex_unlock(&kps->lock); in kvm_vm_ioctl_get_pit()