Searched refs:lastbit (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_rtbitmap.c | 283 xfs_rtblock_t lastbit; /* last useful bit in the word */ in xfs_rtfind_forw() local 320 lastbit = XFS_RTMIN(bit + len, XFS_NBWORD); in xfs_rtfind_forw() 321 mask = (((xfs_rtword_t)1 << (lastbit - bit)) - 1) << bit; in xfs_rtfind_forw() 335 i = lastbit - bit; in xfs_rtfind_forw() 407 if ((lastbit = len - i)) { in xfs_rtfind_forw() 411 mask = ((xfs_rtword_t)1 << lastbit) - 1; in xfs_rtfind_forw() 547 int lastbit; /* last useful bit in word */ in xfs_rtmodify_range() local 581 lastbit = XFS_RTMIN(bit + len, XFS_NBWORD); in xfs_rtmodify_range() 582 mask = (((xfs_rtword_t)1 << (lastbit - bit)) - 1) << bit; in xfs_rtmodify_range() 590 i = lastbit - bit; in xfs_rtmodify_range() [all …]
|
/linux-6.1.9/lib/ |
D | bitmap.c | 673 unsigned int lastbit) in bitmap_getnum() argument 679 *num = lastbit; in bitmap_getnum() 730 unsigned int lastbit = r->nbits - 1; in bitmap_parse_region() local 734 r->end = lastbit; in bitmap_parse_region() 740 str = bitmap_getnum(str, &r->start, lastbit); in bitmap_parse_region() 750 str = bitmap_getnum(str + 1, &r->end, lastbit); in bitmap_parse_region() 761 str = bitmap_getnum(str + 1, &r->off, lastbit); in bitmap_parse_region() 768 return bitmap_getnum(str + 1, &r->group_len, lastbit); in bitmap_parse_region()
|
/linux-6.1.9/drivers/gpio/ |
D | gpio-xilinx.c | 133 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_read_ch_all() local 135 for (bit = 0; bit <= lastbit ; bit += 32) in xgpio_read_ch_all() 141 int bit, lastbit = xgpio_to_bit(chip, chip->gc.ngpio - 1); in xgpio_write_ch_all() local 143 for (bit = 0; bit <= lastbit ; bit += 32) in xgpio_write_ch_all()
|