Searched refs:new_bdev (Results 1 – 1 of 1) sorted by relevance
334 struct block_device *bdev, *new_bdev; in bdget() local340 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()[all …]