---
name: "__alloc_percpu"
section: "9"
platform: "linux"
package: "linux-manual-2.6.18"
version: "2.6.18.dfsg.1-26etch2"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/__alloc_percpu"
---

# \_\_alloc\_percpu(9)

allocate one copy of the object for every present

## NAME

\_\_alloc\_percpu - allocate one copy of the object for every present

## SYNOPSIS

**void \* \_\_alloc\_percpu(size\_t** *size***);**

## ARGUMENTS

*size*

how many bytes of memory are required.

## DESCRIPTION

cpu in the system, zeroing them. Objects should be dereferenced using the per\_cpu\_ptr macro only.

## COPYRIGHT
