Searched refs:NBBY (Results 1 – 8 of 8) sorted by relevance
45 #ifndef NBBY /* the BSD family defines NBBY */46 #define NBBY 8 /* 8 bits per byte */ macro48 #define setbit(a, i) (((u8 *)a)[(i)/NBBY] |= 1<<((i)%NBBY))49 #define clrbit(a, i) (((u8 *)a)[(i)/NBBY] &= ~(1<<((i)%NBBY)))50 #define isset(a, i) (((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY)))51 #define isclr(a, i) ((((const u8 *)a)[(i)/NBBY] & (1<<((i)%NBBY))) == 0)
61 ((1 << (NBBY*(int)sizeof(__uint8_t))) - 1)
1233 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t))1239 #define XFS_INOBT_HOLEMASK_BITS (NBBY * sizeof(__uint16_t))1241 (XFS_INODES_PER_CHUNK / (NBBY * sizeof(__uint16_t)))
427 #define NBWORD (NBBY * sizeof(unsigned int))
472 ASSERT(nextbit < (sizeof(rec->ir_holemask) * NBBY)); in xfs_inobt_irec_to_allocmask()
132 #define NBBY 8 /* number of bits per byte */ macro
930 nrbmblocks = howmany_64(nrextents, NBBY * sbp->sb_blocksize); in xfs_growfs_rt()983 nsbp->sb_rbmblocks * NBBY * in xfs_growfs_rt()
161 u8 vec[MAXCHANNEL / NBBY];