/linux/drivers/fpga/ |
A D | fpga-region.c | 45 static struct fpga_region *fpga_region_get(struct fpga_region *region) in fpga_region_get() 71 static void fpga_region_put(struct fpga_region *region) in fpga_region_put() 96 int fpga_region_program_fpga(struct fpga_region *region) in fpga_region_program_fpga() 164 struct fpga_region *region = to_fpga_region(dev); in compat_id_show() local 199 struct fpga_region *region; in fpga_region_create() local 240 void fpga_region_free(struct fpga_region *region) in fpga_region_free() 249 struct fpga_region *region = *(struct fpga_region **)res; in devm_fpga_region_release() local 275 struct fpga_region **ptr, *region; in devm_fpga_region_create() local 299 int fpga_region_register(struct fpga_region *region) in fpga_region_register() 311 void fpga_region_unregister(struct fpga_region *region) in fpga_region_unregister()
|
A D | dfl-afu-dma-region.c | 35 struct dfl_afu_dma_region *region) in afu_dma_pin_pages() 83 struct dfl_afu_dma_region *region) in afu_dma_unpin_pages() 102 static bool afu_dma_check_continuous_pages(struct dfl_afu_dma_region *region) in afu_dma_check_continuous_pages() 124 static bool dma_region_check_iova(struct dfl_afu_dma_region *region, in dma_region_check_iova() 144 struct dfl_afu_dma_region *region) in afu_dma_region_add() 186 struct dfl_afu_dma_region *region) in afu_dma_region_remove() 207 struct dfl_afu_dma_region *region; in afu_dma_region_destroy() local 252 struct dfl_afu_dma_region *region; in afu_dma_region_find() local 304 struct dfl_afu_dma_region *region; in afu_dma_map_region() local 382 struct dfl_afu_dma_region *region; in afu_dma_unmap_region() local
|
A D | dfl-afu-region.c | 24 #define for_each_region(region, afu) \ argument 30 struct dfl_afu_mmio_region *region; in get_region_by_index() local 52 struct dfl_afu_mmio_region *region; in afu_mmio_region_add() local 98 struct dfl_afu_mmio_region *tmp, *region; in afu_mmio_region_destroy() local 116 struct dfl_afu_mmio_region *region; in afu_mmio_region_get_by_index() local 150 struct dfl_afu_mmio_region *region; in afu_mmio_region_get_by_offset() local
|
A D | of-fpga-region.c | 86 static int of_fpga_region_get_bridges(struct fpga_region *region) in of_fpga_region_get_bridges() 193 struct fpga_region *region, in of_fpga_region_parse_ov() 284 static int of_fpga_region_notify_pre_apply(struct fpga_region *region, in of_fpga_region_notify_pre_apply() 324 static void of_fpga_region_notify_post_remove(struct fpga_region *region, in of_fpga_region_notify_post_remove() 348 struct fpga_region *region; in of_fpga_region_notify() local 399 struct fpga_region *region; in of_fpga_region_probe() local 432 struct fpga_region *region = platform_get_drvdata(pdev); in of_fpga_region_remove() local
|
A D | dfl-fme-region.c | 22 static int fme_region_get_bridges(struct fpga_region *region) in fme_region_get_bridges() 34 struct fpga_region *region; in fme_region_probe() local 67 struct fpga_region *region = platform_get_drvdata(pdev); in fme_region_remove() local
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum1_acl_tcam.c | 14 struct mlxsw_sp_acl_tcam_region *region; member 62 struct mlxsw_sp1_acl_tcam_region *region) in mlxsw_sp1_acl_ctcam_region_catchall_add() 101 struct mlxsw_sp1_acl_tcam_region *region) in mlxsw_sp1_acl_ctcam_region_catchall_del() 118 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_init() local 140 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_fini() local 148 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp1_acl_tcam_region_associate() 156 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_chunk_init() local 175 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_add() local 188 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_del() local 227 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_activity_get() local
|
A D | spectrum2_acl_tcam.c | 18 struct mlxsw_sp_acl_tcam_region *region; member 145 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_init() local 159 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_fini() local 166 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp2_acl_tcam_region_associate() 173 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_rehash_hints_get() local 186 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_chunk_init() local 205 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_add() local 219 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_del() local 232 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_action_replace() local
|
A D | spectrum_acl_ctcam.c | 15 struct mlxsw_sp_acl_tcam_region *region, in mlxsw_sp_acl_ctcam_region_resize() 28 struct mlxsw_sp_acl_tcam_region *region, in mlxsw_sp_acl_ctcam_region_move() 46 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_entry_insert() local 125 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_parman_resize() local 141 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_parman_move() local 159 struct mlxsw_sp_acl_tcam_region *region, in mlxsw_sp_acl_ctcam_region_init()
|
A D | spectrum_acl_atcam.c | 225 struct mlxsw_sp_acl_tcam_region *region = aregion->region; in mlxsw_sp_acl_atcam_12kb_lkey_id_get() local 293 struct mlxsw_sp_acl_tcam_region *region = aregion->region; in mlxsw_sp_acl_atcam_region_type_init() local 318 struct mlxsw_sp_acl_tcam_region *region, in mlxsw_sp_acl_atcam_region_init() 383 struct mlxsw_sp_acl_tcam_region *region = aregion->region; in mlxsw_sp_acl_atcam_region_entry_insert() local 425 struct mlxsw_sp_acl_tcam_region *region = aregion->region; in mlxsw_sp_acl_atcam_region_entry_remove() local 449 struct mlxsw_sp_acl_tcam_region *region = aregion->region; in mlxsw_sp_acl_atcam_region_entry_action_replace() local 475 struct mlxsw_sp_acl_tcam_region *region = aregion->region; in __mlxsw_sp_acl_atcam_entry_add() local
|
/linux/drivers/mtd/spi-nor/ |
A D | otp.c | 155 static int spi_nor_otp_lock_bit_cr(unsigned int region) in spi_nor_otp_lock_bit_cr() 175 int spi_nor_otp_lock_sr2(struct spi_nor *nor, unsigned int region) in spi_nor_otp_lock_sr2() 207 int spi_nor_otp_is_locked_sr2(struct spi_nor *nor, unsigned int region) in spi_nor_otp_is_locked_sr2() 223 static loff_t spi_nor_otp_region_start(const struct spi_nor *nor, unsigned int region) in spi_nor_otp_region_start() 236 static loff_t spi_nor_otp_region_to_offset(struct spi_nor *nor, unsigned int region) in spi_nor_otp_region_to_offset() 288 unsigned int region; in spi_nor_mtd_otp_range_is_locked() local 315 unsigned int region; in spi_nor_mtd_otp_read_write() local 400 unsigned int region; in spi_nor_mtd_otp_erase() local 453 unsigned int region; in spi_nor_mtd_otp_lock() local
|
/linux/drivers/s390/cio/ |
A D | vfio_ccw_chp.c | 21 struct ccw_schib_region *region; in vfio_ccw_schib_region_read() local 58 struct vfio_ccw_region *region) in vfio_ccw_schib_region_release() 85 struct ccw_crw_region *region; in vfio_ccw_crw_region_read() local 130 struct vfio_ccw_region *region) in vfio_ccw_crw_region_release()
|
A D | vfio_ccw_async.c | 21 struct ccw_cmd_region *region; in vfio_ccw_async_region_read() local 43 struct ccw_cmd_region *region; in vfio_ccw_async_region_write() local 68 struct vfio_ccw_region *region) in vfio_ccw_async_region_release()
|
/linux/drivers/mtd/nand/spi/ |
A D | micron.c | 61 struct mtd_oob_region *region) in micron_8_ooblayout_ecc() 73 struct mtd_oob_region *region) in micron_8_ooblayout_free() 91 struct mtd_oob_region *region) in micron_4_ooblayout_ecc() 106 struct mtd_oob_region *region) in micron_4_ooblayout_free()
|
A D | gigadevice.c | 51 struct mtd_oob_region *region) in gd5fxgq4xa_ooblayout_ecc() 63 struct mtd_oob_region *region) in gd5fxgq4xa_ooblayout_free() 109 struct mtd_oob_region *region) in gd5fxgqx_variant2_ooblayout_ecc() 121 struct mtd_oob_region *region) in gd5fxgqx_variant2_ooblayout_free()
|
/linux/drivers/md/ |
A D | dm-region-hash.c | 122 sector_t dm_rh_region_to_sector(struct dm_region_hash *rh, region_t region) in dm_rh_region_to_sector() 266 static unsigned rh_hash(struct dm_region_hash *rh, region_t region) in rh_hash() 271 static struct dm_region *__rh_lookup(struct dm_region_hash *rh, region_t region) in __rh_lookup() 288 static struct dm_region *__rh_alloc(struct dm_region_hash *rh, region_t region) in __rh_alloc() 324 static struct dm_region *__rh_find(struct dm_region_hash *rh, region_t region) in __rh_find() 338 int dm_rh_get_state(struct dm_region_hash *rh, region_t region, int may_block) in dm_rh_get_state() 400 region_t region = dm_rh_bio_to_region(rh, bio); in dm_rh_mark_nosync() local 503 static void rh_inc(struct dm_region_hash *rh, region_t region) in rh_inc() 538 void dm_rh_dec(struct dm_region_hash *rh, region_t region) in dm_rh_dec() 590 region_t region; in __rh_recovery_prepare() local
|
A D | dm-log-userspace-base.c | 24 region_t region; member 407 static int userspace_is_clean(struct dm_dirty_log *log, region_t region) in userspace_is_clean() 434 static int userspace_in_sync(struct dm_dirty_log *log, region_t region, in userspace_in_sync() 648 static void userspace_mark_region(struct dm_dirty_log *log, region_t region) in userspace_mark_region() 677 static void userspace_clear_region(struct dm_dirty_log *log, region_t region) in userspace_clear_region() 712 static int userspace_get_resync_work(struct dm_dirty_log *log, region_t *region) in userspace_get_resync_work() 740 region_t region, int in_sync) in userspace_set_region_sync() 836 region_t region) in userspace_is_remote_recovering()
|
/linux/tools/testing/selftests/powerpc/mm/ |
A D | pkey_siginfo.c | 91 struct region { struct 105 base = ((struct region *) p)->base; in protect() argument
|
/linux/arch/arm/mm/ |
A D | pmsa-v7.c | 19 struct region { struct 25 static struct region __initdata mem[MPU_MAX_REGIONS]; argument 146 static bool __init try_split_region(phys_addr_t base, phys_addr_t size, struct region *region) in try_split_region() 422 int i, region = 0, err = 0; in pmsav7_setup() local
|
/linux/Documentation/driver-api/fpga/ |
A D | fpga-region.rst | 42 .. [#f1] ../devicetree/bindings/fpga/fpga-region.txt 43 .. [#f2] ../../drivers/fpga/of-fpga-region.c
|
/linux/arch/arm64/kernel/ |
A D | alternative.c | 136 static void __nocfi __apply_alternatives(struct alt_region *region, bool is_module, in __apply_alternatives() 201 struct alt_region region = { in __apply_alternatives_multi_stop() local 239 struct alt_region region = { in apply_boot_alternatives() local 253 struct alt_region region = { in apply_alternatives_module() local
|
/linux/arch/um/kernel/ |
A D | physmem.c | 127 struct iomem_region *region = iomem_regions; in phys_mapping() local 183 struct iomem_region *region = iomem_regions; in find_iomem() local 200 struct iomem_region *region = iomem_regions; in setup_iomem() local
|
/linux/drivers/virt/acrn/ |
A D | mm.c | 18 static int modify_region(struct acrn_vm *vm, struct vm_memory_region_op *region) in modify_region() 54 struct vm_memory_region_op *region; in acrn_mm_region_add() local 86 struct vm_memory_region_op *region; in acrn_mm_region_del() local
|
/linux/tools/testing/selftests/powerpc/syscalls/ |
A D | rtas_filter.c | 47 struct region { struct 50 struct region *next; argument
|
/linux/arch/x86/boot/compressed/ |
A D | kaslr.c | 492 static void store_slot_info(struct mem_vector *region, unsigned long image_size) in store_slot_info() 511 process_gb_huge_pages(struct mem_vector *region, unsigned long image_size) in process_gb_huge_pages() 584 struct mem_vector region, overlap; in __process_mem_region() local 624 static bool process_mem_region(struct mem_vector *region, in process_mem_region() 684 struct mem_vector region; in process_efi_entries() local 760 struct mem_vector region; in process_e820_entries() local
|
/linux/tools/testing/selftests/kvm/lib/ |
A D | kvm_util.c | 414 struct userspace_mem_region *region; in kvm_vm_restart() local 486 struct userspace_mem_region *region = in userspace_mem_region_find() local 523 struct userspace_mem_region *region; in kvm_userspace_memory_region_find() local 642 struct userspace_mem_region *region; in kvm_vm_free() local 810 struct userspace_mem_region *region; in vm_userspace_mem_region_add() local 987 struct userspace_mem_region *region; in memslot2region() local 1019 struct userspace_mem_region *region; in vm_mem_region_set_flags() local 1048 struct userspace_mem_region *region; in vm_mem_region_move() local 1380 struct userspace_mem_region *region; in addr_gpa2hva() local 1455 struct userspace_mem_region *region; in addr_gpa2alias() local [all …]
|