Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dkprobes.h407 int register_kprobes(struct kprobe **kps, int num);
408 void unregister_kprobes(struct kprobe **kps, int num);
463 static inline int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
470 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
516 const size_t len = strnlen(val, kps->maxlen); in param_set_copystring()
518 if (len == kps->maxlen) { in param_set_copystring()
520 kp->name, kps->maxlen-1); in param_set_copystring()
523 memcpy(kps->string, val, len + 1); in param_set_copystring()
530 const struct kparam_string *kps = kp->str; in param_get_string() local
531 return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); in param_get_string()
H A Dkprobes.c1881 int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
1888 ret = register_kprobe(kps[i]); in register_kprobes()
1891 unregister_kprobes(kps, i); in register_kprobes()
1905 void unregister_kprobes(struct kprobe **kps, int num) in unregister_kprobes() argument
1913 if (__unregister_kprobe_top(kps[i]) < 0) in unregister_kprobes()
1914 kps[i]->addr = NULL; in unregister_kprobes()
1918 if (kps[i]->addr) in unregister_kprobes()
1919 __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/arch/x86/kvm/
H A Di8254.c654 struct kvm_kpit_state *kps = &kvm->arch.vpit->pit_state; in kvm_vm_ioctl_get_pit() local
656 BUILD_BUG_ON(sizeof(*ps) != sizeof(kps->channels)); in kvm_vm_ioctl_get_pit()
658 mutex_lock(&kps->lock); in kvm_vm_ioctl_get_pit()
659 memcpy(ps, &kps->channels, sizeof(*ps)); in kvm_vm_ioctl_get_pit()
660 mutex_unlock(&kps->lock); in kvm_vm_ioctl_get_pit()
/linux/kernel/power/
H A Dhibernate.c296 unsigned int kps; in swsusp_show_speed() local
304 kps = (k * 100) / centisecs; in swsusp_show_speed()
306 msg, k, centisecs / 100, centisecs % 100, kps / 1000, in swsusp_show_speed()
307 (kps % 1000) / 10); in swsusp_show_speed()
/linux/drivers/tty/serial/
H A Dkgdboc.c36 static struct kparam_string kps = { variable
646 module_param_call(kgdboc, param_set_kgdboc_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);