Lines Matching defs:blocks

42  * Compute the number of log descriptor blocks needed to hold a certain number
45 * Returns: the number of blocks needed (minimum is always 1)
58 /* Subsequent struct gfs2_meta_header blocks */
467 * gfs2_log_release - Release a given number of log blocks
469 * @blks: The number of blocks
486 * @blks: The number of blocks to reserve
487 * @taboo_blks: The number of blocks to leave free
512 * @blks: The number of blocks to reserve
513 * @taboo_blks: The number of blocks to leave free
613 * log_distance - Compute distance between two journal blocks
619 * blocks in the journal
621 * Returns: the distance in blocks
637 * calc_reserved - Calculate the number of blocks to keep reserved
641 * metadata blocks (e.g. normal file I/O rewriting file time stamps) and
642 * all our journaled data blocks for journaled files (e.g. files in the
646 * We can have metadata blocks and jdata blocks in the same journal. Each
649 * in cases where we have more blocks than will fit in a log descriptor.
652 * Also, we need to reserve blocks for revoke journal entries and one for an
655 * Returns: the number of blocks reserved
660 unsigned int blocks;
664 blocks = tr->tr_num_buf_new - tr->tr_num_buf_rm;
665 reserved += blocks + DIV_ROUND_UP(blocks, buf_limit(sdp));
666 blocks = tr->tr_num_databuf_new - tr->tr_num_databuf_rm;
667 reserved += blocks + DIV_ROUND_UP(blocks, databuf_limit(sdp));
801 * We can fill that space with additional revokes for blocks that have already
803 * us from having to keep track of those blocks on the AIL2 list later.
1258 * We wake up gfs2_logd if the number of pinned blocks exceed thresh1
1259 * or the total number of used blocks (pinned blocks plus AIL blocks)
1296 * gfs2_logd - Update log tail as Active Items get flushed to in-place blocks