---
name: "mdiobus_alloc_size"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/mdiobus_alloc_size"
---

# mdiobus\_alloc\_size(9)

allocate a mii\_bus structure

## NAME

mdiobus\_alloc\_size - allocate a mii\_bus structure

## SYNOPSIS

**struct mii\_bus \* mdiobus\_alloc\_size(size\_t** *size***);**

## ARGUMENTS

*size*

extra amount of memory to allocate for private storage. If non-zero, then bus-\>priv is points to that memory.

## DESCRIPTION

called by a bus driver to allocate an mii\_bus structure to fill in.

## COPYRIGHT
