Lines Matching refs:bitmap
62 for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) {
77 for_each_set_bit(i, (unsigned long *)&p->bitmap, KSYNCMAP) {
80 last << 1 | ((p->bitmap >> (i + 1)) ? 1 : 0),
183 if (hweight32((*sync)->bitmap) != 1) {
184 pr_err("First bitmap does not contain a single entry, found %x (count=%d)!\n",
185 (*sync)->bitmap, hweight32((*sync)->bitmap));
189 err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno);
252 if (hweight32((*sync)->bitmap) != 1) {
254 context, (*sync)->bitmap, hweight32((*sync)->bitmap));
258 err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno);
314 if (hweight32(join->bitmap) != 2) {
316 join->bitmap, hweight32(join->bitmap));
432 if (sync->bitmap != BIT(idx + 1) - 1) {
433 pr_err("Inserting neighbouring context=0x%llx+%d, did not fit into the same leaf bitmap=%x (%d), expected %lx (%d)\n",
435 sync->bitmap, hweight32(sync->bitmap),
498 if (sync->bitmap != BIT(KSYNCMAP) - 1) {
500 sync->bitmap, hweight32(sync->bitmap),
523 if (!is_power_of_2(leaf->bitmap)) {
525 idx, leaf->bitmap, hweight32(leaf->bitmap));
530 if (leaf->bitmap != BIT(idx)) {
532 idx, ilog2(leaf->bitmap), idx);