1LOOKUP_BDEV(9) The Linux VFS LOOKUP_BDEV(9)
23
4
NAME
6lookup_bdev - lookup a struct block_device by name
7
SYNOPSIS
9struct block_device * lookup_bdev(const char * pathname);
10
ARGUMENTS
12pathname
13special file representing the block device
14
DESCRIPTION
16Get a reference to the blockdevice at pathname in the current namespace
17if possible and return it. Return ERR_PTR(error) otherwise.
18
COPYRIGHT
20Kernel Hackers Manual 3.10 June 2019 LOOKUP_BDEV(9)