/linux/tools/testing/selftests/kvm/x86_64/ |
A D | hyperv_features.c | 93 bool write; member 109 if (!msr->write) in guest_msr() 217 msr->write = 0; in guest_test_msrs_access() 222 msr->write = 0; in guest_test_msrs_access() 232 msr->write = 1; in guest_test_msrs_access() 238 msr->write = 0; in guest_test_msrs_access() 243 msr->write = 0; in guest_test_msrs_access() 249 msr->write = 0; in guest_test_msrs_access() 254 msr->write = 0; in guest_test_msrs_access() 259 msr->write = 1; in guest_test_msrs_access() [all …]
|
/linux/include/trace/events/ |
A D | mmap_lock.h | 18 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write), 20 TP_ARGS(mm, memcg_path, write), 25 __field(bool, write) 31 __entry->write = write; 38 __entry->write ? "true" : "false" 45 bool write), \ 46 TP_ARGS(mm, memcg_path, write), \ 57 TP_ARGS(mm, memcg_path, write, success), 62 __field(bool, write) 69 __entry->write = write; [all …]
|
/linux/kernel/ |
A D | sysctl.c | 269 if (write) { in _proc_do_string() 374 if (write) in proc_dostring() 543 if (write) { in do_proc_dobool_conv() 558 if (write) { in do_proc_dointvec_conv() 585 if (write) { in do_proc_douintvec_conv() 621 if (write) { in __do_proc_dointvec() 799 if (write) in __do_proc_douintvec() 916 if (write) { in proc_taint() 980 if (write) { in do_proc_dointvec_minmax_conv() 1139 if (write) in proc_dou8vec_minmax() [all …]
|
A D | watchdog.c | 654 if (!write) { in proc_watchdog_common() 674 int proc_watchdog(struct ctl_table *table, int write, in proc_watchdog() argument 678 table, write, buffer, lenp, ppos); in proc_watchdog() 684 int proc_nmi_watchdog(struct ctl_table *table, int write, in proc_nmi_watchdog() argument 687 if (!nmi_watchdog_available && write) in proc_nmi_watchdog() 690 table, write, buffer, lenp, ppos); in proc_nmi_watchdog() 696 int proc_soft_watchdog(struct ctl_table *table, int write, in proc_soft_watchdog() argument 700 table, write, buffer, lenp, ppos); in proc_soft_watchdog() 706 int proc_watchdog_thresh(struct ctl_table *table, int write, in proc_watchdog_thresh() argument 716 if (!err && write && old != READ_ONCE(watchdog_thresh)) in proc_watchdog_thresh() [all …]
|
/linux/Documentation/driver-api/md/ |
A D | raid5-cache.rst | 11 in write-through mode. A user can switch it to write-back mode by:: 13 echo "write-back" > /sys/block/md0/md/journal_mode 15 And switch it back to write-through mode by:: 17 echo "write-through" > /sys/block/md0/md/journal_mode 22 write-through mode 42 exposed to 'write hole' again. 47 write-back mode 50 write-back mode fixes the 'write hole' issue too, since all write data is 52 write. If a write crosses all RAID disks of a stripe, we call it full-stripe 75 least several gigabytes size in write-back mode. [all …]
|
/linux/arch/s390/kernel/ |
A D | module.c | 212 write(dest, &tmp, 1); in apply_rela_bits() 216 write(dest, &tmp, 2); in apply_rela_bits() 219 write(dest, &tmp, 2); in apply_rela_bits() 223 write(dest, &tmp, 4); in apply_rela_bits() 226 write(dest, &tmp, 4); in apply_rela_bits() 229 write(dest, &tmp, 8); in apply_rela_bits() 264 rc = apply_rela_bits(loc, val, 0, 8, 0, write); in apply_rela() 310 write(gotent, &val, sizeof(*gotent)); in apply_rela() 365 write(ip, insn, sizeof(insn)); in apply_rela() 473 write = s390_kernel_write; in apply_relocate_add() [all …]
|
/linux/drivers/rtc/ |
A D | rtc-ds1685.c | 161 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank0() 172 rtc->write(rtc, RTC_CTRL_A, in ds1685_rtc_switch_to_bank1() 193 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_begin_data_access() 219 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_end_data_access() 1100 rtc->write = ds1685_write; in ds1685_rtc_probe() 1114 if (!rtc->read || !rtc->write) in ds1685_rtc_probe() 1161 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_probe() 1203 rtc->write(rtc, RTC_HRS, in ds1685_rtc_probe() 1226 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_probe() 1240 rtc->write(rtc, RTC_CTRL_B, in ds1685_rtc_probe() [all …]
|
A D | rtc-bq4802.c | 60 p->write(p, 0xe, val | 0x08); in bq4802_read_time() 71 p->write(p, 0x0e, val); in bq4802_read_time() 122 p->write(p, 0x00, sec); in bq4802_set_time() 123 p->write(p, 0x02, min); in bq4802_set_time() 124 p->write(p, 0x04, hrs); in bq4802_set_time() 125 p->write(p, 0x06, day); in bq4802_set_time() 126 p->write(p, 0x09, mon); in bq4802_set_time() 127 p->write(p, 0x0a, yrs); in bq4802_set_time() 128 p->write(p, 0x0f, century); in bq4802_set_time() 130 p->write(p, 0x0e, val); in bq4802_set_time() [all …]
|
/linux/drivers/iio/dac/ |
A D | ad5446.c | 351 .write = ad5446_write, 355 .write = ad5446_write, 359 .write = ad5446_write, 363 .write = ad5446_write, 367 .write = ad5446_write, 371 .write = ad5446_write, 375 .write = ad5446_write, 379 .write = ad5446_write, 383 .write = ad5446_write, 387 .write = ad5446_write, [all …]
|
/linux/net/sctp/ |
A D | sysctl.c | 382 if (write) { in proc_sctp_do_hmac_alg() 391 if (write && ret == 0) { in proc_sctp_do_hmac_alg() 427 if (write) in proc_sctp_do_rto_min() 433 if (write && ret == 0) { in proc_sctp_do_rto_min() 455 if (write) in proc_sctp_do_rto_max() 461 if (write && ret == 0) { in proc_sctp_do_rto_max() 474 if (write) in proc_sctp_do_alpha_beta() 491 if (write) in proc_sctp_do_auth() 497 if (write && ret == 0) { in proc_sctp_do_auth() 522 if (write) in proc_sctp_do_udp_port() [all …]
|
/linux/drivers/crypto/inside-secure/ |
A D | safexcel_ring.c | 28 cdr->write = cdr->base; in safexcel_init_ring_descriptors() 65 rdr->write = rdr->base; in safexcel_init_ring_descriptors() 82 void *ptr = ring->write; in safexcel_ring_next_cwptr() 92 ring->write = ring->base; in safexcel_ring_next_cwptr() 95 ring->write += ring->offset; in safexcel_ring_next_cwptr() 106 void *ptr = ring->write; in safexcel_ring_next_rwptr() 116 ring->write = ring->base; in safexcel_ring_next_rwptr() 118 ring->write += ring->offset; in safexcel_ring_next_rwptr() 128 if (ring->write == ring->read) in safexcel_ring_next_rptr() 167 if (ring->write == ring->read) in safexcel_ring_rollback_wptr() [all …]
|
/linux/ipc/ |
A D | ipc_sysctl.c | 26 static int proc_ipc_dointvec(struct ctl_table *table, int write, in proc_ipc_dointvec() argument 34 return proc_dointvec(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_dointvec() 45 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_dointvec_minmax() 68 return proc_doulongvec_minmax(&ipc_table, write, buffer, in proc_ipc_doulongvec_minmax() 72 static int proc_ipc_auto_msgmni(struct ctl_table *table, int write, in proc_ipc_auto_msgmni() argument 81 if (write) in proc_ipc_auto_msgmni() 84 return proc_dointvec_minmax(&ipc_table, write, buffer, lenp, ppos); in proc_ipc_auto_msgmni() 94 ret = proc_ipc_dointvec(table, write, buffer, lenp, ppos); in proc_ipc_sem_dointvec() 109 int write, void *buffer, size_t *lenp, loff_t *ppos) in proc_ipc_dointvec_minmax_checkpoint_restore() argument 113 if (write && !checkpoint_restore_ns_capable(user_ns)) in proc_ipc_dointvec_minmax_checkpoint_restore() [all …]
|
/linux/include/linux/ |
A D | mmap_lock.h | 20 void __mmap_lock_do_trace_start_locking(struct mm_struct *mm, bool write); 21 void __mmap_lock_do_trace_acquire_returned(struct mm_struct *mm, bool write, 23 void __mmap_lock_do_trace_released(struct mm_struct *mm, bool write); 26 bool write) in __mmap_lock_trace_start_locking() argument 29 __mmap_lock_do_trace_start_locking(mm, write); in __mmap_lock_trace_start_locking() 33 bool write, bool success) in __mmap_lock_trace_acquire_returned() argument 36 __mmap_lock_do_trace_acquire_returned(mm, write, success); in __mmap_lock_trace_acquire_returned() 39 static inline void __mmap_lock_trace_released(struct mm_struct *mm, bool write) in __mmap_lock_trace_released() argument 42 __mmap_lock_do_trace_released(mm, write); in __mmap_lock_trace_released() 48 bool write) in __mmap_lock_trace_start_locking() argument [all …]
|
/linux/drivers/net/ethernet/intel/igc/ |
A D | igc_diag.c | 36 u32 mask, u32 write) in reg_pattern_test() argument 46 wr32(reg, test_pattern[pat] & write); in reg_pattern_test() 62 u32 mask, u32 write) in reg_set_and_check() argument 68 wr32(reg, write & mask); in reg_set_and_check() 70 if ((write & mask) != (val & mask)) { in reg_set_and_check() 73 reg, (val & mask), (write & mask)); in reg_set_and_check() 119 test->write); in igc_reg_test() 125 test->write); in igc_reg_test() 131 test->write); in igc_reg_test() 137 test->write); in igc_reg_test() [all …]
|
/linux/drivers/comedi/drivers/ni_routing/tools/ |
A D | convert_csv_to_c.py | 49 sys.stderr.write( 259 f.write('\n'.join(s_chunks)) 260 f.write('\n') 265 f.write('\n'.join(objs)) 266 f.write('\n') 285 f.write( self.to_listinit() ) 286 f.write( '\n' ) 449 f.write( '\n' ) 454 f.write('\n'.join(objs)) 455 f.write('\n') [all …]
|
/linux/scripts/ |
A D | spdxcheck.py | 235 sys.stderr.write('stdin input "-" must be the only path argument\n') 251 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 253 sys.stderr.write('%s\n' %se.txt) 257 sys.stderr.write('FAIL: %s\n' %ex) 258 sys.stderr.write('%s\n' %traceback.format_exc()) 273 sys.stderr.write('path %s does not exist\n' %p) 280 sys.stderr.write('\n') 285 sys.stderr.write('\n') 286 sys.stderr.write('Files checked: %12d\n' %parser.checked) 294 sys.stderr.write('FAIL: %s\n' %ex) [all …]
|
/linux/scripts/gdb/linux/ |
A D | proc.py | 30 gdb.write(gdb.parse_and_eval("saved_command_line").string() + "\n") 45 gdb.write(gdb.parse_and_eval("(char *)linux_banner").string()) 74 gdb.write(" " * depth * 2 + 170 gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format( 196 gdb.write("{} {} {} {} {} {}{}{} 0 0\n".format( 252 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0])) 253 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1])) 257 gdb.write("version: {}\n".format(fdt_header[5])) 258 gdb.write("last_comp_version: {}\n".format(fdt_header[6])) 269 f.write(fdt_buf) [all …]
|
/linux/arch/parisc/kernel/ |
A D | perf_asm.S | 1385 sync ; RDR 0 write sequence 1394 sync ; RDR 1 write sequence 1403 sync ; RDR 2 write sequence 1412 sync ; RDR 3 write sequence 1421 sync ; RDR 4 write sequence 1430 sync ; RDR 5 write sequence 1439 sync ; RDR 6 write sequence 1448 sync ; RDR 7 write sequence 1457 sync ; RDR 8 write sequence 1466 sync ; RDR 9 write sequence [all …]
|
/linux/net/core/ |
A D | sysctl_net_core.c | 69 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 71 if (write) { in rps_sock_flow_sysctl() 131 if (write) { in flow_limit_cpu_sysctl() 205 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl() 206 if (!ret && write && !is_power_of_2(*ptr)) { in flow_limit_table_len_sysctl() 229 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in set_default_qdisc() 230 if (write && ret == 0) in set_default_qdisc() 241 ret = proc_dointvec(table, write, buffer, lenp, ppos); in proc_do_dev_weight() 271 if (write && !capable(CAP_SYS_ADMIN)) in proc_dointvec_minmax_bpf_enable() 275 ret = proc_dointvec_minmax(&tmp, write, buffer, lenp, ppos); in proc_dointvec_minmax_bpf_enable() [all …]
|
/linux/arch/arm/mach-omap2/ |
A D | vp.c | 26 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 33 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 50 if (!voltdm->read || !voltdm->write) { in omap_vp_init() 79 voltdm->write(val, vp->vpconfig); in omap_vp_init() 84 voltdm->write(val, vp->vstepmin); in omap_vp_init() 89 voltdm->write(val, vp->vstepmax); in omap_vp_init() 95 voltdm->write(val, vp->vlimitto); in omap_vp_init() 185 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_forceupdate_scale() 208 if (!voltdm->read || !voltdm->write) { in omap_vp_enable() 229 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_enable() [all …]
|
/linux/Documentation/scsi/ |
A D | sd-parameters.rst | 9 Enable/disable drive write & read cache. 14 write through 0 0 off on 16 write back 1 0 on on 17 write back, no read (daft) 1 1 on off 20 To set cache type to "write back" and save this setting to the drive:: 22 # echo "write back" > cache_type 27 # echo "temporary write back" > cache_type
|
/linux/include/linux/sched/ |
A D | sysctl.h | 22 int proc_dohung_task_timeout_secs(struct ctl_table *table, int write, 67 int sched_rr_handler(struct ctl_table *table, int write, void *buffer, 69 int sched_rt_handler(struct ctl_table *table, int write, void *buffer, 71 int sysctl_sched_uclamp_handler(struct ctl_table *table, int write, 73 int sysctl_numa_balancing(struct ctl_table *table, int write, void *buffer, 75 int sysctl_schedstats(struct ctl_table *table, int write, void *buffer, 80 int sched_energy_aware_handler(struct ctl_table *table, int write,
|
/linux/drivers/mtd/spi-nor/ |
A D | Kconfig | 28 prompt "Software write protection at boot" 34 This option disables the software write protection on any SPI 40 Don't use this if you intent to use the software write protection 47 power-up or a reset the flash is software write protected by 50 This option disables the software write protection for these kind 52 which have non-volatile write protection bits. 54 If the software write protection will be disabled depending on 61 bool "Keep software write protection as is" 63 If you select this option the software write protection of any 64 SPI flashes will not be changed. If your flash is software write [all …]
|
/linux/scripts/coccinelle/api/ |
A D | stream_open.cocci | 7 // between read and write. 111 .write = write_f, 188 // XXX for simplicity require no .{read/write}_iter and no .splice_{read/write} for now. 202 // read & write 214 .write = writestream, 248 + nonseekable_open /* read & write (was deadlock) */ 274 // read, but not write 322 // write, but not read 329 .write = writestream, 355 + nonseekable_open /* write only */ [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | func-write.rst | 4 .. _func-write: 7 V4L2 write() 13 v4l2-write - Write to a V4L2 device 22 .. c:function:: ssize_t write( int fd, void *buf, size_t count ) 39 :c:func:`write()` writes up to ``count`` bytes to the device 42 enables them. When ``count`` is zero, :c:func:`write()` returns 0 55 variable is set appropriately. In this case the next write will start at 61 available to write the data immediately. 67 The driver does not support multiple write streams and the device is 80 The :c:func:`write()` function is not supported by this driver,
|