Lines Matching refs:ip
148 srq->ip =
152 if (!srq->ip) {
157 err = ib_copy_to_udata(udata, &srq->ip->offset,
158 sizeof(srq->ip->offset));
164 srq->ip = NULL;
184 if (srq->ip) {
186 list_add(&srq->ip->pending_mmaps, &dev->pending_mmaps);
194 kfree(srq->ip);
304 if (srq->ip) {
305 struct ipath_mmap_info *ip = srq->ip;
309 ipath_update_mmap_info(dev, ip, s, wq);
316 ret = ib_copy_to_udata(udata, &ip->offset,
317 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, ipath_release_mmap_info);