Lines Matching refs:nr_bits
109 #define __bitmask(item, nr_bits) __dynamic_array(char, item, -1) argument
124 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(char, item, -1) argument
225 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument
240 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1) argument
539 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument
557 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1) argument
630 #define __bitmask_size_in_bytes_raw(nr_bits) \ argument
631 (((nr_bits) + 7) / 8)
633 #define __bitmask_size_in_longs(nr_bits) \ argument
634 ((__bitmask_size_in_bytes_raw(nr_bits) + \
642 #define __bitmask_size_in_bytes(nr_bits) \ argument
643 (__bitmask_size_in_longs(nr_bits) * (BITS_PER_LONG / 8))
646 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, \ argument
647 __bitmask_size_in_longs(nr_bits))
650 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, \ argument
651 __bitmask_size_in_longs(nr_bits))
814 #define __bitmask(item, nr_bits) __dynamic_array(unsigned long, item, -1) argument
820 #define __assign_bitmask(dst, src, nr_bits) \ argument
821 memcpy(__get_bitmask(dst), (src), __bitmask_size_in_bytes(nr_bits))
854 #define __rel_bitmask(item, nr_bits) __rel_dynamic_array(unsigned long, item, -1) argument
860 #define __assign_rel_bitmask(dst, src, nr_bits) \ argument
861 memcpy(__get_rel_bitmask(dst), (src), __bitmask_size_in_bytes(nr_bits))