Searched refs:intent (Results 1 - 19 of 19) sorted by relevance

/linux-master/drivers/rpmsg/
H A 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 ha
253 struct glink_core_rx_intent *intent; local
528 struct glink_core_rx_intent *intent, *tmp; local
561 qcom_glink_rx_done(struct qcom_glink *glink, struct glink_channel *channel, struct glink_core_rx_intent *intent) argument
677 qcom_glink_advertise_intent(struct qcom_glink *glink, struct glink_channel *channel, struct glink_core_rx_intent *intent) argument
707 struct glink_core_rx_intent *intent; local
744 struct glink_core_rx_intent *intent; local
792 struct glink_core_rx_intent *intent; local
843 struct glink_core_rx_intent *intent; local
960 struct glink_core_rx_intent *intent; local
1282 struct glink_core_rx_intent *intent; local
1376 struct glink_core_rx_intent *intent = NULL; local
[all...]
/linux-master/fs/xfs/libxfs/
H A Dxfs_defer.h14 * Save a log intent item and a list of extents, so that we can replay
21 struct xfs_log_item *dfp_intent; /* log intent item */
29 * Create a log intent item for this deferred item, but don't actually finish
54 void (*abort_intent)(struct xfs_log_item *intent);
56 struct xfs_log_item *intent, unsigned int count);
65 struct xfs_log_item *intent,
H A Dxfs_defer.c50 * requires us to log "intent" items in case log recovery needs to
56 * have not yet had an intent logged) are attached to a pending item
66 * - Create a log intent item for that type.
80 * log intent item.
81 * - For each work item attached to the log intent item,
89 * The key here is that we must log an intent item for all pending
92 * we can perform complex remapping operations, chaining intent items
104 * item to prevent the log intent item from replaying, immediately log
105 * a new log intent item with the unfinished work items, roll the
107 * log done item and the new log intent ite
196 xfs_defer_barrier_abort_intent( struct xfs_log_item *intent) argument
203 xfs_defer_barrier_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
[all...]
/linux-master/fs/xfs/
H A Dxfs_refcount_item.c265 /* Log refcount updates in the intent item. */
312 struct xfs_log_item *intent,
315 struct xfs_cui_log_item *cuip = CUI_ITEM(intent);
376 struct xfs_log_item *intent)
378 xfs_cui_release(CUI_ITEM(intent));
438 * Process a refcount update intent item that was recovered from the log.
504 /* Relog an intent item to push the log tail forward. */
508 struct xfs_log_item *intent,
515 count = CUI_ITEM(intent)->cui_format.cui_nextents;
516 pmap = CUI_ITEM(intent)
310 xfs_refcount_update_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
375 xfs_refcount_update_abort_intent( struct xfs_log_item *intent) argument
506 xfs_refcount_relog_intent( struct xfs_trans *tp, struct xfs_log_item *intent, struct xfs_log_item *done_item) argument
[all...]
H A Dxfs_bmap_item.c243 /* Log bmap updates in the intent item. */
306 struct xfs_log_item *intent,
309 struct xfs_bui_log_item *buip = BUI_ITEM(intent);
335 * Bump the intent count on behalf of the deferred rmap and refcount
336 * intent items that that we can queue when we finish this bmap work.
337 * This new intent item will bump the intent count before the bmap
338 * intent drops the intent count, ensuring that the intent coun
304 xfs_bmap_update_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
401 xfs_bmap_update_abort_intent( struct xfs_log_item *intent) argument
563 xfs_bmap_relog_intent( struct xfs_trans *tp, struct xfs_log_item *intent, struct xfs_log_item *done_item) argument
[all...]
H A Dxfs_extfree_item.c350 /* Log a free extent to the intent item. */
396 struct xfs_log_item *intent,
399 struct xfs_efi_log_item *efip = EFI_ITEM(intent);
501 struct xfs_log_item *intent)
503 xfs_efi_release(EFI_ITEM(intent));
594 * Process an extent free intent item that was recovered from
647 /* Relog an intent item to push the log tail forward. */
651 struct xfs_log_item *intent,
659 count = EFI_ITEM(intent)->efi_format.efi_nextents;
660 extp = EFI_ITEM(intent)
394 xfs_extent_free_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
500 xfs_extent_free_abort_intent( struct xfs_log_item *intent) argument
649 xfs_extent_free_relog_intent( struct xfs_trans *tp, struct xfs_log_item *intent, struct xfs_log_item *done_item) argument
[all...]
H A Dxfs_rmap_item.c288 /* Log rmap updates in the intent item. */
338 struct xfs_log_item *intent,
341 struct xfs_rui_log_item *ruip = RUI_ITEM(intent);
396 struct xfs_log_item *intent)
398 xfs_rui_release(RUI_ITEM(intent));
504 * Process an rmap update intent item that was recovered from the log.
558 /* Relog an intent item to push the log tail forward. */
562 struct xfs_log_item *intent,
569 count = RUI_ITEM(intent)->rui_format.rui_nextents;
570 map = RUI_ITEM(intent)
336 xfs_rmap_update_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
395 xfs_rmap_update_abort_intent( struct xfs_log_item *intent) argument
560 xfs_rmap_relog_intent( struct xfs_trans *tp, struct xfs_log_item *intent, struct xfs_log_item *done_item) argument
[all...]
H A Dxfs_attr_item.c46 * attribute log intent items for a single xattr update. To avoid cycling the
311 /* Log an attr to the intent item. */
322 * created the log intent. Fill in the attri log item and log format
440 struct xfs_log_item *intent)
442 xfs_attri_release(ATTRI_ITEM(intent));
567 * Process an attr intent item that was recovered from the log. We need to
629 /* Re-log an intent item to push the log tail forward. */
633 struct xfs_log_item *intent,
641 old_attrip = ATTRI_ITEM(intent);
664 struct xfs_log_item *intent,
439 xfs_attr_abort_intent( struct xfs_log_item *intent) argument
631 xfs_attr_relog_intent( struct xfs_trans *tp, struct xfs_log_item *intent, struct xfs_log_item *done_item) argument
662 xfs_attr_create_done( struct xfs_trans *tp, struct xfs_log_item *intent, unsigned int count) argument
[all...]
H A Dxfs_trace.h2633 __field(void *, intent)
2641 __entry->intent = dfp->dfp_intent;
2646 TP_printk("dev %d:%d optype %s intent %p flags %s committed %d nr %d",
2649 __entry->intent,
2721 __field(void *, intent)
2730 __entry->intent = dfp->dfp_intent;
2736 TP_printk("dev %d:%d optype %s intent %p item %p flags %s committed %d nr %d",
2739 __entry->intent,
/linux-master/fs/bcachefs/
H A Dbtree_iter.h16 static inline void __btree_path_get(struct btree_path *path, bool intent) argument
19 path->intent_ref += intent;
22 static inline bool __btree_path_put(struct btree_path *path, bool intent) argument
25 EBUG_ON(!path->intent_ref && intent);
26 path->intent_ref -= intent;
191 btree_path_idx_t path, bool intent,
196 path = __bch2_btree_path_make_mut(trans, path, intent, ip);
208 bool intent, unsigned long ip)
211 ? __bch2_btree_path_set_pos(trans, path, new_pos, intent, ip)
190 bch2_btree_path_make_mut(struct btree_trans *trans, btree_path_idx_t path, bool intent, unsigned long ip) argument
206 bch2_btree_path_set_pos(struct btree_trans *trans, btree_path_idx_t path, struct bpos new_pos, bool intent, unsigned long ip) argument
H A Dsix.h9 * Shared/intent/exclusive locks: sleepable read/write locks, like rw semaphores
10 * but with an additional state: read/shared, intent, exclusive/write
12 * The purpose of the intent state is to allow for greater concurrency on tree
17 * But by adding an intent state, which is exclusive with other intent locks but
18 * not with readers, we can take intent locks at the start of the operation,
26 * An intent lock must be held before taking a write lock:
37 * six_lock_downgrade() convert from intent to read
38 * six_lock_tryupgrade() attempt to convert from read to intent, may fail
69 * read and intent state
[all...]
H A Dbtree_iter.c1098 /* If we need intent locks, take them too: */
1224 bool intent)
1228 __btree_path_get(trans->paths + new, intent);
1234 btree_path_idx_t path, bool intent, unsigned long ip)
1236 __btree_path_put(trans->paths + path, intent);
1237 path = btree_path_clone(trans, path, intent);
1245 bool intent, unsigned long ip)
1252 path_idx = bch2_btree_path_make_mut(trans, path_idx, intent, ip);
1337 void bch2_path_put(struct btree_trans *trans, btree_path_idx_t path_idx, bool intent) argument
1341 if (!__btree_path_put(path, intent))
1223 btree_path_clone(struct btree_trans *trans, btree_path_idx_t src, bool intent) argument
1233 __bch2_btree_path_make_mut(struct btree_trans *trans, btree_path_idx_t path, bool intent, unsigned long ip) argument
1243 __bch2_btree_path_set_pos(struct btree_trans *trans, btree_path_idx_t path_idx, struct bpos new_pos, bool intent, unsigned long ip) argument
1364 bch2_path_put_nokeep(struct btree_trans *trans, btree_path_idx_t path, bool intent) argument
1612 bool intent = flags & BTREE_ITER_INTENT; local
[all...]
/linux-master/fs/
H A Dinternal.h175 int intent; member in struct:open_flags
H A Dopen.c1297 op->intent = flags & O_PATH ? 0 : LOOKUP_OPEN;
1300 op->intent |= LOOKUP_CREATE;
1302 op->intent |= LOOKUP_EXCL;
H A Dexec.c133 .intent = LOOKUP_OPEN,
919 .intent = LOOKUP_OPEN,
959 * @name: path name to open with the intent of executing it.
H A Dnamei.c3522 nd->flags |= op->intent;
3843 if (d_is_symlink(root->dentry) && op->intent & LOOKUP_OPEN)
/linux-master/drivers/staging/rtl8723bs/include/
H A Drtw_mlme.h226 u8 intent; /* should only include the intent value. */ member in struct:wifidirect_info
229 u8 peer_intent; /* Included the intent value and tie breaker value. */
/linux-master/drivers/block/drbd/
H A Ddrbd_actlog.c82 void *drbd_md_get_buffer(struct drbd_device *device, const char *intent) argument
93 device->md_io.current_use = intent;
H A Ddrbd_int.h1440 extern void *drbd_md_get_buffer(struct drbd_device *device, const char *intent);

Completed in 312 milliseconds