/linux-6.6.21/tools/testing/selftests/kvm/x86_64/ |
D | hyperv_features.c | 27 bool write; member 49 if (msr->write) in guest_msr() 52 if (!vector && (!msr->write || !is_write_only_msr(msr->idx))) in guest_msr() 58 msr->idx, msr->write ? "WR" : "RD", vector); in guest_msr() 62 msr->idx, msr->write ? "WR" : "RD", vector); in guest_msr() 67 if (msr->write) in guest_msr() 172 msr->write = false; in guest_test_msrs_access() 177 msr->write = false; in guest_test_msrs_access() 187 msr->write = true; in guest_test_msrs_access() 193 msr->write = false; in guest_test_msrs_access() [all …]
|
/linux-6.6.21/arch/loongarch/kernel/ |
D | unaligned.c | 252 bool sign, write; in emulate_load_store_insn() local 266 write = false; in emulate_load_store_insn() 271 write = false; in emulate_load_store_insn() 276 write = true; in emulate_load_store_insn() 281 write = false; in emulate_load_store_insn() 286 write = false; in emulate_load_store_insn() 291 write = true; in emulate_load_store_insn() 296 write = false; in emulate_load_store_insn() 301 write = true; in emulate_load_store_insn() 307 write = false; in emulate_load_store_insn() [all …]
|
/linux-6.6.21/kernel/ |
D | sysctl.c | 146 static int _proc_do_string(char *data, int maxlen, int write, in _proc_do_string() argument 157 if (write) { in _proc_do_string() 259 int proc_dostring(struct ctl_table *table, int write, in proc_dostring() argument 262 if (write) in proc_dostring() 265 return _proc_do_string(table->data, table->maxlen, write, buffer, lenp, in proc_dostring() 429 int write, void *data) in do_proc_dointvec_conv() argument 431 if (write) { in do_proc_dointvec_conv() 456 int write, void *data) in do_proc_douintvec_conv() argument 458 if (write) { in do_proc_douintvec_conv() 472 int write, void *buffer, in __do_proc_dointvec() argument [all …]
|
/linux-6.6.21/arch/loongarch/mm/ |
D | fault.c | 35 unsigned long write, unsigned long address) in no_context() argument 43 if (kfence_handle_page_fault(address, write, regs)) in no_context() 60 unsigned long write, unsigned long address) in do_out_of_memory() argument 67 no_context(regs, write, address); in do_out_of_memory() 74 unsigned long write, unsigned long address, int si_code) in do_sigbus() argument 78 no_context(regs, write, address); in do_sigbus() 92 unsigned long write, unsigned long address, int si_code) in do_sigsegv() argument 99 no_context(regs, write, address); in do_sigsegv() 105 if (!write) in do_sigsegv() 115 write ? "write access to" : "read access from", in do_sigsegv() [all …]
|
/linux-6.6.21/include/trace/events/ |
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), \ 54 TP_PROTO(struct mm_struct *mm, const char *memcg_path, bool write, 57 TP_ARGS(mm, memcg_path, write, success), 62 __field(bool, write) [all …]
|
/linux-6.6.21/Documentation/driver-api/md/ |
D | raid5-cache.rst | 7 caches data to the RAID disks. The cache can be in write-through (supported 8 since 4.4) or write-back mode (supported since 4.10). mdadm (supported since 9 3.4) has a new option '--write-journal' to create array with cache. Please 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 25 This mode mainly fixes the 'write hole' issue. For RAID 4/5/6 array, an unclean 27 and parity don't match. The reason is that a stripe write involves several RAID [all …]
|
/linux-6.6.21/scripts/gdb/linux/ |
D | vmalloc.py | 35 … gdb.write("0x%x-0x%x %10d vm_map_ram\n" % (vmap_area['va_start'], vmap_area['va_end'], 39 gdb.write("0x%x-0x%x %10d" % (v['addr'], v['addr'] + v['size'], v['size'])) 41 gdb.write(" %s" % str(v['caller']).split(' ')[-1]) 43 gdb.write(" pages=%d" % v['nr_pages']) 45 gdb.write(" phys=0x%x" % v['phys_addr']) 47 gdb.write(" ioremap") 49 gdb.write(" vmalloc") 51 gdb.write(" vmap") 53 gdb.write(" user") 55 gdb.write(" dma-coherent") [all …]
|
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") 127 …gdb.write("Page last allocated via order %d, gfp_mask: 0x%x, pid: %d, tgid: %d (%s), ts %u ns, fre… 131 gdb.write("PFN: %d, Flags: 0x%x\n" % (pfn, page['flags'])) 133 gdb.write('page_owner allocation stack trace missing\n') [all …]
|
D | proc.py | 32 gdb.write(gdb.parse_and_eval("saved_command_line").string() + "\n") 47 gdb.write(gdb.parse_and_eval("(char *)linux_banner").string()) 76 gdb.write(" " * depth * 2 + 172 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])) 256 gdb.write("off_dt_struct: 0x{:02X}\n".format(fdt_header[2])) 257 gdb.write("off_dt_strings: 0x{:02X}\n".format(fdt_header[3])) 258 gdb.write("off_mem_rsvmap: 0x{:02X}\n".format(fdt_header[4])) [all …]
|
/linux-6.6.21/tools/testing/selftests/bpf/ |
D | generate_udp_fragments.py | 33 f.write("// SPDX-License-Identifier: GPL-2.0\n") 34 f.write("/* DO NOT EDIT -- this file is generated */\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") 50 f.write(f"static uint8_t frag{suffix}_{idx}[] = {{\n") 52 f.write(f"\t{chunk},\n") [all …]
|
/linux-6.6.21/arch/s390/kernel/ |
D | module.c | 213 void *(*write)(void *dest, const void *src, size_t len)) in apply_rela_bits() 236 write(dest, &tmp, 1); in apply_rela_bits() 240 write(dest, &tmp, 2); in apply_rela_bits() 243 write(dest, &tmp, 2); in apply_rela_bits() 247 write(dest, &tmp, 4); in apply_rela_bits() 250 write(dest, &tmp, 4); in apply_rela_bits() 253 write(dest, &tmp, 8); in apply_rela_bits() 260 void *(*write)(void *dest, const void *src, size_t len)) in apply_rela() 288 rc = apply_rela_bits(loc, val, 0, 8, 0, write); in apply_rela() 290 rc = apply_rela_bits(loc, val, 0, 12, 0, write); in apply_rela() [all …]
|
/linux-6.6.21/drivers/iio/dac/ |
D | ad5446.c | 64 int (*write)(struct ad5446_state *st, unsigned val); member 131 ret = st->chip_info->write(st, val); in ad5446_write_dac_powerdown() 141 .write = ad5446_write_dac_powerdown, 209 ret = st->chip_info->write(st, val); in ad5446_write_raw() 351 .write = ad5446_write, 355 .write = ad5446_write, 359 .write = ad5446_write, 363 .write = ad5446_write, 367 .write = ad5446_write, 371 .write = ad5446_write, [all …]
|
/linux-6.6.21/drivers/rtc/ |
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() 358 rtc->write(rtc, RTC_CTRL_B, ctrlb); in ds1685_rtc_set_time() 359 rtc->write(rtc, RTC_SECS, seconds); in ds1685_rtc_set_time() 360 rtc->write(rtc, RTC_MINS, minutes); in ds1685_rtc_set_time() 361 rtc->write(rtc, RTC_HRS, hours); in ds1685_rtc_set_time() 362 rtc->write(rtc, RTC_WDAY, wday); in ds1685_rtc_set_time() 363 rtc->write(rtc, RTC_MDAY, mday); in ds1685_rtc_set_time() [all …]
|
D | rtc-bq4802.c | 27 void (*write)(struct bq4802 *, int, u8); member 60 p->write(p, 0xe, val | 0x08); in bq4802_read_time() 71 p->write(p, 0x0e, val); in bq4802_read_time() 120 p->write(p, 0x0e, val | 0x08); in bq4802_set_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() [all …]
|
/linux-6.6.21/drivers/crypto/inside-secure/ |
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() 87 if ((ring->write == ring->read - ring->offset) || in safexcel_ring_next_cwptr() 88 (ring->read == ring->base && ring->write == ring->base_end)) in safexcel_ring_next_cwptr() 91 if (ring->write == ring->base_end) { 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() 109 *rtoken = ring->write + ring->shoffset; in safexcel_ring_next_rwptr() [all …]
|
/linux-6.6.21/net/sctp/ |
D | sysctl.c | 46 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, 48 static int proc_sctp_do_rto_min(struct ctl_table *ctl, int write, 50 static int proc_sctp_do_rto_max(struct ctl_table *ctl, int write, void *buffer, 52 static int proc_sctp_do_udp_port(struct ctl_table *ctl, int write, void *buffer, 54 static int proc_sctp_do_alpha_beta(struct ctl_table *ctl, int write, 56 static int proc_sctp_do_auth(struct ctl_table *ctl, int write, 58 static int proc_sctp_do_probe_interval(struct ctl_table *ctl, int write, 391 static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, in proc_sctp_do_hmac_alg() argument 403 if (write) { in proc_sctp_do_hmac_alg() 411 ret = proc_dostring(&tbl, write, buffer, lenp, ppos); in proc_sctp_do_hmac_alg() [all …]
|
/linux-6.6.21/include/linux/ |
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-6.6.21/tools/perf/pmu-events/ |
D | jevents.py | 477 _args.output_file.write('};\n') 479 _args.output_file.write( 485 _args.output_file.write(event.to_c_string(metric=False)) 488 _args.output_file.write(f""" 495 _args.output_file.write(f"""{{ 501 _args.output_file.write('};\n\n') 532 _args.output_file.write('};\n') 534 _args.output_file.write( 540 _args.output_file.write(metric.to_c_string(metric=True)) 543 _args.output_file.write(f""" [all …]
|
/linux-6.6.21/drivers/net/ethernet/intel/igc/ |
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() 48 if (val != (test_pattern[pat] & write & mask)) { in reg_pattern_test() 51 reg, val, test_pattern[pat] & write & mask); 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() [all …]
|
/linux-6.6.21/scripts/ |
D | spdxcheck.py | 233 sys.stdout.write('%s: %d:%d %s: %s\n' %(fname, self.curline, col, pe.txt, tok)) 235 sys.stdout.write('%s: %d:0 %s\n' %(fname, self.curline, pe.txt)) 341 sys.stderr.write('stdin input "-" must be the only path argument\n') 357 sys.stderr.write('%s: %s\n' %(se.el.path, se.txt)) 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()) 373 sys.stderr.write('FAIL: Reading exclude file %s: %s\n' %(fname, ex)) 389 sys.stderr.write('path %s does not exist\n' %p) 403 sys.stderr.write('\n') [all …]
|
/linux-6.6.21/Documentation/ABI/testing/ |
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 56 of the write-back cache to a particular device. The value is 60 (read-write) 67 given percentage of the write-back cache. This is useful in 69 most of the write-back cache. For example in case of an NFS 73 (read-write) [all …]
|
/linux-6.6.21/drivers/comedi/drivers/ni_routing/tools/ |
D | convert_csv_to_c.py | 48 sys.stderr.write('Invalid register format: {}\n'.format(repr(value))) 49 sys.stderr.write( 259 f.write('\n'.join(s_chunks)) 260 f.write('\n') 263 f.write('# This is the segment that should be included in comedi/drivers/Makefile\n') 264 f.write('ni_routing-objs\t\t\t\t+= \\\n') 265 f.write('\n'.join(objs)) 266 f.write('\n') 270 f.write(self.extern_header.format( 285 f.write( self.to_listinit() ) [all …]
|
/linux-6.6.21/Documentation/scsi/ |
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-6.6.21/net/core/ |
D | sysctl_net_core.c | 94 static int rps_default_mask_sysctl(struct ctl_table *table, int write, in rps_default_mask_sysctl() argument 101 if (write) { in rps_default_mask_sysctl() 125 static int rps_sock_flow_sysctl(struct ctl_table *table, int write, in rps_sock_flow_sysctl() argument 144 ret = proc_dointvec(&tmp, write, buffer, lenp, ppos); in rps_sock_flow_sysctl() 146 if (write) { in rps_sock_flow_sysctl() 194 static int flow_limit_cpu_sysctl(struct ctl_table *table, int write, in flow_limit_cpu_sysctl() argument 205 if (write) { in flow_limit_cpu_sysctl() 251 static int flow_limit_table_len_sysctl(struct ctl_table *table, int write, in flow_limit_table_len_sysctl() argument 261 ret = proc_dointvec(table, write, buffer, lenp, ppos); in flow_limit_table_len_sysctl() 262 if (!ret && write && !is_power_of_2(*ptr)) { in flow_limit_table_len_sysctl() [all …]
|
/linux-6.6.21/arch/arm/mach-omap2/ |
D | vp.c | 26 voltdm->write(vpconfig, vp->vpconfig); in _vp_set_init_voltage() 29 voltdm->write((vpconfig | vp->common->vpconfig_initvdd), 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() 152 voltdm->write(vpconfig | vp->common->vpconfig_forceupdate, in omap_vp_forceupdate_scale() 185 voltdm->write(vpconfig, vp->vpconfig); in omap_vp_forceupdate_scale() [all …]
|