Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-28 09:05:00
Last Modify:2022-05-22 11:14:39 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:quest_resource - request and reserve an I/O or memory resource*@root: root resource descriptor*@new: resource descriptor desired by caller* Returns 0 for success, negative error code on error.

Proto:int request_resource(struct resource *root, struct resource *new)

Type:int

Parameter:

TypeParameterName
struct resource *root
struct resource *new
300  conflict = quest_resource_conflict - request and reserve an I/O or memory resource*@root: root resource descriptor*@new: resource descriptor desired by caller* Returns 0 for success, conflict resource on error.
301  Return If conflict Then -EBUSY Else 0
Caller
NameDescribe
i386_reserve_resources
probe_roms
paravirt_disable_iospaceReserve the whole legacy IO space to prevent any legacy drivers* from wasting time probing for their hardware. This is a fairly* brute-force approach to disabling all non-virtual drivers.* Note that this must be called very early to have any effect.
reserve_setup