Lines Matching refs:space

104 		int	cycle, space;
106 xlog_crack_grant_head_val(head_val, &cycle, &space);
108 space -= bytes;
109 if (space < 0) {
110 space += log->l_logsize;
115 new = xlog_assign_grant_head_val(cycle, space);
131 int cycle, space;
133 xlog_crack_grant_head_val(head_val, &cycle, &space);
135 tmp = log->l_logsize - space;
137 space += bytes;
139 space = bytes - tmp;
144 new = xlog_assign_grant_head_val(cycle, space);
208 * move, there still won't be space available for the
214 * Therefore, if there isn't space to wake the first waiter on
273 * Atomically get the log space required for a log ticket.
304 * up all the waiters then go to sleep waiting for more free space,
305 * otherwise try to get some space for this transaction.
426 * Reserve log space and return a ticket corresponding to the reservation.
428 * Each reservation is going to reserve extra space for a log record header.
430 * log record header from any reservation. By wasting space in each
586 * Validate the given log space and drop a critical message via syslog
588 * situations in transaction log space reservation stage.
682 * space grant counters are, we can initialise the permanent ticket
813 * the data space used in the unmount ticket as this write is not done from a
836 /* account for space used by record data */
1007 * Wake up processes waiting for log space after we have moved the log tail.
1049 * cover the log as we may be in a situation where there isn't log space
1136 * Return the space in the log between the tail and the head. The head
1139 * longer valid. In this case, just return 0 which means there is no space
1147 * result is that we return the size of the log as the amount of space left.
1174 * log as the amount of space left.
1494 * (a) enough on-disk log space to log the number of bytes specified, (b) at
1495 * least 25% of the log space free, and (c) at least 256 blocks free. If the
1496 * log free space already meets all three thresholds, this function returns
1550 * Push the tail of the log if we need to do so to maintain the free log space
2022 xfs_warn(mp, " ophdrs = %u (ophdr space = %u bytes)",
2089 * Calculate the potential space needed by the log vector. We may need a start
2250 /* no more space in this iclog - push it. */
2287 * A. Reserve as much space in this iclog as can get
2312 * we don't really know exactly how much space will be used. As a result,
2372 * of space which was allocated by xlog_state_get_iclog_space().
2452 * space but we don't want to increment the region
2458 * count), then we also need to get more log space. If
2633 * amount of log space bound up in this committing transaction then the
2635 * freeing space in the log. Hence once we've updated the last_sync_lsn we
2869 * log's data space.
3003 /* just return if we still have some of the pre-reserved space */
3017 * Give back the space left from a reservation.
3019 * All the information we need to make a correct determination of space left
3022 * space remaining in the current reservation part of the ticket. If the
3023 * ticket contains a permanent reservation, there may be left over space which
3025 * reservation can be done before we need to ask for more space. The first
3027 * space, the count will stay at zero and the only space remaining will be
3046 * up more space based on the remaining count.
3340 * Figure out the total log space unit (in bytes) that would be
3354 * in the log. A unit in this case is the amount of space for one
3356 * and their unit amount is the total amount of space required.
3359 * which occupy space in the on-disk log.
3368 * more space.
3391 * for LR headers - the space for data in an iclog is the size minus
3392 * the space used for the headers. If we use the iclog size, then we
3396 * increase the space required enough to require more log and op
3401 * accounted to it, then the remaining space in the iclog is
3511 int cycle, space;
3513 xlog_crack_grant_head(&log->l_write_head.grant, &cycle, &space);
3523 if (space > BBTOB(tail_blocks) &&
3526 "%s: space > BBTOB(tail_blocks)", __func__);
3545 xfs_emerg(log->l_mp, "%s: ran out of log space", __func__);
3554 xfs_emerg(log->l_mp, "%s: ran out of log space", __func__);
3566 * B. tid ptr value falls in valid ptr space (user space code)