Home
last modified time | relevance | path

Searched refs:bmp1 (Results 1 - 2 of 2) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
H A Dlibbitmask.c351 /* Copy bmp2 to bmp1 */
352 struct bitmask *bitmask_copy(struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_copy() argument
355 for (i = 0; i < bmp1->size; i++) in bitmask_copy()
356 _setbit(bmp1, i, _getbit(bmp2, i)); in bitmask_copy()
357 return bmp1; in bitmask_copy()
470 * Binary Boolean operations: bmp1 op? bmp2
474 int bitmask_equal(const struct bitmask *bmp1, const struct bitmask *bmp2) in bitmask_equal() argument
477 for (i = 0; i < bmp1->size || i < bmp2->size; i++) in bitmask_equal()
478 if (_getbit(bmp1, i) != _getbit(bmp2, i)) in bitmask_equal()
484 int bitmask_subset(const struct bitmask *bmp1, cons argument
494 bitmask_disjoint(const struct bitmask *bmp1, const struct bitmask *bmp2) bitmask_disjoint() argument
504 bitmask_intersects(const struct bitmask *bmp1, const struct bitmask *bmp2) bitmask_intersects() argument
551 bitmask_complement(struct bitmask *bmp1, const struct bitmask *bmp2) bitmask_complement() argument
561 bitmask_shiftright(struct bitmask *bmp1, const struct bitmask *bmp2, unsigned int n) bitmask_shiftright() argument
571 bitmask_shiftleft(struct bitmask *bmp1, const struct bitmask *bmp2, unsigned int n) bitmask_shiftleft() argument
585 bitmask_and(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_and() argument
595 bitmask_andnot(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_andnot() argument
605 bitmask_or(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_or() argument
615 bitmask_eor(struct bitmask *bmp1, const struct bitmask *bmp2, const struct bitmask *bmp3) bitmask_eor() argument
[all...]
H A Dbitmask.h44 * bitmask_copy(bmp1, bmp2): Copy bmp2 to bmp1
70 * ==== Binary Boolean operations: bmp1 op? bmp2
72 * bitmask_equal(bmp1, bmp2): True if two bitmasks are equal
73 * bitmask_subset(bmp1, bmp2): True if first bitmask is subset of second
74 * bitmask_disjoint(bmp1, bmp2): True if two bitmasks don't overlap
75 * bitmask_intersects(bmp1, bmp2): True if two bitmasks do overlap
85 * bitmask_complement(bmp1, bmp2): Complement: bmp1 = ~bmp2
86 * bitmask_shiftright(bmp1, bmp
[all...]

Completed in 2 milliseconds