Searched refs:tidmap (Results 1 – 4 of 4) sorted by relevance
/linux-4.1.27/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.1.27/drivers/infiniband/hw/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
|