rmap 241 arch/powerpc/include/asm/kvm_book3s.h unsigned long *rmap, long pte_index, int realmode); rmap 64 arch/powerpc/include/asm/kvm_book3s_64.h u64 rmap; rmap 104 arch/powerpc/include/asm/kvm_book3s_64.h ((u64) (node)) : ((pos)->rmap))) && \ rmap 473 arch/powerpc/include/asm/kvm_book3s_64.h static inline void lock_rmap(unsigned long *rmap) rmap 476 arch/powerpc/include/asm/kvm_book3s_64.h while (test_bit(KVMPPC_RMAP_LOCK_BIT, rmap)) rmap 478 arch/powerpc/include/asm/kvm_book3s_64.h } while (test_and_set_bit_lock(KVMPPC_RMAP_LOCK_BIT, rmap)); rmap 481 arch/powerpc/include/asm/kvm_book3s_64.h static inline void unlock_rmap(unsigned long *rmap) rmap 483 arch/powerpc/include/asm/kvm_book3s_64.h __clear_bit_unlock(KVMPPC_RMAP_LOCK_BIT, rmap); rmap 261 arch/powerpc/include/asm/kvm_host.h unsigned long *rmap; rmap 502 arch/powerpc/kvm/book3s_64_mmu_hv.c unsigned long *rmap; rmap 687 arch/powerpc/kvm/book3s_64_mmu_hv.c rmap = &memslot->arch.rmap[gfn_base - memslot->base_gfn]; rmap 688 arch/powerpc/kvm/book3s_64_mmu_hv.c lock_rmap(rmap); rmap 693 arch/powerpc/kvm/book3s_64_mmu_hv.c unlock_rmap(rmap); rmap 698 arch/powerpc/kvm/book3s_64_mmu_hv.c rcbits = *rmap >> KVMPPC_RMAP_RC_SHIFT; rmap 703 arch/powerpc/kvm/book3s_64_mmu_hv.c unlock_rmap(rmap); rmap 709 arch/powerpc/kvm/book3s_64_mmu_hv.c kvmppc_add_revmap_chain(kvm, rev, rmap, index, 0); rmap 759 arch/powerpc/kvm/book3s_64_mmu_hv.c memset(memslot->arch.rmap, 0, rmap 760 arch/powerpc/kvm/book3s_64_mmu_hv.c memslot->npages * sizeof(*memslot->arch.rmap)); rmap 861 arch/powerpc/kvm/book3s_64_mmu_hv.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 908 arch/powerpc/kvm/book3s_64_mmu_hv.c rmapp = memslot->arch.rmap; rmap 936 arch/powerpc/kvm/book3s_64_mmu_hv.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 999 arch/powerpc/kvm/book3s_64_mmu_hv.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 1154 arch/powerpc/kvm/book3s_64_mmu_hv.c rmapp = memslot->arch.rmap; rmap 1297 arch/powerpc/kvm/book3s_64_mmu_hv.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 998 arch/powerpc/kvm/book3s_64_mmu_radix.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 1043 arch/powerpc/kvm/book3s_64_mmu_radix.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 92 arch/powerpc/kvm/book3s_64_vio_hv.c *prmap = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 484 arch/powerpc/kvm/book3s_64_vio_hv.c unsigned long *rmap = NULL; rmap 535 arch/powerpc/kvm/book3s_64_vio_hv.c if (kvmppc_rm_tce_to_ua(vcpu->kvm, tce_list, &ua, &rmap)) rmap 538 arch/powerpc/kvm/book3s_64_vio_hv.c rmap = (void *) vmalloc_to_phys(rmap); rmap 539 arch/powerpc/kvm/book3s_64_vio_hv.c if (WARN_ON_ONCE_RM(!rmap)) rmap 550 arch/powerpc/kvm/book3s_64_vio_hv.c lock_rmap(rmap); rmap 594 arch/powerpc/kvm/book3s_64_vio_hv.c if (rmap) rmap 595 arch/powerpc/kvm/book3s_64_vio_hv.c unlock_rmap(rmap); rmap 4461 arch/powerpc/kvm/book3s_hv.c if (!dont || free->arch.rmap != dont->arch.rmap) { rmap 4462 arch/powerpc/kvm/book3s_hv.c vfree(free->arch.rmap); rmap 4463 arch/powerpc/kvm/book3s_hv.c free->arch.rmap = NULL; rmap 4470 arch/powerpc/kvm/book3s_hv.c slot->arch.rmap = vzalloc(array_size(npages, sizeof(*slot->arch.rmap))); rmap 4471 arch/powerpc/kvm/book3s_hv.c if (!slot->arch.rmap) rmap 764 arch/powerpc/kvm/book3s_hv_nested.c u64 rmap, new_rmap = (*n_rmap)->rmap; rmap 774 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) { rmap 775 arch/powerpc/kvm/book3s_hv_nested.c if (kvmhv_n_rmap_is_equal(rmap, new_rmap)) rmap 780 arch/powerpc/kvm/book3s_hv_nested.c rmap = *rmapp; rmap 781 arch/powerpc/kvm/book3s_hv_nested.c if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */ rmap 784 arch/powerpc/kvm/book3s_hv_nested.c if (rmap & RMAP_NESTED_IS_SINGLE_ENTRY) /* Not previously a list */ rmap 785 arch/powerpc/kvm/book3s_hv_nested.c (*n_rmap)->list.next = (struct llist_node *) rmap; rmap 830 arch/powerpc/kvm/book3s_hv_nested.c unsigned long rmap, mask; rmap 838 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) rmap 839 arch/powerpc/kvm/book3s_hv_nested.c kvmhv_update_nest_rmap_rc(kvm, rmap, clr, set, hpa, mask); rmap 868 arch/powerpc/kvm/book3s_hv_nested.c unsigned long rmap; rmap 870 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) { rmap 871 arch/powerpc/kvm/book3s_hv_nested.c kvmhv_remove_nest_rmap(kvm, rmap, hpa, mask); rmap 894 arch/powerpc/kvm/book3s_hv_nested.c unsigned long *rmap = &memslot->arch.rmap[gfn]; rmap 895 arch/powerpc/kvm/book3s_hv_nested.c kvmhv_remove_nest_rmap_list(kvm, rmap, hpa, addr_mask); rmap 904 arch/powerpc/kvm/book3s_hv_nested.c unsigned long rmap, *rmapp = &free->arch.rmap[page]; rmap 909 arch/powerpc/kvm/book3s_hv_nested.c for_each_nest_rmap_safe(cursor, entry, &rmap) rmap 1414 arch/powerpc/kvm/book3s_hv_nested.c n_rmap->rmap = (n_gpa & RMAP_NESTED_GPA_MASK) | rmap 1416 arch/powerpc/kvm/book3s_hv_nested.c rmapp = &memslot->arch.rmap[gfn - memslot->base_gfn]; rmap 82 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long *rmap, long pte_index, int realmode) rmap 87 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (*rmap & KVMPPC_RMAP_PRESENT) { rmap 88 arch/powerpc/kvm/book3s_hv_rm_mmu.c i = *rmap & KVMPPC_RMAP_INDEX; rmap 101 arch/powerpc/kvm/book3s_hv_rm_mmu.c *rmap = (*rmap & ~KVMPPC_RMAP_INDEX) | rmap 104 arch/powerpc/kvm/book3s_hv_rm_mmu.c unlock_rmap(rmap); rmap 143 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long *rmap; rmap 155 arch/powerpc/kvm/book3s_hv_rm_mmu.c rmap = real_vmalloc_addr(&memslot->arch.rmap[gfn - memslot->base_gfn]); rmap 156 arch/powerpc/kvm/book3s_hv_rm_mmu.c return rmap; rmap 166 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long *rmap; rmap 173 arch/powerpc/kvm/book3s_hv_rm_mmu.c rmap = revmap_for_hpte(kvm, hpte_v, ptel, &memslot, &gfn); rmap 174 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (!rmap) rmap 176 arch/powerpc/kvm/book3s_hv_rm_mmu.c lock_rmap(rmap); rmap 178 arch/powerpc/kvm/book3s_hv_rm_mmu.c head = *rmap & KVMPPC_RMAP_INDEX; rmap 186 arch/powerpc/kvm/book3s_hv_rm_mmu.c *rmap &= ~(KVMPPC_RMAP_PRESENT | KVMPPC_RMAP_INDEX); rmap 188 arch/powerpc/kvm/book3s_hv_rm_mmu.c *rmap = (*rmap & ~KVMPPC_RMAP_INDEX) | head; rmap 190 arch/powerpc/kvm/book3s_hv_rm_mmu.c *rmap |= rcbits << KVMPPC_RMAP_RC_SHIFT; rmap 194 arch/powerpc/kvm/book3s_hv_rm_mmu.c unlock_rmap(rmap); rmap 209 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long *rmap; rmap 235 arch/powerpc/kvm/book3s_hv_rm_mmu.c rmap = NULL; rmap 247 arch/powerpc/kvm/book3s_hv_rm_mmu.c rmap = &memslot->arch.rmap[slot_fn]; rmap 380 arch/powerpc/kvm/book3s_hv_rm_mmu.c rmap = real_vmalloc_addr(rmap); rmap 381 arch/powerpc/kvm/book3s_hv_rm_mmu.c lock_rmap(rmap); rmap 388 arch/powerpc/kvm/book3s_hv_rm_mmu.c unlock_rmap(rmap); rmap 390 arch/powerpc/kvm/book3s_hv_rm_mmu.c kvmppc_add_revmap_chain(kvm, rev, rmap, pte_index, rmap 393 arch/powerpc/kvm/book3s_hv_rm_mmu.c rcbits = *rmap >> KVMPPC_RMAP_RC_SHIFT; rmap 803 arch/powerpc/kvm/book3s_hv_rm_mmu.c unsigned long *rmap; rmap 829 arch/powerpc/kvm/book3s_hv_rm_mmu.c rmap = revmap_for_hpte(kvm, v, gr, NULL, NULL); rmap 830 arch/powerpc/kvm/book3s_hv_rm_mmu.c if (rmap) { rmap 831 arch/powerpc/kvm/book3s_hv_rm_mmu.c lock_rmap(rmap); rmap 832 arch/powerpc/kvm/book3s_hv_rm_mmu.c *rmap |= KVMPPC_RMAP_REFERENCED; rmap 833 arch/powerpc/kvm/book3s_hv_rm_mmu.c unlock_rmap(rmap); rmap 152 arch/s390/mm/gmap.c struct gmap_rmap *rmap, *rnext, *head; rmap 171 arch/s390/mm/gmap.c gmap_for_each_rmap_safe(rmap, rnext, head) rmap 172 arch/s390/mm/gmap.c kfree(rmap); rmap 1178 arch/s390/mm/gmap.c struct gmap_rmap *rmap) rmap 1185 arch/s390/mm/gmap.c rmap->next = radix_tree_deref_slot_protected(slot, rmap 1187 arch/s390/mm/gmap.c radix_tree_replace_slot(&sg->host_to_rmap, slot, rmap); rmap 1189 arch/s390/mm/gmap.c rmap->next = NULL; rmap 1191 arch/s390/mm/gmap.c rmap); rmap 1209 arch/s390/mm/gmap.c struct gmap_rmap *rmap; rmap 1221 arch/s390/mm/gmap.c rmap = kzalloc(sizeof(*rmap), GFP_KERNEL); rmap 1222 arch/s390/mm/gmap.c if (!rmap) rmap 1224 arch/s390/mm/gmap.c rmap->raddr = raddr; rmap 1227 arch/s390/mm/gmap.c kfree(rmap); rmap 1237 arch/s390/mm/gmap.c gmap_insert_rmap(sg, vmaddr, rmap); rmap 1243 arch/s390/mm/gmap.c kfree(rmap); rmap 2108 arch/s390/mm/gmap.c struct gmap_rmap *rmap; rmap 2119 arch/s390/mm/gmap.c rmap = kzalloc(sizeof(*rmap), GFP_KERNEL); rmap 2120 arch/s390/mm/gmap.c if (!rmap) rmap 2122 arch/s390/mm/gmap.c rmap->raddr = (saddr & PAGE_MASK) | _SHADOW_RMAP_PGTABLE; rmap 2149 arch/s390/mm/gmap.c gmap_insert_rmap(sg, vmaddr, rmap); rmap 2150 arch/s390/mm/gmap.c rmap = NULL; rmap 2163 arch/s390/mm/gmap.c kfree(rmap); rmap 2176 arch/s390/mm/gmap.c struct gmap_rmap *rmap, *rnext, *head; rmap 2200 arch/s390/mm/gmap.c gmap_for_each_rmap_safe(rmap, rnext, head) { rmap 2201 arch/s390/mm/gmap.c bits = rmap->raddr & _SHADOW_RMAP_MASK; rmap 2202 arch/s390/mm/gmap.c raddr = rmap->raddr ^ bits; rmap 2220 arch/s390/mm/gmap.c kfree(rmap); rmap 796 arch/x86/include/asm/kvm_host.h struct kvm_rmap_head *rmap[KVM_NR_PAGE_SIZES]; rmap 1475 arch/x86/kvm/mmu.c return &slot->arch.rmap[level - PT_PAGE_TABLE_LEVEL][idx]; rmap 1932 arch/x86/kvm/mmu.c struct kvm_rmap_head *rmap; rmap 1944 arch/x86/kvm/mmu.c iterator->rmap = __gfn_to_rmap(iterator->gfn, level, iterator->slot); rmap 1965 arch/x86/kvm/mmu.c return !!iterator->rmap; rmap 1970 arch/x86/kvm/mmu.c if (++iterator->rmap <= iterator->end_rmap) { rmap 1976 arch/x86/kvm/mmu.c iterator->rmap = NULL; rmap 2029 arch/x86/kvm/mmu.c ret |= handler(kvm, iterator.rmap, memslot, rmap 5700 arch/x86/kvm/mmu.c if (iterator.rmap) rmap 5701 arch/x86/kvm/mmu.c flush |= fn(kvm, iterator.rmap); rmap 9721 arch/x86/kvm/x86.c if (!dont || free->arch.rmap[i] != dont->arch.rmap[i]) { rmap 9722 arch/x86/kvm/x86.c kvfree(free->arch.rmap[i]); rmap 9723 arch/x86/kvm/x86.c free->arch.rmap[i] = NULL; rmap 9759 arch/x86/kvm/x86.c slot->arch.rmap[i] = rmap 9760 arch/x86/kvm/x86.c kvcalloc(lpages, sizeof(*slot->arch.rmap[i]), rmap 9762 arch/x86/kvm/x86.c if (!slot->arch.rmap[i]) rmap 9799 arch/x86/kvm/x86.c kvfree(slot->arch.rmap[i]); rmap 9800 arch/x86/kvm/x86.c slot->arch.rmap[i] = NULL; rmap 19 drivers/gpio/gpio-max77620.c struct regmap *rmap; rmap 131 drivers/gpio/gpio-max77620.c ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 146 drivers/gpio/gpio-max77620.c ret = regmap_read(mgpio->rmap, GPIO_REG_ADDR(offset), &val); rmap 168 drivers/gpio/gpio-max77620.c ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 175 drivers/gpio/gpio-max77620.c ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 209 drivers/gpio/gpio-max77620.c ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 227 drivers/gpio/gpio-max77620.c ret = regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 240 drivers/gpio/gpio-max77620.c return regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 244 drivers/gpio/gpio-max77620.c return regmap_update_bits(mgpio->rmap, GPIO_REG_ADDR(offset), rmap 280 drivers/gpio/gpio-max77620.c mgpio->rmap = chip->rmap; rmap 306 drivers/gpio/gpio-max77620.c ret = devm_regmap_add_irq_chip(&pdev->dev, chip->rmap, gpio_irq, rmap 150 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 172 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_FLASH_EN, 0); rmap 177 drivers/leds/leds-max77693.c return regmap_write(rmap, MAX77693_LED_REG_FLASH_EN, v); rmap 269 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 288 drivers/leds/leds-max77693.c return regmap_write(rmap, MAX77693_LED_REG_ITORCH, rmap 296 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 306 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_IFLASH1, rmap 313 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_IFLASH2, rmap 322 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 328 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_FLASH_TIMER, v); rmap 340 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 344 drivers/leds/leds-max77693.c ret = regmap_read(rmap, MAX77693_LED_REG_FLASH_STATUS, &v); rmap 356 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 376 drivers/leds/leds-max77693.c ret = regmap_read(rmap, MAX77693_LED_REG_FLASH_INT, &v); rmap 393 drivers/leds/leds-max77693.c struct regmap *rmap = led->regmap; rmap 423 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_ITORCHTIMER, v); rmap 433 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_MAX_FLASH1, v); rmap 436 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_MAX_FLASH2, 0); rmap 448 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_VOUT_CNTL, v); rmap 453 drivers/leds/leds-max77693.c ret = regmap_write(rmap, MAX77693_LED_REG_VOUT_FLASH1, v); rmap 137 drivers/lightnvm/core.c struct nvm_dev_map *dev_rmap = dev->rmap; rmap 512 drivers/lightnvm/core.c struct nvm_dev_map *rmap; rmap 515 drivers/lightnvm/core.c rmap = kmalloc(sizeof(struct nvm_dev_map), GFP_KERNEL); rmap 516 drivers/lightnvm/core.c if (!rmap) rmap 519 drivers/lightnvm/core.c rmap->chnls = kcalloc(dev->geo.num_ch, sizeof(struct nvm_ch_map), rmap 521 drivers/lightnvm/core.c if (!rmap->chnls) rmap 529 drivers/lightnvm/core.c ch_rmap = &rmap->chnls[i]; rmap 544 drivers/lightnvm/core.c dev->rmap = rmap; rmap 549 drivers/lightnvm/core.c kfree(rmap->chnls[i].lun_offs); rmap 551 drivers/lightnvm/core.c kfree(rmap); rmap 558 drivers/lightnvm/core.c struct nvm_dev_map *rmap = dev->rmap; rmap 562 drivers/lightnvm/core.c kfree(rmap->chnls[i].lun_offs); rmap 564 drivers/lightnvm/core.c kfree(rmap->chnls); rmap 565 drivers/lightnvm/core.c kfree(rmap); rmap 581 drivers/lightnvm/core.c struct nvm_dev_map *dev_rmap = dev->rmap; rmap 1131 drivers/lightnvm/core.c if (dev->rmap) rmap 235 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_INTENLBT, rmap 248 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_INTENLBT, rmap 390 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_FPS_CFG0 + fps_id, rmap 426 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG2, rmap 438 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG2, rmap 449 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG1, rmap 468 drivers/mfd/max77620.c ret = regmap_read(chip->rmap, i, &val); rmap 489 drivers/mfd/max77620.c regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG1, rmap 535 drivers/mfd/max77620.c chip->rmap = devm_regmap_init_i2c(client, rmap_config); rmap 536 drivers/mfd/max77620.c if (IS_ERR(chip->rmap)) { rmap 537 drivers/mfd/max77620.c ret = PTR_ERR(chip->rmap); rmap 547 drivers/mfd/max77620.c ret = devm_regmap_add_irq_chip(chip->dev, chip->rmap, client->irq, rmap 584 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_FPS_CFG0 + fps_id, rmap 621 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG1, rmap 633 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG2, rmap 671 drivers/mfd/max77620.c ret = regmap_update_bits(chip->rmap, MAX77620_REG_ONOFFCNFG2, rmap 191 drivers/mfd/tps65090.c tps65090->rmap = devm_regmap_init_i2c(client, &tps65090_regmap_config); rmap 192 drivers/mfd/tps65090.c if (IS_ERR(tps65090->rmap)) { rmap 193 drivers/mfd/tps65090.c ret = PTR_ERR(tps65090->rmap); rmap 199 drivers/mfd/tps65090.c ret = regmap_add_irq_chip(tps65090->rmap, client->irq, rmap 129 drivers/mtd/maps/physmap-gemini.c struct regmap *rmap; rmap 143 drivers/mtd/maps/physmap-gemini.c rmap = syscon_regmap_lookup_by_phandle(np, "syscon"); rmap 144 drivers/mtd/maps/physmap-gemini.c if (IS_ERR(rmap)) { rmap 146 drivers/mtd/maps/physmap-gemini.c return PTR_ERR(rmap); rmap 149 drivers/mtd/maps/physmap-gemini.c ret = regmap_read(rmap, GLOBAL_STATUS, &val); rmap 192 drivers/mtd/maps/physmap-versatile.c struct regmap *rmap; rmap 209 drivers/mtd/maps/physmap-versatile.c rmap = syscon_node_to_regmap(sysnp); rmap 210 drivers/mtd/maps/physmap-versatile.c if (IS_ERR(rmap)) rmap 211 drivers/mtd/maps/physmap-versatile.c return PTR_ERR(rmap); rmap 213 drivers/mtd/maps/physmap-versatile.c syscon_regmap = rmap; rmap 8202 drivers/net/ethernet/broadcom/bnxt/bnxt.c struct cpu_rmap *rmap; rmap 8212 drivers/net/ethernet/broadcom/bnxt/bnxt.c rmap = bp->dev->rx_cpu_rmap; rmap 8222 drivers/net/ethernet/broadcom/bnxt/bnxt.c if (rmap && bp->bnapi[i]->rx_ring) { rmap 8223 drivers/net/ethernet/broadcom/bnxt/bnxt.c rc = irq_cpu_rmap_add(rmap, irq->vector); rmap 1237 drivers/net/ethernet/mellanox/mlx4/eq.c if (!info->rmap) { rmap 1238 drivers/net/ethernet/mellanox/mlx4/eq.c info->rmap = alloc_irq_cpu_rmap( rmap 1240 drivers/net/ethernet/mellanox/mlx4/eq.c if (!info->rmap) { rmap 1248 drivers/net/ethernet/mellanox/mlx4/eq.c info->rmap, eq->irq); rmap 1310 drivers/net/ethernet/mellanox/mlx4/eq.c if (mlx4_priv(dev)->port[i].rmap) { rmap 1311 drivers/net/ethernet/mellanox/mlx4/eq.c free_irq_cpu_rmap(mlx4_priv(dev)->port[i].rmap); rmap 1312 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_priv(dev)->port[i].rmap = NULL; rmap 1342 drivers/net/ethernet/mellanox/mlx4/eq.c if (mlx4_priv(dev)->port[i].rmap) { rmap 1343 drivers/net/ethernet/mellanox/mlx4/eq.c free_irq_cpu_rmap(mlx4_priv(dev)->port[i].rmap); rmap 1344 drivers/net/ethernet/mellanox/mlx4/eq.c mlx4_priv(dev)->port[i].rmap = NULL; rmap 1448 drivers/net/ethernet/mellanox/mlx4/eq.c return mlx4_priv(dev)->port[port].rmap; rmap 3100 drivers/net/ethernet/mellanox/mlx4/main.c free_irq_cpu_rmap(info->rmap); rmap 3101 drivers/net/ethernet/mellanox/mlx4/main.c info->rmap = NULL; rmap 843 drivers/net/ethernet/mellanox/mlx4/mlx4.h struct cpu_rmap *rmap; rmap 25 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c struct cpu_rmap *rmap; rmap 132 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c free_irq_cpu_rmap(irq_table->rmap); rmap 145 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c irq_table->rmap = alloc_irq_cpu_rmap(num_affinity_vec); rmap 146 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c if (!irq_table->rmap) { rmap 154 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c err = irq_cpu_rmap_add(irq_table->rmap, rmap 247 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c return irq_table->rmap; rmap 104 drivers/pinctrl/pinctrl-max77620.c struct regmap *rmap; rmap 254 drivers/pinctrl/pinctrl-max77620.c ret = regmap_update_bits(mpci->rmap, MAX77620_REG_AME_GPIO, rmap 291 drivers/pinctrl/pinctrl-max77620.c ret = regmap_read(mpci->rmap, MAX77620_REG_PUE_GPIO, &val); rmap 301 drivers/pinctrl/pinctrl-max77620.c ret = regmap_read(mpci->rmap, MAX77620_REG_PDE_GPIO, &val); rmap 326 drivers/pinctrl/pinctrl-max77620.c ret = regmap_read(mpci->rmap, addr, &val); rmap 385 drivers/pinctrl/pinctrl-max77620.c ret = regmap_update_bits(mpci->rmap, addr, mask, param_val << shift); rmap 414 drivers/pinctrl/pinctrl-max77620.c ret = regmap_update_bits(mpci->rmap, rmap 427 drivers/pinctrl/pinctrl-max77620.c ret = regmap_update_bits(mpci->rmap, rmap 504 drivers/pinctrl/pinctrl-max77620.c ret = regmap_update_bits(mpci->rmap, rmap 513 drivers/pinctrl/pinctrl-max77620.c ret = regmap_update_bits(mpci->rmap, rmap 560 drivers/pinctrl/pinctrl-max77620.c mpci->rmap = max77620->rmap; rmap 89 drivers/power/supply/bq24257_charger.c struct regmap *rmap; rmap 986 drivers/power/supply/bq24257_charger.c bq->rmap = devm_regmap_init_i2c(client, &bq24257_regmap_config); rmap 987 drivers/power/supply/bq24257_charger.c if (IS_ERR(bq->rmap)) { rmap 989 drivers/power/supply/bq24257_charger.c return PTR_ERR(bq->rmap); rmap 995 drivers/power/supply/bq24257_charger.c bq->rmap_fields[i] = devm_regmap_field_alloc(dev, bq->rmap, rmap 1114 drivers/power/supply/bq24257_charger.c ret = regcache_drop_region(bq->rmap, BQ24257_REG_1, BQ24257_REG_7); rmap 91 drivers/power/supply/bq25890_charger.c struct regmap *rmap; rmap 843 drivers/power/supply/bq25890_charger.c bq->rmap = devm_regmap_init_i2c(client, &bq25890_regmap_config); rmap 844 drivers/power/supply/bq25890_charger.c if (IS_ERR(bq->rmap)) { rmap 846 drivers/power/supply/bq25890_charger.c return PTR_ERR(bq->rmap); rmap 852 drivers/power/supply/bq25890_charger.c bq->rmap_fields[i] = devm_regmap_field_alloc(dev, bq->rmap, rmap 49 drivers/power/supply/max14577_charger.c struct regmap *rmap = chg->max14577->regmap; rmap 64 drivers/power/supply/max14577_charger.c ret = max14577_read_reg(rmap, MAX14577_CHG_REG_CHG_CTRL2, ®_data); rmap 73 drivers/power/supply/max14577_charger.c ret = max14577_read_reg(rmap, MAX14577_CHG_REG_STATUS3, ®_data); rmap 123 drivers/power/supply/max14577_charger.c struct regmap *rmap = chg->max14577->regmap; rmap 128 drivers/power/supply/max14577_charger.c ret = max14577_read_reg(rmap, MAX14577_MUIC_REG_STATUS2, ®_data); rmap 162 drivers/power/supply/max14577_charger.c struct regmap *rmap = chg->max14577->regmap; rmap 167 drivers/power/supply/max14577_charger.c ret = max14577_read_reg(rmap, MAX14577_MUIC_REG_STATUS2, ®_data); rmap 178 drivers/power/supply/max14577_charger.c ret = max14577_read_reg(rmap, MAX14577_CHG_REG_STATUS3, ®_data); rmap 328 drivers/power/supply/max14577_charger.c struct regmap *rmap = chg->max14577->regmap; rmap 338 drivers/power/supply/max14577_charger.c max14577_update_reg(rmap, MAX14577_REG_CDETCTRL1, rmap 348 drivers/power/supply/max14577_charger.c max14577_write_reg(rmap, MAX14577_REG_CHGCTRL2, reg_data); rmap 352 drivers/power/supply/max14577_charger.c max14577_write_reg(rmap, MAX14577_REG_CHGCTRL6, reg_data); rmap 387 drivers/power/supply/max14577_charger.c max14577_write_reg(rmap, MAX14577_REG_CHGCTRL7, reg_data); rmap 781 drivers/rapidio/rio.c u16 destid, u8 hopcount, u32 *rmap) rmap 806 drivers/rapidio/rio.c *rmap = 1; rmap 813 drivers/rapidio/rio.c *rmap = 2; rmap 905 drivers/rapidio/rio.c u32 rmap; rmap 914 drivers/rapidio/rio.c hopcount, &rmap); rmap 918 drivers/rapidio/rio.c ext_ftr_ptr + RIO_PORT_N_CTL_CSR(0, rmap), rmap 922 drivers/rapidio/rio.c ext_ftr_ptr + RIO_PORT_N_CTL_CSR(port_num, rmap), rmap 931 drivers/rapidio/rio.c ext_ftr_ptr + RIO_PORT_N_CTL_CSR(0, rmap), regval); rmap 934 drivers/rapidio/rio.c ext_ftr_ptr + RIO_PORT_N_CTL_CSR(port_num, rmap), rmap 21 drivers/rapidio/rio.h u16 destid, u8 hopcount, u32 *rmap); rmap 18 drivers/regulator/max14577-regulator.c struct regmap *rmap = rdev->regmap; rmap 23 drivers/regulator/max14577-regulator.c max14577_read_reg(rmap, MAX14577_CHG_REG_CHG_CTRL2, ®_data); rmap 26 drivers/regulator/max14577-regulator.c max14577_read_reg(rmap, MAX14577_CHG_REG_STATUS3, ®_data); rmap 39 drivers/regulator/max14577-regulator.c struct regmap *rmap = rdev->regmap; rmap 47 drivers/regulator/max14577-regulator.c max14577_read_reg(rmap, MAX14577_CHG_REG_CHG_CTRL4, ®_data); rmap 86 drivers/regulator/max77620-regulator.c struct regmap *rmap; rmap 106 drivers/regulator/max77620-regulator.c ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); rmap 134 drivers/regulator/max77620-regulator.c ret = regmap_read(pmic->rmap, rinfo->fps_addr, &val); rmap 150 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, rinfo->fps_addr, rmap 195 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, rinfo->fps_addr, rmap 225 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, addr, mask, power_mode << shift); rmap 254 drivers/regulator/max77620-regulator.c ret = regmap_read(pmic->rmap, addr, &val); rmap 271 drivers/regulator/max77620-regulator.c ret = regmap_read(pmic->rmap, rinfo->cfg_addr, &rval); rmap 341 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, rinfo->cfg_addr, mask, val); rmap 369 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, rinfo->cfg_addr, rmap 521 drivers/regulator/max77620-regulator.c ret = regmap_update_bits(pmic->rmap, rinfo->cfg_addr, rmap 557 drivers/regulator/max77620-regulator.c ret = regmap_read(pmic->rmap, rinfo->cfg_addr, &val); rmap 795 drivers/regulator/max77620-regulator.c pmic->rmap = max77620_chip->rmap; rmap 813 drivers/regulator/max77620-regulator.c config.regmap = pmic->rmap; rmap 437 drivers/regulator/mcp16502.c struct regmap *rmap; rmap 447 drivers/regulator/mcp16502.c rmap = devm_regmap_init_i2c(client, &mcp16502_regmap_config); rmap 448 drivers/regulator/mcp16502.c if (IS_ERR(rmap)) { rmap 449 drivers/regulator/mcp16502.c ret = PTR_ERR(rmap); rmap 455 drivers/regulator/mcp16502.c config.regmap = rmap; rmap 464 drivers/regulator/tps65090-regulator.c config.regmap = tps65090_mfd->rmap; rmap 226 drivers/regulator/tps65132-regulator.c struct regmap *rmap; rmap 235 drivers/regulator/tps65132-regulator.c rmap = devm_regmap_init_i2c(client, &tps65132_regmap_config); rmap 236 drivers/regulator/tps65132-regulator.c if (IS_ERR(rmap)) { rmap 237 drivers/regulator/tps65132-regulator.c ret = PTR_ERR(rmap); rmap 246 drivers/regulator/tps65132-regulator.c config.regmap = rmap; rmap 33 drivers/regulator/wm8400-regulator.c struct regmap *rmap = rdev_get_regmap(dev); rmap 38 drivers/regulator/wm8400-regulator.c ret = regmap_bulk_read(rmap, WM8400_DCDC1_CONTROL_1 + offset, data, 2); rmap 59 drivers/regulator/wm8400-regulator.c struct regmap *rmap = rdev_get_regmap(dev); rmap 66 drivers/regulator/wm8400-regulator.c ret = regmap_update_bits(rmap, WM8400_DCDC1_CONTROL_2 + offset, rmap 71 drivers/regulator/wm8400-regulator.c return regmap_update_bits(rmap, WM8400_DCDC1_CONTROL_1 + offset, rmap 77 drivers/regulator/wm8400-regulator.c ret = regmap_update_bits(rmap, WM8400_DCDC1_CONTROL_2 + offset, rmap 82 drivers/regulator/wm8400-regulator.c return regmap_update_bits(rmap, WM8400_DCDC1_CONTROL_1 + offset, rmap 88 drivers/regulator/wm8400-regulator.c return regmap_update_bits(rmap, WM8400_DCDC1_CONTROL_1 + offset, rmap 27 drivers/thermal/max77620_thermal.c struct regmap *rmap; rmap 53 drivers/thermal/max77620_thermal.c ret = regmap_read(mtherm->rmap, MAX77620_REG_STATLBT, &val); rmap 105 drivers/thermal/max77620_thermal.c mtherm->rmap = dev_get_regmap(pdev->dev.parent, NULL); rmap 106 drivers/thermal/max77620_thermal.c if (!mtherm->rmap) { rmap 25 drivers/watchdog/max77620_wdt.c struct regmap *rmap; rmap 33 drivers/watchdog/max77620_wdt.c return regmap_update_bits(wdt->rmap, MAX77620_REG_CNFGGLBL2, rmap 41 drivers/watchdog/max77620_wdt.c return regmap_update_bits(wdt->rmap, MAX77620_REG_CNFGGLBL2, rmap 49 drivers/watchdog/max77620_wdt.c return regmap_update_bits(wdt->rmap, MAX77620_REG_CNFGGLBL3, rmap 83 drivers/watchdog/max77620_wdt.c ret = regmap_update_bits(wdt->rmap, MAX77620_REG_CNFGGLBL3, rmap 88 drivers/watchdog/max77620_wdt.c ret = regmap_update_bits(wdt->rmap, MAX77620_REG_CNFGGLBL2, rmap 123 drivers/watchdog/max77620_wdt.c wdt->rmap = dev_get_regmap(dev->parent, NULL); rmap 124 drivers/watchdog/max77620_wdt.c if (!wdt->rmap) { rmap 139 drivers/watchdog/max77620_wdt.c ret = regmap_update_bits(wdt->rmap, MAX77620_REG_ONOFFCNFG2, rmap 148 drivers/watchdog/max77620_wdt.c ret = regmap_update_bits(wdt->rmap, MAX77620_REG_CNFGGLBL2, rmap 157 drivers/watchdog/max77620_wdt.c ret = regmap_read(wdt->rmap, MAX77620_REG_CNFGGLBL2, ®val); rmap 37 fs/xfs/libxfs/xfs_btree.h struct xfs_rmap_key rmap; rmap 47 fs/xfs/libxfs/xfs_btree.h struct xfs_rmap_rec rmap; rmap 86 fs/xfs/libxfs/xfs_rmap.c rec.rmap.rm_startblock = cpu_to_be32(irec->rm_startblock); rmap 87 fs/xfs/libxfs/xfs_rmap.c rec.rmap.rm_blockcount = cpu_to_be32(irec->rm_blockcount); rmap 88 fs/xfs/libxfs/xfs_rmap.c rec.rmap.rm_owner = cpu_to_be64(irec->rm_owner); rmap 89 fs/xfs/libxfs/xfs_rmap.c rec.rmap.rm_offset = cpu_to_be64( rmap 171 fs/xfs/libxfs/xfs_rmap.c irec->rm_startblock = be32_to_cpu(rec->rmap.rm_startblock); rmap 172 fs/xfs/libxfs/xfs_rmap.c irec->rm_blockcount = be32_to_cpu(rec->rmap.rm_blockcount); rmap 173 fs/xfs/libxfs/xfs_rmap.c irec->rm_owner = be64_to_cpu(rec->rmap.rm_owner); rmap 174 fs/xfs/libxfs/xfs_rmap.c return xfs_rmap_irec_offset_unpack(be64_to_cpu(rec->rmap.rm_offset), rmap 2046 fs/xfs/libxfs/xfs_rmap.c struct xfs_rmap_irec *rmap) rmap 2050 fs/xfs/libxfs/xfs_rmap.c oinfo.oi_owner = rmap->rm_owner; rmap 2051 fs/xfs/libxfs/xfs_rmap.c oinfo.oi_offset = rmap->rm_offset; rmap 2053 fs/xfs/libxfs/xfs_rmap.c if (rmap->rm_flags & XFS_RMAP_ATTR_FORK) rmap 2055 fs/xfs/libxfs/xfs_rmap.c if (rmap->rm_flags & XFS_RMAP_BMBT_BLOCK) rmap 2058 fs/xfs/libxfs/xfs_rmap.c if (rmap->rm_flags || XFS_RMAP_NON_INODE_OWNER(rmap->rm_owner)) rmap 2059 fs/xfs/libxfs/xfs_rmap.c return xfs_rmap_map(cur, rmap->rm_startblock, rmap 2060 fs/xfs/libxfs/xfs_rmap.c rmap->rm_blockcount, rmap 2061 fs/xfs/libxfs/xfs_rmap.c rmap->rm_flags & XFS_RMAP_UNWRITTEN, rmap 2064 fs/xfs/libxfs/xfs_rmap.c return xfs_rmap_map_shared(cur, rmap->rm_startblock, rmap 2065 fs/xfs/libxfs/xfs_rmap.c rmap->rm_blockcount, rmap 2066 fs/xfs/libxfs/xfs_rmap.c rmap->rm_flags & XFS_RMAP_UNWRITTEN, rmap 203 fs/xfs/libxfs/xfs_rmap.h int xfs_rmap_map_raw(struct xfs_btree_cur *cur, struct xfs_rmap_irec *rmap); rmap 167 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_startblock = rec->rmap.rm_startblock; rmap 168 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_owner = rec->rmap.rm_owner; rmap 169 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_offset = rec->rmap.rm_offset; rmap 187 fs/xfs/libxfs/xfs_rmap_btree.c adj = be32_to_cpu(rec->rmap.rm_blockcount) - 1; rmap 189 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_startblock = rec->rmap.rm_startblock; rmap 190 fs/xfs/libxfs/xfs_rmap_btree.c be32_add_cpu(&key->rmap.rm_startblock, adj); rmap 191 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_owner = rec->rmap.rm_owner; rmap 192 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_offset = rec->rmap.rm_offset; rmap 193 fs/xfs/libxfs/xfs_rmap_btree.c if (XFS_RMAP_NON_INODE_OWNER(be64_to_cpu(rec->rmap.rm_owner)) || rmap 194 fs/xfs/libxfs/xfs_rmap_btree.c XFS_RMAP_IS_BMBT_BLOCK(be64_to_cpu(rec->rmap.rm_offset))) rmap 196 fs/xfs/libxfs/xfs_rmap_btree.c off = be64_to_cpu(key->rmap.rm_offset); rmap 198 fs/xfs/libxfs/xfs_rmap_btree.c key->rmap.rm_offset = cpu_to_be64(off); rmap 206 fs/xfs/libxfs/xfs_rmap_btree.c rec->rmap.rm_startblock = cpu_to_be32(cur->bc_rec.r.rm_startblock); rmap 207 fs/xfs/libxfs/xfs_rmap_btree.c rec->rmap.rm_blockcount = cpu_to_be32(cur->bc_rec.r.rm_blockcount); rmap 208 fs/xfs/libxfs/xfs_rmap_btree.c rec->rmap.rm_owner = cpu_to_be64(cur->bc_rec.r.rm_owner); rmap 209 fs/xfs/libxfs/xfs_rmap_btree.c rec->rmap.rm_offset = cpu_to_be64( rmap 231 fs/xfs/libxfs/xfs_rmap_btree.c struct xfs_rmap_key *kp = &key->rmap; rmap 261 fs/xfs/libxfs/xfs_rmap_btree.c struct xfs_rmap_key *kp1 = &k1->rmap; rmap 262 fs/xfs/libxfs/xfs_rmap_btree.c struct xfs_rmap_key *kp2 = &k2->rmap; rmap 381 fs/xfs/libxfs/xfs_rmap_btree.c x = be32_to_cpu(k1->rmap.rm_startblock); rmap 382 fs/xfs/libxfs/xfs_rmap_btree.c y = be32_to_cpu(k2->rmap.rm_startblock); rmap 387 fs/xfs/libxfs/xfs_rmap_btree.c a = be64_to_cpu(k1->rmap.rm_owner); rmap 388 fs/xfs/libxfs/xfs_rmap_btree.c b = be64_to_cpu(k2->rmap.rm_owner); rmap 393 fs/xfs/libxfs/xfs_rmap_btree.c a = XFS_RMAP_OFF(be64_to_cpu(k1->rmap.rm_offset)); rmap 394 fs/xfs/libxfs/xfs_rmap_btree.c b = XFS_RMAP_OFF(be64_to_cpu(k2->rmap.rm_offset)); rmap 411 fs/xfs/libxfs/xfs_rmap_btree.c x = be32_to_cpu(r1->rmap.rm_startblock); rmap 412 fs/xfs/libxfs/xfs_rmap_btree.c y = be32_to_cpu(r2->rmap.rm_startblock); rmap 417 fs/xfs/libxfs/xfs_rmap_btree.c a = be64_to_cpu(r1->rmap.rm_owner); rmap 418 fs/xfs/libxfs/xfs_rmap_btree.c b = be64_to_cpu(r2->rmap.rm_owner); rmap 423 fs/xfs/libxfs/xfs_rmap_btree.c a = XFS_RMAP_OFF(be64_to_cpu(r1->rmap.rm_offset)); rmap 424 fs/xfs/libxfs/xfs_rmap_btree.c b = XFS_RMAP_OFF(be64_to_cpu(r2->rmap.rm_offset)); rmap 89 fs/xfs/scrub/bmap.c struct xfs_rmap_irec *rmap) rmap 115 fs/xfs/scrub/bmap.c owner, offset, rflags, rmap, &has_rmap); rmap 133 fs/xfs/scrub/bmap.c error = xfs_rmap_get_rec(info->sc->sa.rmap_cur, rmap, &has_rmap); rmap 152 fs/xfs/scrub/bmap.c struct xfs_rmap_irec rmap; rmap 165 fs/xfs/scrub/bmap.c if (!xchk_bmap_get_rmap(info, irec, agbno, owner, &rmap)) rmap 169 fs/xfs/scrub/bmap.c rmap_end = (unsigned long long)rmap.rm_startblock + rmap.rm_blockcount; rmap 170 fs/xfs/scrub/bmap.c if (rmap.rm_startblock > agbno || rmap 181 fs/xfs/scrub/bmap.c rmap_end = (unsigned long long)rmap.rm_offset + rmap 182 fs/xfs/scrub/bmap.c rmap.rm_blockcount; rmap 183 fs/xfs/scrub/bmap.c if (rmap.rm_offset > irec->br_startoff || rmap 189 fs/xfs/scrub/bmap.c if (rmap.rm_owner != owner) rmap 202 fs/xfs/scrub/bmap.c !(rmap.rm_flags & XFS_RMAP_UNWRITTEN)) rmap 207 fs/xfs/scrub/bmap.c !(rmap.rm_flags & XFS_RMAP_ATTR_FORK)) rmap 210 fs/xfs/scrub/bmap.c if (rmap.rm_flags & XFS_RMAP_BMBT_BLOCK) rmap 399 fs/xfs/xfs_fsmap.c struct xfs_rmap_irec rmap; rmap 428 fs/xfs/xfs_fsmap.c rmap.rm_startblock = 0; rmap 429 fs/xfs/xfs_fsmap.c rmap.rm_blockcount = mp->m_sb.sb_logblocks; rmap 430 fs/xfs/xfs_fsmap.c rmap.rm_owner = XFS_RMAP_OWN_LOG; rmap 431 fs/xfs/xfs_fsmap.c rmap.rm_offset = 0; rmap 432 fs/xfs/xfs_fsmap.c rmap.rm_flags = 0; rmap 434 fs/xfs/xfs_fsmap.c return xfs_getfsmap_helper(tp, info, &rmap, 0); rmap 260 fs/xfs/xfs_rmap_item.c struct xfs_map_extent *rmap, rmap 265 fs/xfs/xfs_rmap_item.c rmap->me_flags = 0; rmap 267 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_UNWRITTEN; rmap 269 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_ATTR_FORK; rmap 272 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_MAP; rmap 275 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_MAP_SHARED; rmap 278 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_UNMAP; rmap 281 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_UNMAP_SHARED; rmap 284 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_CONVERT; rmap 287 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_CONVERT_SHARED; rmap 290 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_ALLOC; rmap 293 fs/xfs/xfs_rmap_item.c rmap->me_flags |= XFS_RMAP_EXTENT_FREE; rmap 382 fs/xfs/xfs_rmap_item.c struct xfs_rmap_intent *rmap; rmap 386 fs/xfs/xfs_rmap_item.c rmap = container_of(item, struct xfs_rmap_intent, ri_list); rmap 399 fs/xfs/xfs_rmap_item.c map->me_owner = rmap->ri_owner; rmap 400 fs/xfs/xfs_rmap_item.c map->me_startblock = rmap->ri_bmap.br_startblock; rmap 401 fs/xfs/xfs_rmap_item.c map->me_startoff = rmap->ri_bmap.br_startoff; rmap 402 fs/xfs/xfs_rmap_item.c map->me_len = rmap->ri_bmap.br_blockcount; rmap 403 fs/xfs/xfs_rmap_item.c xfs_trans_set_rmap_flags(map, rmap->ri_type, rmap->ri_whichfork, rmap 404 fs/xfs/xfs_rmap_item.c rmap->ri_bmap.br_state); rmap 425 fs/xfs/xfs_rmap_item.c struct xfs_rmap_intent *rmap; rmap 428 fs/xfs/xfs_rmap_item.c rmap = container_of(item, struct xfs_rmap_intent, ri_list); rmap 430 fs/xfs/xfs_rmap_item.c rmap->ri_type, rmap 431 fs/xfs/xfs_rmap_item.c rmap->ri_owner, rmap->ri_whichfork, rmap 432 fs/xfs/xfs_rmap_item.c rmap->ri_bmap.br_startoff, rmap 433 fs/xfs/xfs_rmap_item.c rmap->ri_bmap.br_startblock, rmap 434 fs/xfs/xfs_rmap_item.c rmap->ri_bmap.br_blockcount, rmap 435 fs/xfs/xfs_rmap_item.c rmap->ri_bmap.br_state, rmap 437 fs/xfs/xfs_rmap_item.c kmem_free(rmap); rmap 466 fs/xfs/xfs_rmap_item.c struct xfs_rmap_intent *rmap; rmap 468 fs/xfs/xfs_rmap_item.c rmap = container_of(item, struct xfs_rmap_intent, ri_list); rmap 469 fs/xfs/xfs_rmap_item.c kmem_free(rmap); rmap 495 fs/xfs/xfs_rmap_item.c struct xfs_map_extent *rmap; rmap 513 fs/xfs/xfs_rmap_item.c rmap = &ruip->rui_format.rui_extents[i]; rmap 515 fs/xfs/xfs_rmap_item.c XFS_FSB_TO_DADDR(mp, rmap->me_startblock)); rmap 516 fs/xfs/xfs_rmap_item.c switch (rmap->me_flags & XFS_RMAP_EXTENT_TYPE_MASK) { rmap 532 fs/xfs/xfs_rmap_item.c rmap->me_len == 0 || rmap 534 fs/xfs/xfs_rmap_item.c rmap->me_len >= mp->m_sb.sb_agblocks || rmap 535 fs/xfs/xfs_rmap_item.c (rmap->me_flags & ~XFS_RMAP_EXTENT_FLAGS)) { rmap 553 fs/xfs/xfs_rmap_item.c rmap = &ruip->rui_format.rui_extents[i]; rmap 554 fs/xfs/xfs_rmap_item.c state = (rmap->me_flags & XFS_RMAP_EXTENT_UNWRITTEN) ? rmap 556 fs/xfs/xfs_rmap_item.c whichfork = (rmap->me_flags & XFS_RMAP_EXTENT_ATTR_FORK) ? rmap 558 fs/xfs/xfs_rmap_item.c switch (rmap->me_flags & XFS_RMAP_EXTENT_TYPE_MASK) { rmap 588 fs/xfs/xfs_rmap_item.c rmap->me_owner, whichfork, rmap 589 fs/xfs/xfs_rmap_item.c rmap->me_startoff, rmap->me_startblock, rmap 590 fs/xfs/xfs_rmap_item.c rmap->me_len, state, &rcur); rmap 3228 fs/xfs/xfs_trace.h struct xfs_rmap_irec *rmap), rmap 3229 fs/xfs/xfs_trace.h TP_ARGS(mp, keydev, agno, rmap), rmap 3244 fs/xfs/xfs_trace.h __entry->bno = rmap->rm_startblock; rmap 3245 fs/xfs/xfs_trace.h __entry->len = rmap->rm_blockcount; rmap 3246 fs/xfs/xfs_trace.h __entry->owner = rmap->rm_owner; rmap 3247 fs/xfs/xfs_trace.h __entry->offset = rmap->rm_offset; rmap 3248 fs/xfs/xfs_trace.h __entry->flags = rmap->rm_flags; rmap 3263 fs/xfs/xfs_trace.h struct xfs_rmap_irec *rmap), \ rmap 3264 fs/xfs/xfs_trace.h TP_ARGS(mp, keydev, agno, rmap)) rmap 36 include/linux/cpu_rmap.h extern int cpu_rmap_put(struct cpu_rmap *rmap); rmap 38 include/linux/cpu_rmap.h extern int cpu_rmap_add(struct cpu_rmap *rmap, void *obj); rmap 39 include/linux/cpu_rmap.h extern int cpu_rmap_update(struct cpu_rmap *rmap, u16 index, rmap 42 include/linux/cpu_rmap.h static inline u16 cpu_rmap_lookup_index(struct cpu_rmap *rmap, unsigned int cpu) rmap 44 include/linux/cpu_rmap.h return rmap->near[cpu].index; rmap 47 include/linux/cpu_rmap.h static inline void *cpu_rmap_lookup_obj(struct cpu_rmap *rmap, unsigned int cpu) rmap 49 include/linux/cpu_rmap.h return rmap->obj[rmap->near[cpu].index]; rmap 62 include/linux/cpu_rmap.h extern void free_irq_cpu_rmap(struct cpu_rmap *rmap); rmap 64 include/linux/cpu_rmap.h extern int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq); rmap 430 include/linux/lightnvm.h void *rmap; rmap 329 include/linux/mfd/max77620.h struct regmap *rmap; rmap 76 include/linux/mfd/tps65090.h struct regmap *rmap; rmap 118 include/linux/mfd/tps65090.h return regmap_write(tps->rmap, reg, val); rmap 127 include/linux/mfd/tps65090.h ret = regmap_read(tps->rmap, reg, &temp_val); rmap 138 include/linux/mfd/tps65090.h return regmap_update_bits(tps->rmap, reg, BIT(bit_num), ~0u); rmap 146 include/linux/mfd/tps65090.h return regmap_update_bits(tps->rmap, reg, BIT(bit_num), 0u); rmap 27 lib/cpu_rmap.c struct cpu_rmap *rmap; rmap 39 lib/cpu_rmap.c rmap = kzalloc(obj_offset + size * sizeof(rmap->obj[0]), flags); rmap 40 lib/cpu_rmap.c if (!rmap) rmap 43 lib/cpu_rmap.c kref_init(&rmap->refcount); rmap 44 lib/cpu_rmap.c rmap->obj = (void **)((char *)rmap + obj_offset); rmap 53 lib/cpu_rmap.c rmap->near[cpu].index = cpu % size; rmap 54 lib/cpu_rmap.c rmap->near[cpu].dist = CPU_RMAP_DIST_INF; rmap 57 lib/cpu_rmap.c rmap->size = size; rmap 58 lib/cpu_rmap.c return rmap; rmap 68 lib/cpu_rmap.c struct cpu_rmap *rmap = container_of(ref, struct cpu_rmap, refcount); rmap 69 lib/cpu_rmap.c kfree(rmap); rmap 76 lib/cpu_rmap.c static inline void cpu_rmap_get(struct cpu_rmap *rmap) rmap 78 lib/cpu_rmap.c kref_get(&rmap->refcount); rmap 85 lib/cpu_rmap.c int cpu_rmap_put(struct cpu_rmap *rmap) rmap 87 lib/cpu_rmap.c return kref_put(&rmap->refcount, cpu_rmap_release); rmap 94 lib/cpu_rmap.c static bool cpu_rmap_copy_neigh(struct cpu_rmap *rmap, unsigned int cpu, rmap 100 lib/cpu_rmap.c if (rmap->near[cpu].dist > dist && rmap 101 lib/cpu_rmap.c rmap->near[neigh].dist <= dist) { rmap 102 lib/cpu_rmap.c rmap->near[cpu].index = rmap->near[neigh].index; rmap 103 lib/cpu_rmap.c rmap->near[cpu].dist = dist; rmap 111 lib/cpu_rmap.c static void debug_print_rmap(const struct cpu_rmap *rmap, const char *prefix) rmap 116 lib/cpu_rmap.c pr_info("cpu_rmap %p, %s:\n", rmap, prefix); rmap 119 lib/cpu_rmap.c index = rmap->near[cpu].index; rmap 121 lib/cpu_rmap.c cpu, index, rmap->near[cpu].dist); rmap 126 lib/cpu_rmap.c debug_print_rmap(const struct cpu_rmap *rmap, const char *prefix) rmap 138 lib/cpu_rmap.c int cpu_rmap_add(struct cpu_rmap *rmap, void *obj) rmap 142 lib/cpu_rmap.c BUG_ON(rmap->used >= rmap->size); rmap 143 lib/cpu_rmap.c index = rmap->used++; rmap 144 lib/cpu_rmap.c rmap->obj[index] = obj; rmap 155 lib/cpu_rmap.c int cpu_rmap_update(struct cpu_rmap *rmap, u16 index, rmap 168 lib/cpu_rmap.c if (rmap->near[cpu].index == index) { rmap 169 lib/cpu_rmap.c rmap->near[cpu].dist = CPU_RMAP_DIST_INF; rmap 174 lib/cpu_rmap.c debug_print_rmap(rmap, "after invalidating old distances"); rmap 180 lib/cpu_rmap.c rmap->near[cpu].index = index; rmap 181 lib/cpu_rmap.c rmap->near[cpu].dist = 0; rmap 186 lib/cpu_rmap.c debug_print_rmap(rmap, "after updating neighbours"); rmap 190 lib/cpu_rmap.c if (cpu_rmap_copy_neigh(rmap, cpu, rmap 193 lib/cpu_rmap.c if (cpu_rmap_copy_neigh(rmap, cpu, rmap 196 lib/cpu_rmap.c if (cpu_rmap_copy_neigh(rmap, cpu, rmap 204 lib/cpu_rmap.c debug_print_rmap(rmap, "after copying neighbours"); rmap 215 lib/cpu_rmap.c struct cpu_rmap *rmap; rmap 225 lib/cpu_rmap.c void free_irq_cpu_rmap(struct cpu_rmap *rmap) rmap 230 lib/cpu_rmap.c if (!rmap) rmap 233 lib/cpu_rmap.c for (index = 0; index < rmap->used; index++) { rmap 234 lib/cpu_rmap.c glue = rmap->obj[index]; rmap 238 lib/cpu_rmap.c cpu_rmap_put(rmap); rmap 256 lib/cpu_rmap.c rc = cpu_rmap_update(glue->rmap, glue->index, mask); rmap 270 lib/cpu_rmap.c cpu_rmap_put(glue->rmap); rmap 285 lib/cpu_rmap.c int irq_cpu_rmap_add(struct cpu_rmap *rmap, int irq) rmap 294 lib/cpu_rmap.c glue->rmap = rmap; rmap 295 lib/cpu_rmap.c cpu_rmap_get(rmap); rmap 296 lib/cpu_rmap.c glue->index = cpu_rmap_add(rmap, glue); rmap 299 lib/cpu_rmap.c cpu_rmap_put(glue->rmap);