Lines Matching defs:bits
79 * - Likewise, we don't want to starve other nodes of bits on small
170 /* We can't store more bits than we can in a block. */
242 int ocfs2_alloc_should_use_local(struct ocfs2_super *osb, u64 bits)
257 if (bits > (la_bits / 2))
263 (unsigned long long)bits, osb->local_alloc_state, la_bits, ret);
360 * return any unused bits to the bitmap and write out a clean
470 * We want to free the bitmap bits outside of any recovery context as
608 * make sure we've got at least bits_wanted contiguous bits in the
638 * We must double check state and allocator bits because
655 status = ocfs2_error(osb->sb, "local alloc inode %llu says it has %u used bits, but a count shows %u\n",
677 * might have reduced the number of bits available or
1020 * enough bits theoretically
1025 * enough bits free to satisfy
1042 unsigned int bits;
1058 * bitmap. Drastically reduce the number of bits used
1061 bits = osb->local_alloc_bits >> 1;
1062 if (bits > ocfs2_megabytes_to_clusters(osb->sb, 1)) {
1065 * the number of local alloc bits used down
1071 osb->local_alloc_bits = bits;
1169 * the more specific cluster api to claim bits. */
1176 * allow use of any free bits which the current
1213 * set all previously used bits in bitmap and update
1214 * la_bits_set before setting the bits in the main bitmap. */
1271 * bits. Make a copy so the sync function knows which bits to