Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/infiniband/hw/qib/
Dqib_file_ops.c284 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 …]
Dqib_common.h431 __u64 tidmap; member
/linux-2.6.39/drivers/infiniband/hw/ipath/
Dipath_file_ops.c298 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 …]
Dipath_common.h482 __u64 tidmap; member