/linux-master/arch/arm/xen/ |
H A D | p2m.c | 91 int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, argument 101 if (map_ops[i].status) 103 if (likely(set_phys_to_machine(map_ops[i].host_addr >> XEN_PAGE_SHIFT, 104 map_ops[i].dev_bus_addr >> XEN_PAGE_SHIFT))) 111 map_ops[i].status = GNTST_general_error; 112 unmap.host_addr = map_ops[i].host_addr, 113 unmap.handle = map_ops[i].handle; 114 map_ops[i].handle = INVALID_GRANT_HANDLE; 115 if (map_ops[i].flags & GNTMAP_device_map) 116 unmap.dev_bus_addr = map_ops[ [all...] |
/linux-master/drivers/xen/ |
H A D | xen-front-pgdir-shbuf.c | 249 struct gnttab_map_grant_ref *map_ops = NULL; local 253 map_ops = kcalloc(buf->num_pages, sizeof(*map_ops), GFP_KERNEL); 254 if (!map_ops) 261 kfree(map_ops); 285 gnttab_set_map_op(&map_ops[cur_page], addr, 295 ret = gnttab_map_refs(map_ops, NULL, buf->pages, buf->num_pages); 299 if (likely(map_ops[cur_page].status == GNTST_okay)) { 301 map_ops[cur_page].handle; 309 cur_page, map_ops[cur_pag [all...] |
H A D | gntdev-common.h | 57 struct gnttab_map_grant_ref *map_ops; member in struct:gntdev_grant_map
|
H A D | gntdev.c | 121 kvfree(map->map_ops); 141 add->map_ops = kvmalloc_array(count, sizeof(add->map_ops[0]), 149 NULL == add->map_ops || 200 add->map_ops[i].handle = INVALID_GRANT_HANDLE; 312 gnttab_set_map_op(&map->map_ops[pgnr], pte_maddr, flags, 327 if (map->map_ops[0].handle != INVALID_GRANT_HANDLE) 332 gnttab_set_map_op(&map->map_ops[i], addr, map->flags, 340 * Setup the map_ops corresponding to the pte entries pointing 345 * dev_bus_addr output field gets consumed only from ->map_ops, [all...] |
H A D | grant-table.c | 1245 int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops, argument 1251 ret = HYPERVISOR_grant_table_op(GNTTABOP_map_grant_ref, map_ops, count); 1256 switch (map_ops[i].status) { 1263 foreign->domid = map_ops[i].dom; 1264 foreign->gref = map_ops[i].ref; 1275 map_ops + i, 1276 &map_ops[i].status, __func__); 1286 return set_foreign_p2m_mapping(map_ops, kmap_ops, pages, count);
|
/linux-master/arch/x86/xen/ |
H A D | p2m.c | 688 int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, argument 711 if (map_ops[i].status != GNTST_okay || 715 if (map_ops[i].flags & GNTMAP_contains_pte) { 716 pte = (pte_t *)(mfn_to_virt(PFN_DOWN(map_ops[i].host_addr)) + 717 (map_ops[i].host_addr & ~PAGE_MASK)); 720 mfn = PFN_DOWN(map_ops[i].dev_bus_addr); 733 map_ops[i].status = GNTST_general_error; 734 unmap[0].host_addr = map_ops[i].host_addr, 735 unmap[0].handle = map_ops[i].handle; 736 map_ops[ [all...] |
/linux-master/include/xen/arm/ |
H A D | page.h | 95 extern int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops,
|
/linux-master/arch/x86/include/asm/xen/ |
H A D | page.h | 65 extern int set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, 73 set_foreign_p2m_mapping(struct gnttab_map_grant_ref *map_ops, argument
|
/linux-master/include/xen/ |
H A D | grant_table.h | 255 int gnttab_map_refs(struct gnttab_map_grant_ref *map_ops,
|
/linux-master/drivers/net/xen-netback/ |
H A D | netback.c | 379 unsigned *map_ops, 391 struct gnttab_map_grant_ref *gop = queue->tx_map_ops + *map_ops; 519 (*map_ops) = gop - queue->tx_map_ops; 917 unsigned *map_ops) 1096 map_ops, frag_overflow, nskb, extra_count, 374 xenvif_get_requests(struct xenvif_queue *queue, struct sk_buff *skb, struct xen_netif_tx_request *first, struct xen_netif_tx_request *txfrags, unsigned *copy_ops, unsigned *map_ops, unsigned int frag_overflow, struct sk_buff *nskb, unsigned int extra_count, unsigned int data_len) argument 914 xenvif_tx_build_gops(struct xenvif_queue *queue, int budget, unsigned *copy_ops, unsigned *map_ops) argument
|
/linux-master/tools/perf/ |
H A D | builtin-sched.c | 3622 struct trace_sched_handler map_ops = { local 3659 sched.tp_handler = &map_ops;
|
/linux-master/kernel/trace/ |
H A D | trace_events_hist.c | 5095 const struct tracing_map_ops *map_ops = NULL; local 5119 map_ops = &hist_trigger_elt_data_ops; 5122 map_ops, hist_data);
|