/linux-4.4.14/drivers/input/keyboard/ |
D | bcm-keypad.c | 95 static int bcm_kp_get_keycode(struct bcm_kp *kp, int row, int col) in bcm_kp_get_keycode() argument 97 unsigned int row_shift = get_count_order(kp->n_cols); in bcm_kp_get_keycode() 98 unsigned short *keymap = kp->input_dev->keycode; in bcm_kp_get_keycode() 103 static void bcm_kp_report_keys(struct bcm_kp *kp, int reg_num, int pull_mode) in bcm_kp_report_keys() argument 112 writel(0xFFFFFFFF, kp->base + KPICRN_OFFSET(reg_num)); in bcm_kp_report_keys() 114 state = readl(kp->base + KPSSRN_OFFSET(reg_num)); in bcm_kp_report_keys() 115 change = kp->last_state[reg_num] ^ state; in bcm_kp_report_keys() 116 kp->last_state[reg_num] = state; in bcm_kp_report_keys() 124 keycode = bcm_kp_get_keycode(kp, row, col); in bcm_kp_report_keys() 125 input_report_key(kp->input_dev, keycode, key_press); in bcm_kp_report_keys() [all …]
|
D | pmic8xxx-keypad.c | 116 static u8 pmic8xxx_col_state(struct pmic8xxx_kp *kp, u8 col) in pmic8xxx_col_state() argument 120 return 1 << kp->num_cols; in pmic8xxx_col_state() 122 return col & ((1 << kp->num_cols) - 1); in pmic8xxx_col_state() 137 static int pmic8xxx_chk_sync_read(struct pmic8xxx_kp *kp) in pmic8xxx_chk_sync_read() argument 142 rc = regmap_read(kp->regmap, KEYP_SCAN, &scan_val); in pmic8xxx_chk_sync_read() 144 dev_err(kp->dev, "Error reading KEYP_SCAN reg, rc=%d\n", rc); in pmic8xxx_chk_sync_read() 150 rc = regmap_write(kp->regmap, KEYP_SCAN, scan_val); in pmic8xxx_chk_sync_read() 152 dev_err(kp->dev, "Error writing KEYP_SCAN reg, rc=%d\n", rc); in pmic8xxx_chk_sync_read() 162 static int pmic8xxx_kp_read_data(struct pmic8xxx_kp *kp, u16 *state, in pmic8xxx_kp_read_data() argument 169 rc = regmap_read(kp->regmap, data_reg, &val); in pmic8xxx_kp_read_data() [all …]
|
D | twl4030_keypad.c | 138 static int twl4030_kpread(struct twl4030_keypad *kp, in twl4030_kpread() argument 144 dev_warn(kp->dbg_dev, in twl4030_kpread() 151 static int twl4030_kpwrite_u8(struct twl4030_keypad *kp, u8 data, u32 reg) in twl4030_kpwrite_u8() argument 156 dev_warn(kp->dbg_dev, in twl4030_kpwrite_u8() 163 static inline u16 twl4030_col_xlate(struct twl4030_keypad *kp, u8 col) in twl4030_col_xlate() argument 171 return 1 << kp->n_cols; in twl4030_col_xlate() 173 return col & ((1 << kp->n_cols) - 1); in twl4030_col_xlate() 176 static int twl4030_read_kp_matrix_state(struct twl4030_keypad *kp, u16 *state) in twl4030_read_kp_matrix_state() argument 180 int ret = twl4030_kpread(kp, new_state, in twl4030_read_kp_matrix_state() 181 KEYP_FULL_CODE_7_0, kp->n_rows); in twl4030_read_kp_matrix_state() [all …]
|
/linux-4.4.14/drivers/pwm/ |
D | pwm-bcm-kona.c | 82 static void kona_pwmc_prepare_for_settings(struct kona_pwmc *kp, in kona_pwmc_prepare_for_settings() argument 85 unsigned int value = readl(kp->base + PWM_CONTROL_OFFSET); in kona_pwmc_prepare_for_settings() 89 writel(value, kp->base + PWM_CONTROL_OFFSET); in kona_pwmc_prepare_for_settings() 98 static void kona_pwmc_apply_settings(struct kona_pwmc *kp, unsigned int chan) in kona_pwmc_apply_settings() argument 100 unsigned int value = readl(kp->base + PWM_CONTROL_OFFSET); in kona_pwmc_apply_settings() 105 writel(value, kp->base + PWM_CONTROL_OFFSET); in kona_pwmc_apply_settings() 114 struct kona_pwmc *kp = to_kona_pwmc(chip); in kona_pwmc_config() local 130 rate = clk_get_rate(kp->clk); in kona_pwmc_config() 159 kona_pwmc_prepare_for_settings(kp, chan); in kona_pwmc_config() 161 value = readl(kp->base + PRESCALE_OFFSET); in kona_pwmc_config() [all …]
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 48 static int get_v4l2_window32(struct v4l2_window *kp, struct v4l2_window32 __user *up) in get_v4l2_window32() argument 51 copy_from_user(&kp->w, &up->w, sizeof(up->w)) || in get_v4l2_window32() 52 get_user(kp->field, &up->field) || in get_v4l2_window32() 53 get_user(kp->chromakey, &up->chromakey) || in get_v4l2_window32() 54 get_user(kp->clipcount, &up->clipcount)) in get_v4l2_window32() 56 if (kp->clipcount > 2048) in get_v4l2_window32() 58 if (kp->clipcount) { in get_v4l2_window32() 61 int n = kp->clipcount; in get_v4l2_window32() 68 kp->clips = kclips; in get_v4l2_window32() 78 kp->clips = NULL; in get_v4l2_window32() [all …]
|
/linux-4.4.14/kernel/ |
D | params.c | 111 static void param_check_unsafe(const struct kernel_param *kp) in param_check_unsafe() argument 113 if (kp->flags & KERNEL_PARAM_FL_UNSAFE) { in param_check_unsafe() 115 kp->name); in param_check_unsafe() 273 int param_set_##name(const char *val, const struct kernel_param *kp) \ 275 return strtolfn(val, 0, (type *)kp->arg); \ 277 int param_get_##name(char *buffer, const struct kernel_param *kp) \ 280 *((type *)kp->arg)); \ 300 int param_set_charp(const char *val, const struct kernel_param *kp) in param_set_charp() argument 303 pr_err("%s: string parameter too long\n", kp->name); in param_set_charp() 307 maybe_kfree_parameter(*(char **)kp->arg); in param_set_charp() [all …]
|
D | kprobes.c | 288 static inline void set_kprobe_instance(struct kprobe *kp) in set_kprobe_instance() argument 290 __this_cpu_write(kprobe_instance, kp); in set_kprobe_instance() 353 struct kprobe *kp; in opt_pre_handler() local 355 list_for_each_entry_rcu(kp, &p->list, list) { in opt_pre_handler() 356 if (kp->pre_handler && likely(!kprobe_disabled(kp))) { in opt_pre_handler() 357 set_kprobe_instance(kp); in opt_pre_handler() 358 kp->pre_handler(kp, regs); in opt_pre_handler() 370 op = container_of(p, struct optimized_kprobe, kp); in free_aggr_kprobe() 382 op = container_of(p, struct optimized_kprobe, kp); in kprobe_optready() 398 op = container_of(p, struct optimized_kprobe, kp); in kprobe_disarmed() [all …]
|
D | test_kprobes.c | 51 static struct kprobe kp = { variable 61 ret = register_kprobe(&kp); in test_kprobe() 68 unregister_kprobe(&kp); in test_kprobe() 113 struct kprobe *kps[2] = {&kp, &kp2}; in test_kprobes() 116 kp.addr = NULL; in test_kprobes() 117 kp.flags = 0; in test_kprobes() 171 .kp.symbol_name = "kprobe_target" 196 .kp.symbol_name = "kprobe_target2" 205 jp.kp.addr = NULL; in test_jprobes() 206 jp.kp.flags = 0; in test_jprobes() [all …]
|
D | module.c | 2026 destroy_params(mod->kp, mod->num_kp); in free_module() 2896 mod->kp = section_objs(info, "__param", in find_module_sections() 2897 sizeof(*mod->kp), &mod->num_kp); in find_module_sections() 3535 after_dashes = parse_args(mod->name, mod->args, mod->kp, mod->num_kp, in load_module() 3547 err = mod_sysfs_setup(mod, info, mod->kp, mod->num_kp); in load_module() 4123 struct kernel_param *kp, in module_layout() argument
|
/linux-4.4.14/arch/x86/kernel/kprobes/ |
D | opt.c | 45 struct kprobe *kp; in __recover_optprobed_insn() local 50 kp = get_kprobe((void *)addr - i); in __recover_optprobed_insn() 52 if (kp && kprobe_optimized(kp)) { in __recover_optprobed_insn() 53 op = container_of(kp, struct optimized_kprobe, kp); in __recover_optprobed_insn() 68 if (addr == (unsigned long)kp->addr) { in __recover_optprobed_insn() 69 buf[0] = kp->opcode; in __recover_optprobed_insn() 72 offs = addr - (unsigned long)kp->addr - 1; in __recover_optprobed_insn() 148 if (kprobe_disabled(&op->kp)) in optimized_callback() 153 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 162 regs->ip = (unsigned long)op->kp.addr + INT3_SIZE; in optimized_callback() [all …]
|
D | core.c | 225 struct kprobe *kp; in __recover_probed_insn() local 228 kp = get_kprobe((void *)addr); in __recover_probed_insn() 241 if (!kp && !faddr) in __recover_probed_insn() 267 buf[0] = kp->opcode; in __recover_probed_insn() 466 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 475 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 771 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler() 1032 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler() 1088 struct jprobe *jp = container_of(p, struct jprobe, kp); in longjmp_break_handler()
|
/linux-4.4.14/arch/arm/probes/kprobes/ |
D | opt-arm.c | 138 static int can_optimize(struct kprobe *kp) in can_optimize() argument 140 if (kp->ainsn.stack_space < 0) in can_optimize() 146 if (kp->ainsn.stack_space > 255 - sizeof(struct pt_regs)) in can_optimize() 167 struct kprobe *p = &op->kp; in optimized_callback() 171 regs->ARM_pc = (unsigned long)op->kp.addr; in optimized_callback() 177 kprobes_inc_nmissed_count(&op->kp); in optimized_callback() 179 __this_cpu_write(current_kprobe, &op->kp); in optimized_callback() 181 opt_pre_handler(&op->kp, regs); in optimized_callback() 190 op->kp.ainsn.insn_singlestep(p->opcode, &p->ainsn, regs); in optimized_callback() 277 (unsigned long)(op->kp.addr) + 4); in arch_prepare_optimized_kprobe() [all …]
|
D | core.c | 203 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 209 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 459 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_handler() 499 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler() 585 struct jprobe *jp = container_of(p, struct jprobe, kp); in longjmp_break_handler()
|
D | test-core.c | 388 the_jprobe.kp.addr = (kprobe_opcode_t *)func; in test_jprobe() 398 the_jprobe.kp.flags = 0; /* Clear disable flag to allow reuse */ in test_jprobe() 433 the_kretprobe.kp.addr = (kprobe_opcode_t *)func; in test_kretprobe() 443 the_kretprobe.kp.flags = 0; /* Clear disable flag to allow reuse */ in test_kretprobe()
|
/linux-4.4.14/include/linux/ |
D | moduleparam.h | 52 int (*set)(const char *val, const struct kernel_param *kp); 54 int (*get)(char *buffer, const struct kernel_param *kp); 347 extern int param_set_byte(const char *val, const struct kernel_param *kp); 348 extern int param_get_byte(char *buffer, const struct kernel_param *kp); 352 extern int param_set_short(const char *val, const struct kernel_param *kp); 353 extern int param_get_short(char *buffer, const struct kernel_param *kp); 357 extern int param_set_ushort(const char *val, const struct kernel_param *kp); 358 extern int param_get_ushort(char *buffer, const struct kernel_param *kp); 362 extern int param_set_int(const char *val, const struct kernel_param *kp); 363 extern int param_get_int(char *buffer, const struct kernel_param *kp); [all …]
|
D | kprobes.h | 167 struct kprobe kp; member 185 struct kprobe kp; member 248 ri->rp, ri->rp->kp.addr); in kretprobe_assert() 305 struct kprobe kp; member 387 int disable_kprobe(struct kprobe *kp); 388 int enable_kprobe(struct kprobe *kp); 390 void dump_kprobe(struct kprobe *kp); 458 static inline int disable_kprobe(struct kprobe *kp) in disable_kprobe() argument 462 static inline int enable_kprobe(struct kprobe *kp) in enable_kprobe() argument 469 return disable_kprobe(&rp->kp); in disable_kretprobe() [all …]
|
D | module.h | 336 struct kernel_param *kp; member
|
/linux-4.4.14/crypto/ |
D | aes_generic.c | 1335 const u32 *kp = ctx->key_enc + 4; in aes_encrypt() local 1344 f_nround(b1, b0, kp); in aes_encrypt() 1345 f_nround(b0, b1, kp); in aes_encrypt() 1349 f_nround(b1, b0, kp); in aes_encrypt() 1350 f_nround(b0, b1, kp); in aes_encrypt() 1353 f_nround(b1, b0, kp); in aes_encrypt() 1354 f_nround(b0, b1, kp); in aes_encrypt() 1355 f_nround(b1, b0, kp); in aes_encrypt() 1356 f_nround(b0, b1, kp); in aes_encrypt() 1357 f_nround(b1, b0, kp); in aes_encrypt() [all …]
|
D | vmac.c | 111 #define nh_16(mp, kp, nw, rh, rl) \ argument 116 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 117 pe64_to_cpup((mp)+i+1)+(kp)[i+1]); \ 122 #define nh_16_2(mp, kp, nw, rh, rl, rh1, rl1) \ argument 127 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ 128 pe64_to_cpup((mp)+i+1)+(kp)[i+1]); \ 130 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i+2], \ 131 pe64_to_cpup((mp)+i+1)+(kp)[i+3]); \ 137 #define nh_vmac_nhbytes(mp, kp, nw, rh, rl) \ argument 142 MUL64(th, tl, pe64_to_cpup((mp)+i)+(kp)[i], \ [all …]
|
/linux-4.4.14/samples/kprobes/ |
D | kprobe_example.c | 18 static struct kprobe kp = { variable 88 kp.pre_handler = handler_pre; in kprobe_init() 89 kp.post_handler = handler_post; in kprobe_init() 90 kp.fault_handler = handler_fault; in kprobe_init() 92 ret = register_kprobe(&kp); in kprobe_init() 97 printk(KERN_INFO "Planted kprobe at %p\n", kp.addr); in kprobe_init() 103 unregister_kprobe(&kp); in kprobe_exit() 104 printk(KERN_INFO "kprobe at %p unregistered\n", kp.addr); in kprobe_exit()
|
D | kretprobe_example.c | 82 my_kretprobe.kp.symbol_name = func_name; in kretprobe_init() 90 my_kretprobe.kp.symbol_name, my_kretprobe.kp.addr); in kretprobe_init() 98 my_kretprobe.kp.addr); in kretprobe_exit() 102 my_kretprobe.nmissed, my_kretprobe.kp.symbol_name); in kretprobe_exit()
|
D | jprobe_example.c | 40 .kp = { 55 my_jprobe.kp.addr, my_jprobe.entry); in jprobe_init() 62 printk(KERN_INFO "jprobe at %p unregistered\n", my_jprobe.kp.addr); in jprobe_exit()
|
/linux-4.4.14/drivers/staging/speakup/ |
D | keyhelp.c | 64 u_char *kp, counters[MAXFUNCS], ch, ch1; in build_key_data() local 71 kp = state_tbl + nstates + 1; in build_key_data() 72 while (*kp++) { in build_key_data() 74 for (i = 0; i < nstates; i++, kp++) { in build_key_data() 75 if (!*kp) in build_key_data() 77 if ((state_tbl[i]&16) != 0 && *kp == SPK_KEY) in build_key_data() 79 counters[*kp]++; in build_key_data() 94 kp = state_tbl + nstates + 1; in build_key_data() 95 while ((ch = *kp++)) { in build_key_data() 97 ch1 = *kp++; in build_key_data() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | debug.c | 61 const struct kernel_param *kp) in libcfs_param_debug_mb_set() argument 70 if (!*((unsigned int *)kp->arg)) { in libcfs_param_debug_mb_set() 71 *((unsigned int *)kp->arg) = num; in libcfs_param_debug_mb_set() 78 *((unsigned int *)kp->arg) = cfs_trace_get_debug_mb(); in libcfs_param_debug_mb_set() 110 const struct kernel_param *kp, in param_set_delay_minmax() argument 125 *((unsigned int *)kp->arg) = d; in param_set_delay_minmax() 130 static int param_get_delay(char *buffer, const struct kernel_param *kp) in param_get_delay() argument 132 unsigned int d = *(unsigned int *)kp->arg; in param_get_delay() 143 const struct kernel_param *kp) in param_set_console_max_delay() argument 145 return param_set_delay_minmax(val, kp, in param_set_console_max_delay() [all …]
|
/linux-4.4.14/security/apparmor/ |
D | lsm.c | 654 static int param_set_aabool(const char *val, const struct kernel_param *kp); 655 static int param_get_aabool(char *buffer, const struct kernel_param *kp); 663 static int param_set_aauint(const char *val, const struct kernel_param *kp); 664 static int param_get_aauint(char *buffer, const struct kernel_param *kp); 671 static int param_set_aalockpolicy(const char *val, const struct kernel_param *kp); 672 static int param_get_aalockpolicy(char *buffer, const struct kernel_param *kp); 680 static int param_set_audit(const char *val, struct kernel_param *kp); 681 static int param_get_audit(char *buffer, struct kernel_param *kp); 683 static int param_set_mode(const char *val, struct kernel_param *kp); 684 static int param_get_mode(char *buffer, struct kernel_param *kp); [all …]
|
/linux-4.4.14/drivers/power/ |
D | test_power.c | 335 static int param_set_ac_online(const char *key, const struct kernel_param *kp) in param_set_ac_online() argument 342 static int param_get_ac_online(char *buffer, const struct kernel_param *kp) in param_get_ac_online() argument 348 static int param_set_usb_online(const char *key, const struct kernel_param *kp) in param_set_usb_online() argument 355 static int param_get_usb_online(char *buffer, const struct kernel_param *kp) in param_get_usb_online() argument 362 const struct kernel_param *kp) in param_set_battery_status() argument 369 static int param_get_battery_status(char *buffer, const struct kernel_param *kp) in param_get_battery_status() argument 376 const struct kernel_param *kp) in param_set_battery_health() argument 383 static int param_get_battery_health(char *buffer, const struct kernel_param *kp) in param_get_battery_health() argument 390 const struct kernel_param *kp) in param_set_battery_present() argument 398 const struct kernel_param *kp) in param_get_battery_present() argument [all …]
|
/linux-4.4.14/tools/thermal/tmon/ |
D | pid.c | 73 p_param.kp = .36; in init_thermal_controller() 112 p_term = -p_param.kp * (xk - xk_1); in controller_handler() 113 i_term = p_param.kp * p_param.ki * p_param.ts * ek; in controller_handler() 114 d_term = -p_param.kp * p_param.kd * (xk - 2 * xk_1 + xk_2) / p_param.ts; in controller_handler()
|
D | tmon.h | 132 double kp; /* Controller gain from Dialog Box */ member
|
D | tui.c | 344 p_param.kp, p_param.ki, p_param.kd, p_param.y_k); in show_control_w()
|
/linux-4.4.14/drivers/media/usb/uvc/ |
D | uvc_v4l2.c | 1254 static int uvc_v4l2_get_xu_mapping(struct uvc_xu_control_mapping *kp, in uvc_v4l2_get_xu_mapping() argument 1262 __copy_from_user(kp, up, offsetof(typeof(*up), menu_info)) || in uvc_v4l2_get_xu_mapping() 1263 __get_user(kp->menu_count, &up->menu_count)) in uvc_v4l2_get_xu_mapping() 1266 memset(kp->reserved, 0, sizeof(kp->reserved)); in uvc_v4l2_get_xu_mapping() 1268 if (kp->menu_count == 0) { in uvc_v4l2_get_xu_mapping() 1269 kp->menu_info = NULL; in uvc_v4l2_get_xu_mapping() 1276 if (!access_ok(VERIFY_READ, umenus, kp->menu_count * sizeof(*umenus))) in uvc_v4l2_get_xu_mapping() 1279 kmenus = compat_alloc_user_space(kp->menu_count * sizeof(*kmenus)); in uvc_v4l2_get_xu_mapping() 1282 kp->menu_info = kmenus; in uvc_v4l2_get_xu_mapping() 1284 if (copy_in_user(kmenus, umenus, kp->menu_count * sizeof(*umenus))) in uvc_v4l2_get_xu_mapping() [all …]
|
D | uvc_driver.c | 2056 static int uvc_clock_param_get(char *buffer, struct kernel_param *kp) in uvc_clock_param_get() argument 2064 static int uvc_clock_param_set(const char *val, struct kernel_param *kp) in uvc_clock_param_set() argument
|
/linux-4.4.14/arch/tile/kernel/ |
D | kprobes.c | 129 void __kprobes arch_disarm_kprobe(struct kprobe *kp) in arch_disarm_kprobe() argument 134 addr_wr = (unsigned long)kp->addr - MEM_SV_START + PAGE_OFFSET; in arch_disarm_kprobe() 136 if (probe_kernel_write((void *)addr_wr, &kp->opcode, in arch_disarm_kprobe() 137 sizeof(kp->opcode))) in arch_disarm_kprobe() 141 flush_insn_slot(kp); in arch_disarm_kprobe() 154 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 161 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 374 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/kernel/trace/ |
D | trace_kprobe.c | 55 return tk->rp.kp.offset; in trace_kprobe_offset() 60 return !!(kprobe_gone(&tk->rp.kp)); in trace_kprobe_has_gone() 82 static int kprobe_dispatcher(struct kprobe *kp, struct pt_regs *regs); 281 tk->rp.kp.symbol_name = tk->symbol; in alloc_trace_kprobe() 282 tk->rp.kp.offset = offs; in alloc_trace_kprobe() 284 tk->rp.kp.addr = addr; in alloc_trace_kprobe() 289 tk->rp.kp.pre_handler = kprobe_dispatcher; in alloc_trace_kprobe() 374 ret = enable_kprobe(&tk->rp.kp); in enable_trace_kprobe() 411 disable_kprobe(&tk->rp.kp); in disable_trace_kprobe() 444 tk->rp.kp.flags &= ~KPROBE_FLAG_DISABLED; in __register_trace_kprobe() [all …]
|
/linux-4.4.14/drivers/char/ |
D | sonypi.c | 777 struct sonypi_keypress kp; in input_keyrelease() local 779 while (kfifo_out_locked(&sonypi_device.input_fifo, (unsigned char *)&kp, in input_keyrelease() 780 sizeof(kp), &sonypi_device.input_fifo_lock) in input_keyrelease() 781 == sizeof(kp)) { in input_keyrelease() 783 input_report_key(kp.dev, kp.key, 0); in input_keyrelease() 784 input_sync(kp.dev); in input_keyrelease() 792 struct sonypi_keypress kp = { NULL }; in sonypi_report_input_event() local 809 kp.key = BTN_MIDDLE; in sonypi_report_input_event() 810 kp.dev = jog_dev; in sonypi_report_input_event() 820 kp.dev = key_dev; in sonypi_report_input_event() [all …]
|
/linux-4.4.14/drivers/edac/ |
D | edac_module.c | 22 static int edac_set_debug_level(const char *buf, struct kernel_param *kp) in edac_set_debug_level() argument 34 return param_set_int(buf, kp); in edac_set_debug_level()
|
D | edac_mc_sysfs.c | 53 static int edac_set_poll_msec(const char *val, struct kernel_param *kp) in edac_set_poll_msec() argument 68 *((unsigned long *)kp->arg) = l; in edac_set_poll_msec()
|
/linux-4.4.14/drivers/misc/ |
D | lkdtm.c | 571 lkdtm.kp.symbol_name = "do_IRQ"; in lkdtm_register_cpoint() 575 lkdtm.kp.symbol_name = "handle_IRQ_event"; in lkdtm_register_cpoint() 579 lkdtm.kp.symbol_name = "tasklet_action"; in lkdtm_register_cpoint() 583 lkdtm.kp.symbol_name = "ll_rw_block"; in lkdtm_register_cpoint() 587 lkdtm.kp.symbol_name = "shrink_inactive_list"; in lkdtm_register_cpoint() 591 lkdtm.kp.symbol_name = "hrtimer_start"; in lkdtm_register_cpoint() 595 lkdtm.kp.symbol_name = "scsi_dispatch_cmd"; in lkdtm_register_cpoint() 600 lkdtm.kp.symbol_name = "generic_ide_ioctl"; in lkdtm_register_cpoint()
|
D | kgdbts.c | 1133 static int param_set_kgdbts_var(const char *kmessage, struct kernel_param *kp) in param_set_kgdbts_var() argument
|
/linux-4.4.14/kernel/debug/kdb/ |
D | kdb_main.c | 2175 static int kdb_param_enable_nmi(const char *val, const struct kernel_param *kp) in kdb_param_enable_nmi() argument 2700 kdbtab_t *kp; in kdb_register_flags() local 2705 for_each_kdbcmd(kp, i) { in kdb_register_flags() 2706 if (kp->cmd_name && (strcmp(kp->cmd_name, cmd) == 0)) { in kdb_register_flags() 2716 for_each_kdbcmd(kp, i) { in kdb_register_flags() 2717 if (kp->cmd_name == NULL) in kdb_register_flags() 2737 kp = kdb_commands + kdb_max_commands - KDB_BASE_CMD_MAX; in kdb_register_flags() 2741 kp->cmd_name = cmd; in kdb_register_flags() 2742 kp->cmd_func = func; in kdb_register_flags() 2743 kp->cmd_usage = usage; in kdb_register_flags() [all …]
|
/linux-4.4.14/drivers/input/misc/ |
D | ati_remote2.c | 42 const struct kernel_param *kp, in ati_remote2_set_mask() argument 58 *(unsigned int *)kp->arg = mask; in ati_remote2_set_mask() 64 const struct kernel_param *kp) in ati_remote2_set_channel_mask() argument 68 return ati_remote2_set_mask(val, kp, ATI_REMOTE2_MAX_CHANNEL_MASK); in ati_remote2_set_channel_mask() 72 const struct kernel_param *kp) in ati_remote2_get_channel_mask() argument 76 return sprintf(buffer, "0x%04x", *(unsigned int *)kp->arg); in ati_remote2_get_channel_mask() 80 const struct kernel_param *kp) in ati_remote2_set_mode_mask() argument 84 return ati_remote2_set_mask(val, kp, ATI_REMOTE2_MAX_MODE_MASK); in ati_remote2_set_mode_mask() 88 const struct kernel_param *kp) in ati_remote2_get_mode_mask() argument 92 return sprintf(buffer, "0x%02x", *(unsigned int *)kp->arg); in ati_remote2_get_mode_mask()
|
/linux-4.4.14/drivers/ide/ |
D | ide.c | 179 static int ide_set_dev_param_mask(const char *s, const struct kernel_param *kp) in ide_set_dev_param_mask() argument 182 unsigned int *dev_param_mask = (unsigned int *)kp->arg; in ide_set_dev_param_mask() 247 static int ide_set_disk_chs(const char *str, struct kernel_param *kp) in ide_set_disk_chs() argument 331 static int ide_set_ignore_cable(const char *s, struct kernel_param *kp) in ide_set_ignore_cable() argument
|
/linux-4.4.14/drivers/acpi/ |
D | sysfs.c | 105 static int param_get_debug_layer(char *buffer, const struct kernel_param *kp) in param_get_debug_layer() argument 133 static int param_get_debug_level(char *buffer, const struct kernel_param *kp) in param_get_debug_level() argument 169 int param_set_trace_method_name(const char *val, const struct kernel_param *kp) in param_set_trace_method_name() argument 179 pr_err("%s: string parameter too long\n", kp->name); in param_set_trace_method_name() 211 static int param_get_trace_method_name(char *buffer, const struct kernel_param *kp) in param_get_trace_method_name() argument 230 static int param_set_trace_state(const char *val, struct kernel_param *kp) in param_set_trace_state() argument 266 static int param_get_trace_state(char *buffer, struct kernel_param *kp) in param_get_trace_state() argument 295 static int param_get_acpica_version(char *buffer, struct kernel_param *kp) in param_get_acpica_version() argument
|
D | ec.c | 1613 static int param_set_event_clearing(const char *val, struct kernel_param *kp) in param_set_event_clearing() argument 1631 static int param_get_event_clearing(char *buffer, struct kernel_param *kp) in param_get_event_clearing() argument
|
/linux-4.4.14/drivers/char/ipmi/ |
D | ipmi_watchdog.c | 195 static int set_param_timeout(const char *val, const struct kernel_param *kp) in set_param_timeout() argument 207 *((int *)kp->arg) = l; in set_param_timeout() 227 static int set_param_str(const char *val, const struct kernel_param *kp) in set_param_str() argument 229 action_fn fn = (action_fn) kp->arg; in set_param_str() 251 static int get_param_str(char *buffer, const struct kernel_param *kp) in get_param_str() argument 253 action_fn fn = (action_fn) kp->arg; in get_param_str() 263 static int set_param_wdog_ifnum(const char *val, const struct kernel_param *kp) in set_param_wdog_ifnum() argument 265 int rv = param_set_int(val, kp); in set_param_wdog_ifnum()
|
D | ipmi_poweroff.c | 69 static int set_param_ifnum(const char *val, struct kernel_param *kp) in set_param_ifnum() argument 71 int rv = param_set_int(val, kp); in set_param_ifnum()
|
D | ipmi_si_intf.c | 1346 static int hotmod_handler(const char *val, struct kernel_param *kp); 1803 static int hotmod_handler(const char *val, struct kernel_param *kp) in hotmod_handler() argument
|
/linux-4.4.14/drivers/scsi/fcoe/ |
D | fcoe_transport.c | 37 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp); 583 static int fcoe_transport_show(char *buffer, const struct kernel_param *kp) in fcoe_transport_show() argument 845 static int fcoe_transport_create(const char *buffer, struct kernel_param *kp) in fcoe_transport_create() argument 850 enum fip_state fip_mode = (enum fip_state)(long)kp->arg; in fcoe_transport_create() 910 static int fcoe_transport_destroy(const char *buffer, struct kernel_param *kp) in fcoe_transport_destroy() argument 954 static int fcoe_transport_disable(const char *buffer, struct kernel_param *kp) in fcoe_transport_disable() argument 988 static int fcoe_transport_enable(const char *buffer, struct kernel_param *kp) in fcoe_transport_enable() argument
|
/linux-4.4.14/mm/ |
D | zswap.c | 698 static int __zswap_param_set(const char *val, const struct kernel_param *kp, in __zswap_param_set() argument 706 if (!strcmp(s, *(char **)kp->arg)) in __zswap_param_set() 713 return param_set_charp(s, kp); in __zswap_param_set() 745 ret = param_set_charp(s, kp); in __zswap_param_set() 773 const struct kernel_param *kp) in zswap_compressor_param_set() argument 775 return __zswap_param_set(val, kp, zswap_zpool_type, NULL); in zswap_compressor_param_set() 779 const struct kernel_param *kp) in zswap_zpool_param_set() argument 781 return __zswap_param_set(val, kp, NULL, zswap_compressor); in zswap_zpool_param_set()
|
/linux-4.4.14/drivers/dma/ |
D | dmatest.c | 121 static int dmatest_run_set(const char *val, const struct kernel_param *kp); 122 static int dmatest_run_get(char *val, const struct kernel_param *kp); 187 static int dmatest_wait_get(char *val, const struct kernel_param *kp) in dmatest_wait_get() argument 195 return param_get_bool(val, kp); in dmatest_wait_get() 914 static int dmatest_run_get(char *val, const struct kernel_param *kp) in dmatest_run_get() argument 927 return param_get_bool(val, kp); in dmatest_run_get() 930 static int dmatest_run_set(const char *val, const struct kernel_param *kp) in dmatest_run_set() argument 936 ret = param_set_bool(val, kp); in dmatest_run_set()
|
/linux-4.4.14/arch/x86/platform/uv/ |
D | uv_nmi.c | 95 static int param_get_local64(char *buffer, const struct kernel_param *kp) in param_get_local64() argument 97 return sprintf(buffer, "%lu\n", local64_read((local64_t *)kp->arg)); in param_get_local64() 100 static int param_set_local64(const char *val, const struct kernel_param *kp) in param_set_local64() argument 103 local64_set((local64_t *)kp->arg, 0); in param_set_local64()
|
/linux-4.4.14/drivers/clk/bcm/ |
D | clk-iproc-pll.c | 222 static void __pll_bring_out_reset(struct iproc_pll *pll, unsigned int kp, in __pll_bring_out_reset() argument 234 val |= ki << dig_filter->ki_shift | kp << dig_filter->kp_shift | in __pll_bring_out_reset() 249 int ka = 0, ki, kp, ret; in pll_set_rate() local 280 kp = get_kp(ref_freq, kp_index); in pll_set_rate() 281 if (kp < 0) { in pll_set_rate() 283 return kp; in pll_set_rate() 331 __pll_bring_out_reset(pll, kp, ka, ki); in pll_set_rate()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | kprobes.h | 31 struct kprobe *kp; member
|
/linux-4.4.14/drivers/platform/x86/ |
D | sony-laptop.c | 368 struct sony_laptop_keypress kp; in do_sony_laptop_release_key() local 374 (unsigned char *)&kp, sizeof(kp)) == sizeof(kp)) { in do_sony_laptop_release_key() 375 input_report_key(kp.dev, kp.key, 0); in do_sony_laptop_release_key() 376 input_sync(kp.dev); in do_sony_laptop_release_key() 392 struct sony_laptop_keypress kp = { NULL }; in sony_laptop_report_input_event() local 418 kp.key = BTN_MIDDLE; in sony_laptop_report_input_event() 419 kp.dev = jog_dev; in sony_laptop_report_input_event() 428 kp.key = sony_laptop_input_keycode_map[scancode]; in sony_laptop_report_input_event() 429 if (kp.key != KEY_UNKNOWN) in sony_laptop_report_input_event() 430 kp.dev = key_dev; in sony_laptop_report_input_event() [all …]
|
D | thinkpad_acpi.c | 9247 static int __init set_ibm_param(const char *val, struct kernel_param *kp) in set_ibm_param() argument 9252 if (!kp || !kp->name || !val) in set_ibm_param() 9262 if (strcmp(ibm->name, kp->name) == 0 && ibm->write) { in set_ibm_param()
|
/linux-4.4.14/drivers/net/wireless/mwifiex/ |
D | sta_ioctl.c | 1074 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp, in mwifiex_set_encode() argument 1084 if (kp && kp->cipher == WLAN_CIPHER_SUITE_AES_CMAC) in mwifiex_set_encode() 1095 if (kp && kp->seq && kp->seq_len) { in mwifiex_set_encode() 1096 memcpy(encrypt_key.pn, kp->seq, kp->seq_len); in mwifiex_set_encode() 1097 encrypt_key.pn_len = kp->seq_len; in mwifiex_set_encode()
|
D | main.h | 1388 int mwifiex_set_encode(struct mwifiex_private *priv, struct key_params *kp,
|
/linux-4.4.14/fs/xfs/libxfs/ |
D | xfs_alloc_btree.c | 257 xfs_alloc_key_t *kp = &key->alloc; in xfs_allocbt_key_diff() local 261 return (__int64_t)be32_to_cpu(kp->ar_startblock) - in xfs_allocbt_key_diff() 265 diff = (__int64_t)be32_to_cpu(kp->ar_blockcount) - rec->ar_blockcount; in xfs_allocbt_key_diff() 269 return (__int64_t)be32_to_cpu(kp->ar_startblock) - rec->ar_startblock; in xfs_allocbt_key_diff()
|
D | xfs_btree.c | 1696 union xfs_btree_key *kp) in xfs_lookup_get_search_key() argument 1699 cur->bc_ops->init_key_from_rec(kp, in xfs_lookup_get_search_key() 1701 return kp; in xfs_lookup_get_search_key() 1777 union xfs_btree_key *kp; in xfs_btree_lookup() local 1785 kp = xfs_lookup_get_search_key(cur, level, in xfs_btree_lookup() 1794 diff = cur->bc_ops->key_diff(cur, kp); in xfs_btree_lookup() 1878 union xfs_btree_key *kp; in xfs_btree_updkey() local 1905 kp = xfs_btree_key_addr(cur, ptr, block); in xfs_btree_updkey() 1906 xfs_btree_copy_keys(cur, kp, keyp, 1); in xfs_btree_updkey() 2614 union xfs_btree_key *kp; /* pointer to btree key */ in xfs_btree_new_iroot() local [all …]
|
D | xfs_bmap.c | 738 xfs_bmbt_key_t *kp; /* root block key pointer */ in xfs_bmap_extents_to_btree() local 842 kp = XFS_BMBT_KEY_ADDR(mp, block, 1); in xfs_bmap_extents_to_btree() 844 kp->br_startoff = cpu_to_be64(xfs_bmbt_disk_get_startoff(arp)); in xfs_bmap_extents_to_btree()
|
/linux-4.4.14/arch/sh/kernel/ |
D | kprobes.c | 126 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 132 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 339 __this_cpu_write(current_kprobe, &ri->rp->kp); in trampoline_probe_handler() 528 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | kprobes.h | 40 struct kprobe *kp; member
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | kprobes.h | 31 struct kprobe *kp; member
|
/linux-4.4.14/Documentation/ |
D | kprobes.txt | 336 int register_kprobe(struct kprobe *kp); 338 Sets a breakpoint at the address kp->addr. When the breakpoint is 339 hit, Kprobes calls kp->pre_handler. After the probed instruction 340 is single-stepped, Kprobe calls kp->post_handler. If a fault 341 occurs during execution of kp->pre_handler or kp->post_handler, 343 kp->fault_handler. Any or all handlers can be NULL. If kp->flags 344 is set KPROBE_FLAG_DISABLED, that kp will be registered but disabled, 345 so, its handlers aren't hit until calling enable_kprobe(kp). 352 kp.symbol_name = "symbol_name"; 370 User's pre-handler (kp->pre_handler): [all …]
|
D | kobject.txt | 91 container type. So, for example, a pointer "kp" to a struct kobject 95 struct uio_map *u_map = container_of(kp, struct uio_map, kobj);
|
/linux-4.4.14/arch/sh/include/asm/ |
D | kprobes.h | 35 struct kprobe *kp; member
|
/linux-4.4.14/arch/tile/include/asm/ |
D | kprobes.h | 46 struct kprobe *kp; member
|
/linux-4.4.14/arch/mips/include/asm/ |
D | kprobes.h | 60 struct kprobe *kp; member
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | kprobes.c | 115 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 122 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 502 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/arch/arc/kernel/ |
D | kprobes.c | 84 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 90 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 391 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | kprobes.h | 67 struct kprobe *kp; member
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | mmu.h | 51 unsigned long kp:1; /* User 'key' (normally 1) */ member
|
/linux-4.4.14/arch/arm/include/asm/ |
D | kprobes.h | 36 struct kprobe *kp; member
|
/linux-4.4.14/net/ipv6/ |
D | sit.c | 293 struct ip_tunnel_prl kprl, *kp; in ipip6_tunnel_get_prl() local 307 kp = (cmax <= 1 || capable(CAP_NET_ADMIN)) ? in ipip6_tunnel_get_prl() 308 kcalloc(cmax, sizeof(*kp), GFP_KERNEL) : in ipip6_tunnel_get_prl() 315 if (!kp) { in ipip6_tunnel_get_prl() 321 kp = kcalloc(ca, sizeof(*kp), GFP_ATOMIC); in ipip6_tunnel_get_prl() 322 if (!kp) { in ipip6_tunnel_get_prl() 334 kp[c].addr = prl->addr; in ipip6_tunnel_get_prl() 335 kp[c].flags = prl->flags; in ipip6_tunnel_get_prl() 343 len = sizeof(*kp) * c; in ipip6_tunnel_get_prl() 345 if ((len && copy_to_user(a + 1, kp, len)) || put_user(len, &a->datalen)) in ipip6_tunnel_get_prl() [all …]
|
/linux-4.4.14/arch/sparc/kernel/ |
D | kprobes.c | 78 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 86 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 446 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/arch/x86/include/asm/ |
D | kprobes.h | 98 struct kprobe *kp; member
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | kprobes.h | 71 struct kprobe *kp; member
|
/linux-4.4.14/arch/mips/kernel/ |
D | kprobes.c | 218 kcb->prev_kprobe.kp = kprobe_running(); in save_previous_kprobe() 227 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in restore_previous_kprobe() 522 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | kprobes.h | 116 struct kprobe *kp; member
|
/linux-4.4.14/net/netfilter/ |
D | nf_nat_irc.c | 110 static int warn_set(const char *val, struct kernel_param *kp) in warn_set() argument
|
D | nf_nat_ftp.c | 137 static int warn_set(const char *val, struct kernel_param *kp) in warn_set() argument
|
D | nf_conntrack_core.c | 1561 int nf_conntrack_set_hashsize(const char *val, struct kernel_param *kp) in nf_conntrack_set_hashsize() argument 1574 return param_set_uint(val, kp); in nf_conntrack_set_hashsize()
|
/linux-4.4.14/net/sched/ |
D | cls_u32.c | 406 struct tc_u_knode __rcu **kp; in u32_delete_key() local 411 kp = &ht->ht[TC_U32_HASH(key->handle)]; in u32_delete_key() 412 for (pkp = rtnl_dereference(*kp); pkp; in u32_delete_key() 413 kp = &pkp->next, pkp = rtnl_dereference(*kp)) { in u32_delete_key() 415 RCU_INIT_POINTER(*kp, key->next); in u32_delete_key()
|
/linux-4.4.14/fs/ocfs2/dlmfs/ |
D | dlmfs.c | 91 struct kernel_param *kp) in param_set_dlmfs_capabilities() argument 93 printk(KERN_ERR "%s: readonly parameter\n", kp->name); in param_set_dlmfs_capabilities() 97 struct kernel_param *kp) in param_get_dlmfs_capabilities() argument
|
/linux-4.4.14/arch/s390/kernel/ |
D | kprobes.c | 252 kcb->prev_kprobe.kp = __this_cpu_read(current_kprobe); in push_kprobe() 265 __this_cpu_write(current_kprobe, kcb->prev_kprobe.kp); in pop_kprobe() 679 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
D | perf_cpum_sf.c | 1536 static int param_get_sfb_size(char *buffer, const struct kernel_param *kp) in param_get_sfb_size() argument 1543 static int param_set_sfb_size(const char *val, const struct kernel_param *kp) in param_set_sfb_size() argument
|
/linux-4.4.14/net/sunrpc/ |
D | auth.c | 43 static int param_set_hashtbl_sz(const char *val, const struct kernel_param *kp) in param_set_hashtbl_sz() argument 59 *(unsigned int *)kp->arg = nbits; in param_set_hashtbl_sz() 65 static int param_get_hashtbl_sz(char *buffer, const struct kernel_param *kp) in param_get_hashtbl_sz() argument 69 nbits = *(unsigned int *)kp->arg; in param_get_hashtbl_sz()
|
D | svc.c | 53 param_set_pool_mode(const char *val, struct kernel_param *kp) in param_set_pool_mode() argument 55 int *ip = (int *)kp->arg; in param_set_pool_mode() 83 param_get_pool_mode(char *buf, struct kernel_param *kp) in param_get_pool_mode() argument 85 int *ip = (int *)kp->arg; in param_get_pool_mode()
|
D | xprtsock.c | 3145 const struct kernel_param *kp, in param_set_uint_minmax() argument 3156 *((unsigned int *)kp->arg) = num; in param_set_uint_minmax() 3160 static int param_set_portnr(const char *val, const struct kernel_param *kp) in param_set_portnr() argument 3162 return param_set_uint_minmax(val, kp, in param_set_portnr() 3179 const struct kernel_param *kp) in param_set_slot_table_size() argument 3181 return param_set_uint_minmax(val, kp, in param_set_slot_table_size() 3195 const struct kernel_param *kp) in param_set_max_slot_table_size() argument 3197 return param_set_uint_minmax(val, kp, in param_set_max_slot_table_size()
|
/linux-4.4.14/fs/ntfs/ |
D | compress.c | 103 u8 *kp = page_address(page); in zero_partial_compressed_page() local 112 clear_page(kp); in zero_partial_compressed_page() 116 memset(kp + kp_ofs, 0, PAGE_CACHE_SIZE - kp_ofs); in zero_partial_compressed_page()
|
/linux-4.4.14/drivers/net/wireless/ath/wil6210/ |
D | main.c | 49 static int mtu_max_set(const char *val, const struct kernel_param *kp) in mtu_max_set() argument 56 ret = param_set_uint(val, kp); in mtu_max_set() 78 static int ring_order_set(const char *val, const struct kernel_param *kp) in ring_order_set() argument 90 *((uint *)kp->arg) = x; in ring_order_set()
|
/linux-4.4.14/net/dccp/ |
D | probe.c | 105 .kp = {
|
/linux-4.4.14/fs/lockd/ |
D | svc.c | 525 static int param_set_##name(const char *val, struct kernel_param *kp) \ 531 *((type *) kp->arg) = num; \
|
/linux-4.4.14/arch/avr32/kernel/ |
D | kprobes.c | 232 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | driver.c | 108 static int hfi1_caps_set(const char *val, const struct kernel_param *kp) in hfi1_caps_set() argument 111 unsigned long *cap_mask_ptr = (unsigned long *)kp->arg, in hfi1_caps_set() 147 static int hfi1_caps_get(char *buffer, const struct kernel_param *kp) in hfi1_caps_get() argument 149 unsigned long cap_mask = *(unsigned long *)kp->arg; in hfi1_caps_get()
|
/linux-4.4.14/drivers/input/mouse/ |
D | psmouse-base.c | 49 static int psmouse_get_maxproto(char *buffer, const struct kernel_param *kp); 1893 static int psmouse_set_maxproto(const char *val, const struct kernel_param *kp) in psmouse_set_maxproto() argument 1905 *((unsigned int *)kp->arg) = proto->type; in psmouse_set_maxproto() 1910 static int psmouse_get_maxproto(char *buffer, const struct kernel_param *kp) in psmouse_get_maxproto() argument 1912 int type = *((unsigned int *)kp->arg); in psmouse_get_maxproto()
|
/linux-4.4.14/drivers/tty/serial/ |
D | kgdboc.c | 248 static int param_set_kgdboc_var(const char *kmessage, struct kernel_param *kp) in param_set_kgdboc_var() argument
|
/linux-4.4.14/net/sctp/ |
D | probe.c | 180 .kp = {
|
/linux-4.4.14/drivers/thermal/ |
D | intel_powerclamp.c | 100 static int duration_set(const char *arg, const struct kernel_param *kp) in duration_set() argument 148 static int window_size_set(const char *arg, const struct kernel_param *kp) in window_size_set() argument
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack.h | 289 int nf_conntrack_set_hashsize(const char *val, struct kernel_param *kp);
|
/linux-4.4.14/arch/ia64/kernel/ |
D | kprobes.c | 391 kcb->prev_kprobe[i-1].kp = kprobe_running(); in save_previous_kprobe() 399 __this_cpu_write(current_kprobe, kcb->prev_kprobe[i-1].kp); in restore_previous_kprobe() 1045 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/drivers/isdn/hardware/mISDN/ |
D | speedfax.c | 97 set_debug(const char *val, struct kernel_param *kp) in set_debug() argument 102 ret = param_set_uint(val, kp); in set_debug()
|
D | avmfritz.c | 159 set_debug(const char *val, struct kernel_param *kp) in set_debug() argument 164 ret = param_set_uint(val, kp); in set_debug()
|
D | mISDNinfineon.c | 247 set_debug(const char *val, struct kernel_param *kp) in set_debug() argument 252 ret = param_set_uint(val, kp); in set_debug()
|
D | netjet.c | 114 set_debug(const char *val, struct kernel_param *kp) in set_debug() argument 119 ret = param_set_uint(val, kp); in set_debug()
|
D | w6692.c | 104 set_debug(const char *val, struct kernel_param *kp) in set_debug() argument 109 ret = param_set_uint(val, kp); in set_debug()
|
/linux-4.4.14/fs/fuse/ |
D | inode.c | 32 static int set_global_limit(const char *val, struct kernel_param *kp); 817 static int set_global_limit(const char *val, struct kernel_param *kp) in set_global_limit() argument 821 rv = param_set_uint(val, kp); in set_global_limit() 825 sanitize_global_limit((unsigned *)kp->arg); in set_global_limit()
|
/linux-4.4.14/drivers/mtd/devices/ |
D | phram.c | 269 static int phram_param_call(const char *val, struct kernel_param *kp) in phram_param_call() argument
|
D | block2mtd.c | 434 static int block2mtd_setup(const char *val, struct kernel_param *kp) in block2mtd_setup() argument
|
/linux-4.4.14/net/xfrm/ |
D | xfrm_user.c | 1556 struct xfrm_tmpl *kp = &xp->xfrm_vec[i]; in copy_to_user_tmpl() local 1559 memcpy(&up->id, &kp->id, sizeof(up->id)); in copy_to_user_tmpl() 1560 up->family = kp->encap_family; in copy_to_user_tmpl() 1561 memcpy(&up->saddr, &kp->saddr, sizeof(up->saddr)); in copy_to_user_tmpl() 1562 up->reqid = kp->reqid; in copy_to_user_tmpl() 1563 up->mode = kp->mode; in copy_to_user_tmpl() 1564 up->share = kp->share; in copy_to_user_tmpl() 1565 up->optional = kp->optional; in copy_to_user_tmpl() 1566 up->aalgos = kp->aalgos; in copy_to_user_tmpl() 1567 up->ealgos = kp->ealgos; in copy_to_user_tmpl() [all …]
|
/linux-4.4.14/drivers/tty/ |
D | sysrq.c | 980 const struct kernel_param *kp) in sysrq_reset_seq_param_set() argument 992 *((unsigned short *)kp->arg) = val; in sysrq_reset_seq_param_set()
|
/linux-4.4.14/drivers/virtio/ |
D | virtio_mmio.c | 616 const struct kernel_param *kp) in vm_cmdline_set() argument 687 static int vm_cmdline_get(char *buffer, const struct kernel_param *kp) in vm_cmdline_get() argument
|
/linux-4.4.14/arch/x86/kvm/ |
D | mmu_audit.c | 277 static int mmu_audit_set(const char *val, const struct kernel_param *kp) in mmu_audit_set() argument
|
/linux-4.4.14/net/ipv4/ |
D | tcp_probe.c | 169 .kp = {
|
/linux-4.4.14/arch/arm/boot/dts/ |
D | ste-href-family-pinctrl.dtsi | 639 function = "kp"; 699 function = "kp";
|
D | omap3-pandora-common.dtsi | 146 kp-plus { 160 kp-minus {
|
/linux-4.4.14/drivers/lightnvm/ |
D | core.c | 604 const struct kernel_param *kp) in nvm_configure_by_str_event() argument 630 static int nvm_configure_get(char *buf, const struct kernel_param *kp) in nvm_configure_get() argument
|
/linux-4.4.14/arch/s390/oprofile/ |
D | init.c | 54 static int set_cpu_type(const char *str, struct kernel_param *kp) in set_cpu_type() argument
|
/linux-4.4.14/drivers/block/ |
D | null_blk.c | 90 static int null_set_queue_mode(const char *str, const struct kernel_param *kp) in null_set_queue_mode() argument 121 static int null_set_irqmode(const char *str, const struct kernel_param *kp) in null_set_irqmode() argument
|
/linux-4.4.14/drivers/pci/pcie/ |
D | aspm.c | 778 static int pcie_aspm_set_policy(const char *val, struct kernel_param *kp) in pcie_aspm_set_policy() argument 805 static int pcie_aspm_get_policy(char *buffer, struct kernel_param *kp) in pcie_aspm_get_policy() argument
|
/linux-4.4.14/drivers/misc/lis3lv02d/ |
D | lis3lv02d.c | 105 static int param_set_axis(const char *val, const struct kernel_param *kp) in param_set_axis() argument 107 int ret = param_set_int(val, kp); in param_set_axis() 109 int val = *(int *)kp->arg; in param_set_axis()
|
/linux-4.4.14/arch/xtensa/platforms/iss/ |
D | simdisk.c | 55 const struct kernel_param *kp) in simdisk_param_set_filename() argument
|
/linux-4.4.14/net/batman-adv/ |
D | main.c | 1246 static int batadv_param_set_ra(const char *val, const struct kernel_param *kp) in batadv_param_set_ra() argument 1261 return param_set_copystring(algo_name, kp); in batadv_param_set_ra()
|
/linux-4.4.14/drivers/staging/rdma/ipath/ |
D | ipath_init_chip.c | 66 static int ipath_set_kpiobufs(const char *val, struct kernel_param *kp); 1017 static int ipath_set_kpiobufs(const char *str, struct kernel_param *kp) in ipath_set_kpiobufs() argument
|
/linux-4.4.14/drivers/tty/hvc/ |
D | hvc_iucv.c | 1294 static int param_set_vmidfilter(const char *val, const struct kernel_param *kp) in param_set_vmidfilter() argument 1321 static int param_get_vmidfilter(char *buffer, const struct kernel_param *kp) in param_get_vmidfilter() argument
|
/linux-4.4.14/security/integrity/ima/ |
D | ima_crypto.c | 44 static int param_set_bufsize(const char *val, const struct kernel_param *kp) in param_set_bufsize() argument
|
/linux-4.4.14/arch/powerpc/platforms/pseries/ |
D | cmm.c | 711 static int cmm_set_disable(const char *val, struct kernel_param *kp) in cmm_set_disable() argument
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | kprobes.c | 599 struct jprobe *jp = container_of(p, struct jprobe, kp); in setjmp_pre_handler()
|
/linux-4.4.14/drivers/hid/ |
D | hid-magicmouse.c | 37 static int param_set_scroll_speed(const char *val, struct kernel_param *kp) { in param_set_scroll_speed() argument
|
/linux-4.4.14/drivers/mtd/ubi/ |
D | block.c | 106 const struct kernel_param *kp) in ubiblock_set_param() argument
|
D | build.c | 1380 static int __init ubi_mtd_param_parse(const char *val, struct kernel_param *kp) in ubi_mtd_param_parse() argument
|
/linux-4.4.14/drivers/infiniband/ulp/srp/ |
D | ib_srp.c | 150 static int srp_tmo_get(char *buffer, const struct kernel_param *kp) in srp_tmo_get() argument 152 int tmo = *(int *)kp->arg; in srp_tmo_get() 160 static int srp_tmo_set(const char *val, const struct kernel_param *kp) in srp_tmo_set() argument 168 if (kp->arg == &srp_reconnect_delay) in srp_tmo_set() 171 else if (kp->arg == &srp_fast_io_fail_tmo) in srp_tmo_set() 178 *(int *)kp->arg = tmo; in srp_tmo_set()
|
/linux-4.4.14/arch/x86/oprofile/ |
D | nmi_int.c | 617 static int set_cpu_type(const char *str, struct kernel_param *kp) in set_cpu_type() argument
|
/linux-4.4.14/drivers/pinctrl/nomadik/ |
D | pinctrl-nomadik-db8540.c | 839 DB8540_FUNC_GROUPS(kp, "kp_a_1", "kp_b_1", "kp_c_1", "kp_oc1_1"); 924 FUNCTION(kp),
|
D | pinctrl-nomadik-db8500.c | 825 DB8500_FUNC_GROUPS(kp, "kp_a_1", "kp_a_2", "kp_b_1", "kp_b_2", "kp_c_1", "kp_oc1_1"); 900 FUNCTION(kp),
|
/linux-4.4.14/sound/pci/hda/ |
D | hda_intel.c | 175 static int param_set_xint(const char *val, const struct kernel_param *kp); 832 static int param_set_xint(const char *val, const struct kernel_param *kp) in param_set_xint() argument 837 int ret = param_set_int(val, kp); in param_set_xint()
|
/linux-4.4.14/block/ |
D | genhd.c | 1754 const struct kernel_param *kp) in disk_events_set_dfl_poll_msecs() argument 1759 ret = param_set_ulong(val, kp); in disk_events_set_dfl_poll_msecs()
|
/linux-4.4.14/security/smack/ |
D | smackfs.c | 1074 char *kp = SMACK_CIPSO_OPTION; in net4addr_seq_show() local 1077 kp = skp->smk_label->smk_known; in net4addr_seq_show() 1079 skp->smk_masks, kp); in net4addr_seq_show()
|
/linux-4.4.14/Documentation/usb/ |
D | gadget_hid.txt | 182 {.opt = "--kp-enter", .val = 0x58},
|
/linux-4.4.14/fs/nfs/ |
D | super.c | 2838 static int param_set_portnr(const char *val, const struct kernel_param *kp) in param_set_portnr() argument 2848 *((unsigned int *)kp->arg) = num; in param_set_portnr()
|
/linux-4.4.14/drivers/infiniband/ulp/srpt/ |
D | ib_srpt.c | 83 static int srpt_get_u64_x(char *buffer, struct kernel_param *kp) in srpt_get_u64_x() argument 85 return sprintf(buffer, "0x%016llx", *(u64 *)kp->arg); in srpt_get_u64_x()
|
/linux-4.4.14/net/bluetooth/ |
D | smp.c | 2782 struct smp_cmd_keypress_notify *kp = (void *) skb->data; in smp_cmd_keypress_notify() local 2784 BT_DBG("value 0x%02x", kp->value); in smp_cmd_keypress_notify()
|
/linux-4.4.14/drivers/android/ |
D | binder.c | 123 struct kernel_param *kp) in binder_set_stop_on_user_error() argument 127 ret = param_set_int(val, kp); in binder_set_stop_on_user_error()
|
/linux-4.4.14/drivers/video/fbdev/ |
D | uvesafb.c | 1965 static int param_set_scroll(const char *val, const struct kernel_param *kp) in param_set_scroll() argument
|
/linux-4.4.14/drivers/message/fusion/ |
D | mptbase.c | 102 static int mpt_set_debug_level(const char *val, struct kernel_param *kp); 245 static int mpt_set_debug_level(const char *val, struct kernel_param *kp) in mpt_set_debug_level() argument 247 int ret = param_set_int(val, kp); in mpt_set_debug_level()
|
/linux-4.4.14/drivers/scsi/mpt3sas/ |
D | mpt3sas_base.c | 103 _scsih_set_fwfault_debug(const char *val, struct kernel_param *kp) in _scsih_set_fwfault_debug() argument 105 int ret = param_set_int(val, kp); in _scsih_set_fwfault_debug()
|
D | mpt3sas_scsih.c | 285 _scsih_set_debug_level(const char *val, struct kernel_param *kp) in _scsih_set_debug_level() argument 287 int ret = param_set_int(val, kp); in _scsih_set_debug_level()
|
/linux-4.4.14/drivers/md/ |
D | md.c | 5085 static int add_named_array(const char *val, struct kernel_param *kp) in add_named_array() argument 9306 static int get_ro(char *buffer, struct kernel_param *kp) in module_exit() 9310 static int set_ro(const char *val, struct kernel_param *kp) in set_ro() argument
|
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_iba7322.c | 6197 static int setup_txselect(const char *str, struct kernel_param *kp) in setup_txselect() argument
|