Lines Matching refs:ip
145 srq->ip =
148 if (!srq->ip) {
153 err = ib_copy_to_udata(udata, &srq->ip->offset,
154 sizeof(srq->ip->offset));
160 srq->ip = NULL;
180 if (srq->ip) {
182 list_add(&srq->ip->pending_mmaps, &dev->pending_mmaps);
190 kfree(srq->ip);
300 if (srq->ip) {
301 struct qib_mmap_info *ip = srq->ip;
305 qib_update_mmap_info(dev, ip, s, wq);
312 ret = ib_copy_to_udata(udata, &ip->offset,
313 sizeof(ip->offset));
323 if (list_empty(&ip->pending_mmaps))
324 list_add(&ip->pending_mmaps,
368 if (srq->ip)
369 kref_put(&srq->ip->ref, qib_release_mmap_info);