blkdev_get(9) centos man page | unix.com

Man Page: blkdev_get

Operating Environment: centos

Section: 9

BLKDEV_GET(9)							   The Linux VFS						     BLKDEV_GET(9)

NAME
blkdev_get - open a block device
SYNOPSIS
int blkdev_get(struct block_device * bdev, fmode_t mode, void * holder);
ARGUMENTS
bdev block_device to open mode FMODE_* mask holder exclusive holder identifier
DESCRIPTION
Open bdev with mode. If mode includes FMODE_EXCL, bdev is open with exclusive access. Specifying FMODE_EXCL with NULLholder is invalid. Exclusive opens may nest for the same holder. On success, the reference count of bdev is unchanged. On failure, bdev is put.
CONTEXT
Might sleep.
RETURNS
0 on success, -errno on failure.
COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 BLKDEV_GET(9)
Related Man Pages
ldi_close(9f) - sunos
ldi_close(9f) - opensolaris
ldi_open_by_dev(9f) - opensolaris
probe::ioblock.request(3stap) - centos
probe::ioblock_trace.end(3stap) - centos
Similar Topics in the Unix Linux Community
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
CentOS 6 ran out of space, need to reclaim it
Controlling user input
Please Welcome Dave Munro to the Moderator Team!