/include/linux/ |
D | bitmap.h | 190 static inline int bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument 194 return (*dst = *src1 & *src2) != 0; in bitmap_and() 195 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and() 198 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument 202 *dst = *src1 | *src2; in bitmap_or() 204 __bitmap_or(dst, src1, src2, nbits); in bitmap_or() 207 static inline void bitmap_xor(unsigned long *dst, const unsigned long *src1, in bitmap_xor() argument 211 *dst = *src1 ^ *src2; in bitmap_xor() 213 __bitmap_xor(dst, src1, src2, nbits); in bitmap_xor() 216 static inline int bitmap_andnot(unsigned long *dst, const unsigned long *src1, in bitmap_andnot() argument [all …]
|
D | nodemask.h | 135 #define nodes_and(dst, src1, src2) \ argument 136 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES) 143 #define nodes_or(dst, src1, src2) \ argument 144 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES) 151 #define nodes_xor(dst, src1, src2) \ argument 152 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES) 159 #define nodes_andnot(dst, src1, src2) \ argument 160 __nodes_andnot(&(dst), &(src1), &(src2), MAX_NUMNODES) 175 #define nodes_equal(src1, src2) \ argument 176 __nodes_equal(&(src1), &(src2), MAX_NUMNODES) [all …]
|
D | cpumask.h | 866 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) argument 873 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) argument 880 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) argument 887 #define cpus_andnot(dst, src1, src2) \ argument 888 __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 895 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS) argument 902 #define cpus_intersects(src1, src2) __cpus_intersects(&(src1), &(src2), NR_CPUS) argument 909 #define cpus_subset(src1, src2) __cpus_subset(&(src1), &(src2), NR_CPUS) argument
|