Home
last modified time | relevance | path

Searched refs:mapp (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/mtd/maps/
H A Duclinux.c70 struct map_info *mapp; in uclinux_mtd_init() local
72 mapp = &uclinux_ram_map; in uclinux_mtd_init()
75 mapp->phys = (resource_size_t)__bss_stop; in uclinux_mtd_init()
77 mapp->phys = physaddr; in uclinux_mtd_init()
79 if (!mapp->size) in uclinux_mtd_init()
80 mapp->size = PAGE_ALIGN(ntohl(*((unsigned long *)(mapp->phys + 8)))); in uclinux_mtd_init()
81 mapp->bankwidth = 4; in uclinux_mtd_init()
84 (int) mapp->phys, (int) mapp->size); in uclinux_mtd_init()
92 mapp->virt = phys_to_virt(mapp->phys); in uclinux_mtd_init()
94 if (mapp->virt == 0) { in uclinux_mtd_init()
[all …]
/linux/drivers/accel/amdxdna/
H A Damdxdna_gem.c106 struct amdxdna_umap *mapp = container_of(mni, struct amdxdna_umap, notifier); in amdxdna_hmm_invalidate() local
107 struct amdxdna_gem_obj *abo = mapp->abo; in amdxdna_hmm_invalidate()
112 mapp->vma->vm_start, mapp->vma->vm_end, abo->type); in amdxdna_hmm_invalidate()
119 mapp->invalid = true; in amdxdna_hmm_invalidate()
120 mmu_interval_set_seq(&mapp->notifier, cur_seq); in amdxdna_hmm_invalidate()
127 if (!mapp->unmapped) { in amdxdna_hmm_invalidate()
128 queue_work(xdna->notifier_wq, &mapp->hmm_unreg_work); in amdxdna_hmm_invalidate()
129 mapp->unmapped = true; in amdxdna_hmm_invalidate()
145 struct amdxdna_umap *mapp; in amdxdna_hmm_unregister() local
148 list_for_each_entry(mapp, &abo->mem.umap_list, node) { in amdxdna_hmm_unregister()
[all …]
H A Daie2_ctx.c886 struct amdxdna_umap *mapp; in aie2_populate_range() local
896 list_for_each_entry(mapp, &abo->mem.umap_list, node) { in aie2_populate_range()
897 if (mapp->invalid) { in aie2_populate_range()
908 kref_get(&mapp->refcnt); in aie2_populate_range()
912 mapp->vma->vm_start, mapp->vma->vm_end); in aie2_populate_range()
913 mm = mapp->notifier.mm; in aie2_populate_range()
915 amdxdna_umap_put(mapp); in aie2_populate_range()
919 mapp->range.notifier_seq = mmu_interval_read_begin(&mapp->notifier); in aie2_populate_range()
921 ret = hmm_range_fault(&mapp->range); in aie2_populate_range()
930 amdxdna_umap_put(mapp); in aie2_populate_range()
[all …]
/linux/tools/perf/util/
H A Dmaps.c415 struct map **mapp = in maps__by_address_index() local
417 sizeof(*mapp), map__start_cmp); in maps__by_address_index()
419 if (mapp) in maps__by_address_index()
420 return mapp - maps_by_address; in maps__by_address_index()
436 struct map **mapp = in maps__by_name_index() local
438 sizeof(*mapp), map__strcmp); in maps__by_name_index()
440 if (mapp) in maps__by_name_index()
441 return mapp - maps_by_name; in maps__by_name_index()
653 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp) in maps__find_symbol() argument
662 if (mapp) in maps__find_symbol()
[all …]
H A Dmachine.h244 struct map **mapp) in machine__find_kernel_symbol() argument
246 return maps__find_symbol(machine->kmaps, addr, mapp); in machine__find_kernel_symbol()
252 struct map **mapp) in machine__find_kernel_symbol_by_name() argument
254 return maps__find_symbol_by_name(machine->kmaps, name, mapp); in machine__find_kernel_symbol_by_name()
H A Dmaps.h66 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp);
67 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, struct map **mapp);
/linux/drivers/pci/
H A Dof_property.c219 u32 *int_map, *mapp; in of_pci_prop_intr_map() local
267 mapp = int_map; in of_pci_prop_intr_map()
275 *mapp = (child->bus->number << 16) | in of_pci_prop_intr_map()
277 mapp += OF_PCI_ADDRESS_CELLS; in of_pci_prop_intr_map()
278 *mapp = pin; in of_pci_prop_intr_map()
279 mapp++; in of_pci_prop_intr_map()
280 *mapp = out_irq[i].np->phandle; in of_pci_prop_intr_map()
281 mapp++; in of_pci_prop_intr_map()
297 mapp += addr_sz[i]; in of_pci_prop_intr_map()
298 memcpy(mapp, out_irq[i].args, in of_pci_prop_intr_map()
[all …]
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c2301 struct xfs_bmbt_irec map, *mapp = &map; in xfs_da_grow_inode_int() local
2326 mapp = kmalloc(sizeof(*mapp) * count, in xfs_da_grow_inode_int()
2333 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int()
2337 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int()
2338 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2348 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2349 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
2350 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2360 if (mapp != &map) in xfs_da_grow_inode_int()
2361 kfree(mapp); in xfs_da_grow_inode_int()
[all …]
/linux/fs/ufs/
H A Dutil.h407 unsigned char * mapp; in find_last_zero_bit() local
410 mapp = bitmap + (size >> 3); in find_last_zero_bit()
411 map = *mapp--; in find_last_zero_bit()
419 map = *mapp--; in find_last_zero_bit()
/linux/drivers/scsi/aic7xxx/
H A Daic7xxx_osm.c852 int flags, bus_dmamap_t *mapp) in ahc_dmamem_alloc() argument
855 *vaddr = dma_alloc_coherent(ahc->dev, dmat->maxsize, mapp, GFP_ATOMIC); in ahc_dmamem_alloc()
H A Daic79xx_osm.c952 int flags, bus_dmamap_t *mapp) in ahd_dmamem_alloc() argument
954 *vaddr = dma_alloc_coherent(&ahd->dev_softc->dev, dmat->maxsize, mapp, in ahd_dmamem_alloc()