Home
last modified time | relevance | path

Searched refs:new_value (Results 1 – 25 of 47) sorted by relevance

12

/Linux-v4.19/scripts/
Ddiffconfig51 def print_config(op, config, value, new_value): argument
55 if new_value:
56 if new_value=="n":
59 print("CONFIG_%s=%s" % (config, new_value))
64 print("+%s %s" % (config, new_value))
66 print(" %s %s -> %s" % (config, value, new_value))
/Linux-v4.19/kernel/irq/
Dproc.c123 cpumask_var_t new_value; in write_irq_affinity() local
129 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in write_irq_affinity()
133 err = cpumask_parselist_user(buffer, count, new_value); in write_irq_affinity()
135 err = cpumask_parse_user(buffer, count, new_value); in write_irq_affinity()
139 if (!is_affinity_mask_valid(new_value)) { in write_irq_affinity()
149 if (!cpumask_intersects(new_value, cpu_online_mask)) { in write_irq_affinity()
156 err = irq_set_affinity(irq, new_value); in write_irq_affinity()
162 free_cpumask_var(new_value); in write_irq_affinity()
225 cpumask_var_t new_value; in default_affinity_write() local
228 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in default_affinity_write()
[all …]
/Linux-v4.19/net/sctp/
Dsysctl.c390 int ret, new_value; in proc_sctp_do_rto_min() local
396 tbl.data = &new_value; in proc_sctp_do_rto_min()
402 if (new_value > max || new_value < min) in proc_sctp_do_rto_min()
405 net->sctp.rto_min = new_value; in proc_sctp_do_rto_min()
419 int ret, new_value; in proc_sctp_do_rto_max() local
425 tbl.data = &new_value; in proc_sctp_do_rto_max()
431 if (new_value > max || new_value < min) in proc_sctp_do_rto_max()
434 net->sctp.rto_max = new_value; in proc_sctp_do_rto_max()
457 int new_value, ret; in proc_sctp_do_auth() local
463 tbl.data = &new_value; in proc_sctp_do_auth()
[all …]
/Linux-v4.19/drivers/xen/xen-pciback/
Dconf_space_capability.c114 static int pm_ctrl_write(struct pci_dev *dev, int offset, u16 new_value, in pm_ctrl_write() argument
126 new_state = (pci_power_t)(new_value & PCI_PM_CTRL_STATE_MASK); in pm_ctrl_write()
128 new_value &= PM_OK_BITS; in pm_ctrl_write()
129 if ((old_value & PM_OK_BITS) != new_value) { in pm_ctrl_write()
130 new_value = (old_value & ~PM_OK_BITS) | new_value; in pm_ctrl_write()
131 err = pci_write_config_word(dev, offset, new_value); in pm_ctrl_write()
/Linux-v4.19/kernel/power/
Dqos.c276 int prev_value, curr_value, new_value; in pm_qos_update_target() local
282 new_value = c->default_value; in pm_qos_update_target()
284 new_value = value; in pm_qos_update_target()
299 plist_node_init(node, new_value); in pm_qos_update_target()
409 s32 new_value) in __pm_qos_update_request() argument
411 trace_pm_qos_update_request(req->pm_qos_class, new_value); in __pm_qos_update_request()
413 if (new_value != req->node.prio) in __pm_qos_update_request()
416 &req->node, PM_QOS_UPDATE_REQ, new_value); in __pm_qos_update_request()
476 s32 new_value) in pm_qos_update_request() argument
487 __pm_qos_update_request(req, new_value); in pm_qos_update_request()
[all …]
/Linux-v4.19/drivers/watchdog/
Dks8695_wdt.c175 int new_value; in ks8695_wdt_ioctl() local
185 if (get_user(new_value, p)) in ks8695_wdt_ioctl()
187 if (new_value & WDIOS_DISABLECARD) in ks8695_wdt_ioctl()
189 if (new_value & WDIOS_ENABLECARD) in ks8695_wdt_ioctl()
196 if (get_user(new_value, p)) in ks8695_wdt_ioctl()
198 if (ks8695_wdt_settimeout(new_value)) in ks8695_wdt_ioctl()
Dat91rm9200_wdt.c164 int new_value; in at91_wdt_ioctl() local
174 if (get_user(new_value, p)) in at91_wdt_ioctl()
176 if (new_value & WDIOS_DISABLECARD) in at91_wdt_ioctl()
178 if (new_value & WDIOS_ENABLECARD) in at91_wdt_ioctl()
185 if (get_user(new_value, p)) in at91_wdt_ioctl()
187 if (at91_wdt_settimeout(new_value)) in at91_wdt_ioctl()
Dbcm63xx_wdt.c171 int new_value, retval = -EINVAL; in bcm63xx_wdt_ioctl() local
183 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl()
186 if (new_value & WDIOS_DISABLECARD) { in bcm63xx_wdt_ioctl()
190 if (new_value & WDIOS_ENABLECARD) { in bcm63xx_wdt_ioctl()
202 if (get_user(new_value, p)) in bcm63xx_wdt_ioctl()
205 if (bcm63xx_wdt_settimeout(new_value)) in bcm63xx_wdt_ioctl()
Dpika_wdt.c177 int new_value; in pikawdt_ioctl() local
194 if (get_user(new_value, p)) in pikawdt_ioctl()
197 heartbeat = new_value; in pikawdt_ioctl()
200 return put_user(new_value, p); /* return current value */ in pikawdt_ioctl()
Dnuc900_wdt.c163 int new_value; in nuc900_wdt_ioctl() local
178 if (get_user(new_value, p)) in nuc900_wdt_ioctl()
181 heartbeat = new_value; in nuc900_wdt_ioctl()
184 return put_user(new_value, p); in nuc900_wdt_ioctl()
/Linux-v4.19/include/trace/events/
Dpower.h485 s32 new_value),
487 TP_ARGS(name, type, new_value),
492 __field( s32, new_value )
498 __entry->new_value = new_value;
506 __entry->new_value)
512 s32 new_value),
514 TP_ARGS(name, type, new_value)
520 s32 new_value),
522 TP_ARGS(name, type, new_value)
528 s32 new_value),
[all …]
/Linux-v4.19/tools/build/feature/
Dtest-timerfd.c9 struct itimerspec new_value; in main() local
15 if (timerfd_settime(fd, 0, &new_value, NULL) != 0) in main()
/Linux-v4.19/tools/usb/usbip/libsrc/
Dsysfs_utils.c10 int write_sysfs_attribute(const char *attr_path, const char *new_value, in write_sysfs_attribute() argument
22 length = write(fd, new_value, len); in write_sysfs_attribute()
Dsysfs_utils.h6 int write_sysfs_attribute(const char *attr_path, const char *new_value,
/Linux-v4.19/scripts/kconfig/
Dpreprocess.c280 char *new_value; in variable_add() local
306 new_value = expand_string(value); in variable_add()
308 new_value = xstrdup(value); in variable_add()
312 strlen(v->value) + strlen(new_value) + 2); in variable_add()
314 strcat(v->value, new_value); in variable_add()
315 free(new_value); in variable_add()
317 v->value = new_value; in variable_add()
/Linux-v4.19/security/selinux/
Dselinuxfs.c143 int old_value, new_value; in sel_write_enforce() local
157 if (sscanf(page, "%d", &new_value) != 1) in sel_write_enforce()
160 new_value = !!new_value; in sel_write_enforce()
163 if (new_value != old_value) { in sel_write_enforce()
173 new_value, old_value, in sel_write_enforce()
177 enforcing_set(state, new_value); in sel_write_enforce()
178 if (new_value) in sel_write_enforce()
180 selnl_notify_setenforce(new_value); in sel_write_enforce()
181 selinux_status_update_setenforce(state, new_value); in sel_write_enforce()
182 if (!new_value) in sel_write_enforce()
[all …]
/Linux-v4.19/include/linux/
Dpm_qos.h128 s32 new_value);
130 s32 new_value, unsigned long timeout_us);
146 int dev_pm_qos_update_request(struct dev_pm_qos_request *req, s32 new_value);
200 s32 new_value) in dev_pm_qos_update_request() argument
/Linux-v4.19/kernel/events/
Dcallchain.c243 int new_value = *value, ret; in perf_event_max_stack_handler() local
246 new_table.data = &new_value; in perf_event_max_stack_handler()
255 *value = new_value; in perf_event_max_stack_handler()
/Linux-v4.19/kernel/
Dprofile.c429 cpumask_var_t new_value; in prof_cpu_mask_proc_write() local
432 if (!alloc_cpumask_var(&new_value, GFP_KERNEL)) in prof_cpu_mask_proc_write()
435 err = cpumask_parse_user(buffer, count, new_value); in prof_cpu_mask_proc_write()
437 cpumask_copy(prof_cpu_mask, new_value); in prof_cpu_mask_proc_write()
440 free_cpumask_var(new_value); in prof_cpu_mask_proc_write()
/Linux-v4.19/drivers/staging/rtl8712/
Drtl871x_mp.c233 u32 org_value, bit_shift, new_value; in set_bb_reg() local
238 new_value = (org_value & (~bitmask)) | (value << bit_shift); in set_bb_reg()
240 new_value = value; in set_bb_reg()
242 return r8712_bb_reg_write(pAdapter, offset, new_value); in set_bb_reg()
258 u32 org_value, bit_shift, new_value; in set_rf_reg() local
263 new_value = (org_value & (~bitmask)) | (value << bit_shift); in set_rf_reg()
265 new_value = value; in set_rf_reg()
267 return r8712_rf_reg_write(pAdapter, path, offset, new_value); in set_rf_reg()
/Linux-v4.19/tools/testing/selftests/mqueue/
Dmq_perf_tests.c246 int new_value; in set() local
251 new_value = get(stream); in set()
252 if (new_value != value) in set()
259 int new_value; in try_set() local
263 new_value = get(stream); in try_set()
264 return new_value == value; in try_set()
/Linux-v4.19/drivers/hid/
Dhid-roccat.c255 uint8_t *new_value; in roccat_report_event() local
259 new_value = kmemdup(data, device->report_size, GFP_ATOMIC); in roccat_report_event()
260 if (!new_value) in roccat_report_event()
268 report->value = new_value; in roccat_report_event()
/Linux-v4.19/drivers/base/power/
Dqos.c357 s32 new_value) in __dev_pm_qos_update_request() argument
385 new_value); in __dev_pm_qos_update_request()
386 if (curr_value != new_value) in __dev_pm_qos_update_request()
387 ret = apply_constraint(req, PM_QOS_UPDATE_REQ, new_value); in __dev_pm_qos_update_request()
410 int dev_pm_qos_update_request(struct dev_pm_qos_request *req, s32 new_value) in dev_pm_qos_update_request() argument
415 ret = __dev_pm_qos_update_request(req, new_value); in dev_pm_qos_update_request()
/Linux-v4.19/Documentation/trace/
Devents-power.rst98 dev_pm_qos_add_request "device=%s type=%s new_value=%d"
99 dev_pm_qos_update_request "device=%s type=%s new_value=%d"
100 dev_pm_qos_remove_request "device=%s type=%s new_value=%d"
/Linux-v4.19/arch/powerpc/platforms/cell/
Dcbe_thermal.c130 u64 new_value; in store_throttle() local
138 new_value = temp_to_reg(temp); in store_throttle()
145 reg_value |= new_value << pos; in store_throttle()

12