---
name: "mpt_alloc_fw_memory"
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_alloc_fw_memory"
---

# mpt\_alloc\_fw\_memory(9)

allocate firmware memory

## NAME

mpt\_alloc\_fw\_memory - allocate firmware memory

## SYNOPSIS

**int mpt\_alloc\_fw\_memory(MPT\_ADAPTER \*** *ioc***, int** *size***);**

## ARGUMENTS

*ioc*

Pointer to MPT\_ADAPTER structure

*size*

total FW bytes

## DESCRIPTION

If memory has already been allocated, the same (cached) value is returned.

Return 0 if successful, or non-zero for failure

## COPYRIGHT
