Searched refs:transaction (Results 1 - 25 of 80) sorted by relevance

1234

/linux-master/fs/jbd2/
H A Dcheckpoint.c26 * Unlink a buffer from a transaction checkpoint list.
32 transaction_t *transaction = jh->b_cp_transaction; local
36 if (transaction->t_checkpoint_list == jh) {
37 transaction->t_checkpoint_list = jh->b_cpnext;
38 if (transaction->t_checkpoint_list == jh)
39 transaction->t_checkpoint_list = NULL;
67 * transaction to complete. If there is absolutely no way
141 * Perform an actual checkpoint. We take the first transaction on the
152 transaction_t *transaction; local
170 * OK, we need to start writing disk blocks. Take one transaction
404 transaction_t *transaction, *last_transaction, *next_transaction; local
483 transaction_t *transaction, *last_transaction, *next_transaction; local
559 transaction_t *transaction; local
648 __jbd2_journal_insert_checkpoint(struct journal_head *jh, transaction_t *transaction) argument
681 __jbd2_journal_drop_transaction(journal_t *journal, transaction_t *transaction) argument
[all...]
H A DMakefile8 jbd2-objs := transaction.o commit.o recovery.o checkpoint.o revoke.o journal.o
H A Dtransaction.c3 * linux/fs/jbd2/transaction.c
9 * Generic filesystem transaction handling code; part of the ext2fs
46 pr_emerg("JBD2: failed to create transaction cache\n");
58 void jbd2_journal_free_transaction(transaction_t *transaction) argument
60 if (unlikely(ZERO_OR_NULL_PTR(transaction)))
62 kmem_cache_free(transaction_cache, transaction);
66 * Base amount of descriptor blocks we reserve for each transaction.
81 * space for commit block and normal transaction descriptor blocks.
90 * Simply initialise a new transaction. Initialize it in
92 * have an existing running transaction
102 jbd2_get_transaction(journal_t *journal, transaction_t *transaction) argument
146 update_t_max_wait(transaction_t *transaction, unsigned long ts) argument
334 transaction_t *transaction, *new_transaction = NULL; local
662 transaction_t *transaction = handle->h_transaction; local
718 transaction_t *transaction = handle->h_transaction; local
781 transaction_t *transaction = handle->h_transaction; local
850 transaction_t *transaction = journal->j_running_transaction; local
970 transaction_t *transaction = handle->h_transaction; local
1287 transaction_t *transaction = handle->h_transaction; local
1502 transaction_t *transaction = handle->h_transaction; local
1674 transaction_t *transaction = handle->h_transaction; local
1841 transaction_t *transaction = handle->h_transaction; local
2043 transaction_t *transaction; local
2199 __dispose_buffer(struct journal_head *jh, transaction_t *transaction) argument
2273 transaction_t *transaction; local
2501 __jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) argument
2567 jbd2_journal_file_buffer(struct journal_head *jh, transaction_t *transaction, int jlist) argument
2665 transaction_t *transaction = handle->h_transaction; local
[all...]
H A Djournal.c163 transaction_t *transaction; local
180 * transaction commit and any fs involvement might get stuck waiting for
229 transaction = journal->j_running_transaction;
230 if (transaction && time_after_eq(jiffies,
231 transaction->t_expires))
248 transaction = journal->j_running_transaction;
249 if (transaction && time_after_eq(jiffies, transaction->t_expires)) {
250 journal->j_commit_request = transaction->t_tid;
308 * If the source buffer has already been modified by a new transaction
326 jbd2_journal_write_metadata_buffer(transaction_t *transaction, struct journal_head *jh_in, struct buffer_head **bh_out, sector_t blocknr) argument
525 transaction_t *transaction = NULL; local
997 jbd2_journal_get_descriptor_buffer(transaction_t *transaction, int type) argument
1054 transaction_t *transaction; local
2431 transaction_t *transaction = NULL; local
2577 transaction_t *transaction; local
[all...]
H A Drevoke.c17 * transaction's revoked blocks to the journal
19 * + Recovery: during recovery we record the transaction ID of all
26 * single transaction:
30 * cancel the revoke before the transaction commits.
37 * in the current transaction, so any revoke for that block in the
38 * transaction must have happened after the block was journaled and so
47 * We cache revoke status of a buffer in the current transaction in b_states
62 * running transaction (is pointed to by journal->j_revoke), the other one
63 * belongs to the committing transaction. Accesses to the second hash table
66 * running and which to the committing transaction i
530 jbd2_journal_write_revoke_records(transaction_t *transaction, struct list_head *log_bufs) argument
571 write_one_revoke_record(transaction_t *transaction, struct list_head *log_bufs, struct buffer_head **descriptorp, int *offsetp, struct jbd2_revoke_record_s *record) argument
[all...]
/linux-master/include/trace/events/
H A Dfirewire.h39 TP_PROTO(u64 transaction, unsigned int generation, unsigned int scode, const u32 *header, const u32 *data, unsigned int data_count),
40 TP_ARGS(transaction, generation, scode, header, data, data_count),
42 __field(u64, transaction)
49 __entry->transaction = transaction;
57 "transaction=0x%llx generation=%u scode=%u dst_id=0x%04x tlabel=%u tcode=%u src_id=0x%04x offset=0x%012llx header=%s data=%s",
58 __entry->transaction,
74 TP_PROTO(u64 transaction, unsigned int generation, unsigned int scode, unsigned int status, unsigned int timestamp),
75 TP_ARGS(transaction, generation, scode, status, timestamp),
77 __field(u64, transaction)
[all...]
H A Djbd2.h43 __field( tid_t, transaction )
49 __entry->transaction = commit_transaction->t_tid;
52 TP_printk("dev %d,%d transaction %u sync %d",
54 __entry->transaction, __entry->sync_commit)
100 __field( tid_t, transaction )
107 __entry->transaction = commit_transaction->t_tid;
111 TP_printk("dev %d,%d transaction %u sync %d head %u",
113 __entry->transaction, __entry->sync_commit, __entry->head)
487 TP_printk("dev %d,%d shrink transaction %u-%u(%u) freed %lu "
488 "next transaction
[all...]
/linux-master/drivers/usb/host/
H A Docteon-hcd.c108 * @CVMX_USB_STATUS_OK: The transaction / operation finished without
111 * @CVMX_USB_STATUS_CANCEL: The transaction was canceled while in flight
113 * @CVMX_USB_STATUS_ERROR: The transaction aborted with an unexpected
115 * @CVMX_USB_STATUS_STALL: The transaction received a USB STALL response
117 * @CVMX_USB_STATUS_XACTERR: The transaction failed with an error from the
119 * @CVMX_USB_STATUS_DATATGLERR: The transaction failed with a data toggle
121 * @CVMX_USB_STATUS_BABBLEERR: The transaction failed with a babble error
122 * @CVMX_USB_STATUS_FRAMEERR: The transaction failed with a frame error
238 * enum represents all of the possible stages a transaction can
241 * transaction wit
1354 struct cvmx_usb_transaction *transaction = local
1499 struct cvmx_usb_transaction *transaction = local
1956 octeon_usb_urb_complete_callback(struct octeon_hcd *usb, enum cvmx_usb_status status, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int bytes_transferred, struct urb *urb) argument
2056 cvmx_usb_complete(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, enum cvmx_usb_status complete_code) argument
2136 struct cvmx_usb_transaction *transaction; local
2296 cvmx_usb_cancel(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction) argument
2344 struct cvmx_usb_transaction *transaction, *next; local
2395 cvmx_usb_transfer_control(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, union cvmx_usbcx_hccharx usbc_hcchar, int buffer_space_left, int bytes_in_last_packet) argument
2479 cvmx_usb_transfer_bulk(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, union cvmx_usbcx_hcintx usbc_hcint, int buffer_space_left, int bytes_in_last_packet) argument
2513 cvmx_usb_transfer_intr(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int buffer_space_left, int bytes_in_last_packet) argument
2538 cvmx_usb_transfer_isoc(struct octeon_hcd *usb, struct cvmx_usb_pipe *pipe, struct cvmx_usb_transaction *transaction, int buffer_space_left, int bytes_in_last_packet, int bytes_this_transfer) argument
2603 struct cvmx_usb_transaction *transaction; local
3073 struct cvmx_usb_transaction *transaction = NULL; local
[all...]
/linux-master/sound/firewire/fireface/
H A DMakefile2 snd-fireface-y := ff.o ff-transaction.o ff-midi.o ff-proc.o amdtp-ff.o \
/linux-master/sound/firewire/digi00x/
H A DMakefile4 digi00x-transaction.o digi00x-midi.o digi00x.o
/linux-master/sound/firewire/tascam/
H A DMakefile3 tascam-pcm.o tascam-hwdep.o tascam-transaction.o \
/linux-master/drivers/net/wireless/intel/iwlwifi/dvm/
H A Dtt.c24 /* default Thermal Throttling transaction table
352 struct iwl_tt_trans *transaction; local
357 * find the curresponding transaction table
359 * tt->transaction + ((old_state * (IWL_TI_STATE_MAX - 1))
362 * find the next state need to transaction to
364 * in the current table to see if transaction is needed
366 transaction = tt->transaction +
368 if (temp >= transaction->tt_low &&
369 temp <= transaction
591 struct iwl_tt_trans *transaction; local
[all...]
H A Dtt.h51 * struct iwl_tt_trans - Thermal Throttling transaction table
79 * @transaction: ptr to adv trans table, used by advance thermal throttling
80 * state transaction
94 struct iwl_tt_trans *transaction; member in struct:iwl_tt_mgmt
/linux-master/drivers/md/persistent-data/
H A DMakefile10 dm-transaction-manager.o \
/linux-master/sound/firewire/dice/
H A DMakefile2 snd-dice-y := dice-transaction.o dice-stream.o dice-proc.o dice-midi.o \
/linux-master/sound/firewire/motu/
H A DMakefile4 snd-firewire-motu-y := motu.o amdtp-motu.o motu-transaction.o motu-stream.o \
/linux-master/drivers/firewire/
H A DMakefile7 core-iso.o core-topology.o core-transaction.o
/linux-master/drivers/nfc/st21nfca/
H A Dse.c308 struct nfc_evt_transaction *transaction; local
340 if (skb->len < aid_len + 4 || aid_len > sizeof(transaction->aid))
352 transaction = devm_kzalloc(dev, sizeof(*transaction) + params_len, GFP_KERNEL);
353 if (!transaction)
356 transaction->aid_len = aid_len;
357 transaction->params_len = params_len;
359 memcpy(transaction->aid, &skb->data[2], aid_len);
360 memcpy(transaction->params, &skb->data[aid_len + 4], params_len);
362 r = nfc_se_transaction(hdev->ndev, host, transaction);
[all...]
/linux-master/fs/btrfs/
H A Dtransaction.h52 * transaction, it must be zero before the transaction is
57 * total writers in this transaction, it must be zero before the
58 * transaction can end
81 * it do so under some form of transaction critical section, namely:
84 * run by one of the transaction committers. Refer to
88 * commit_cowonly_roots from transaction critical section
91 * - btrfs_cleanup_dirty_bgs - called on transaction abort
111 * Number of ordered extents the transaction must wait for before
143 struct btrfs_transaction *transaction; member in struct:btrfs_trans_handle
[all...]
H A Dtransaction.c18 #include "transaction.h"
41 * No running transaction (fs tree blocks are not modified)
48 * | New trans handles can be attached to transaction N by calling all
53 * | transaction N
58 * | the race and the rest will wait for the winner to commit the transaction.
60 * | The winner will wait for previous running transaction to completely finish
68 * | - Wait for current transaction to be committed by others.
72 * | to this running transaction.
74 * | transaction N+1.
77 * | Caller is chosen to commit transaction
139 btrfs_put_transaction(struct btrfs_transaction *transaction) argument
[all...]
/linux-master/drivers/nfc/st-nci/
H A Dse.c314 struct nfc_evt_transaction *transaction; local
348 aid_len > sizeof(transaction->aid))
360 transaction = devm_kzalloc(dev, sizeof(*transaction) +
362 if (!transaction)
365 transaction->aid_len = aid_len;
366 transaction->params_len = params_len;
368 memcpy(transaction->aid, &skb->data[2], aid_len);
369 memcpy(transaction->params, &skb->data[aid_len + 4],
372 r = nfc_se_transaction(ndev->nfc_dev, host, transaction);
[all...]
/linux-master/drivers/nvme/host/
H A Dauth.c33 u16 transaction; member in struct:nvme_dhchap_queue_context
95 u16 transaction, u8 expected_msg)
111 if (le16_to_cpu(data->t_id) != transaction) {
113 "qid %d invalid transaction ID %d\n",
133 data->t_id = cpu_to_le16(chap->transaction);
310 data->t_id = cpu_to_le16(chap->transaction);
397 data->t_id = cpu_to_le16(chap->transaction);
411 data->t_id = cpu_to_le16(chap->transaction);
425 dev_dbg(ctrl->device, "%s: qid %d host response seq %u transaction %d\n",
426 __func__, chap->qid, chap->s1, chap->transaction);
93 nvme_auth_receive_validate(struct nvme_ctrl *ctrl, int qid, struct nvmf_auth_dhchap_failure_data *data, u16 transaction, u8 expected_msg) argument
[all...]
/linux-master/drivers/net/ethernet/intel/i40e/
H A Di40e_nvm.c784 u8 module, transaction; local
789 transaction = i40e_nvmupd_get_transaction(cmd->config);
802 switch (transaction) {
828 switch (transaction) {
877 u8 module, transaction; local
881 transaction = i40e_nvmupd_get_transaction(cmd->config);
883 last = (transaction & I40E_NVM_LCB);
917 u8 module, transaction; local
922 transaction = i40e_nvmupd_get_transaction(cmd->config);
924 last = (transaction
960 u8 module, transaction; local
[all...]
/linux-master/sound/firewire/
H A Dfcp.c63 /* do transaction and check buf[1-5] are the same against command */
108 /* do transaction and check buf[1-4] are the same against command */
296 * the FCP transaction handler that a bus reset has happened. Any pending FCP
317 static bool is_matching_response(struct fcp_transaction *transaction, argument
324 p2 = transaction->response_buffer;
325 mask = transaction->response_match_bytes;
/linux-master/tools/perf/include/perf/
H A Dperf_dlfilter.h51 __u64 transaction; /* Refer PERF_SAMPLE_TRANSACTION in <linux/perf_event.h> */ member in struct:perf_dlfilter_sample

Completed in 707 milliseconds

1234