Home
last modified time | relevance | path

Searched refs:pkeyrefs (Results 1 – 3 of 3) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_mad.c903 if (atomic_dec_and_test(&ppd->pkeyrefs[i])) { in rm_pkey()
945 if (atomic_inc_return(&ppd->pkeyrefs[i]) > 1) { in add_pkey()
950 atomic_dec(&ppd->pkeyrefs[i]); in add_pkey()
969 atomic_inc_return(&ppd->pkeyrefs[i]) == 1) { in add_pkey()
Dqib_file_ops.c608 atomic_t *pkrefs = &ppd->pkeyrefs[i]; in qib_set_part_key()
632 atomic_inc_return(&ppd->pkeyrefs[i]) == 1) { in qib_set_part_key()
695 if (atomic_dec_and_test(&ppd->pkeyrefs[j])) { in qib_clean_part_key()
Dqib.h535 atomic_t pkeyrefs[4]; member