Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/drivers/staging/rdma/hfi1/
Dfile_ops.c1576 unsigned long vaddr, tidmap[uctxt->tidmapcnt]; in exp_tid_setup() local
1601 memset(tidmap, 0, sizeof(tidmap[0]) * uctxt->tidmapcnt); in exp_tid_setup()
1658 tidmap[useidx] |= ((1ULL << bits_used) - 1) << bitidx; in exp_tid_setup()
1659 uctxt->tidusemap[useidx] |= tidmap[useidx]; in exp_tid_setup()
1784 if (copy_to_user((void __user *)(unsigned long)tinfo->tidmap, in exp_tid_setup()
1785 tidmap, sizeof(tidmap[0]) * uctxt->tidmapcnt)) in exp_tid_setup()
1803 unsigned long tidmap[uctxt->tidmapcnt]; in exp_tid_free() local
1809 if (copy_from_user(&tidmap, (void __user *)(unsigned long) in exp_tid_free()
1810 tinfo->tidmap, in exp_tid_free()
1811 sizeof(tidmap[0]) * uctxt->tidmapcnt)) { in exp_tid_free()
[all …]
/linux-4.4.14/drivers/staging/rdma/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
/linux-4.4.14/include/uapi/rdma/hfi/
Dhfi1_user.h247 __u64 tidmap; member