Searched refs:tidmap (Results 1 – 4 of 4) sorted by relevance
/linux-2.6.39/drivers/infiniband/hw/qib/ |
D | qib_file_ops.c | 284 unsigned long tidmap[8]; in qib_tid_update() local 326 memset(tidmap, 0, sizeof(tidmap)); in qib_tid_update() 380 __set_bit(tid, tidmap); in qib_tid_update() 397 limit = sizeof(tidmap) * BITS_PER_BYTE; in qib_tid_update() 401 tid = find_first_bit((const unsigned long *)tidmap, limit); in qib_tid_update() 403 if (!test_bit(tid, tidmap)) in qib_tid_update() 434 if (copy_to_user((void __user *) (unsigned long) ti->tidmap, in qib_tid_update() 435 tidmap, sizeof tidmap)) { in qib_tid_update() 474 unsigned long tidmap[8]; in qib_tid_free() local 481 if (copy_from_user(tidmap, (void __user *)(unsigned long)ti->tidmap, in qib_tid_free() [all …]
|
D | qib_common.h | 431 __u64 tidmap; member
|
/linux-2.6.39/drivers/infiniband/hw/ipath/ |
D | ipath_file_ops.c | 298 unsigned long tidmap[8]; in ipath_tid_update() local 343 memset(tidmap, 0, sizeof(tidmap)); in ipath_tid_update() 412 __set_bit(tid, tidmap); in ipath_tid_update() 435 limit = sizeof(tidmap) * BITS_PER_BYTE; in ipath_tid_update() 439 tid = find_first_bit((const unsigned long *)tidmap, limit); in ipath_tid_update() 441 if (!test_bit(tid, tidmap)) in ipath_tid_update() 469 if (copy_to_user((void __user *) (unsigned long) ti->tidmap, in ipath_tid_update() 470 tidmap, sizeof tidmap)) { in ipath_tid_update() 513 unsigned long tidmap[8]; in ipath_tid_free() local 520 if (copy_from_user(tidmap, (void __user *)(unsigned long)ti->tidmap, in ipath_tid_free() [all …]
|
D | ipath_common.h | 482 __u64 tidmap; member
|