Home
last modified time | relevance | path

Searched refs:mapp (Results 1 – 13 of 13) 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.c252 struct amdxdna_umap *mapp = container_of(mni, struct amdxdna_umap, notifier); in amdxdna_hmm_invalidate() local
253 struct amdxdna_gem_obj *abo = mapp->abo; in amdxdna_hmm_invalidate()
258 mapp->range.start, mapp->range.end, abo->type); in amdxdna_hmm_invalidate()
265 mapp->invalid = true; in amdxdna_hmm_invalidate()
266 mmu_interval_set_seq(&mapp->notifier, cur_seq); in amdxdna_hmm_invalidate()
274 if (!mapp->unmapped) { in amdxdna_hmm_invalidate()
275 queue_work(xdna->notifier_wq, &mapp->hmm_unreg_work); in amdxdna_hmm_invalidate()
276 mapp->unmapped = true; in amdxdna_hmm_invalidate()
288 static inline bool compare_range(struct amdxdna_umap *mapp, in compare_range() argument
292 return (!mapp->unmapped && mapp->notifier.mm == mm && in compare_range()
[all …]
H A Daie2_ctx.c1045 struct amdxdna_umap *mapp; in aie2_populate_range() local
1055 list_for_each_entry(mapp, &abo->mem.umap_list, node) { in aie2_populate_range()
1063 if (mapp->unmapped) in aie2_populate_range()
1066 if (mapp->invalid && kref_get_unless_zero(&mapp->refcnt)) { in aie2_populate_range()
1086 mm = mapp->notifier.mm; in aie2_populate_range()
1088 amdxdna_umap_put(mapp); in aie2_populate_range()
1092 ret = hmm_range_fault_unlocked_timeout(&mapp->range, timeout); in aie2_populate_range()
1097 if (mmu_interval_read_retry(&mapp->notifier, mapp->range.notifier_seq)) { in aie2_populate_range()
1099 amdxdna_umap_put(mapp); in aie2_populate_range()
1103 mapp->invalid = false; in aie2_populate_range()
[all …]
H A Damdxdna_gem.h106 void amdxdna_umap_put(struct amdxdna_umap *mapp);
/linux/tools/perf/util/
H A Dmaps.c416 struct map **mapp = in maps__by_address_index()
418 sizeof(*mapp), map__start_cmp); in maps__by_address_index()
420 if (mapp) in maps__by_address_index()
421 return mapp - maps_by_address; in maps__by_address_index()
437 struct map **mapp = in maps__by_name_index()
439 sizeof(*mapp), map__strcmp); in maps__by_name_index()
441 if (mapp) in maps__by_name_index()
442 return mapp - maps_by_name; in maps__by_name_index()
731 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp) in maps__fprintf_cb()
740 if (mapp)
415 struct map **mapp = maps__by_address_index() local
436 struct map **mapp = maps__by_name_index() local
653 maps__find_symbol(struct maps * maps,u64 addr,struct map ** mapp) maps__find_symbol() argument
671 struct map **mapp; global() member
694 maps__find_symbol_by_name(struct maps * maps,const char * name,struct map ** mapp) maps__find_symbol_by_name() argument
1137 struct map **mapp = NULL; maps__find() local
1186 struct map **mapp = maps__find_by_name() local
[all...]
H A Dmaps.h69 struct symbol *maps__find_symbol(struct maps *maps, u64 addr, struct map **mapp);
70 struct symbol *maps__find_symbol_by_name(struct maps *maps, const char *name, struct map **mapp);
H A Dmachine.h239 struct map **mapp)
241 return maps__find_symbol(machine->kmaps, addr, mapp);
247 struct map **mapp) in machine__find_kernel_symbol()
249 return maps__find_symbol_by_name(machine->kmaps, name, mapp);
244 machine__find_kernel_symbol(struct machine * machine,u64 addr,struct map ** mapp) machine__find_kernel_symbol() argument
252 machine__find_kernel_symbol_by_name(struct machine * machine,const char * name,struct map ** mapp) machine__find_kernel_symbol_by_name() argument
/linux/drivers/pci/
H A Dof_property.c223 u32 *int_map, *mapp; in of_pci_prop_intr_map()
274 mapp = int_map; in of_pci_prop_intr_map()
282 *mapp = (child->bus->number << 16) | in of_pci_prop_intr_map()
284 mapp += OF_PCI_ADDRESS_CELLS; in of_pci_prop_intr_map()
285 *mapp = pin; in of_pci_prop_intr_map()
286 mapp++; in of_pci_prop_intr_map()
287 *mapp = out_irq[i].np->phandle; in of_pci_prop_intr_map()
288 mapp++; in of_pci_prop_intr_map()
304 mapp += addr_sz[i]; in of_pci_prop_intr_map()
305 memcpy(mapp, out_ir in of_pci_prop_intr_map()
219 u32 *int_map, *mapp; of_pci_prop_intr_map() local
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_da_btree.c2332 struct xfs_bmbt_irec map, *mapp = &map; in xfs_da_grow_inode_int() local
2357 mapp = kmalloc_objs(*mapp, count, GFP_KERNEL | __GFP_NOFAIL); in xfs_da_grow_inode_int()
2363 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int()
2367 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int()
2368 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int()
2378 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int()
2379 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int()
2380 mapp[mapi - 1].br_startoff + mapp[mapi - 1].br_blockcount != in xfs_da_grow_inode_int()
2391 if (mapp != &map) in xfs_da_grow_inode_int()
2392 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()
/linux/kernel/bpf/
H A Dsyscall.c1383 struct bpf_map **mapp, struct bpf_token **tokenp) in map_create_alloc() argument
1619 *mapp = map; in map_create_alloc()