Home
last modified time | relevance | path

Searched full:intent (Results 1 – 25 of 371) sorted by relevance

12345678910>>...15

/kernel/linux/linux-5.10/drivers/rpmsg/
Dqcom_glink_native.c56 * struct glink_core_rx_intent - RX intent
57 * RX intent
60 * @id: remote or local intent ID
61 * @size: size of the original intent (do not modify)
62 * @reuse: To mark if the intent can be reused after first use
63 * @in_use: To mark if intent is already in use for the channel
94 * @intentless: flag to indicate that there is no intent
150 * @intent_req_lock: Synchronises multiple intent requests
151 * @intent_req_result: Result of intent request
248 struct glink_core_rx_intent *intent; in qcom_glink_channel_release() local
[all …]
/kernel/linux/linux-6.6/drivers/rpmsg/
Dqcom_glink_native.c56 * struct glink_core_rx_intent - RX intent
57 * RX intent
60 * @id: remote or local intent ID
61 * @size: size of the original intent (do not modify)
62 * @reuse: To mark if the intent can be reused after first use
63 * @in_use: To mark if intent is already in use for the channel
91 * @intentless: flag to indicate that there is no intent
147 * @intent_req_lock: Synchronises multiple intent requests
148 * @intent_req_result: Result of intent request
149 * @intent_received: flag indicating that an intent has been received
[all …]
/kernel/linux/linux-5.10/fs/xfs/libxfs/
Dxfs_defer.c39 * requires us to log "intent" items in case log recovery needs to
45 * have not yet had an intent logged) are attached to a pending item
55 * - Create a log intent item for that type.
69 * log intent item.
70 * - For each work item attached to the log intent item,
78 * The key here is that we must log an intent item for all pending
81 * we can perform complex remapping operations, chaining intent items
93 * item to prevent the log intent item from replaying, immediately log
94 * a new log intent item with the unfinished work items, roll the
96 * log done item and the new log intent item must be in the same
[all …]
Dxfs_log_recover.h45 * If the recovered item is an intent item, this function should parse
46 * the recovered item to construct an in-core log intent item and
47 * insert it into the AIL. The in-core log intent item should have 1
49 * recovered log item for the intent-done item; (b) replay the work and
50 * log a new intent-done item; or (c) recovery fails and we have to
53 * If the recovered item is an intent-done item, this function should
54 * parse the recovered item to find the id of the corresponding intent
55 * log item. Next, it should find the in-core log intent item in the
Dxfs_defer.h26 * Save a log intent item and a list of extents, so that we can replay
33 struct xfs_log_item *dfp_intent; /* log intent item */
50 void (*abort_intent)(struct xfs_log_item *intent);
52 struct xfs_log_item *intent, unsigned int count);
/kernel/linux/linux-6.6/fs/xfs/libxfs/
Dxfs_defer.c49 * requires us to log "intent" items in case log recovery needs to
55 * have not yet had an intent logged) are attached to a pending item
65 * - Create a log intent item for that type.
79 * log intent item.
80 * - For each work item attached to the log intent item,
88 * The key here is that we must log an intent item for all pending
91 * we can perform complex remapping operations, chaining intent items
103 * item to prevent the log intent item from replaying, immediately log
104 * a new log intent item with the unfinished work items, roll the
106 * log done item and the new log intent item must be in the same
[all …]
Dxfs_log_recover.h45 * If the recovered item is an intent item, this function should parse
46 * the recovered item to construct an in-core log intent item and
47 * insert it into the AIL. The in-core log intent item should have 1
49 * recovered log item for the intent-done item; (b) replay the work and
50 * log a new intent-done item; or (c) recovery fails and we have to
53 * If the recovered item is an intent-done item, this function should
54 * parse the recovered item to find the id of the corresponding intent
55 * log item. Next, it should find the in-core log intent item in the
136 * intent item.
138 * Intent recovery only runs a single step of the transaction chain and defers
[all …]
Dxfs_defer.h27 * Save a log intent item and a list of extents, so that we can replay
34 struct xfs_log_item *dfp_intent; /* log intent item */
51 void (*abort_intent)(struct xfs_log_item *intent);
53 struct xfs_log_item *intent, unsigned int count);
/kernel/linux/linux-6.6/fs/xfs/
Dxfs_drain.h32 * Deferred Work Intent Drains
35 * When a writer thread executes a chain of log intent items, the AG header
36 * buffer locks will cycle during a transaction roll to get from one intent
47 * scrub wait until it has both AG header buffer locks and the intent counter
49 * AGI or AGF buffers when decrementing the intent counter.
56 * sub-items (such as RUIs) must bump the intent counter and maintain it until
57 * the sub-items can themselves bump the intent counter.
59 * Therefore, the intent count tracks entire lifetimes of deferred work items.
60 * All functions that create work items must increment the intent counter as
Dxfs_drain.c54 /* Increase the pending intent count. */
70 /* Decrease the pending intent count, and wake any waiters, if appropriate. */
86 * Wait for the pending intent count for a drain to hit zero.
97 * Get a passive reference to an AG and declare an intent to update its
116 * Release our intent to update this AG's metadata, and then release our
128 * Declare an intent to update AG metadata. Other threads that need exclusive
139 /* Release our intent to update this AG's metadata. */
149 * Wait for the intent update count for this AG to hit zero.
160 /* Has anyone declared an intent to update this AG? */
Dxfs_bmap_item.c307 /* Log bmap updates in the intent item. */
361 struct xfs_log_item *intent, in xfs_bmap_update_create_done() argument
364 return &xfs_trans_get_bud(tp, BUI_ITEM(intent))->bud_item; in xfs_bmap_update_create_done()
378 * Bump the intent count on behalf of the deferred rmap and refcount in xfs_bmap_update_get_group()
379 * intent items that that we can queue when we finish this bmap work. in xfs_bmap_update_get_group()
380 * This new intent item will bump the intent count before the bmap in xfs_bmap_update_get_group()
381 * intent drops the intent count, ensuring that the intent count in xfs_bmap_update_get_group()
422 struct xfs_log_item *intent) in xfs_bmap_update_abort_intent() argument
424 xfs_bui_release(BUI_ITEM(intent)); in xfs_bmap_update_abort_intent()
484 * Process a bmap update intent item that was recovered from the log.
[all …]
Dxfs_attr_item.c48 * attribute log intent items for a single xattr update. To avoid cycling the
314 * Performs one step of an attribute update intent and marks the attrd item
353 * attr intent/done items are null when logged attributes are disabled in xfs_xattri_finish_update()
361 /* Log an attr to the intent item. */
375 * created the log intent. Fill in the attri log item and log format in xfs_attr_log_item()
480 struct xfs_log_item *intent) in xfs_attr_abort_intent() argument
482 xfs_attri_release(ATTRI_ITEM(intent)); in xfs_attr_abort_intent()
550 * Process an attr intent item that was recovered from the log. We need to
649 * There's more work to do, so add the intent item to this in xfs_attri_item_recover()
675 /* Re-log an intent item to push the log tail forward. */
[all …]
Dxfs_refcount_item.h12 * update intent) and CUD (refcount update done). The redo item type
21 * recovery will use the redo information recorded by the intent items
36 * This is the "refcount update intent" log item. It is used to log
Dxfs_bmap_item.h11 * The common abbreviations for these are BUI (bmap update intent) and BUD
21 * use the redo information recorded by the intent items to replay the
36 * This is the "bmap update intent" log item. It is used to log the fact that
Dxfs_refcount_item.c311 /* Log refcount updates in the intent item. */
362 struct xfs_log_item *intent, in xfs_refcount_update_create_done() argument
365 return &xfs_trans_get_cud(tp, CUI_ITEM(intent))->cud_item; in xfs_refcount_update_create_done()
418 struct xfs_log_item *intent) in xfs_refcount_update_abort_intent() argument
420 xfs_cui_release(CUI_ITEM(intent)); in xfs_refcount_update_abort_intent()
472 * Process a refcount update intent item that was recovered from the log.
613 /* Relog an intent item to push the log tail forward. */
616 struct xfs_log_item *intent, in xfs_cui_item_relog() argument
624 count = CUI_ITEM(intent)->cui_format.cui_nextents; in xfs_cui_item_relog()
625 pmap = CUI_ITEM(intent)->cui_format.cui_extents; in xfs_cui_item_relog()
[all …]
Dxfs_rmap_item.c333 /* Log rmap updates in the intent item. */
387 struct xfs_log_item *intent, in xfs_rmap_update_create_done() argument
390 return &xfs_trans_get_rud(tp, RUI_ITEM(intent))->rud_item; in xfs_rmap_update_create_done()
437 struct xfs_log_item *intent) in xfs_rmap_update_abort_intent() argument
439 xfs_rui_release(RUI_ITEM(intent)); in xfs_rmap_update_abort_intent()
502 * Process an rmap update intent item that was recovered from the log.
620 /* Relog an intent item to push the log tail forward. */
623 struct xfs_log_item *intent, in xfs_rui_item_relog() argument
631 count = RUI_ITEM(intent)->rui_format.rui_nextents; in xfs_rui_item_relog()
632 map = RUI_ITEM(intent)->rui_format.rui_extents; in xfs_rui_item_relog()
[all …]
/kernel/linux/linux-6.6/include/uapi/linux/
Dmembarrier.h57 * registration is about the intent to receive
62 * Register the process intent to receive
82 * intent to use the private expedited command
86 * Register the process intent to use
108 * intent to use the private expedited sync
112 * Register the process intent to use
128 * intent to use the private expedited rseq
132 * Register the process intent to use
/kernel/linux/linux-5.10/include/uapi/linux/
Dmembarrier.h57 * registration is about the intent to receive
62 * Register the process intent to receive
82 * intent to use the private expedited command
86 * Register the process intent to use
108 * intent to use the private expedited sync
112 * Register the process intent to use
128 * intent to use the private expedited rseq
132 * Register the process intent to use
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_refcount_item.c304 /* Log refcount updates in the intent item. */
355 struct xfs_log_item *intent, in xfs_refcount_update_create_done() argument
358 return &xfs_trans_get_cud(tp, CUI_ITEM(intent))->cud_item; in xfs_refcount_update_create_done()
394 struct xfs_log_item *intent) in xfs_refcount_update_abort_intent() argument
396 xfs_cui_release(CUI_ITEM(intent)); in xfs_refcount_update_abort_intent()
421 * Process a refcount update intent item that was recovered from the log.
563 /* Relog an intent item to push the log tail forward. */
566 struct xfs_log_item *intent, in xfs_cui_item_relog() argument
574 count = CUI_ITEM(intent)->cui_format.cui_nextents; in xfs_cui_item_relog()
575 extp = CUI_ITEM(intent)->cui_format.cui_extents; in xfs_cui_item_relog()
[all …]
Dxfs_bmap_item.c302 /* Log bmap updates in the intent item. */
356 struct xfs_log_item *intent, in xfs_bmap_update_create_done() argument
359 return &xfs_trans_get_bud(tp, BUI_ITEM(intent))->bud_item; in xfs_bmap_update_create_done()
395 struct xfs_log_item *intent) in xfs_bmap_update_abort_intent() argument
397 xfs_bui_release(BUI_ITEM(intent)); in xfs_bmap_update_abort_intent()
421 * Process a bmap update intent item that was recovered from the log.
545 /* Relog an intent item to push the log tail forward. */
548 struct xfs_log_item *intent, in xfs_bui_item_relog() argument
556 count = BUI_ITEM(intent)->bui_format.bui_nextents; in xfs_bui_item_relog()
557 extp = BUI_ITEM(intent)->bui_format.bui_extents; in xfs_bui_item_relog()
[all …]
Dxfs_rmap_item.c353 /* Log rmap updates in the intent item. */
407 struct xfs_log_item *intent, in xfs_rmap_update_create_done() argument
410 return &xfs_trans_get_rud(tp, RUI_ITEM(intent))->rud_item; in xfs_rmap_update_create_done()
437 struct xfs_log_item *intent) in xfs_rmap_update_abort_intent() argument
439 xfs_rui_release(RUI_ITEM(intent)); in xfs_rmap_update_abort_intent()
464 * Process an rmap update intent item that was recovered from the log.
586 /* Relog an intent item to push the log tail forward. */
589 struct xfs_log_item *intent, in xfs_rui_item_relog() argument
597 count = RUI_ITEM(intent)->rui_format.rui_nextents; in xfs_rui_item_relog()
598 extp = RUI_ITEM(intent)->rui_format.rui_extents; in xfs_rui_item_relog()
[all …]
Dxfs_extfree_item.c413 /* Log a free extent to the intent item. */
463 struct xfs_log_item *intent, in xfs_extent_free_create_done() argument
466 return &xfs_trans_get_efd(tp, EFI_ITEM(intent), count)->efd_item; in xfs_extent_free_create_done()
492 struct xfs_log_item *intent) in xfs_extent_free_abort_intent() argument
494 xfs_efi_release(EFI_ITEM(intent)); in xfs_extent_free_abort_intent()
582 * Process an extent free intent item that was recovered from
645 /* Relog an intent item to push the log tail forward. */
648 struct xfs_log_item *intent, in xfs_efi_item_relog() argument
656 count = EFI_ITEM(intent)->efi_format.efi_nextents; in xfs_efi_item_relog()
657 extp = EFI_ITEM(intent)->efi_format.efi_extents; in xfs_efi_item_relog()
[all …]
Dxfs_bmap_item.h11 * The common abbreviations for these are BUI (bmap update intent) and BUD
21 * use the redo information recorded by the intent items to replay the
36 * This is the "bmap update intent" log item. It is used to log the fact that
Dxfs_refcount_item.h12 * update intent) and CUD (refcount update done). The redo item type
21 * recovery will use the redo information recorded by the intent items
36 * This is the "refcount update intent" log item. It is used to log
Dxfs_rmap_item.h12 * intent) and RUD (rmap update done). The redo item type is encoded in the
24 * use the redo information recorded by the intent items to replay the
39 * This is the "rmap update intent" log item. It is used to log the fact that

12345678910>>...15