Lines Matching refs:tidmap
294 unsigned long tidmap[8]; in qib_tid_update() local
337 memset(tidmap, 0, sizeof(tidmap)); in qib_tid_update()
392 __set_bit(tid, tidmap); in qib_tid_update()
409 limit = sizeof(tidmap) * BITS_PER_BYTE; in qib_tid_update()
413 tid = find_first_bit((const unsigned long *)tidmap, limit); in qib_tid_update()
415 if (!test_bit(tid, tidmap)) in qib_tid_update()
446 if (copy_to_user((void __user *) (unsigned long) ti->tidmap, in qib_tid_update()
447 tidmap, sizeof(tidmap))) { in qib_tid_update()
486 unsigned long tidmap[8]; in qib_tid_free() local
493 if (copy_from_user(tidmap, (void __user *)(unsigned long)ti->tidmap, in qib_tid_free()
494 sizeof(tidmap))) { in qib_tid_free()
514 limit = sizeof(tidmap) * BITS_PER_BYTE; in qib_tid_free()
518 tid = find_first_bit(tidmap, limit); in qib_tid_free()
527 if (!test_bit(tid, tidmap)) in qib_tid_free()