Home
last modified time | relevance | path

Searched refs:ordered (Results 1 – 25 of 163) sorted by relevance

1234567

/linux-6.12.1/fs/btrfs/
Dordered-data.c320 void btrfs_mark_ordered_extent_error(struct btrfs_ordered_extent *ordered) in btrfs_mark_ordered_extent_error() argument
322 if (!test_and_set_bit(BTRFS_ORDERED_IOERR, &ordered->flags)) in btrfs_mark_ordered_extent_error()
323 mapping_set_error(ordered->inode->vfs_inode.i_mapping, -EIO); in btrfs_mark_ordered_extent_error()
334 static bool can_finish_ordered_extent(struct btrfs_ordered_extent *ordered, in can_finish_ordered_extent() argument
338 struct btrfs_inode *inode = ordered->inode; in can_finish_ordered_extent()
360 if (WARN_ON_ONCE(len > ordered->bytes_left)) { in can_finish_ordered_extent()
364 ordered->file_offset, ordered->num_bytes, in can_finish_ordered_extent()
365 len, ordered->bytes_left); in can_finish_ordered_extent()
366 ordered->bytes_left = 0; in can_finish_ordered_extent()
368 ordered->bytes_left -= len; in can_finish_ordered_extent()
[all …]
Ddirect-io.c17 struct btrfs_ordered_extent *ordered; member
40 struct btrfs_ordered_extent *ordered; in lock_extent_direct() local
66 ordered = btrfs_lookup_ordered_range(BTRFS_I(inode), lockstart, in lock_extent_direct()
76 if (!ordered && in lock_extent_direct()
83 if (ordered) { in lock_extent_direct()
85 btrfs_put_ordered_extent(ordered); in lock_extent_direct()
105 test_bit(BTRFS_ORDERED_DIRECT, &ordered->flags)) in lock_extent_direct()
106 btrfs_start_ordered_extent(ordered); in lock_extent_direct()
109 btrfs_put_ordered_extent(ordered); in lock_extent_direct()
145 struct btrfs_ordered_extent *ordered; in btrfs_create_dio_extent() local
[all …]
Dordered-data.h165 void btrfs_finish_ordered_extent(struct btrfs_ordered_extent *ordered,
216 struct btrfs_ordered_extent *ordered, u64 len);
217 void btrfs_mark_ordered_extent_error(struct btrfs_ordered_extent *ordered);
Dzoned.c1774 static void btrfs_rewrite_logical_zoned(struct btrfs_ordered_extent *ordered, in btrfs_rewrite_logical_zoned() argument
1777 struct extent_map_tree *em_tree = &ordered->inode->extent_tree; in btrfs_rewrite_logical_zoned()
1780 ordered->disk_bytenr = logical; in btrfs_rewrite_logical_zoned()
1783 em = search_extent_mapping(em_tree, ordered->file_offset, in btrfs_rewrite_logical_zoned()
1784 ordered->num_bytes); in btrfs_rewrite_logical_zoned()
1792 static bool btrfs_zoned_split_ordered(struct btrfs_ordered_extent *ordered, in btrfs_zoned_split_ordered() argument
1797 if (!test_bit(BTRFS_ORDERED_NOCOW, &ordered->flags) && in btrfs_zoned_split_ordered()
1798 split_extent_map(ordered->inode, ordered->file_offset, in btrfs_zoned_split_ordered()
1799 ordered->num_bytes, len, logical)) in btrfs_zoned_split_ordered()
1802 new = btrfs_split_ordered_extent(ordered, len); in btrfs_zoned_split_ordered()
[all …]
Dcompression.c319 btrfs_finish_ordered_extent(cb->bbio.ordered, NULL, cb->start, cb->len, in btrfs_finish_compressed_write_work()
371 void btrfs_submit_compressed_write(struct btrfs_ordered_extent *ordered, in btrfs_submit_compressed_write() argument
377 struct btrfs_inode *inode = ordered->inode; in btrfs_submit_compressed_write()
381 ASSERT(IS_ALIGNED(ordered->file_offset, fs_info->sectorsize)); in btrfs_submit_compressed_write()
382 ASSERT(IS_ALIGNED(ordered->num_bytes, fs_info->sectorsize)); in btrfs_submit_compressed_write()
384 cb = alloc_compressed_bio(inode, ordered->file_offset, in btrfs_submit_compressed_write()
387 cb->start = ordered->file_offset; in btrfs_submit_compressed_write()
388 cb->len = ordered->num_bytes; in btrfs_submit_compressed_write()
390 cb->compressed_len = ordered->disk_num_bytes; in btrfs_submit_compressed_write()
394 cb->bbio.bio.bi_iter.bi_sector = ordered->disk_bytenr >> SECTOR_SHIFT; in btrfs_submit_compressed_write()
[all …]
Dinode.c1183 struct btrfs_ordered_extent *ordered; in submit_one_async_extent() local
1246 ordered = btrfs_alloc_ordered_extent(inode, start, &file_extent, in submit_one_async_extent()
1248 if (IS_ERR(ordered)) { in submit_one_async_extent()
1250 ret = PTR_ERR(ordered); in submit_one_async_extent()
1259 btrfs_submit_compressed_write(ordered, in submit_one_async_extent()
1421 struct btrfs_ordered_extent *ordered; in cow_file_range() local
1479 ordered = btrfs_alloc_ordered_extent(inode, start, &file_extent, in cow_file_range()
1481 if (IS_ERR(ordered)) { in cow_file_range()
1484 ret = PTR_ERR(ordered); in cow_file_range()
1489 ret = btrfs_reloc_clone_csums(ordered); in cow_file_range()
[all …]
Dbio.c90 refcount_inc(&orig_bbio->ordered->refs); in btrfs_split_bio()
91 bbio->ordered = orig_bbio->ordered; in btrfs_split_bio()
101 btrfs_put_ordered_extent(bbio->ordered); in btrfs_cleanup_bio()
108 struct btrfs_ordered_extent *ordered = bbio->ordered; in __btrfs_bio_end_io() local
111 btrfs_put_ordered_extent(ordered); in __btrfs_bio_end_io()
719 list_add_tail(&bioc->rst_ordered_entry, &bbio->ordered->bioc_list); in btrfs_submit_chunk()
/linux-6.12.1/Documentation/devicetree/bindings/scsi/
Dhisilicon-sas.txt22 sources; the interrupts are ordered in 3 groups, as follows:
30 The phy interrupts are ordered into groups of 3 per phy
34 The interrupts are ordered in increasing order.
35 Fatal interrupts : the fatal interrupts are ordered as follows:
39 the interrupts are ordered in 3 groups, as follows:
47 interrupt. The interrupts are ordered in increasing
50 interrupt source. The interrupts are ordered in
/linux-6.12.1/tools/lib/subcmd/
Dparse-options.c811 struct option *opt, *ordered = NULL, *group; in options__order() local
823 group = realloc(ordered, len); in options__order()
826 ordered = group; in options__order()
827 memcpy(&ordered[nr_parent], p, sizeof(*o) * (nr_opts - nr_parent)); in options__order()
832 memcpy(&ordered[nr_opts], o, sizeof(*o)); in options__order()
835 for (opt = group = ordered; opt->type != OPTION_END; opt++) { in options__order()
847 return ordered; in options__order()
885 struct option *ordered; in usage_with_options_internal() local
910 ordered = options__order(opts); in usage_with_options_internal()
911 if (ordered) in usage_with_options_internal()
[all …]
/linux-6.12.1/include/trace/events/
Dbtrfs.h501 const struct btrfs_ordered_extent *ordered),
503 TP_ARGS(inode, ordered),
521 __entry->file_offset = ordered->file_offset;
522 __entry->start = ordered->disk_bytenr;
523 __entry->len = ordered->num_bytes;
524 __entry->disk_len = ordered->disk_num_bytes;
525 __entry->bytes_left = ordered->bytes_left;
526 __entry->flags = ordered->flags;
527 __entry->compress_type = ordered->compress_type;
528 __entry->refs = refcount_read(&ordered->refs);
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/sound/
Dsprd-pcm.txt5 - dmas: Specify the list of DMA controller phandle and DMA request line ordered pairs.
7 These strings correspond 1:1 with the ordered pairs in dmas.
Dsirf-audio-port.txt6 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
8 These strings correspond 1:1 with the ordered pairs in dmas.
Dbrcm,bcm2835-i2s.txt7 - dmas: List of DMA controller phandle and DMA request line ordered pairs.
9 These strings correspond 1:1 with the ordered pairs in dmas.
/linux-6.12.1/Documentation/arch/riscv/
Duabi.rst26 ordered first by category, in canonical order, as listed above, then
31 extensions are listed, they will be ordered alphabetically.
35 extensions are listed, they will be ordered alphabetically.
39 ordered alphabetically.
/linux-6.12.1/Documentation/devicetree/bindings/
Ddts-coding-style.rst51 ordered by unit address in ascending order.
56 2. Nodes without unit addresses shall be ordered alpha-numerically by the node
57 name. For a few node types, they can be ordered by the main property, e.g.
58 pin configuration states ordered by value of "pins" property.
61 ordered either alpha-numerically or by keeping the order from DTSI, where
/linux-6.12.1/Documentation/core-api/
Drefcount-vs-atomic.rst67 then further stores are ordered against this operation.
123 * fully ordered --> control dependency on success for stores
139 * fully ordered --> RELEASE ordering + ACQUIRE ordering on success
152 * fully ordered --> RELEASE ordering + control dependency
167 * fully ordered --> RELEASE ordering + control dependency + hold
/linux-6.12.1/Documentation/
Datomic_t.txt156 atomic variable) can be fully ordered and no intermediate state is lost or
169 - RMW operations that have a return value are fully ordered;
183 Fully ordered primitives are ordered against everything prior and everything
184 subsequent. Therefore a fully ordered primitive is like having an smp_mb()
198 ordered, so it is advisable to place the barrier right next to the RMW atomic
203 provide full ordered atomics and these barriers are no-ops.
205 NOTE: when the atomic RmW ops are fully ordered, they should also imply a
Datomic_bitops.txt59 - RMW operations that have a return value are fully ordered.
61 - RMW operations that are conditional are fully ordered.
/linux-6.12.1/Documentation/admin-guide/perf/
Dnvidia-pmu.rst32 strongly-ordered (SO) PCIE write traffic to local/remote memory. Please see
62 In this config, the PMU captures read and relaxed ordered (RO) writes from
123 to local memory. For PCIE traffic, this PMU captures read and relaxed ordered
247 PCIE1 traffic represents strongly ordered (SO) writes.
248 PCIE2 traffic represents reads and relaxed ordered (RO) writes.
298 PCIE1 traffic represents strongly ordered (SO) writes.
299 PCIE2 traffic represents reads and relaxed ordered (RO) writes.
/linux-6.12.1/Documentation/litmus-tests/
DREADME18 the RMW are ordered before the subsequential memory accesses.
24 cmpxchg-fail-ordered-1.litmus
28 cmpxchg-fail-ordered-2.litmus
/linux-6.12.1/virt/kvm/
DKconfig22 # Only strongly ordered architectures can select this, as it doesn't
30 # Weakly ordered architectures can only select this, advertising
/linux-6.12.1/fs/xfs/
Dxfs_log_cil.c282 bool ordered = false; in xlog_cil_alloc_shadow_bufs() local
297 ordered = true; in xlog_cil_alloc_shadow_bufs()
347 if (ordered) in xlog_cil_alloc_shadow_bufs()
355 if (ordered) in xlog_cil_alloc_shadow_bufs()
463 bool ordered = false; in xlog_cil_insert_format_items() local
475 ordered = true; in xlog_cil_insert_format_items()
478 if (!shadow->lv_niovecs && !ordered) in xlog_cil_insert_format_items()
487 if (ordered) in xlog_cil_insert_format_items()
508 if (ordered) { in xlog_cil_insert_format_items()
/linux-6.12.1/tools/memory-model/litmus-tests/
DCoWW+poonceonce.litmus7 * writes to the same variable are ordered.
/linux-6.12.1/tools/perf/Documentation/
Dperf.txt60 ordered-events - ordered events object debug messages
/linux-6.12.1/Documentation/ABI/testing/
Dsysfs-driver-input-cros-ec-keyb5 ordered by the physical positions of the keys, from left

1234567