Lines Matching defs:bits
81 * - Likewise, we don't want to starve other nodes of bits on small
172 /* We can't store more bits than we can in a block. */
244 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits)
259 if (bits > (la_bits / 2))
265 (unsigned long long)bits, osb->local_alloc_state, la_bits, ret);
362 * return any unused bits to the bitmap and write out a clean
472 * We want to free the bitmap bits outside of any recovery context as
610 * make sure we've got at least bits_wanted contiguous bits in the
640 * We must double check state and allocator bits because
657 status = ocfs2_error(osb->sb, "local alloc inode %llu says it has %u used bits, but a count shows %u\n",
679 * might have reduced the number of bits available or
1022 * enough bits theoretically
1027 * enough bits free to satisfy
1044 unsigned int bits;
1060 * bitmap. Drastically reduce the number of bits used
1063 bits = osb->local_alloc_bits >> 1;
1064 if (bits > ocfs2_megabytes_to_clusters(osb->sb, 1)) {
1067 * the number of local alloc bits used down
1073 osb->local_alloc_bits = bits;
1171 * the more specific cluster api to claim bits. */
1178 * allow use of any free bits which the current
1215 * set all previously used bits in bitmap and update
1216 * la_bits_set before setting the bits in the main bitmap. */
1273 * bits. Make a copy so the sync function knows which bits to