Searched refs:NBWORD (Results 1 – 4 of 4) 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 …]
496 #define NBWORD (NBBY * sizeof(unsigned int)) macro531 #define __XFS_BLF_DATAMAP_SIZE ((XFS_MAX_BLOCKSIZE / XFS_BLF_CHUNK) / NBWORD)
900 map_size = DIV_ROUND_UP(chunks, NBWORD); in xfs_buf_item_init()943 ASSERT(first < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()944 ASSERT(last < XFS_BLF_DATAMAP_SIZE * XFS_BLF_CHUNK * NBWORD); in xfs_buf_item_log_segment()967 bit = first_bit & (uint)(NBWORD - 1); in xfs_buf_item_log_segment()978 end_bit = min(bit + bits_to_set, (uint)NBWORD); in xfs_buf_item_log_segment()991 while ((bits_to_set - bits_set) >= NBWORD) { in xfs_buf_item_log_segment()993 bits_set += NBWORD; in xfs_buf_item_log_segment()
758 map_size = DIV_ROUND_UP(chunks, NBWORD); in xreap_buf_loggable()