Lines Matching defs:old
284 const unsigned long *old, const unsigned long *new,
291 dst[k] = (old[k] & ~mask[k]) | (new[k] & mask[k]);
469 * @old: defines domain of map
473 * Let @old and @new define a mapping of bit positions, such that
474 * whatever position is held by the n-th set bit in @old is mapped
477 * weight of @old, map the position of the n-th set bit in @old to
480 * If either of the @old and @new bitmaps are empty, or if @src and
484 * The positions of unset bits in @old are mapped to themselves
490 * For example, lets say that @old has bits 4 through 7 set, and
498 const unsigned long *old, const unsigned long *new,
509 int n = bitmap_pos_to_ord(old, oldbit, nbits);
522 * @old: defines domain of map
526 * Let @old and @new define a mapping of bit positions, such that
527 * whatever position is held by the n-th set bit in @old is mapped
530 * weight of @old, map the position of the n-th set bit in @old to
533 * The positions of unset bits in @old are mapped to themselves
539 * For example, lets say that @old has bits 4 through 7 set, and
545 int bitmap_bitremap(int oldbit, const unsigned long *old,
549 int n = bitmap_pos_to_ord(old, oldbit, bits);