---
name: "dma_buf_kmap_atomic"
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/dma_buf_kmap_atomic"
---

# dma\_buf\_kmap\_atomic(9)

Map a page of the buffer object into kernel address space. The same restrictions as for kmap\_atomic and friends apply.

## NAME

dma\_buf\_kmap\_atomic - Map a page of the buffer object into kernel address space. The same restrictions as for kmap\_atomic and friends apply.

## SYNOPSIS

**void \* dma\_buf\_kmap\_atomic(struct dma\_buf \*** *dmabuf***, unsigned long** *page\_num***);**

## ARGUMENTS

*dmabuf*

\[in\] buffer to map page from.

*page\_num*

\[in\] page in PAGE\_SIZE units to map.

## DESCRIPTION

This call must always succeed, any necessary preparations that might fail need to be done in begin\_cpu\_access.

## COPYRIGHT
