svcadm(8)을 검색하려면 섹션에서 8 을 선택하고, 맨 페이지 이름에 svcadm을 입력하고 검색을 누른다.
bus_adjust_resource(9)
This function is used to ask the parent bus to adjust the re‐
source range assigned to an allocated resource. The resource
should have been allocated by a previous call to The new resource
range must overlap the existing range of The argument should
match the argument passed to when the resource was initially al‐
located. Note that none of the constraints of the original allo‐
cation request such as alignment or boundary restrictions are
checked by It is the caller's responsibility to enforce any such
requirements. The method returns zero on success or an error
code on failure. Grow an existing memory resource by 4096 bytes.
struct resource *res; int error;
error = bus_adjust_resource(dev, SYS_RES_MEMORY, res,
rman_get_start(res), rman_get_end(res) + 0x1000);
will fail if: The device does not have a parent device. The re‐
source is a shared resource. The new address range does not
overlap with the existing address range of The new address range
conflicts with another allocated resource.