Searched refs:nmaskbits (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/arch/tile/lib/
H A Dcpumask.c25 int bitmap_parselist_crop(const char *bp, unsigned long *maskp, int nmaskbits) bitmap_parselist_crop() argument
29 bitmap_zero(maskp, nmaskbits); bitmap_parselist_crop()
43 if (b >= nmaskbits) bitmap_parselist_crop()
44 b = nmaskbits-1; bitmap_parselist_crop()
/linux-4.1.27/lib/
H A Dbitmap.c349 * @nmaskbits: size of bitmap, in bits.
360 int nmaskbits) __bitmap_parse()
366 bitmap_zero(maskp, nmaskbits); __bitmap_parse()
416 __bitmap_shift_left(maskp, maskp, CHUNKSZ, nmaskbits); __bitmap_parse()
420 if (nbits > nmaskbits) __bitmap_parse()
435 * @nmaskbits: size of bitmap, in bits.
445 int nmaskbits) bitmap_parse_user()
450 ulen, 1, maskp, nmaskbits); bitmap_parse_user()
460 * @nmaskbits: size of bitmap, in bits
467 int nmaskbits) bitmap_print_to_pagebuf()
473 n = list ? scnprintf(buf, len, "%*pbl", nmaskbits, maskp) : bitmap_print_to_pagebuf()
474 scnprintf(buf, len, "%*pb", nmaskbits, maskp); bitmap_print_to_pagebuf()
489 * @nmaskbits: number of bits in mask to be written
504 int nmaskbits) __bitmap_parselist()
512 bitmap_zero(maskp, nmaskbits); __bitmap_parselist()
561 if (b >= nmaskbits) __bitmap_parselist()
573 int bitmap_parselist(const char *bp, unsigned long *maskp, int nmaskbits) bitmap_parselist() argument
578 return __bitmap_parselist(bp, len, 0, maskp, nmaskbits); bitmap_parselist()
590 * @nmaskbits: size of bitmap, in bits.
600 int nmaskbits) bitmap_parselist_user()
605 ulen, 1, maskp, nmaskbits); bitmap_parselist_user()
358 __bitmap_parse(const char *buf, unsigned int buflen, int is_user, unsigned long *maskp, int nmaskbits) __bitmap_parse() argument
443 bitmap_parse_user(const char __user *ubuf, unsigned int ulen, unsigned long *maskp, int nmaskbits) bitmap_parse_user() argument
466 bitmap_print_to_pagebuf(bool list, char *buf, const unsigned long *maskp, int nmaskbits) bitmap_print_to_pagebuf() argument
502 __bitmap_parselist(const char *buf, unsigned int buflen, int is_user, unsigned long *maskp, int nmaskbits) __bitmap_parselist() argument
598 bitmap_parselist_user(const char __user *ubuf, unsigned int ulen, unsigned long *maskp, int nmaskbits) bitmap_parselist_user() argument
/linux-4.1.27/include/linux/
H A Dtrace_seq.h92 int nmaskbits);
105 int nmaskbits) trace_seq_bitmask()
104 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, int nmaskbits) trace_seq_bitmask() argument
H A Dbitmap.h152 int nmaskbits);
173 const unsigned long *maskp, int nmaskbits);
324 unsigned long *maskp, int nmaskbits) bitmap_parse()
326 return __bitmap_parse(buf, buflen, 0, maskp, nmaskbits); bitmap_parse()
323 bitmap_parse(const char *buf, unsigned int buflen, unsigned long *maskp, int nmaskbits) bitmap_parse() argument
/linux-4.1.27/kernel/trace/
H A Dtrace_seq.c109 * @nmaskbits: The number of bits that are valid in @maskp
114 int nmaskbits) trace_seq_bitmask()
123 seq_buf_printf(&s->seq, "%*pb", nmaskbits, maskp); trace_seq_bitmask()
113 trace_seq_bitmask(struct trace_seq *s, const unsigned long *maskp, int nmaskbits) trace_seq_bitmask() argument
/linux-4.1.27/arch/tile/include/asm/
H A Dsmp.h123 int bitmap_parselist_crop(const char *bp, unsigned long *maskp, int nmaskbits);

Completed in 297 milliseconds