Searched refs:kp (Results 1 - 6 of 6) sorted by relevance

/kernel/
H A Dparams.c87 static void param_check_unsafe(const struct kernel_param *kp) argument
89 if (kp->flags & KERNEL_PARAM_FL_UNSAFE) {
91 kp->name);
245 int param_set_##name(const char *val, const struct kernel_param *kp) \
247 return strtolfn(val, 0, (type *)kp->arg); \
249 int param_get_##name(char *buffer, const struct kernel_param *kp) \
252 *((type *)kp->arg)); \
272 int param_set_charp(const char *val, const struct kernel_param *kp) argument
275 pr_err("%s: string parameter too long\n", kp->name);
279 maybe_kfree_parameter(*(char **)kp
295 param_get_charp(char *buffer, const struct kernel_param *kp) argument
314 param_set_bool(const char *val, const struct kernel_param *kp) argument
324 param_get_bool(char *buffer, const struct kernel_param *kp) argument
339 param_set_invbool(const char *val, const struct kernel_param *kp) argument
353 param_get_invbool(char *buffer, const struct kernel_param *kp) argument
365 param_set_bint(const char *val, const struct kernel_param *kp) argument
390 param_array(const char *name, const char *val, unsigned int min, unsigned int max, void *elem, int elemsize, int (*set)(const char *, const struct kernel_param *kp), s16 level, unsigned int *num) argument
399 struct kernel_param kp; local
438 param_array_set(const char *val, const struct kernel_param *kp) argument
448 param_array_get(char *buffer, const struct kernel_param *kp) argument
486 param_set_copystring(const char *val, const struct kernel_param *kp) argument
500 param_get_string(char *buffer, const struct kernel_param *kp) argument
602 add_sysfs_param(struct module_kobject *mk, const struct kernel_param *kp, const char *name) argument
811 const struct kernel_param *kp; local
[all...]
H A Dtest_kprobes.c51 static struct kprobe kp = { variable in typeref:struct:kprobe
61 ret = register_kprobe(&kp);
68 unregister_kprobe(&kp);
113 struct kprobe *kps[2] = {&kp, &kp2};
116 kp.addr = NULL;
117 kp.flags = 0;
171 .kp.symbol_name = "kprobe_target"
196 .kp.symbol_name = "kprobe_target2"
205 jp.kp.addr = NULL;
206 jp.kp
[all...]
H A Dkprobes.c288 static inline void set_kprobe_instance(struct kprobe *kp) argument
290 __this_cpu_write(kprobe_instance, kp);
353 struct kprobe *kp; local
355 list_for_each_entry_rcu(kp, &p->list, list) {
356 if (kp->pre_handler && likely(!kprobe_disabled(kp))) {
357 set_kprobe_instance(kp);
358 kp->pre_handler(kp, regs);
370 op = container_of(p, struct optimized_kprobe, kp);
967 arm_kprobe(struct kprobe *kp) argument
984 disarm_kprobe(struct kprobe *kp, bool reopt) argument
1002 struct kprobe *kp; local
1019 struct kprobe *kp; local
1065 struct kprobe *kp; local
1540 struct kprobe *kp; local
1959 struct kprobe *kp; local
1981 disable_kprobe(struct kprobe *kp) argument
1997 enable_kprobe(struct kprobe *kp) argument
2030 dump_kprobe(struct kprobe *kp) argument
2227 struct kprobe *p, *kp; local
[all...]
H A Dmodule.c116 const struct kernel_param *kp)
120 struct kernel_param dummy_kp = *kp;
1859 destroy_params(mod->kp, mod->num_kp);
2702 mod->kp = section_objs(info, "__param",
2703 sizeof(*mod->kp), &mod->num_kp);
3281 after_dashes = parse_args(mod->name, mod->args, mod->kp, mod->num_kp,
3292 err = mod_sysfs_setup(mod, info, mod->kp, mod->num_kp);
3840 struct kernel_param *kp,
115 param_set_bool_enable_only(const char *val, const struct kernel_param *kp) argument
3838 module_layout(struct module *mod, struct modversion_info *ver, struct kernel_param *kp, struct kernel_symbol *ks, struct tracepoint * const *tp) argument
/kernel/trace/
H A Dtrace_kprobe.c32 struct kretprobe rp; /* Use rp.kp for kprobe use */
55 return tk->rp.kp.offset;
60 return !!(kprobe_gone(&tk->rp.kp));
82 static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs);
293 tk->rp.kp.symbol_name = tk->symbol;
294 tk->rp.kp.offset = offs;
296 tk->rp.kp.addr = addr;
301 tk->rp.kp.pre_handler = kprobe_dispatcher;
386 ret = enable_kprobe(&tk->rp.kp);
423 disable_kprobe(&tk->rp.kp);
1237 kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs) argument
[all...]
/kernel/debug/kdb/
H A Dkdb_main.c2131 static int kdb_param_enable_nmi(const char *val, const struct kernel_param *kp) argument
2652 kdbtab_t *kp; local
2657 for_each_kdbcmd(kp, i) {
2658 if (kp->cmd_name && (strcmp(kp->cmd_name, cmd) == 0)) {
2668 for_each_kdbcmd(kp, i) {
2669 if (kp->cmd_name == NULL)
2689 kp = kdb_commands + kdb_max_commands - KDB_BASE_CMD_MAX;
2693 kp->cmd_name = cmd;
2694 kp
2741 kdbtab_t *kp; local
2762 kdbtab_t *kp; local
[all...]

Completed in 97 milliseconds