Rev 1964 | Rev 2967 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1964 | Rev 1970 | ||
---|---|---|---|
Line 53... | Line 53... | ||
53 | * bitmap_fold(dst, orig, sz, nbits) dst bits = orig bits mod sz |
53 | * bitmap_fold(dst, orig, sz, nbits) dst bits = orig bits mod sz |
54 | * bitmap_scnprintf(buf, len, src, nbits) Print bitmap src to buf |
54 | * bitmap_scnprintf(buf, len, src, nbits) Print bitmap src to buf |
55 | * bitmap_parse(buf, buflen, dst, nbits) Parse bitmap dst from kernel buf |
55 | * bitmap_parse(buf, buflen, dst, nbits) Parse bitmap dst from kernel buf |
56 | * bitmap_parse_user(ubuf, ulen, dst, nbits) Parse bitmap dst from user buf |
56 | * bitmap_parse_user(ubuf, ulen, dst, nbits) Parse bitmap dst from user buf |
57 | * bitmap_scnlistprintf(buf, len, src, nbits) Print bitmap src as list to buf |
57 | * bitmap_scnlistprintf(buf, len, src, nbits) Print bitmap src as list to buf |
58 | * bitmap_parselist(buf, dst, nbits) Parse bitmap dst from list |
58 | * bitmap_parselist(buf, dst, nbits) Parse bitmap dst from kernel buf |
- | 59 | * bitmap_parselist_user(buf, dst, nbits) Parse bitmap dst from user buf |
|
59 | * bitmap_find_free_region(bitmap, bits, order) Find and allocate bit region |
60 | * bitmap_find_free_region(bitmap, bits, order) Find and allocate bit region |
60 | * bitmap_release_region(bitmap, pos, order) Free specified bit region |
61 | * bitmap_release_region(bitmap, pos, order) Free specified bit region |
61 | * bitmap_allocate_region(bitmap, pos, order) Allocate specified bit region |
62 | * bitmap_allocate_region(bitmap, pos, order) Allocate specified bit region |
62 | */ |
63 | */ |
Line 127... | Line 128... | ||
127 | unsigned long *dst, int nbits); |
128 | unsigned long *dst, int nbits); |
128 | extern int bitmap_scnlistprintf(char *buf, unsigned int len, |
129 | extern int bitmap_scnlistprintf(char *buf, unsigned int len, |
129 | const unsigned long *src, int nbits); |
130 | const unsigned long *src, int nbits); |
130 | extern int bitmap_parselist(const char *buf, unsigned long *maskp, |
131 | extern int bitmap_parselist(const char *buf, unsigned long *maskp, |
131 | int nmaskbits); |
132 | int nmaskbits); |
- | 133 | extern int bitmap_parselist_user(const char __user *ubuf, unsigned int ulen, |
|
- | 134 | unsigned long *dst, int nbits); |
|
132 | extern void bitmap_remap(unsigned long *dst, const unsigned long *src, |
135 | extern void bitmap_remap(unsigned long *dst, const unsigned long *src, |
133 | const unsigned long *old, const unsigned long *new, int bits); |
136 | const unsigned long *old, const unsigned long *new, int bits); |
134 | extern int bitmap_bitremap(int oldbit, |
137 | extern int bitmap_bitremap(int oldbit, |
135 | const unsigned long *old, const unsigned long *new, int bits); |
138 | const unsigned long *old, const unsigned long *new, int bits); |
136 | extern void bitmap_onto(unsigned long *dst, const unsigned long *orig, |
139 | extern void bitmap_onto(unsigned long *dst, const unsigned long *orig, |