/include/linux/ |
D | bitmap.h | 216 static inline int bitmap_and(unsigned long *dst, const unsigned long *src1, in bitmap_and() argument 220 return (*dst = *src1 & *src2 & BITMAP_LAST_WORD_MASK(nbits)) != 0; in bitmap_and() 221 return __bitmap_and(dst, src1, src2, nbits); in bitmap_and() 224 static inline void bitmap_or(unsigned long *dst, const unsigned long *src1, in bitmap_or() argument 228 *dst = *src1 | *src2; in bitmap_or() 230 __bitmap_or(dst, src1, src2, nbits); in bitmap_or() 233 static inline void bitmap_xor(unsigned long *dst, const unsigned long *src1, in bitmap_xor() argument 237 *dst = *src1 ^ *src2; in bitmap_xor() 239 __bitmap_xor(dst, src1, src2, nbits); in bitmap_xor() 242 static inline int bitmap_andnot(unsigned long *dst, const unsigned long *src1, in bitmap_andnot() argument [all …]
|
D | nodemask.h | 152 #define nodes_and(dst, src1, src2) \ argument 153 __nodes_and(&(dst), &(src1), &(src2), MAX_NUMNODES) 160 #define nodes_or(dst, src1, src2) \ argument 161 __nodes_or(&(dst), &(src1), &(src2), MAX_NUMNODES) 168 #define nodes_xor(dst, src1, src2) \ argument 169 __nodes_xor(&(dst), &(src1), &(src2), MAX_NUMNODES) 176 #define nodes_andnot(dst, src1, src2) \ argument 177 __nodes_andnot(&(dst), &(src1), &(src2), MAX_NUMNODES) 192 #define nodes_equal(src1, src2) \ argument 193 __nodes_equal(&(src1), &(src2), MAX_NUMNODES) [all …]
|
D | cpumask.h | 917 #define cpus_and(dst, src1, src2) __cpus_and(&(dst), &(src1), &(src2), NR_CPUS) argument 924 #define cpus_or(dst, src1, src2) __cpus_or(&(dst), &(src1), &(src2), NR_CPUS) argument 931 #define cpus_xor(dst, src1, src2) __cpus_xor(&(dst), &(src1), &(src2), NR_CPUS) argument 938 #define cpus_andnot(dst, src1, src2) \ argument 939 __cpus_andnot(&(dst), &(src1), &(src2), NR_CPUS) 946 #define cpus_equal(src1, src2) __cpus_equal(&(src1), &(src2), NR_CPUS) argument 953 #define cpus_intersects(src1, src2) __cpus_intersects(&(src1), &(src2), NR_CPUS) argument 960 #define cpus_subset(src1, src2) __cpus_subset(&(src1), &(src2), NR_CPUS) argument
|