Lines Matching refs:tidmap
305 unsigned long tidmap[8]; in ipath_tid_update() local
350 memset(tidmap, 0, sizeof(tidmap)); in ipath_tid_update()
419 __set_bit(tid, tidmap); in ipath_tid_update()
442 limit = sizeof(tidmap) * BITS_PER_BYTE; in ipath_tid_update()
446 tid = find_first_bit((const unsigned long *)tidmap, limit); in ipath_tid_update()
448 if (!test_bit(tid, tidmap)) in ipath_tid_update()
476 if (copy_to_user((void __user *) (unsigned long) ti->tidmap, in ipath_tid_update()
477 tidmap, sizeof tidmap)) { in ipath_tid_update()
520 unsigned long tidmap[8]; in ipath_tid_free() local
527 if (copy_from_user(tidmap, (void __user *)(unsigned long)ti->tidmap, in ipath_tid_free()
528 sizeof tidmap)) { in ipath_tid_free()
548 limit = sizeof(tidmap) * BITS_PER_BYTE; in ipath_tid_free()
552 tid = find_first_bit(tidmap, limit); in ipath_tid_free()
564 if (!test_bit(tid, tidmap)) in ipath_tid_free()