函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\resource.c Create Date:2022-07-27 10:04:46
Last Modify:2022-05-22 11:14:39 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称: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.

函数原型:int request_resource(struct resource *root, struct resource *new)

返回类型:int

参数:

类型参数名称
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  返回:如果conflict则负EBUSY否则0
调用者
名称描述
i386_reserve_resourcesi386标准资源检查
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
reserve_standard_io_resources