| /linux/drivers/mtd/maps/ |
| H A D | uclinux.c | 70 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 D | amdxdna_gem.c | 232 struct amdxdna_umap *mapp = container_of(mni, struct amdxdna_umap, notifier); in amdxdna_gem_vunmap() 233 struct amdxdna_gem_obj *abo = mapp->abo; in amdxdna_gem_vunmap() 239 if (mapp->unmapped) in amdxdna_gem_dev_addr() 244 mapp->range.start, mapp->range.end, abo->type); in amdxdna_gem_dev_addr() 248 mapp->invalid = true; in amdxdna_hmm_invalidate() 249 mmu_interval_set_seq(&mapp->notifier, cur_seq); in amdxdna_hmm_invalidate() 257 mapp->unmapped = true; in amdxdna_hmm_invalidate() 269 static inline bool compare_range(struct amdxdna_umap *mapp, in amdxdna_hmm_invalidate() 273 return (!mapp in amdxdna_hmm_invalidate() 252 struct amdxdna_umap *mapp = container_of(mni, struct amdxdna_umap, notifier); amdxdna_hmm_invalidate() local 288 compare_range(struct amdxdna_umap * mapp,struct mm_struct * mm,unsigned long start,unsigned long end) compare_range() argument 300 struct amdxdna_umap *mapp; amdxdna_hmm_unregister() local 318 struct amdxdna_umap *mapp = container_of(ref, struct amdxdna_umap, refcnt); amdxdna_umap_release() local 335 amdxdna_umap_put(struct amdxdna_umap * mapp) amdxdna_umap_put() argument 342 struct amdxdna_umap *mapp = container_of(work, struct amdxdna_umap, amdxdna_hmm_unreg_work() local 354 struct amdxdna_umap *mapp; amdxdna_hmm_register() local 443 struct amdxdna_umap *mapp; amdxdna_mark_mapp_invalid() local [all...] |
| H A D | aie2_ctx.c | 1117 struct amdxdna_umap *mapp; in aie2_cmd_submit() 1127 list_for_each_entry(mapp, &abo->mem.umap_list, node) { in aie2_cmd_submit() 1135 if (mapp->unmapped) in aie2_cmd_submit() 1138 if (mapp->invalid && kref_get_unless_zero(&mapp->refcnt)) { in aie2_cmd_submit() 1158 mm = mapp->notifier.mm; in aie2_cmd_submit() 1160 amdxdna_umap_put(mapp); in aie2_cmd_submit() 1164 ret = hmm_range_fault_unlocked_timeout(&mapp->range, timeout); in aie2_cmd_submit() 1169 if (mmu_interval_read_retry(&mapp->notifier, mapp in aie2_cmd_submit() 1045 struct amdxdna_umap *mapp; aie2_populate_range() local [all...] |
| H A D | amdxdna_gem.h | 105 void amdxdna_umap_put(struct amdxdna_umap *mapp);
|
| /linux/tools/perf/util/ |
| H A D | maps.c | 416 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 D | maps.h | 69 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 D | machine.h | 247 struct map **mapp) in machine__find_kernel_symbol() 249 return maps__find_symbol(machine->kmaps, addr, mapp); 255 struct map **mapp) in machine__find_kernel_symbol_by_name() 257 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 D | of_property.c | 223 u32 *int_map, *mapp; in of_pci_prop_intr_map() local 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() [all...] |
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_da_btree.c | 2346 struct xfs_bmbt_irec map, *mapp = ↦ in xfs_da_grow_inode_int() 2371 mapp = kmalloc_objs(*mapp, count, GFP_KERNEL | __GFP_NOFAIL); in xfs_da_grow_inode_int() 2377 args->total, &mapp[mapi], &nmap); in xfs_da_grow_inode_int() 2381 b = mapp[mapi - 1].br_startoff + in xfs_da_grow_inode_int() 2382 mapp[mapi - 1].br_blockcount; in xfs_da_grow_inode_int() 2392 got += mapp[i].br_blockcount; in xfs_da_grow_inode_int() 2393 if (got != count || mapp[0].br_startoff != *bno || in xfs_da_grow_inode_int() 2394 mapp[mapi - 1].br_startoff + mapp[map in xfs_da_grow_inode_int() 2332 struct xfs_bmbt_irec map, *mapp = ↦ xfs_da_grow_inode_int() local 2725 xfs_dabuf_map(struct xfs_inode * dp,xfs_dablk_t bno,unsigned int flags,int whichfork,struct xfs_buf_map ** mapp,int * nmaps) xfs_dabuf_map() argument 2813 struct xfs_buf_map map, *mapp = ↦ xfs_da_get_buf() local 2850 struct xfs_buf_map map, *mapp = ↦ xfs_da_read_buf() local 2896 struct xfs_buf_map *mapp; xfs_da_reada_buf() local [all...] |
| /linux/fs/ufs/ |
| H A D | util.h | 407 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 D | aic7xxx_osm.c | 852 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 D | aic79xx_osm.c | 952 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 D | syscall.c | 1402 struct bpf_map **mapp, struct bpf_token **tokenp) in map_create_alloc() 1638 *mapp = map; in map_create() 1383 map_create_alloc(union bpf_attr * attr,bpfptr_t uattr,struct bpf_verifier_log * log,struct bpf_map ** mapp,struct bpf_token ** tokenp) map_create_alloc() argument
|