Lines Matching defs:eid
36 static struct hpio *__iotab_search_get(struct hp_iotab *iotab, u32 eid)
41 if (hpio->eid == eid && kref_get_unless_zero(&hpio->refcnt))
47 static struct hpio *iotab_search_get(struct hp_iotab *iotab, u32 eid)
53 hpio = __iotab_search_get(iotab, eid);
56 pr_info("find hpio %p for eid %u.\n", hpio, eid);
63 * @eid, inc the refcnt of duplicated hpio and return it
71 dup = __iotab_search_get(iotab, hpio->eid);
73 pr_info("find exist hpio %p for eid %u, insert hpio %p failed.\n",
74 dup, hpio->eid, hpio);
79 pr_info("insert new hpio %p for eid %u.\n", hpio, hpio->eid);
97 pr_info("delete hpio %p for eid %u from iotab.\n", hpio, hpio->eid);
182 struct hpio *hpio_get(u32 eid)
184 return iotab_search_get(&iotab, eid);
187 struct hpio *hpio_get_alloc(u32 eid, u32 nr_page, gfp_t gfp, unsigned int op)
192 hpio = iotab_search_get(&iotab, eid);
194 pr_info("find exist hpio %p for eid %u.\n", hpio, eid);
200 hpio->eid = eid;
202 pr_info("alloc hpio %p for eid %u.\n", hpio, eid);
219 hpio->free_extent(hpio->eid);
225 pr_info("put hpio %p for eid %u, ref = %u.\n", hpio, hpio->eid, kref_read(&hpio->refcnt));
231 pr_info("complete hpio %p for eid %u.\n", hpio, hpio->eid);
263 pr_info("hpio %p for eid %u is inflight.\n", hpio, hpio->eid);