Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/infiniband/hw/qib/
Dqib_file_ops.c294 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()
[all …]
Dqib_common.h443 __u64 tidmap; member
/linux-4.1.27/drivers/infiniband/hw/ipath/
Dipath_file_ops.c305 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()
[all …]
Dipath_common.h482 __u64 tidmap; member