| /linux/tools/testing/selftests/kvm/x86_64/ |
| A D | hyperv_features.c | 27 bool write; member 49 if (msr->write) in guest_msr() 67 if (msr->write) in guest_msr() 169 msr->write = false; in guest_test_msrs_access() 174 msr->write = false; in guest_test_msrs_access() 184 msr->write = true; in guest_test_msrs_access() 213 msr->write = true; in guest_test_msrs_access() 232 msr->write = true; in guest_test_msrs_access() 251 msr->write = true; in guest_test_msrs_access() 269 msr->write = true; in guest_test_msrs_access() [all …]
|
| /linux/arch/loongarch/kernel/ |
| A D | unaligned.c | 276 write = true; in emulate_load_store_insn() 291 write = true; in emulate_load_store_insn() 301 write = true; in emulate_load_store_insn() 313 write = true; in emulate_load_store_insn() 325 write = true; in emulate_load_store_insn() 338 write = true; in emulate_load_store_insn() 348 write = true; in emulate_load_store_insn() 366 write = true; in emulate_load_store_insn() 381 write = true; in emulate_load_store_insn() 391 write = true; in emulate_load_store_insn() [all …]
|
| /linux/arch/loongarch/mm/ |
| A D | fault.c | 62 return write ? pmd_write(pmdp_get(pmd)) : 1; in spurious_fault() 77 if (spurious_fault(write, address)) in no_context() 108 no_context(regs, write, address); in do_out_of_memory() 119 no_context(regs, write, address); in do_sigbus() 140 no_context(regs, write, address); in do_sigsegv() 146 if (!write) in do_sigsegv() 199 no_context(regs, write, address); in __do_page_fault() 241 if (write) { in __do_page_fault() 261 no_context(regs, write, address); in __do_page_fault() 282 do_out_of_memory(regs, write, address); in __do_page_fault() [all …]
|
| /linux/kernel/ |
| A D | sysctl.c | 157 if (write) { in _proc_do_string() 262 if (write) in proc_dostring() 431 if (write) { in do_proc_dointvec_conv() 458 if (write) { in do_proc_douintvec_conv() 494 if (write) { in __do_proc_dointvec() 672 if (write) in __do_proc_douintvec() 724 if (write) in proc_dobool() 788 if (write) { in proc_taint() 841 if (write) { in do_proc_dointvec_minmax_conv() 994 if (write) in proc_dou8vec_minmax() [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/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 | 200 write(dest, &tmp, 1); in apply_rela_bits() 204 write(dest, &tmp, 2); in apply_rela_bits() 207 write(dest, &tmp, 2); in apply_rela_bits() 211 write(dest, &tmp, 4); in apply_rela_bits() 214 write(dest, &tmp, 4); in apply_rela_bits() 217 write(dest, &tmp, 8); in apply_rela_bits() 252 rc = apply_rela_bits(loc, val, 0, 8, 0, write); in apply_rela() 298 write(gotent, &val, sizeof(*gotent)); in apply_rela() 353 write(ip, insn, sizeof(insn)); in apply_rela() 461 write = s390_kernel_write; in apply_relocate_add() [all …]
|
| /linux/tools/testing/selftests/bpf/ |
| A D | generate_udp_fragments.py | 33 f.write("// SPDX-License-Identifier: GPL-2.0\n") 35 f.write("\n") 36 f.write("#ifndef _IP_CHECK_DEFRAG_FRAGS_H\n") 37 f.write("#define _IP_CHECK_DEFRAG_FRAGS_H\n") 38 f.write("\n") 39 f.write("#include <stdint.h>\n") 40 f.write("\n") 52 f.write(f"\t{chunk},\n") 53 f.write(f"}};\n") 57 f.write("\n") [all …]
|
| /linux/scripts/gdb/linux/ |
| A D | vmalloc.py | 41 gdb.write("0x%x-0x%x %10d" % (v['addr'], v['addr'] + v['size'], v['size'])) 43 gdb.write(" %s" % str(v['caller']).split(' ')[-1]) 45 gdb.write(" pages=%d" % v['nr_pages']) 47 gdb.write(" phys=0x%x" % v['phys_addr']) 49 gdb.write(" ioremap") 51 gdb.write(" vmalloc") 53 gdb.write(" vmap") 55 gdb.write(" user") 57 gdb.write(" dma-coherent") 59 gdb.write(" vpages") [all …]
|
| A D | page_owner.py | 27 gdb.write("Unrecognized command\n") 103 gdb.write("pfn is invalid\n") 110 gdb.write("page_ext is null\n") 114 gdb.write("page_owner flag is invalid\n") 118 gdb.write('page_owner tracks the page as allocated\n') 120 gdb.write('page_owner tracks the page as freed\n') 123 gdb.write("page_owner is not allocated\n") 130 gdb.write("PFN: %d, Flags: 0x%x\n" % (pfn, page['flags'])) 132 gdb.write('page_owner allocation stack trace missing\n') 137 gdb.write('page_owner free stack trace missing\n') [all …]
|
| A D | proc.py | 33 gdb.write(gdb.parse_and_eval("saved_command_line").string() + "\n") 48 gdb.write(gdb.parse_and_eval("(char *)linux_banner").string()) 77 gdb.write(" " * depth * 2 + 173 gdb.write("{:^18} {:^15} {:>9} {} {} options\n".format( 198 gdb.write("{} {} {} {} {} {}{}{} 0 0\n".format( 254 gdb.write("fdt_magic: 0x{:02X}\n".format(fdt_header[0])) 255 gdb.write("fdt_totalsize: 0x{:02X}\n".format(fdt_header[1])) 259 gdb.write("version: {}\n".format(fdt_header[5])) 260 gdb.write("last_comp_version: {}\n".format(fdt_header[6])) 271 f.write(fdt_buf) [all …]
|
| /linux/drivers/net/phy/ |
| A D | qt2025.rs | 51 dev.write(C45::new(Mmd::PMAPMD, 0xc300), 0x0000)?; in probe() 53 dev.write(C45::new(Mmd::PMAPMD, 0xc302), 0x0004)?; in probe() 55 dev.write(C45::new(Mmd::PMAPMD, 0xc319), 0x0038)?; in probe() 57 dev.write(C45::new(Mmd::PMAPMD, 0xc31a), 0x0098)?; in probe() 61 dev.write(C45::new(Mmd::PCS, 0x0026), 0x0e00)?; in probe() 62 dev.write(C45::new(Mmd::PCS, 0x0027), 0x0893)?; in probe() 63 dev.write(C45::new(Mmd::PCS, 0x0028), 0xa528)?; in probe() 64 dev.write(C45::new(Mmd::PCS, 0x0029), 0x0003)?; in probe() 66 dev.write(C45::new(Mmd::PMAPMD, 0xa30a), 0x06e1)?; in probe() 70 dev.write(C45::new(Mmd::PCS, 0xe854), 0x00c0)?; in probe() [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/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/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/net/sctp/ |
| A D | sysctl.c | 399 if (write) { in proc_sctp_do_hmac_alg() 408 if (write && ret == 0) { in proc_sctp_do_hmac_alg() 444 if (write) in proc_sctp_do_rto_min() 450 if (write && ret == 0) { in proc_sctp_do_rto_min() 472 if (write) in proc_sctp_do_rto_max() 478 if (write && ret == 0) { in proc_sctp_do_rto_max() 491 if (write) in proc_sctp_do_alpha_beta() 508 if (write) in proc_sctp_do_auth() 514 if (write && ret == 0) { in proc_sctp_do_auth() 539 if (write) in proc_sctp_do_udp_port() [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/scripts/ |
| A D | spdxcheck.py | 359 sys.stderr.write('%s\n' %se.txt) 363 sys.stderr.write('FAIL: %s\n' %ex) 364 sys.stderr.write('%s\n' %traceback.format_exc()) 403 sys.stderr.write('\n') 408 sys.stderr.write('\n') 420 sys.stderr.write('\n') 427 sys.stderr.write('\n') 438 sys.stderr.write('\n') 443 sys.stderr.write(' %s\n' %f) 448 sys.stderr.write('FAIL: %s\n' %ex) [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/tools/perf/pmu-events/ |
| A D | jevents.py | 515 _args.output_file.write( 525 _args.output_file.write(f""" 571 _args.output_file.write( 580 _args.output_file.write(f""" 676 _args.output_file.write(""" 762 _args.output_file.write("""{ 774 _args.output_file.write(""" 1194 _args.output_file.write(""" 1199 _args.output_file.write( 1202 _args.output_file.write(""" [all …]
|
| /linux/Documentation/ABI/testing/ |
| A D | sysfs-class-bdi | 32 (read-write) 38 total write-back cache that relates to its current average 42 percentage of the write-back cache to a particular device. 45 (read-write) 52 total write-back cache that relates to its current average 60 (read-write) 73 (read-write) 86 (read-write) 101 (read-write) 114 (read-write) [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/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/Documentation/wmi/devices/ |
| A D | msi-wmi-platform.rst | 26 [WmiDataId(1), read, write, Description("16 bytes of data")] uint8 Bytes[16]; 33 [WmiDataId(1), read, write, Description("32 bytes of data")] uint8 Bytes[32]; 43 [WmiMethodId(1), Implemented, read, write, Description("Return the contents of a package")] 46 [WmiMethodId(2), Implemented, read, write, Description("Set the contents of a package")] 49 [WmiMethodId(3), Implemented, read, write, Description("Return the contents of a package")] 52 [WmiMethodId(4), Implemented, read, write, Description("Set the contents of a package")] 58 [WmiMethodId(6), Implemented, read, write, Description("Set the contents of a package")] 64 [WmiMethodId(8), Implemented, read, write, Description("Set the contents of a package")] 70 [WmiMethodId(10), Implemented, read, write, Description("Set the contents of a package")] 76 [WmiMethodId(12), Implemented, read, write, Description("Set the contents of a package")] [all …]
|