Lines Matching refs:tidmap
294 unsigned long tidmap[8]; in qib_tid_update() local
337 memset(tidmap, 0, sizeof(tidmap)); in qib_tid_update()
396 __set_bit(tid, tidmap); in qib_tid_update()
413 limit = sizeof(tidmap) * BITS_PER_BYTE; in qib_tid_update()
417 tid = find_first_bit((const unsigned long *)tidmap, limit); in qib_tid_update()
419 if (!test_bit(tid, tidmap)) in qib_tid_update()
450 if (copy_to_user(u64_to_user_ptr(ti->tidmap), in qib_tid_update()
451 tidmap, sizeof(tidmap))) { in qib_tid_update()
490 unsigned long tidmap[8]; in qib_tid_free() local
497 if (copy_from_user(tidmap, u64_to_user_ptr(ti->tidmap), in qib_tid_free()
498 sizeof(tidmap))) { in qib_tid_free()
518 limit = sizeof(tidmap) * BITS_PER_BYTE; in qib_tid_free()
522 tid = find_first_bit(tidmap, limit); in qib_tid_free()
531 if (!test_bit(tid, tidmap)) in qib_tid_free()