Searched refs:NBBY (Results 1 – 8 of 8) 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)
33 ((1 << (NBBY*(int)sizeof(uint8_t))) - 1)
1272 #define XFS_INODES_PER_CHUNK (NBBY * sizeof(xfs_inofree_t))1278 #define XFS_INOBT_HOLEMASK_BITS (NBBY * sizeof(uint16_t))1280 (XFS_INODES_PER_CHUNK / (NBBY * sizeof(uint16_t)))
442 #define NBWORD (NBBY * sizeof(unsigned int))
498 ASSERT(nextbit < (sizeof(rec->ir_holemask) * NBBY)); in xfs_inobt_irec_to_allocmask()
113 #define NBBY 8 /* number of bits per byte */ macro
930 nrbmblocks = howmany_64(nrextents, NBBY * sbp->sb_blocksize); in xfs_growfs_rt()988 nsbp->sb_rbmblocks * NBBY * in xfs_growfs_rt()
150 u8 vec[MAXCHANNEL / NBBY];