Lines Matching defs:op
62 gnttab_map_grant_ref_t op[XENSHM_MAX_PAGES_PER_REQUEST];
82 op[i].host_addr = base_paddr + i * PAGE_SIZE;
84 op[i].host_addr = va + i * PAGE_SIZE;
86 op[i].dom = domid;
87 op[i].ref = grefp[i];
88 op[i].flags = GNTMAP_host_map |
92 ret = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, op, nentries);
113 if (__predict_false(op[i].status)) {
115 printf("%s: op[%d] bad status %d gref %u\n", __func__,
116 i, op[i].status, grefp[i]);
121 handlep[i] = op[i].handle;
135 if (op[i].status == 0) {
181 gnttab_unmap_grant_ref_t op[XENSHM_MAX_PAGES_PER_REQUEST];
198 op[i].host_addr = base_paddr + i * PAGE_SIZE;
200 op[i].host_addr = va + i * PAGE_SIZE;
202 op[i].dev_bus_addr = 0;
203 op[i].handle = handlep[i];
207 op, nentries);