LOOKUP_BDEV(9) The Linux VFS LOOKUP_BDEV(9)NAMElookup_bdev - lookup a struct block_device by nameSYNOPSISstruct block_device * lookup_bdev(const char * pathname);ARGUMENTSpathname special file representing the block deviceDESCRIPTIONGet a reference to the blockdevice at pathname in the current namespace if possible and return it. Return ERR_PTR(error) otherwise.COPYRIGHTKernel Hackers Manual 3.10 June 2014 LOOKUP_BDEV(9)