Home
last modified time | relevance | path

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

/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.c494 const struct kparam_string *kps = kp->str; in param_set_copystring() local
496 if (strlen(val)+1 > kps->maxlen) { in param_set_copystring()
498 kp->name, kps->maxlen-1); in param_set_copystring()
501 strcpy(kps->string, val); in param_set_copystring()
508 const struct kparam_string *kps = kp->str; in param_get_string() local
509 return scnprintf(buffer, PAGE_SIZE, "%s\n", kps->string); in param_get_string()
Dkprobes.c1897 int register_kprobes(struct kprobe **kps, int num) in register_kprobes() argument
1904 ret = register_kprobe(kps[i]); in register_kprobes()
1907 unregister_kprobes(kps, i); in register_kprobes()
1921 void unregister_kprobes(struct kprobe **kps, int num) in unregister_kprobes() argument
1929 if (__unregister_kprobe_top(kps[i]) < 0) in unregister_kprobes()
1930 kps[i]->addr = NULL; in unregister_kprobes()
1935 if (kps[i]->addr) in unregister_kprobes()
1936 __unregister_kprobe_bottom(kps[i]); in unregister_kprobes()
/kernel/power/
Dhibernate.c258 unsigned int kps; in swsusp_show_speed() local
266 kps = (k * 100) / centisecs; in swsusp_show_speed()
268 msg, k, centisecs / 100, centisecs % 100, kps / 1000, in swsusp_show_speed()
269 (kps % 1000) / 10); in swsusp_show_speed()