Home
last modified time | relevance | path

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

123456

/kernel/linux/linux-5.10/fs/btrfs/
Dordered-data.c543 struct btrfs_ordered_extent *ordered; in btrfs_run_ordered_extent_work() local
545 ordered = container_of(work, struct btrfs_ordered_extent, flush_work); in btrfs_run_ordered_extent_work()
546 btrfs_start_ordered_extent(ordered, 1); in btrfs_run_ordered_extent_work()
547 complete(&ordered->completion); in btrfs_run_ordered_extent_work()
561 struct btrfs_ordered_extent *ordered, *next; in btrfs_wait_ordered_extents() local
569 ordered = list_first_entry(&splice, struct btrfs_ordered_extent, in btrfs_wait_ordered_extents()
572 if (range_end <= ordered->disk_bytenr || in btrfs_wait_ordered_extents()
573 ordered->disk_bytenr + ordered->disk_num_bytes <= range_start) { in btrfs_wait_ordered_extents()
574 list_move_tail(&ordered->root_extent_list, &skipped); in btrfs_wait_ordered_extents()
579 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()
Dfile-item.c531 struct btrfs_ordered_extent *ordered = NULL; in btrfs_csum_one_bio() local
569 if (!ordered) { in btrfs_csum_one_bio()
570 ordered = btrfs_lookup_ordered_extent(inode, offset); in btrfs_csum_one_bio()
575 if (unlikely(!ordered)) { in btrfs_csum_one_bio()
590 if (offset >= ordered->file_offset + ordered->num_bytes || in btrfs_csum_one_bio()
591 offset < ordered->file_offset) { in btrfs_csum_one_bio()
596 btrfs_add_ordered_sum(ordered, sums); in btrfs_csum_one_bio()
597 btrfs_put_ordered_extent(ordered); in btrfs_csum_one_bio()
607 ordered = btrfs_lookup_ordered_extent(inode, in btrfs_csum_one_bio()
609 ASSERT(ordered); /* Logic error */ in btrfs_csum_one_bio()
[all …]
Dfile.c1421 struct btrfs_ordered_extent *ordered; in lock_and_cleanup_extent_if_need() local
1425 ordered = btrfs_lookup_ordered_range(inode, start_pos, in lock_and_cleanup_extent_if_need()
1427 if (ordered && in lock_and_cleanup_extent_if_need()
1428 ordered->file_offset + ordered->num_bytes > start_pos && in lock_and_cleanup_extent_if_need()
1429 ordered->file_offset <= last_pos) { in lock_and_cleanup_extent_if_need()
1436 btrfs_start_ordered_extent(ordered, 1); in lock_and_cleanup_extent_if_need()
1437 btrfs_put_ordered_extent(ordered); in lock_and_cleanup_extent_if_need()
1440 if (ordered) in lock_and_cleanup_extent_if_need()
1441 btrfs_put_ordered_extent(ordered); in lock_and_cleanup_extent_if_need()
1491 struct btrfs_ordered_extent *ordered; in check_can_nocow() local
[all …]
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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.
Dsirf-usp.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.
Ddavinci-mcbsp.txt20 TC channel ordered triplets.
22 These strings correspond 1:1 with the ordered pairs in dmas. The dma
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_log_cil.c135 bool ordered = false; in xlog_cil_alloc_shadow_bufs() local
150 ordered = true; in xlog_cil_alloc_shadow_bufs()
193 if (ordered) in xlog_cil_alloc_shadow_bufs()
201 if (ordered) in xlog_cil_alloc_shadow_bufs()
317 bool ordered = false; in xlog_cil_insert_format_items() local
329 ordered = true; in xlog_cil_insert_format_items()
332 if (!shadow->lv_niovecs && !ordered) in xlog_cil_insert_format_items()
342 if (ordered) in xlog_cil_insert_format_items()
364 if (ordered) { in xlog_cil_insert_format_items()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/tools/perf/Documentation/
Dperf.txt60 ordered-events - ordered events object debug messages
/kernel/linux/linux-5.10/include/trace/events/
Dbtrfs.h515 const struct btrfs_ordered_extent *ordered),
517 TP_ARGS(inode, ordered),
535 __entry->file_offset = ordered->file_offset;
536 __entry->start = ordered->disk_bytenr;
537 __entry->len = ordered->num_bytes;
538 __entry->disk_len = ordered->disk_num_bytes;
539 __entry->bytes_left = ordered->bytes_left;
540 __entry->flags = ordered->flags;
541 __entry->compress_type = ordered->compress_type;
542 __entry->refs = refcount_read(&ordered->refs);
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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.
DCoWR+poonceonce+Once.litmus7 * given variable and a later read from that same variable are ordered.
DCoRW+poonceonce+Once.litmus7 * a given variable and a later write to 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
DR+fencembonceonces.litmus6 * This is the fully ordered (via smp_mb()) version of one of the classic
DMP+polockonce+poacquiresilsil.litmus7 * to sense the lock-held state, ordered by acquire? Note that when the
/kernel/linux/linux-5.10/Documentation/litmus-tests/atomic/
DAtomic-RMW+mb__after_atomic-is-stronger-than-acquire.litmus8 * the RMW are ordered before the subsequential memory accesses.

123456