Lines Matching defs:ord
793 * gets mapped to (returns) @ord value 3 in this example, that means
809 * @ord: ordinal bit position (n-th set bit, n >= 0)
812 * Map the ordinal offset of bit @ord in @buf to its position in @buf.
813 * Value of @ord should be in range 0 <= @ord < weight(buf). If @ord
816 * If for example, just bits 4 through 7 are set in @buf, then @ord
818 * and all other @ord values returns @nbits. When @ord value 3
824 unsigned int bitmap_ord_to_pos(const unsigned long *buf, unsigned int ord, unsigned int nbits)
829 pos < nbits && ord;
831 ord--;