Searched refs:committing (Results 1 - 89 of 89) sorted by relevance

/linux-4.1.27/include/linux/
H A Djournal-head.h62 * metadata: either the running transaction or the committing
74 * committing it when the new transaction touched it.
102 /* Trigger type for the committing transaction's frozen data */
H A Djbd2.h381 * transaction or the committing one. [j_list_lock] */
385 * there is already a committing transaction touching it. [j_list_lock] */
703 * to start committing, or for a barrier lock to be released
806 * Wait queue for waiting for a locked transaction to start committing,
1337 unsigned long committing = atomic_read(&journal-> jbd2_log_space_left() local
1341 free -= committing + (committing >> JBD2_CONTROL_BLOCKS_SHIFT); jbd2_log_space_left()
H A Dnfs_fs.h219 #define NFS_INO_COMMIT (7) /* inode is committing unstable writes */
H A Djbd.h520 * to start committing, or for a barrier lock to be released
618 * Wait queue for waiting for a locked transaction to start committing,
H A Dnfs_xdr.h1115 struct list_head committing; member in struct:pnfs_commit_bucket
/linux-4.1.27/fs/xfs/
H A Dxfs_log_cil.c388 * committing list. If we don't, then a shutdown we can leave processes xlog_cil_committed()
395 list_del(&ctx->committing); xlog_cil_committed()
474 * We are now going to push this context, so add it to the committing xlog_cil_push()
480 * the current sequence not being found on the committing list; xlog_cil_push()
484 * waiting on. If the CIL is not empty, we get put on the committing xlog_cil_push()
490 * committing list or the sequence number will be unchanged and the CIL xlog_cil_push()
493 * committing list until it is found. In extreme cases of delay, the xlog_cil_push()
497 list_add(&ctx->committing, &cil->xc_committing); xlog_cil_push()
525 * the current context to the CIL committing lsit so it can be found xlog_cil_push()
529 INIT_LIST_HEAD(&new_ctx->committing); xlog_cil_push()
550 * Hence we need to add this context to the committing context list so xlog_cil_push()
556 * committing list. This also ensures that we can do unlocked checks xlog_cil_push()
598 list_for_each_entry(new_ctx, &cil->xc_committing, committing) { xlog_cil_push()
849 * See if we can find a previous sequence still committing. xlog_cil_force_lsn()
855 list_for_each_entry(ctx, &cil->xc_committing, committing) { xlog_cil_force_lsn()
885 * context to the committing list before emptying the CIL. xlog_cil_force_lsn()
887 * Hence if we don't find the context in the committing list and the xlog_cil_force_lsn()
892 * we would have found the context on the committing list. xlog_cil_force_lsn()
973 INIT_LIST_HEAD(&ctx->committing); xlog_cil_init()
H A Dxfs_log_priv.h259 struct list_head committing; /* ctx committing list */ member in struct:xfs_cil_ctx
269 * This structure tracks the list of committing checkpoint contexts so
272 * traverse the list of committing contexts in xlog_cil_push_lsn() to find a
274 * checkpoint is still in the process of committing, we can block waiting for
H A Dxfs_trans.c284 * needs to be updated before committing.
H A Dxfs_log.c2910 * committing to. If the offset is set, that's how many blocks xlog_state_get_iclog_space()
/linux-4.1.27/fs/nfs/
H A Dpnfs_nfs.c119 struct list_head *dst = &bucket->committing; pnfs_generic_scan_ds_commit_list()
136 /* Move reqs from written to committing lists, returning count
155 /* Pull everything off the committing lists and dump into @dst. */ pnfs_generic_recover_commit_reqs()
189 if (list_empty(&bucket->committing)) pnfs_generic_retry_commit()
191 nfs_retry_commit(&bucket->committing, bucket->clseg, cinfo, i); pnfs_generic_retry_commit()
213 if (list_empty(&bucket->committing)) pnfs_generic_alloc_ds_commits()
278 &buckets[data->ds_commit_index].committing, pnfs_generic_commit_pagelist()
/linux-4.1.27/fs/jbd/
H A Dtransaction.c192 * associated with a committing transaction creates a deadlock, start_this_handle()
199 * The worst part is, any transaction currently committing can start_this_handle()
207 * the committing transaction. Really, we only need to give it start_this_handle()
511 * transaction which we are still committing to disk, then we need to
562 * transaction or the existing committing transaction? do_get_write_access()
627 * If the committing transaction is currently writing do_get_write_access()
657 * committing transaction is past that stage. The do_get_write_access()
801 * committing transaction's lists, but it HAS to be in Forget state in journal_get_create_access()
973 * 2) It is part of the previous, still-committing transaction. journal_dirty_data()
983 * committing transaction has committed). The caller must journal_dirty_data()
1025 * or shadow against the committing transaction. Now, journal_dirty_data()
1068 * committing transaction, because otherwise it would journal_dirty_data()
1080 /* It still points to the committing journal_dirty_data()
1092 * committing transaction, so might still be left on that journal_dirty_data()
1132 * current committing transaction (in which case we should have frozen
1180 * be committing, and will be refiled once the commit completes: journal_dirty_metadata()
1293 * committing, we can satisfy the buffer's checkpoint. journal_forget()
1316 * (committing) transaction, we can't drop it yet... */ journal_forget()
1707 * BKL here. We wish to remove the buffer from its committing or
1815 * previous, committing transaction!
1817 * Any disk blocks which *are* part of the previous, committing
1825 * leaving committing buffers dirty is quite safe: the disk blocks
1927 * the committing transaction, if it exists. */ journal_unmap_buffer()
1929 JBUFFER_TRACE(jh, "give to committing trans"); journal_unmap_buffer()
1941 JBUFFER_TRACE(jh, "on committing transaction"); journal_unmap_buffer()
1944 * The buffer is on the committing transaction's locked journal_unmap_buffer()
1952 * The buffer is committing, we simply cannot touch journal_unmap_buffer()
H A Drevoke.c66 * belongs to the committing transaction. Accesses to the second hash table
69 * running and which to the committing transaction is called only from
71 * to the committing transaction.
543 /* select revoke table for committing transaction */ journal_write_revoke_records()
H A Dcheckpoint.c139 * that doesn't work, by waiting for the currently committing __log_wait_for_space()
690 * buffer off a running or committing transaction's checkpoing list, __journal_remove_checkpoint()
H A Dcommit.c41 * not successfully freed, because they are attached to a committing transaction.
293 * The primary function for committing a transaction to the log. This
H A Djournal.c319 * The buffer really shouldn't be locked: only the current committing journal_write_metadata_buffer()
536 * committing), and fills its tid in at *ptid
584 * Not running or committing trans? Must be already committed. This log_wait_commit()
/linux-4.1.27/fs/jbd2/
H A Dtransaction.c215 * associated with a committing transaction creates a deadlock, add_transaction_credits()
767 * transaction which we are still committing to disk, then we need to
824 * transaction or the existing committing transaction? do_get_write_access()
889 * If the committing transaction is currently writing do_get_write_access()
908 * committing transaction is past that stage (here we use the do_get_write_access()
1061 * committing transaction's lists, but it HAS to be in Forget state in jbd2_journal_get_create_access()
1197 * triggers for a committing buffer will be saved off, and triggers for
1253 * current committing transaction (in which case we should have frozen
1323 * be committing, and will be refiled once the commit completes: jbd2_journal_dirty_metadata()
1447 * committing, we can satisfy the buffer's checkpoint. jbd2_journal_forget()
1472 * (committing) transaction, we can't drop it yet... */ jbd2_journal_forget()
1658 * could start committing on us and eventually disappear. So jbd2_journal_stop()
1860 * BKL here. We wish to remove the buffer from its committing or
1968 * previous, committing transaction!
1970 * Any disk blocks which *are* part of the previous, committing
1978 * leaving committing buffers dirty is quite safe: the disk blocks
2080 * the committing transaction, if it exists. */ journal_unmap_buffer()
2082 JBUFFER_TRACE(jh, "give to committing trans"); journal_unmap_buffer()
2094 JBUFFER_TRACE(jh, "on committing transaction"); journal_unmap_buffer()
2096 * The buffer is committing, we simply cannot touch journal_unmap_buffer()
2168 * Can return -EBUSY if buffers are part of the committing transaction and
2422 * the committing one */ jbd2_journal_file_inode()
2443 * committing, we cannot discard the data by truncate until we have
2448 * part in case it is in the committing transaction.
2454 * committing the transaction after this function has been called but
2471 * enough that the transaction was not committing before we started jbd2_journal_begin_ordered_truncate()
H A Drevoke.c66 * belongs to the committing transaction. Accesses to the second hash table
69 * running and which to the committing transaction is called only from
71 * to the committing transaction.
542 /* select revoke table for committing transaction */ jbd2_journal_write_revoke_records()
H A Dcheckpoint.c126 * that doesn't work, by waiting for the currently committing __jbd2_log_wait_for_space()
579 * buffer off a running or committing transaction's checkpoing list, __jbd2_journal_remove_checkpoint()
H A Dcommit.c54 * successfully freed, because they are attached to a committing transaction.
213 * We are in a committing transaction. Therefore no new inode can be added to
367 * The primary function for committing a transaction to the log. This
H A Djournal.c364 * The buffer really shouldn't be locked: only the current committing jbd2_journal_write_metadata_buffer()
624 * committing), and fills its tid in at *ptid
729 * committing that transaction before waiting for it to complete. If
/linux-4.1.27/drivers/gpu/drm/i915/
H A Ddvo.h85 * Callback for committing mode changes on an output
/linux-4.1.27/arch/arc/kernel/
H A Dprocess.c46 /* sleep, but enable all interrupts before committing */ arch_cpu_idle()
/linux-4.1.27/drivers/tty/vt/
H A Dkeyboard.c922 static unsigned pressed, committing; k_brl() local
942 committing = pressed; k_brl()
944 if (!committing || k_brl()
947 committing = pressed; k_brl()
951 if (!pressed && committing) { k_brl()
952 k_brlcommit(vc, committing, 0); k_brl()
953 committing = 0; k_brl()
956 if (committing) { k_brl()
957 k_brlcommit(vc, committing, 0); k_brl()
958 committing = 0; k_brl()
/linux-4.1.27/drivers/dma-buf/
H A Dfence.c150 * directly or indirectly (buf-mgr between reservation and committing)
409 * refcount after committing with this fence, but it will need to hold a
/linux-4.1.27/arch/sparc/mm/
H A Dtsb.c390 * We have to hold mm->context.lock while committing to the tsb_grow()
404 * When we finish committing to the new TSB, we have to drop tsb_grow()
/linux-4.1.27/fs/ubifs/
H A Dtnc_commit.c23 /* This file implements TNC functions for committing */
352 * layout_in_gaps - in-the-gaps method of committing TNC.
651 dbg_cmt("committing %d znodes", cnt); get_znodes_to_commit()
774 * Although we have not finished committing yet, update size of the ubifs_tnc_start_commit()
H A Dsb.c117 /* And some extra space to allow writes while committing */ create_default_filesystem()
H A Dlpt_commit.c127 dbg_cmt("committing %d cnodes", cnt); get_cnodes_to_commit()
128 dbg_lp("committing %d cnodes", cnt); get_cnodes_to_commit()
H A Dbudget.c40 * or committing. The below constant defines maximum number of times UBIFS
H A Dfile.c505 * garbage-collection, committing or forcing write-back. We return ubifs_write_begin()
H A Drecovery.c1198 dbg_rcvry("committing"); ubifs_rcvry_gc_commit()
H A Dsuper.c471 * synchronizing write-buffers would be enough. But committing makes ubifs_sync_fs()
H A Dtnc.c69 * committing must be able to determine if an index node is in the old index.
/linux-4.1.27/fs/nfs/filelayout/
H A Dfilelayout.c791 INIT_LIST_HEAD(&buckets[i].committing); filelayout_alloc_commit_info()
802 list_splice(&cinfo->ds->buckets[i].committing, filelayout_alloc_commit_info()
803 &buckets[i].committing); filelayout_alloc_commit_info()
1053 list_for_each_entry_safe(freq, t, &b->committing, wb_list) { filelayout_search_commit_reqs()
/linux-4.1.27/net/sched/
H A Dsch_plug.c78 * issued after committing a checkpoint at the target.
/linux-4.1.27/kernel/trace/
H A Dring_buffer.c478 local_t committing; member in struct:ring_buffer_per_cpu
2517 local_inc(&cpu_buffer->committing); rb_start_commit()
2526 !local_read(&cpu_buffer->committing))) rb_end_commit()
2533 if (local_read(&cpu_buffer->committing) == 1) rb_end_commit()
2536 local_dec(&cpu_buffer->committing); rb_end_commit()
2544 * committing counter. rb_end_commit()
2547 !local_read(&cpu_buffer->committing)) { rb_end_commit()
2548 local_inc(&cpu_buffer->committing); rb_end_commit()
2570 * (committing stops a swap). We check for it here and rb_reserve_next_event()
2575 local_dec(&cpu_buffer->committing); rb_reserve_next_event()
2960 RB_WARN_ON(buffer, !local_read(&cpu_buffer->committing)); ring_buffer_discard_commit()
4194 local_set(&cpu_buffer->committing, 0); rb_reset_cpu()
4229 if (RB_WARN_ON(cpu_buffer, local_read(&cpu_buffer->committing))) ring_buffer_reset_cpu()
4378 if (local_read(&cpu_buffer_a->committing)) ring_buffer_swap_cpu()
4380 if (local_read(&cpu_buffer_b->committing)) ring_buffer_swap_cpu()
/linux-4.1.27/fs/btrfs/
H A Dtransaction.c476 * If we are JOIN_NOLOCK we're already committing a transaction and start_transaction()
675 /* find newest transaction that is committing | committed */ btrfs_wait_for_commit()
689 goto out; /* nothing committing|committed */ btrfs_wait_for_commit()
889 * We cleanup any entries left in the io tree when committing btrfs_write_marked_extents()
932 * When committing the transaction, we'll remove any entries btrfs_wait_marked_extents()
934 * after committing the log because the tree can be accessed btrfs_wait_marked_extents()
H A Dvolumes.h112 * This variant is update when committing the transaction,
H A Ddelayed-inode.c1153 * Called when committing the transaction.
H A Dextent-tree.c3965 * don't bother committing the transaction. btrfs_check_data_free_space()
4261 * We only want to allow over committing if we have lots of actual space can_overcommit()
4427 * This will check to make sure that committing the transaction will actually
4655 * possible or committing the transaction. If flush is 0 then no attempts to
H A Dextent_io.c3698 * committing (when we call filemap_fdata[write|wait]_range against set_btree_ioerr()
3702 * committing the transaction we wouldn't know about it, since the pages set_btree_ioerr()
H A Dfile.c2040 * can take proper action (retry for e.g.). Blindly committing the btrfs_sync_file()
H A Dfree-space-cache.c963 * after committing the transaction) we would leak free space and get write_cache_extent_entries()
H A Dqgroup.c2914 * To solve this, we're committing the transaction, which will btrfs_qgroup_rescan()
H A Drelocation.c4012 * backref cache when committing transaction. relocate_block_group()
H A Dscrub.c3714 * race between committing transaction and scrubbing. btrfs_scrub_dev()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_layer.h309 * and release when committing or rolling back the request.
/linux-4.1.27/arch/sparc/kernel/
H A Dtsb.S49 /* Before committing to a full page table walk,
/linux-4.1.27/kernel/
H A Dcgroup_freezer.c101 * We're committing to creation of @css. Mark it online and inherit
H A Dsignal.c1854 * We're committing to trapping. TRACED should be visible before
H A Dcgroup.c3892 * committing to an entirely unnecessary property. In the long term, we
/linux-4.1.27/arch/arm/common/
H A Dmcpm_entry.c341 * This must be called at the point of committing to teardown of a CPU.
/linux-4.1.27/fs/ext3/
H A Dballoc.c567 * to unshare ->b_data if a currently-committing transaction is ext3_free_blocks_sb()
707 * data and committing the delete.
1331 * if the buffer is in BJ_Forget state in the committing transaction. ext3_try_to_allocate_with_rsv()
1457 * for the current or committing transaction to complete, and then
H A Dsuper.c2560 * Force the running and committing transactions to commit,
H A Dinode.c2411 * transaction. But if it's part of the committing ext3_free_branches()
/linux-4.1.27/mm/
H A Dmadvise.c269 * pages in anonymous maps after committing to backing store the data
H A Dvmscan.c2688 * committing a transaction where throttling it could forcing other throttle_direct_reclaim()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
H A Dvvp_io.c990 LU_OBJECT_HEADER(D_INODE, env, &obj->co_lu, "committing page write\n"); vvp_io_commit_write()
991 CL_PAGE_HEADER(D_PAGE, env, pg, "committing: [%d, %d]\n", from, to); vvp_io_commit_write()
/linux-4.1.27/include/net/netfilter/
H A Dnf_tables.h891 * next generation. When committing the ruleset the bitmask is cleared,
893 * it is set inactive in the next generation. After committing the ruleset,
/linux-4.1.27/drivers/gpu/drm/rcar-du/
H A Drcar_du_kms.c227 * as the extra hardware plane will be freed when committing, but doing rcar_du_plane_needs_realloc()
/linux-4.1.27/drivers/usb/serial/
H A Dmct_u232.c567 * to look in to this before committing any code. mct_u232_read_int_callback()
/linux-4.1.27/arch/arm/mach-versatile/
H A Dcore.c710 * removed before actually committing this patch. --gcl
/linux-4.1.27/security/apparmor/
H A Ddomain.c546 * apparmor_bprm_committing_creds - do task cleanup on committing new creds
/linux-4.1.27/drivers/net/wireless/iwlegacy/
H A D4965.c1347 IL_ERR("Invalid RXON configuration. Not committing.\n"); il4965_commit_rxon()
1862 /* need to send beacon cmd before committing assoc RXON! */ il4965_config_ap()
H A D3945-mac.c3063 * Not committing directly because hardware can perform a scan, il3945_configure_filter()
3064 * but even if hw is ready, committing here breaks for some reason, il3945_configure_filter()
H A D3945.c1750 IL_ERR("Invalid RXON configuration. Not committing.\n"); il3945_commit_rxon()
H A D4965-mac.c6182 * Not committing directly because hardware can perform a scan, il4965_configure_filter()
/linux-4.1.27/drivers/clk/bcm/
H A Dclk-kona.c641 * Initialize a divider by committing our desired state to hardware
925 * Initialize a selector by committing our desired state to hardware
/linux-4.1.27/drivers/net/ethernet/intel/igb/
H A De1000_phy.c633 hw_dbg("Error committing the PHY changes\n"); igb_copper_link_setup_m88()
710 hw_dbg("Error committing the PHY changes\n"); igb_copper_link_setup_m88_gen2()
726 hw_dbg("Error committing the PHY changes\n"); igb_copper_link_setup_m88_gen2()
/linux-4.1.27/drivers/mtd/nand/
H A Dlpc32xx_slc.c676 * committing it to NAND. Process the calculated ECC and place lpc32xx_nand_write_page_syndrome()
/linux-4.1.27/fs/nfs/flexfilelayout/
H A Dflexfilelayout.c453 INIT_LIST_HEAD(&buckets[i].committing); ff_layout_alloc_commit_info()
/linux-4.1.27/fs/ext4/
H A Dballoc.c592 * for the current or committing transaction to complete, and then
H A Dmballoc.c4782 * to unshare ->b_data if a currently-committing transaction is ext4_free_blocks()
4952 * to unshare ->b_data if a currently-committing transaction is ext4_group_add_blocks()
H A Dinode.c4716 * and inode is still attached to the committing transaction, we must
H A Dsuper.c4750 * Force the running and committing transactions to commit,
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/
H A Dphy.c758 e_dbg("Error committing the PHY changes\n"); e1000e_copper_link_setup_m88()
814 e_dbg("Error committing the PHY changes\n"); e1000e_copper_link_setup_m88()
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/
H A Dmac80211.c1078 * Not committing directly because hardware can perform a scan, for_each_context()
H A Drxon.c1087 IWL_ERR(priv, "Invalid RXON configuration. Not committing.\n"); iwlagn_commit_rxon()
/linux-4.1.27/drivers/char/xillybus/
H A Dxillybus_core.c1217 * count=0 means committing the buffer immediately, xillybus_write()
/linux-4.1.27/fs/ocfs2/
H A Djournal.c2250 * transactions. committing on shutdown might take a few iterations ocfs2_commit_thread()
H A Dsuballoc.c1248 * data and committing the delete.
H A Dxattr.c1912 * as it could have failed after committing the extend. ocfs2_xa_value_truncate()
/linux-4.1.27/fs/jfs/
H A Djfs_logmgr.c1827 * allocation waits on the kswapd thread that may be committing inodes lbmLogInit()
H A Djfs_txnmgr.c638 * the committing transaction of the inode) txLock()
H A Djfs_dtree.c2855 * after committing the transaction to see if dtInitRoot()
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
H A Dosc_request.c753 * cookies to the MDS after committing destroy transactions. */ osc_destroy()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dclient.c2485 CDEBUG(D_RPCTRACE, "%s: committing for last_committed %llu gen %d\n", ptlrpc_free_committed()
/linux-4.1.27/net/batman-adv/
H A Dtranslation-table.c2814 * procedure without committing the _batadv_tt_update_changes()
/linux-4.1.27/drivers/scsi/aic7xxx/
H A Daic79xx_core.c7203 * Before committing these settings to the chip, give ahd_init()

Completed in 4964 milliseconds