Lines Matching refs:maskp
369 * @maskp: pointer to bitmap to convert
376 const unsigned long *maskp, int nmaskbits)
393 val = (maskp[word] >> bit) & chunkmask;
409 * @maskp: pointer to bitmap array that will contain result.
420 int is_user, unsigned long *maskp,
427 bitmap_zero(maskp, nmaskbits);
477 __bitmap_shift_left(maskp, maskp, CHUNKSZ, nmaskbits);
478 *maskp |= chunk;
495 * @maskp: pointer to bitmap array that will contain result.
505 unsigned int ulen, unsigned long *maskp,
510 return __bitmap_parse((const char *)ubuf, ulen, 1, maskp, nmaskbits);
537 * @maskp: pointer to bitmap to convert
551 const unsigned long *maskp, int nmaskbits)
561 rbot = cur = find_first_bit(maskp, nmaskbits);
564 cur = find_next_bit(maskp, nmaskbits, cur+1);
577 * @maskp: write resulting mask here
591 int bitmap_parselist(const char *bp, unsigned long *maskp, int nmaskbits)
595 bitmap_zero(maskp, nmaskbits);
611 set_bit(a, maskp);