Home
last modified time | relevance | path

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

12345678910>>...21

/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-4.19/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
195 struct fpga_region *region; in fpga_region_create() local
236 void fpga_region_free(struct fpga_region *region) in fpga_region_free()
248 int fpga_region_register(struct fpga_region *region) in fpga_region_register()
259 void fpga_region_unregister(struct fpga_region *region) in fpga_region_unregister()
267 struct fpga_region *region = to_fpga_region(dev); in fpga_region_dev_release() local
Ddfl-afu-dma-region.c89 struct dfl_afu_dma_region *region) in afu_dma_pin_pages()
137 struct dfl_afu_dma_region *region) in afu_dma_unpin_pages()
156 static bool afu_dma_check_continuous_pages(struct dfl_afu_dma_region *region) in afu_dma_check_continuous_pages()
178 static bool dma_region_check_iova(struct dfl_afu_dma_region *region, in dma_region_check_iova()
198 struct dfl_afu_dma_region *region) in afu_dma_region_add()
240 struct dfl_afu_dma_region *region) in afu_dma_region_remove()
261 struct dfl_afu_dma_region *region; in afu_dma_region_destroy() local
306 struct dfl_afu_dma_region *region; in afu_dma_region_find() local
358 struct dfl_afu_dma_region *region; in afu_dma_map_region() local
440 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.c91 static int of_fpga_region_get_bridges(struct fpga_region *region) in of_fpga_region_get_bridges()
198 struct fpga_region *region, in of_fpga_region_parse_ov()
289 static int of_fpga_region_notify_pre_apply(struct fpga_region *region, in of_fpga_region_notify_pre_apply()
329 static void of_fpga_region_notify_post_remove(struct fpga_region *region, in of_fpga_region_notify_post_remove()
353 struct fpga_region *region; in of_fpga_region_notify() local
404 struct fpga_region *region; in of_fpga_region_probe() local
439 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
69 struct fpga_region *region = dev_get_drvdata(&pdev->dev); in fme_region_remove() local
/kernel/linux/linux-4.19/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()
117 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_init() local
139 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_region_fini() local
147 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp1_acl_tcam_region_associate()
155 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_chunk_init() local
174 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_add() local
187 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_del() local
218 struct mlxsw_sp1_acl_tcam_region *region = region_priv; in mlxsw_sp1_acl_tcam_entry_activity_get() local
Dspectrum_acl_tcam.c171 struct mlxsw_sp_acl_tcam_region *region; member
193 struct mlxsw_sp_acl_tcam_region *region; in mlxsw_sp_acl_tcam_group_update() local
286 mlxsw_sp_acl_tcam_region_prio(struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_region_prio()
298 mlxsw_sp_acl_tcam_region_max_prio(struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_region_max_prio()
310 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_group_list_add()
328 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_group_list_del()
337 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_group_region_attach()
361 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_group_region_detach()
375 struct mlxsw_sp_acl_tcam_region *region, *region2; in mlxsw_sp_acl_tcam_group_region_find() local
451 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp_acl_tcam_region_alloc()
[all …]
Dspectrum2_acl_tcam.c18 struct mlxsw_sp_acl_tcam_region *region; member
144 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_init() local
157 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_region_fini() local
164 struct mlxsw_sp_acl_tcam_region *region) in mlxsw_sp2_acl_tcam_region_associate()
172 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_chunk_init() local
191 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_add() local
205 struct mlxsw_sp2_acl_tcam_region *region = region_priv; in mlxsw_sp2_acl_tcam_entry_del() 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
107 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_parman_resize() local
123 struct mlxsw_sp_acl_tcam_region *region = cregion->region; in mlxsw_sp_acl_ctcam_region_parman_move() local
141 struct mlxsw_sp_acl_tcam_region *region, in mlxsw_sp_acl_ctcam_region_init()
/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
194 LosVmMapRegion *region = NULL; in OsUProcessPmUsage() local
265 UINT32 OsCountRegionPages(LosVmSpace *space, LosVmMapRegion *region, UINT32 *pssPages) in OsCountRegionPages()
302 LosVmMapRegion *region = NULL; in OsCountAspacePages() local
367 VOID OsDumpRegion2(LosVmSpace *space, LosVmMapRegion *region) in OsDumpRegion2()
385 LosVmMapRegion *region = NULL; in OsDumpAspace() local
426 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 …]
/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-4.19/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/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()

12345678910>>...21