Home
last modified time | relevance | path

Searched defs:region (Results 1 – 25 of 289) sorted by relevance

12345678910>>...12

/kernel/linux/linux-5.10/drivers/fpga/
Dfpga-region.c45 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()
Ddfl-afu-dma-region.c35 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
Ddfl-afu-region.c24 #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
Dof-fpga-region.c86 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
Ddfl-fme-region.c22 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
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum1_acl_tcam.c14 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
Dspectrum2_acl_tcam.c18 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
Dspectrum_acl_ctcam.c15 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()
/kernel/liteos_a/kernel/base/vm/
Dlos_vm_fault.c58 STATIC STATUS_T OsVmRegionPermissionCheck(LosVmMapRegion *region, UINT32 flags) in OsVmRegionPermissionCheck()
100 STATIC STATUS_T OsDoReadFault(LosVmMapRegion *region, LosVmPgFault *vmPgFault) in OsDoReadFault()
144 STATIC LosVmPage *OsCowUnmapOrg(LosArchMmu *archMmu, LosVmMapRegion *region, LosVmPgFault *vmf) in OsCowUnmapOrg()
172 status_t OsDoCowFault(LosVmMapRegion *region, LosVmPgFault *vmPgFault) in OsDoCowFault()
256 status_t OsDoSharedFault(LosVmMapRegion *region, LosVmPgFault *vmPgFault) in OsDoSharedFault()
323 STATIC STATUS_T OsDoFileFault(LosVmMapRegion *region, LosVmPgFault *vmPgFault, UINT32 flags) in OsDoFileFault()
342 LosVmMapRegion *region = NULL; in OsVmPageFaultHandler() local
Dlos_vm_dump.c57 const CHAR *OsGetRegionNameOrFilePath(LosVmMapRegion *region) in OsGetRegionNameOrFilePath()
85 INT32 OsRegionOverlapCheckUnlock(LosVmSpace *space, LosVmMapRegion *region) in OsRegionOverlapCheckUnlock()
113 LosVmMapRegion *region = NULL; in OsShellCmdProcessVmUsage() local
200 LosVmMapRegion *region = NULL; in OsUProcessPmUsage() local
276 UINT32 OsCountRegionPages(LosVmSpace *space, LosVmMapRegion *region, UINT32 *pssPages) in OsCountRegionPages()
313 LosVmMapRegion *region = NULL; in OsCountAspacePages() local
378 VOID OsDumpRegion2(LosVmSpace *space, LosVmMapRegion *region) in OsDumpRegion2()
396 LosVmMapRegion *region = NULL; in OsDumpAspace() local
437 STATUS_T OsRegionOverlapCheck(LosVmSpace *space, LosVmMapRegion *region) in OsRegionOverlapCheck()
Dlos_vm_map.c101 LosVmMapRegion *region = (LosVmMapRegion *)LOS_DL_LIST_ENTRY(pstNode, LosVmMapRegion, rbNode); in OsRegionRbGetKeyFn() local
342 LosVmMapRegion *region = NULL; in LOS_RegionFind() local
353 LosVmMapRegion *region = NULL; in LOS_RegionRangeFind() local
438 BOOL LOS_IsRegionFileValid(LosVmMapRegion *region) in LOS_IsRegionFileValid()
447 BOOL OsInsertRegion(LosRbTree *regionRbTree, LosVmMapRegion *region) in OsInsertRegion()
459 LosVmMapRegion *region = LOS_MemAlloc(m_aucSysMem0, sizeof(LosVmMapRegion)); in OsCreateRegion() local
594 STATIC VOID OsFilePagesRemove(LosVmSpace *space, LosVmMapRegion *region) in OsFilePagesRemove()
613 STATUS_T LOS_RegionFree(LosVmSpace *space, LosVmMapRegion *region)
716 LosVmMapRegion *region = NULL; local
813 STATUS_T OsIsRegionCanExpand(LosVmSpace *space, LosVmMapRegion *region, size_t size)
[all …]
Dlos_vm_syscall.c99 STATUS_T OsAnonMMap(LosVmMapRegion *region) in OsAnonMMap()
176 STATIC INLINE BOOL OsProtMprotectPermCheck(unsigned long prot, LosVmMapRegion *region) in OsProtMprotectPermCheck()
208 LosVmMapRegion *region = NULL; in LOS_DoBrk() local
284 LosVmMapRegion *region = NULL; in LOS_DoMprotect() local
357 LosVmMapRegion *region = LOS_RegionFind(space, addr); in OsMremapCheck() local
Dlos_vm_filemap.c170 VOID OsVmmFileRemove(LosVmMapRegion *region, LosArchMmu *archMmu, VM_OFFSET_T pgoff) in OsVmmFileRemove()
217 VOID OsMarkPageDirty(LosFilePage *fpage, const LosVmMapRegion *region, INT32 off, INT32 len) in OsMarkPageDirty()
332 VOID OsDelMapInfo(LosVmMapRegion *region, LosVmPgFault *vmf, BOOL cleanDirty) in OsDelMapInfo()
366 INT32 OsVmmFileFault(LosVmMapRegion *region, LosVmPgFault *vmf) in OsVmmFileFault()
501 INT32 OsVfsFileMmap(struct file *filep, LosVmMapRegion *region) in OsVfsFileMmap()
510 STATUS_T OsNamedMMap(struct file *filep, LosVmMapRegion *region) in OsNamedMMap()
604 INT32 OsVfsFileMmap(struct file *filep, LosVmMapRegion *region) in OsVfsFileMmap()
/kernel/linux/linux-5.10/drivers/s390/cio/
Dvfio_ccw_chp.c21 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()
Dvfio_ccw_async.c21 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()
/kernel/linux/linux-5.10/drivers/md/
Ddm-region-hash.c122 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
/kernel/linux/linux-5.10/drivers/mtd/nand/spi/
Dgigadevice.c48 struct mtd_oob_region *region) in gd5fxgq4xa_ooblayout_ecc()
60 struct mtd_oob_region *region) in gd5fxgq4xa_ooblayout_free()
106 struct mtd_oob_region *region) in gd5fxgq4_variant2_ooblayout_ecc()
118 struct mtd_oob_region *region) in gd5fxgq4_variant2_ooblayout_free()
/kernel/liteos_a/kernel/base/include/
Dlos_vm_map.h189 STATIC INLINE VADDR_T LOS_RegionEndAddr(LosVmMapRegion *region) in LOS_RegionEndAddr()
199 STATIC INLINE BOOL LOS_IsRegionTypeFile(LosVmMapRegion* region) in LOS_IsRegionTypeFile()
204 STATIC INLINE BOOL LOS_IsRegionPermUserReadOnly(LosVmMapRegion* region) in LOS_IsRegionPermUserReadOnly()
210 STATIC INLINE BOOL LOS_IsRegionFlagPrivateOnly(LosVmMapRegion* region) in LOS_IsRegionFlagPrivateOnly()
215 STATIC INLINE VOID LOS_SetRegionTypeFile(LosVmMapRegion* region) in LOS_SetRegionTypeFile()
220 STATIC INLINE BOOL LOS_IsRegionTypeDev(LosVmMapRegion* region) in LOS_IsRegionTypeDev()
225 STATIC INLINE VOID LOS_SetRegionTypeDev(LosVmMapRegion* region) in LOS_SetRegionTypeDev()
230 STATIC INLINE BOOL LOS_IsRegionTypeAnon(LosVmMapRegion* region) in LOS_IsRegionTypeAnon()
235 STATIC INLINE VOID LOS_SetRegionTypeAnon(LosVmMapRegion* region) in LOS_SetRegionTypeAnon()
/kernel/linux/linux-5.10/tools/testing/selftests/powerpc/mm/
Dpkey_siginfo.c91 struct region { struct
105 base = ((struct region *) p)->base; in protect() argument
/kernel/linux/linux-5.10/drivers/vfio/pci/
Dvfio_pci_nvlink2.c93 struct vfio_pci_region *region) in vfio_pci_nvgpu_release()
120 struct vfio_pci_region *region = vma->vm_private_data; in vfio_pci_nvgpu_mmap_fault() local
140 struct vfio_pci_region *region, struct vm_area_struct *vma) in vfio_pci_nvgpu_mmap()
175 struct vfio_pci_region *region, struct vfio_info_cap *caps) in vfio_pci_nvgpu_add_capability()
332 struct vfio_pci_region *region, struct vm_area_struct *vma) in vfio_pci_npu2_mmap()
353 struct vfio_pci_region *region) in vfio_pci_npu2_release()
362 struct vfio_pci_region *region, struct vfio_info_cap *caps) in vfio_pci_npu2_add_capability()
/kernel/linux/linux-5.10/arch/arm/mm/
Dpmsa-v7.c19 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
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dalternative.c139 struct alt_region *region = alt_region; in __apply_alternatives() local
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
/kernel/linux/linux-5.10/tools/testing/selftests/kvm/lib/
Dkvm_util.c289 struct userspace_mem_region *region; in kvm_vm_restart() local
353 struct userspace_mem_region *region; in userspace_mem_region_find() local
386 struct userspace_mem_region *region; in kvm_userspace_memory_region_find() local
468 struct userspace_mem_region *region) in __vm_mem_region_delete()
491 struct userspace_mem_region *region, *tmp; in kvm_vm_free() local
608 struct userspace_mem_region *region; in vm_userspace_mem_region_add() local
746 struct userspace_mem_region *region; in memslot2region() local
778 struct userspace_mem_region *region; in vm_mem_region_set_flags() local
807 struct userspace_mem_region *region; in vm_mem_region_move() local
1106 struct userspace_mem_region *region; in addr_gpa2hva() local
[all …]
/kernel/linux/linux-5.10/drivers/misc/lkdtm/
Dheap.c201 static void ctor_double_free(void *region) in ctor_double_free()
203 static void ctor_a(void *region) in ctor_a()
205 static void ctor_b(void *region) in ctor_b()
/kernel/linux/linux-5.10/arch/um/kernel/
Dphysmem.c127 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

12345678910>>...12