Lines Matching defs:set
502 * __ffs_word - add number of the first set bit
504 * @word: the word that is searched for set bits
591 * ffs - find first bit set
626 * find_first_bit - find the first set bit in a memory region
630 * Returns the bit-number of the first set bit, not the number of the byte
656 unsigned long bit, set;
669 set = __ffz_word(bit, *p >> bit);
670 if (set >= size)
672 if (set < __BITOPS_WORDSIZE)
673 return set + offset;
682 * find_next_bit - find the first set bit in a memory region
692 unsigned long bit, set;
705 set = __ffs_word(0, *p & (~0UL << bit));
706 if (set >= size)
708 if (set < __BITOPS_WORDSIZE)
709 return set + offset;
720 * unlikely to be set. It's guaranteed that at least one of the 140
771 unsigned long bit, set;
784 set = __ffz_word(bit, __load_ulong_le(p, 0) >> bit);
785 if (set >= size)
787 if (set < __BITOPS_WORDSIZE)
788 return set + offset;
812 unsigned long bit, set;
825 set = __ffs_word(0, __load_ulong_le(p, 0) & (~0UL << bit));
826 if (set >= size)
828 if (set < __BITOPS_WORDSIZE)
829 return set + offset;