---
name: "mpt_host_page_access_control"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/mpt_host_page_access_control"
---

# mpt\_host\_page\_access\_control(9)

control the IOC's Host Page Buffer access

## NAME

mpt\_host\_page\_access\_control - control the IOC's Host Page Buffer access

## SYNOPSIS

**int mpt\_host\_page\_access\_control(MPT\_ADAPTER \*** *ioc***, u8** *access\_control\_value***, int** *sleepFlag***);**

## ARGUMENTS

*ioc*

Pointer to MPT adapter structure

*access\_control\_value*

define bits below

*sleepFlag*

Specifies whether the process can sleep

## DESCRIPTION

Provides mechanism for the host driver to control the IOC's Host Page Buffer access.

Access Control Value - bits\[15:12\] 0h Reserved 1h Enable Access { MPI\_DB\_HPBAC\_ENABLE\_ACCESS } 2h Disable Access { MPI\_DB\_HPBAC\_DISABLE\_ACCESS } 3h Free Buffer { MPI\_DB\_HPBAC\_FREE\_BUFFER }

Returns 0 for success, non-zero for failure.

## COPYRIGHT
