---
name: "__bread"
section: "9"
platform: "linux"
package: "linux-manual-3.2"
version: "3.2.78-1"
release: "Debian 7 (Wheezy)"
platforms: ["linux"]
url: "https://new.carta.tech/__bread"
---

# \_\_bread(9)

reads a specified block and returns the bh

## NAME

\_\_bread - reads a specified block and returns the bh

## SYNOPSIS

**struct buffer\_head \* \_\_bread(struct block\_device \*** *bdev***, sector\_t** *block***, unsigned** *size***);**

## ARGUMENTS

*bdev*

the block\_device to read from

*block*

number of block

*size*

size (in bytes) to read

## DESCRIPTION

Reads a specified block, and returns buffer head that contains it. The page cache is allocated from movable area so that it can be migrated. It returns NULL if the block was unreadable.

## COPYRIGHT
