Lines Matching defs:lock
137 * We have one global lock that protects dev->cq/qp_table. Each
138 * struct mthca_cq/qp also has its own lock. An individual qp lock
139 * may be taken inside of an individual cq lock. Both cqs attached to
144 * corresponding table lock. The pointer from the cq/qp_table to the
154 * taking the struct's lock.
157 * - lock cq/qp_table and look up struct
159 * - drop cq/qp_table lock
160 * - lock struct, do your thing, and unlock struct
164 * - lock cq/qp_table
166 * - unlock cq/qp_table lock
178 * - split cq/qp table lock into n separate (cache-aligned) locks,
180 * - split QP struct lock into three (one for common info, one for the
202 spinlock_t lock;
223 spinlock_t lock;
246 spinlock_t lock;