Searched refs:tidmap (Results 1 – 4 of 4) sorted by relevance
/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 288 unsigned long tidmap[8]; in qib_tid_update() local 331 memset(tidmap, 0, sizeof(tidmap)); in qib_tid_update() 385 __set_bit(tid, tidmap); in qib_tid_update() 402 limit = sizeof(tidmap) * BITS_PER_BYTE; in qib_tid_update() 406 tid = find_first_bit((const unsigned long *)tidmap, limit); in qib_tid_update() 408 if (!test_bit(tid, tidmap)) in qib_tid_update() 439 if (copy_to_user((void __user *) (unsigned long) ti->tidmap, in qib_tid_update() 440 tidmap, sizeof tidmap)) { in qib_tid_update() 479 unsigned long tidmap[8]; in qib_tid_free() local 486 if (copy_from_user(tidmap, (void __user *)(unsigned long)ti->tidmap, in qib_tid_free() [all …]
|
D | qib_common.h | 443 __u64 tidmap; member
|
/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 301 unsigned long tidmap[8]; in ipath_tid_update() local 346 memset(tidmap, 0, sizeof(tidmap)); in ipath_tid_update() 415 __set_bit(tid, tidmap); in ipath_tid_update() 438 limit = sizeof(tidmap) * BITS_PER_BYTE; in ipath_tid_update() 442 tid = find_first_bit((const unsigned long *)tidmap, limit); in ipath_tid_update() 444 if (!test_bit(tid, tidmap)) in ipath_tid_update() 472 if (copy_to_user((void __user *) (unsigned long) ti->tidmap, in ipath_tid_update() 473 tidmap, sizeof tidmap)) { in ipath_tid_update() 516 unsigned long tidmap[8]; in ipath_tid_free() local 523 if (copy_from_user(tidmap, (void __user *)(unsigned long)ti->tidmap, in ipath_tid_free() [all …]
|
D | ipath_common.h | 482 __u64 tidmap; member
|