Searched refs:tidmap (Results 1 – 6 of 6) sorted by relevance
/linux-4.4.14/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 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() [all …]
|
D | qib_common.h | 443 __u64 tidmap; member
|
/linux-4.4.14/drivers/staging/rdma/hfi1/ |
D | file_ops.c | 1576 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/ |
D | ipath_file_ops.c | 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() [all …]
|
D | ipath_common.h | 482 __u64 tidmap; member
|
/linux-4.4.14/include/uapi/rdma/hfi/ |
D | hfi1_user.h | 247 __u64 tidmap; member
|