/linux-master/tools/perf/scripts/perl/ |
H A D | rw-by-file.pl | 26 my %writes; 45 $writes{$fd}{bytes_written} += $count; 46 $writes{$fd}{total_writes}++; 66 printf("%6s %10s %10s\n", "fd", "# writes", "bytes_written"); 69 foreach my $fd (sort {$writes{$b}{bytes_written} <=> 70 $writes{$a}{bytes_written}} keys %writes) { 71 my $total_writes = $writes{$fd}{total_writes}; 72 my $bytes_written = $writes{$fd}{bytes_written};
|
H A D | rw-by-pid.pl | 22 my %writes; 58 $writes{$common_pid}{errors}{$ret}++; 68 $writes{$common_pid}{bytes_written} += $count; 69 $writes{$common_pid}{total_writes}++; 70 $writes{$common_pid}{comm} = $common_comm; 119 "# writes", "bytes_written"); 123 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=> 124 ($writes{$a}{bytes_written} || 0)} keys %writes) { 125 my $comm = $writes{ [all...] |
H A D | rwtop.pl | 28 my %writes; 75 $writes{$common_pid}{errors}{$ret}++; 87 $writes{$common_pid}{bytes_written} += $count; 88 $writes{$common_pid}{total_writes}++; 89 $writes{$common_pid}{comm} = $common_comm; 156 "# writes", "bytes_written"); 160 foreach my $pid (sort { ($writes{$b}{bytes_written} || 0) <=> 161 ($writes{$a}{bytes_written} || 0)} keys %writes) { 162 my $comm = $writes{ [all...] |
/linux-master/arch/riscv/include/asm/ |
H A D | io.h | 48 * writes. 108 __io_writes_outs(writes, u8, b, __io_bw(), __io_aw()) 109 __io_writes_outs(writes, u16, w, __io_bw(), __io_aw()) 110 __io_writes_outs(writes, u32, l, __io_bw(), __io_aw()) 129 __io_writes_outs(writes, u64, q, __io_bw(), __io_aw())
|
/linux-master/fs/bcachefs/ |
H A D | alloc_types.h | 114 struct list_head writes; member in struct:write_point::__anon169
|
H A D | bcachefs.h | 140 * metadata. If it once contained dirty data, other writes might overwrite it 155 * order metadata writes so that the btree and everything else is consistent on 164 * nodes in the btree, and those writes will be mostly empty (appending at most 165 * a few keys each) - highly inefficient in terms of amount of metadata writes, 751 /* Counts outstanding writes, for clean transition to read-only */ 753 atomic_long_t writes[BCH_WRITE_REF_NR]; member in struct:bch_fs 755 struct percpu_ref writes; member in struct:bch_fs 758 * Analagous to c->writes, for asynchronous ops that don't necessarily 1140 atomic_long_inc(&c->writes[ref]); 1142 percpu_ref_get(&c->writes); [all...] |
H A D | btree_types.h | 104 struct btree_write writes[2]; member in struct:btree 542 return b->writes + btree_node_write_idx(b); 547 return b->writes + (btree_node_write_idx(b) ^ 1);
|
H A D | debug.c | 521 prt_printf(out, "writes blocked:"); 531 prt_printf(out, "journal pin %px:", &b->writes[0].journal); 533 prt_printf(out, "%llu", b->writes[0].journal.seq); 536 prt_printf(out, "journal pin %px:", &b->writes[1].journal); 538 prt_printf(out, "%llu", b->writes[1].journal.seq);
|
H A D | super.c | 246 * - foreground writes depend on copygc and rebalance (to free up space) 306 static void bch2_writes_disabled(struct percpu_ref *writes) argument 308 struct bch_fs *c = container_of(writes, struct bch_fs, writes); 328 * writes will return -EROFS: 332 percpu_ref_kill(&c->writes); 340 * outstanding writes to complete so they don't see spurious errors due 343 * If we are doing an emergency shutdown outstanding writes may 345 * on outstanding writes before shutting everything down - but 355 bch_verbose(c, "finished waiting for writes t [all...] |
/linux-master/drivers/md/bcache/ |
H A D | btree.h | 72 * This is handy because btree_split() and garbage collection can issue writes 108 /* If btree_split() frees a btree node, it writes a new pointer to that 137 /* For outstanding btree writes, used as a lock - protects write_idx */ 144 struct btree_write writes[2]; member in struct:btree 172 return b->writes + btree_node_write_idx(b); 177 return b->writes + (btree_node_write_idx(b) ^ 1);
|
H A D | btree.c | 367 * flush, and writes appending to leaf nodes aren't blocking anything so 368 * just make all btree node writes FUA to keep things sane. 1609 struct closure *writes, struct gc_stat *gc) 1652 ret = btree_gc_recurse(last->b, op, writes, gc); 1665 bch_btree_node_write(last->b, writes); 1690 bch_btree_node_write(i->b, writes); 1699 struct closure *writes, struct gc_stat *gc) 1723 ret = btree_gc_recurse(b, op, writes, gc); 1827 struct closure writes; local 1834 closure_init_stack(&writes); 1608 btree_gc_recurse(struct btree *b, struct btree_op *op, struct closure *writes, struct gc_stat *gc) argument 1698 bch_btree_gc_root(struct btree *b, struct btree_op *op, struct closure *writes, struct gc_stat *gc) argument [all...] |
/linux-master/drivers/md/ |
H A D | dm-raid1.c | 66 struct bio_list writes; member in struct:mirror_set 132 bl = (rw == WRITE) ? &ms->writes : &ms->reads; 618 * This way we handle both writes to SYNC and NOSYNC 687 static void do_writes(struct mirror_set *ms, struct bio_list *writes) argument 696 if (!writes->head) 707 while ((bio = bio_list_pop(writes))) { 747 bio_list_merge(&ms->writes, &requeue); 754 * be written to (writes to recover regions are going to 803 * If the log has failed, unattempted writes are being 804 * put on the holds list. We can't issue those writes 864 struct bio_list reads, writes, failures; local [all...] |
H A D | Makefile | 77 obj-$(CONFIG_DM_LOG_WRITES) += dm-log-writes.o
|
H A D | dm-writecache.c | 210 unsigned long long writes; member in struct:dm_writecache::__anon768 1228 * advantage seen with cache-allocating-writes plus flushing. 1425 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; 1445 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; 1474 wc->stats.writes += bio->bi_iter.bi_size >> wc->block_size_bits; 1488 wc->stats.writes++; 2695 wc->stats.writes,
|
/linux-master/tools/testing/selftests/resctrl/ |
H A D | resctrl_val.c | 298 * @bw_report: Bandwidth report type (reads, writes) 307 float reads, writes, of_mul_read, of_mul_write; local 311 reads = 0, writes = 0, of_mul_read = 1, of_mul_write = 1; 368 writes += w->return_value.value * of_mul_write * SCALE; 381 if (strcmp(bw_report, "writes") == 0) { 382 *bw_imc = writes; 386 *bw_imc = reads + writes; 647 * Direct stdio of child to /dev/null, so that only parent writes to
|
/linux-master/drivers/scsi/arm/ |
H A D | acornscsi.h | 306 unsigned int writes; member in struct:acornscsi_hostdata::__anon593
|
H A D | fas216.h | 259 unsigned int writes; member in struct:__anon2634::__anon2636
|
/linux-master/lib/ |
H A D | logic_pio.c | 287 writes##bwl(PCI_IOBASE + addr, buffer, count); \
|
/linux-master/drivers/block/drbd/ |
H A D | drbd_req.c | 752 /* for superseded conflicting writes of multiple primaries, 1021 /* start a new epoch for non-mirrored writes */ 1113 /* Need to replicate writes. Unless it is an empty flush, 1187 list_add_tail(&req->tl_requests, &device->submit.writes); 1251 * We don't want to allow writes on C_STANDALONE D_INCONSISTENT: 1520 list_splice_tail_init(&device->submit.writes, &incoming); 1560 list_splice_tail_init(&device->submit.writes, &incoming); 1588 if (list_empty(&device->submit.writes)) 1592 list_splice_tail_init(&device->submit.writes, &more_incoming);
|
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_trace.h | 79 __field(uint32_t, writes) 87 __entry->writes = write_count; 95 TP_printk("%s:%d reads=%08ld (%08ld total), writes=%08ld (%08ld total)", 100 (unsigned long)__entry->writes)
|
/linux-master/drivers/net/phy/ |
H A D | mdio_bus.c | 294 MDIO_BUS_STATS_ATTR(writes); variable 314 MDIO_BUS_STATS_ADDR_ATTR(writes, addr); \ 870 u64_stats_inc(&stats->writes);
|
/linux-master/fs/orangefs/ |
H A D | file.c | 107 * When writes are flowing from the page cache, file is no 191 * between buffer writes, that would not be 364 orangefs_stats.writes++;
|
H A D | orangefs-kernel.h | 216 unsigned long writes; member in struct:orangefs_stats
|
/linux-master/arch/sh/include/asm/ |
H A D | io.h | 92 pfx##writes##bwlq(volatile void __iomem *mem, const void *addr, \
|
/linux-master/arch/mips/include/asm/ |
H A D | io.h | 394 static inline void writes##bwlq(volatile void __iomem *mem, \
|