Searched refs:kp (Results 1 – 4 of 4) sorted by relevance
/kernel/ |
D | params.c | 181 int param_set_##name(const char *val, struct kernel_param *kp) \ 190 *((type *)kp->arg) = l; \ 193 int param_get_##name(char *buffer, struct kernel_param *kp) \ 195 return sprintf(buffer, format, *((type *)kp->arg)); \ 206 int param_set_charp(const char *val, struct kernel_param *kp) in param_set_charp() argument 210 kp->name); in param_set_charp() 216 kp->name); in param_set_charp() 220 *(char **)kp->arg = (char *)val; in param_set_charp() 224 int param_get_charp(char *buffer, struct kernel_param *kp) in param_get_charp() argument 226 return sprintf(buffer, "%s", *((char **)kp->arg)); in param_get_charp() [all …]
|
D | kprobes.c | 291 static inline void set_kprobe_instance(struct kprobe *kp) in set_kprobe_instance() argument 293 __get_cpu_var(kprobe_instance) = kp; in set_kprobe_instance() 327 struct kprobe *kp; in aggr_pre_handler() local 329 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_pre_handler() 330 if (kp->pre_handler && !kprobe_gone(kp)) { in aggr_pre_handler() 331 set_kprobe_instance(kp); in aggr_pre_handler() 332 if (kp->pre_handler(kp, regs)) in aggr_pre_handler() 343 struct kprobe *kp; in aggr_post_handler() local 345 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_post_handler() 346 if (kp->post_handler && !kprobe_gone(kp)) { in aggr_post_handler() [all …]
|
D | test_kprobes.c | 50 static struct kprobe kp = { variable 60 ret = register_kprobe(&kp); in test_kprobe() 68 unregister_kprobe(&kp); in test_kprobe() 116 struct kprobe *kps[2] = {&kp, &kp2}; in test_kprobes() 118 kp.addr = 0; /* addr should be cleard for reusing kprobe. */ in test_kprobes() 178 .kp.symbol_name = "kprobe_target" 205 .kp.symbol_name = "kprobe_target2" 213 jp.kp.addr = 0; /* addr should be cleard for reusing kprobe. */ in test_jprobes() 271 .kp.symbol_name = "kprobe_target" 318 .kp.symbol_name = "kprobe_target2" [all …]
|
D | module.c | 1874 struct kernel_param *kp; in load_module() local 2119 kp = section_objs(hdr, sechdrs, secstrings, "__param", sizeof(*kp), in load_module() 2265 err = parse_args(mod->name, mod->args, kp, num_kp, NULL); in load_module() 2269 err = mod_sysfs_setup(mod, kp, num_kp); in load_module()
|