Searched refs:NBBY (Results 1 – 6 of 6) sorted by relevance
34 #ifndef NBBY /* the BSD family defines NBBY */35 #define NBBY 8 /* 8 bits per byte */ macro37 #define setbit(a, i) (((u8 *)a)[(i)/NBBY] |= 1<<((i)%NBBY))38 #define clrbit(a, i) (((u8 *)a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))39 #define isset(a, i) (((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY)))40 #define isclr(a, i) ((((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
123 #define NBBY 8 /* number of bits per byte */ macro
145 u8 vec[MAXCHANNEL / NBBY];
1575 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t))1581 #define XFS_INOBT_HOLEMASK_BITS (NBBY * sizeof(uint16_t))1583 (XFS_INODES_PER_CHUNK / (NBBY * sizeof(uint16_t)))
396 BUILD_BUG_ON(NBBY * sizeof(dres->dr_ordered) < XFS_DEFER_OPS_NR_BUFS); in xfs_defer_save_resources()
273 NBBY * xfs_rtbmblock_size(sbp)); in xfs_expected_rbmblocks()