Searched refs:NBWORD (Results 1 – 3 of 3) sorted by relevance
46 size -= start_bit & ~(NBWORD - 1); in xfs_contig_bits()47 start_bit &= (NBWORD - 1); in xfs_contig_bits()51 tmp |= (~0U >> (NBWORD-start_bit)); in xfs_contig_bits()54 result += NBWORD; in xfs_contig_bits()55 size -= NBWORD; in xfs_contig_bits()60 result += NBWORD; in xfs_contig_bits()61 size -= NBWORD; in xfs_contig_bits()79 uint result = start_bit & ~(NBWORD - 1); in xfs_next_bit()87 start_bit &= (NBWORD - 1); in xfs_next_bit()94 result += NBWORD; in xfs_next_bit()[all …]
443 #define NBWORD (NBBY * sizeof(unsigned int)) macro478 #define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
757 map_size = DIV_ROUND_UP(chunks, NBWORD); in xfs_buf_item_init()800 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()801 ASSERT(last < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()824 bit = first_bit & (uint)(NBWORD - 1); in xfs_buf_item_log_segment()835 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()848 while ((bits_to_set - bits_set) >= NBWORD) { in xfs_buf_item_log_segment()850 bits_set += NBWORD; in xfs_buf_item_log_segment()