Home
last modified time | relevance | path

Searched refs:_getbit (Results 1 – 1 of 1) sorted by relevance

/external/ltp/testcases/kernel/controllers/cpuset/cpuset_lib/
Dlibbitmask.c58 static unsigned int _getbit(const struct bitmask *bmp, unsigned int n) in _getbit() function
141 val = val << 1 | _getbit(bmp, chunk * HEXCHUNKSZ + bit); in bitmask_displayhex()
356 _setbit(bmp1, i, _getbit(bmp2, i)); in bitmask_copy()
410 if (_getbit(bmp, i)) in bitmask_weight()
422 return _getbit(bmp, i); in bitmask_isbitset()
428 return !_getbit(bmp, i); in bitmask_isbitclear()
436 if (!_getbit(bmp, i)) in bitmask_isallset()
446 if (_getbit(bmp, i)) in bitmask_isallclear()
478 if (_getbit(bmp1, i) != _getbit(bmp2, i)) in bitmask_equal()
488 if (_getbit(bmp1, i) > _getbit(bmp2, i)) in bitmask_subset()
[all …]