Lines Matching refs:new_bdev
334 struct block_device *bdev, *new_bdev; in bdget() local
340 new_bdev = alloc_bdev(); in bdget()
341 if (new_bdev) { in bdget()
345 atomic_set(&new_bdev->bd_count,1); in bdget()
346 new_bdev->bd_dev = dev; in bdget()
347 new_bdev->bd_op = NULL; in bdget()
348 new_bdev->bd_inode = inode; in bdget()
351 inode->i_bdev = new_bdev; in bdget()
358 list_add(&new_bdev->bd_hash, head); in bdget()
360 return new_bdev; in bdget()
363 iput(new_bdev->bd_inode); in bdget()
365 destroy_bdev(new_bdev); in bdget()