Query: blkdev_get
OS: centos
Section: 9
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
BLKDEV_GET(9) The Linux VFS BLKDEV_GET(9)NAMEblkdev_get - open a block deviceSYNOPSISint blkdev_get(struct block_device * bdev, fmode_t mode, void * holder);ARGUMENTSbdev block_device to open mode FMODE_* mask holder exclusive holder identifierDESCRIPTIONOpen 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.CONTEXTMight sleep.RETURNS0 on success, -errno on failure.COPYRIGHTKernel Hackers Manual 3.10 June 2014 BLKDEV_GET(9)
Related Man Pages |
---|
ldi_close(9f) - sunos |
ldi_open_by_dev(9f) - sunos |
ldi_open_by_name(9f) - sunos |
ldi_open_by_dev(9f) - opensolaris |
probe::ioblock_trace.end(3stap) - centos |
Similar Topics in the Unix Linux Community |
---|
Is UNIX an open source OS ? |
How to increment version inside a file? |
Tar Command |
CentOS 6 ran out of space, need to reclaim it |
Please Welcome Dave Munro to the Moderator Team! |