Home
last modified time | relevance | path

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

123456

/Linux-v5.15/fs/btrfs/
Dordered-data.c614 struct btrfs_ordered_extent *ordered; in btrfs_run_ordered_extent_work() local
616 ordered = container_of(work, struct btrfs_ordered_extent, flush_work); in btrfs_run_ordered_extent_work()
617 btrfs_start_ordered_extent(ordered, 1); in btrfs_run_ordered_extent_work()
618 complete(&ordered->completion); in btrfs_run_ordered_extent_work()
632 struct btrfs_ordered_extent *ordered, *next; in btrfs_wait_ordered_extents() local
640 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
643 if (range_end <= ordered->disk_bytenr || in btrfs_wait_ordered_extents()
644 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents()
645 list_move_tail(&ordered->root_extent_list, &skipped); in btrfs_wait_ordered_extents()
650 list_move_tail(&ordered->root_extent_list, in btrfs_wait_ordered_extents()
[all …]
Dtree-log.h40 struct btrfs_ordered_extent *ordered; in btrfs_release_log_ctx_extents() local
45 list_for_each_entry_safe(ordered, tmp, &ctx->ordered_extents, log_list) { in btrfs_release_log_ctx_extents()
46 list_del_init(&ordered->log_list); in btrfs_release_log_ctx_extents()
47 btrfs_put_ordered_extent(ordered); in btrfs_release_log_ctx_extents()
Dzoned.c1321 struct btrfs_ordered_extent *ordered; in btrfs_record_physical_zoned() local
1327 ordered = btrfs_lookup_ordered_extent(BTRFS_I(inode), file_offset); in btrfs_record_physical_zoned()
1328 if (WARN_ON(!ordered)) in btrfs_record_physical_zoned()
1331 ordered->physical = physical; in btrfs_record_physical_zoned()
1332 ordered->bdev = bio->bi_bdev; in btrfs_record_physical_zoned()
1334 btrfs_put_ordered_extent(ordered); in btrfs_record_physical_zoned()
1337 void btrfs_rewrite_logical_zoned(struct btrfs_ordered_extent *ordered) in btrfs_rewrite_logical_zoned() argument
1339 struct btrfs_inode *inode = BTRFS_I(ordered->inode); in btrfs_rewrite_logical_zoned()
1344 u64 orig_logical = ordered->disk_bytenr; in btrfs_rewrite_logical_zoned()
1349 ASSERT(!bdev_is_partition(ordered->bdev)); in btrfs_rewrite_logical_zoned()
[all …]
Dfile-item.c629 struct btrfs_ordered_extent *ordered = NULL; in btrfs_csum_one_bio() local
666 if (!ordered) { in btrfs_csum_one_bio()
667 ordered = btrfs_lookup_ordered_extent(inode, offset); in btrfs_csum_one_bio()
672 if (unlikely(!ordered)) { in btrfs_csum_one_bio()
687 if (offset >= ordered->file_offset + ordered->num_bytes || in btrfs_csum_one_bio()
688 offset < ordered->file_offset) { in btrfs_csum_one_bio()
693 btrfs_add_ordered_sum(ordered, sums); in btrfs_csum_one_bio()
694 btrfs_put_ordered_extent(ordered); in btrfs_csum_one_bio()
704 ordered = btrfs_lookup_ordered_extent(inode, in btrfs_csum_one_bio()
706 ASSERT(ordered); /* Logic error */ in btrfs_csum_one_bio()
[all …]
Dfile.c1447 struct btrfs_ordered_extent *ordered; in lock_and_cleanup_extent_if_need() local
1451 ordered = btrfs_lookup_ordered_range(inode, start_pos, in lock_and_cleanup_extent_if_need()
1453 if (ordered && in lock_and_cleanup_extent_if_need()
1454 ordered->file_offset + ordered->num_bytes > start_pos && in lock_and_cleanup_extent_if_need()
1455 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
1462 btrfs_start_ordered_extent(ordered, 1); in lock_and_cleanup_extent_if_need()
1463 btrfs_put_ordered_extent(ordered); in lock_and_cleanup_extent_if_need()
1466 if (ordered) in lock_and_cleanup_extent_if_need()
1467 btrfs_put_ordered_extent(ordered); in lock_and_cleanup_extent_if_need()
1505 struct btrfs_ordered_extent *ordered; in check_can_nocow() local
[all …]
Dinode.c2411 struct btrfs_ordered_extent *ordered; in extract_ordered_extent() local
2420 ordered = btrfs_lookup_ordered_extent(inode, file_offset); in extract_ordered_extent()
2421 if (WARN_ON_ONCE(!ordered)) in extract_ordered_extent()
2425 if (ordered->disk_num_bytes == len) in extract_ordered_extent()
2429 if (WARN_ON_ONCE(ordered->bytes_left != ordered->disk_num_bytes)) { in extract_ordered_extent()
2435 if (WARN_ON_ONCE(ordered->disk_num_bytes != ordered->num_bytes)) { in extract_ordered_extent()
2440 ordered_end = ordered->disk_bytenr + ordered->disk_num_bytes; in extract_ordered_extent()
2442 if (WARN_ON_ONCE(start < ordered->disk_bytenr || end > ordered_end)) { in extract_ordered_extent()
2448 if (WARN_ON_ONCE(!list_empty(&ordered->list))) { in extract_ordered_extent()
2453 file_len = ordered->num_bytes; in extract_ordered_extent()
[all …]
/Linux-v5.15/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-v5.15/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.
Ddavinci-mcbsp.txt20 TC channel ordered triplets.
22 These strings correspond 1:1 with the ordered pairs in dmas. The dma
/Linux-v5.15/tools/lib/subcmd/
Dparse-options.c811 struct option *ordered; in options__order() local
817 ordered = malloc(len); in options__order()
818 if (!ordered) in options__order()
820 memcpy(ordered, opts, len); in options__order()
822 qsort(ordered, nr_opts, sizeof(*o), option__cmp); in options__order()
824 return ordered; in options__order()
862 struct option *ordered; in usage_with_options_internal() local
887 ordered = options__order(opts); in usage_with_options_internal()
888 if (ordered) in usage_with_options_internal()
889 opts = ordered; in usage_with_options_internal()
[all …]
/Linux-v5.15/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-v5.15/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
/Linux-v5.15/fs/xfs/
Dxfs_log_cil.c163 bool ordered = false; in xlog_cil_alloc_shadow_bufs() local
178 ordered = true; in xlog_cil_alloc_shadow_bufs()
229 if (ordered) in xlog_cil_alloc_shadow_bufs()
237 if (ordered) in xlog_cil_alloc_shadow_bufs()
353 bool ordered = false; in xlog_cil_insert_format_items() local
365 ordered = true; in xlog_cil_insert_format_items()
368 if (!shadow->lv_niovecs && !ordered) in xlog_cil_insert_format_items()
378 if (ordered) in xlog_cil_insert_format_items()
400 if (ordered) { in xlog_cil_insert_format_items()
/Linux-v5.15/include/trace/events/
Dbtrfs.h517 const struct btrfs_ordered_extent *ordered),
519 TP_ARGS(inode, ordered),
537 __entry->file_offset = ordered->file_offset;
538 __entry->start = ordered->disk_bytenr;
539 __entry->len = ordered->num_bytes;
540 __entry->disk_len = ordered->disk_num_bytes;
541 __entry->bytes_left = ordered->bytes_left;
542 __entry->flags = ordered->flags;
543 __entry->compress_type = ordered->compress_type;
544 __entry->refs = refcount_read(&ordered->refs);
[all …]
/Linux-v5.15/fs/xfs/libxfs/
Dxfs_defer.c246 unsigned int ordered = 0; /* bitmap */ in xfs_defer_trans_roll() local
251 BUILD_BUG_ON(NBBY * sizeof(ordered) < XFS_DEFER_OPS_NR_BUFS); in xfs_defer_trans_roll()
264 ordered |= (1U << bpcount); in xfs_defer_trans_roll()
307 if (ordered & (1U << i)) in xfs_defer_trans_roll()
/Linux-v5.15/tools/perf/Documentation/
Dperf.txt60 ordered-events - ordered events object debug messages
/Linux-v5.15/tools/memory-model/litmus-tests/
DCoWW+poonceonce.litmus7 * writes to the same variable are ordered.
DCoRR+poonceonce+Once.litmus7 * reads from the same variable are ordered.
DCoRW+poonceonce+Once.litmus7 * a given variable and a later write to that same variable are ordered.
DCoWR+poonceonce+Once.litmus7 * given variable and a later read from that same variable are ordered.
DREADME7 successive reads from the same variable are ordered.
12 are ordered.
17 are ordered.
21 successive writes to the same variable are ordered.
101 This is the fully ordered (via smp_mb()) version of one of
109 This is the fully ordered (again, via smp_mb() version of store
/Linux-v5.15/Documentation/ABI/testing/
Dsysfs-driver-input-cros-ec-keyb5 ordered by the physical positions of the keys, from left
/Linux-v5.15/Documentation/litmus-tests/atomic/
DAtomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus8 * the RMW are ordered before the subsequential memory accesses.

123456