Home
last modified time | relevance | path

Searched refs:gfn (Results 1 – 9 of 9) sorted by relevance

/drivers/xen/
Dxlate_mmu.c44 typedef void (*xen_gfn_fn_t)(unsigned long gfn, void *data);
83 static void setup_hparams(unsigned long gfn, void *data) in setup_hparams() argument
88 info->h_gpfns[info->h_iter] = gfn; in setup_hparams()
145 xen_pfn_t *gfn, int nr, in xen_xlate_remap_gfn_array() argument
158 data.fgfn = gfn; in xen_xlate_remap_gfn_array()
174 static void unmap_gfn(unsigned long gfn, void *data) in unmap_gfn() argument
179 xrp.gpfn = gfn; in unmap_gfn()
197 static void setup_balloon_gfn(unsigned long gfn, void *data) in setup_balloon_gfn() argument
201 info->pfns[info->idx++] = gfn; in setup_balloon_gfn()
Dprivcmd.c350 xen_pfn_t gfn; in mmap_return_error() local
352 ret = get_user(gfn, st->user_gfn); in mmap_return_error()
360 gfn |= (err == -ENOENT) ? in mmap_return_error()
363 return __put_user(gfn, st->user_gfn++); in mmap_return_error()
Dgntdev.c760 bool writeable, unsigned long *gfn) in gntdev_get_page() argument
774 *gfn = pfn_to_gfn(xen_pfn); in gntdev_get_page()
851 unsigned long gfn; in gntdev_grant_copy_seg() local
875 ret = gntdev_get_page(batch, virt, false, &gfn); in gntdev_grant_copy_seg()
879 op->source.u.gmfn = gfn; in gntdev_grant_copy_seg()
894 ret = gntdev_get_page(batch, virt, true, &gfn); in gntdev_grant_copy_seg()
898 op->dest.u.gmfn = gfn; in gntdev_grant_copy_seg()
/drivers/pinctrl/tegra/
Dpinctrl-tegra.c667 int fn, gn, gfn; in tegra_pinctrl_probe() local
699 for (gfn = 0; gfn < 4; gfn++) in tegra_pinctrl_probe()
700 if (g->funcs[gfn] == fn) in tegra_pinctrl_probe()
702 if (gfn == 4) in tegra_pinctrl_probe()
/drivers/xen/xenbus/
Dxenbus_client.c608 static void xenbus_map_ring_setup_grant_hvm(unsigned long gfn, in xenbus_map_ring_setup_grant_hvm() argument
614 unsigned long vaddr = (unsigned long)gfn_to_virt(gfn); in xenbus_map_ring_setup_grant_hvm()
816 static void xenbus_unmap_ring_setup_grant_hvm(unsigned long gfn, in xenbus_unmap_ring_setup_grant_hvm() argument
823 info->addrs[info->idx] = (unsigned long)gfn_to_virt(gfn); in xenbus_unmap_ring_setup_grant_hvm()
/drivers/tty/hvc/
Dhvc_xen.c204 unsigned long gfn; in xen_hvm_console_init() local
233 gfn = v; in xen_hvm_console_init()
234 info->intf = xen_remap(gfn << XEN_PAGE_SHIFT, XEN_PAGE_SIZE); in xen_hvm_console_init()
/drivers/block/
Dxen-blkfront.c351 unsigned long gfn, in get_grant() argument
369 gfn, 0); in get_grant()
580 static void blkif_setup_rw_req_grant(unsigned long gfn, unsigned int offset, in blkif_setup_rw_req_grant() argument
621 gnt_list_entry = get_grant(&setup->gref_head, gfn, rinfo); in blkif_setup_rw_req_grant()
1359 static void blkif_copy_from_grant(unsigned long gfn, unsigned int offset, in blkif_copy_from_grant() argument
/drivers/net/
Dxen-netfront.c426 static void xennet_tx_setup_grant(unsigned long gfn, unsigned int offset, in xennet_tx_setup_grant() argument
444 gfn, GNTMAP_readonly); in xennet_tx_setup_grant()
476 static void xennet_make_one_txreq(unsigned long gfn, unsigned int offset, in xennet_make_one_txreq() argument
483 xennet_tx_setup_grant(gfn, offset, len, data); in xennet_make_one_txreq()
/drivers/scsi/bfa/
Dbfa_fcbuild.c1453 fcgs_gfn_req_t *gfn = (fcgs_gfn_req_t *) (cthdr + 1); in fc_gfn_req_build() local
1460 memset(gfn, 0, sizeof(fcgs_gfn_req_t)); in fc_gfn_req_build()
1461 gfn->wwn = wwn; in fc_gfn_req_build()