Searched refs:add_disk (Results 1 – 25 of 26) sorted by relevance
12
151 err = add_disk(disk); in n64cart_probe()
338 err = add_disk(disk); in z2ram_register_disk()
415 err = add_disk(disk); in brd_alloc()
2028 if (add_disk(unit[drive].disk[type])) in ataflop_probe()2124 ret = add_disk(unit[i].disk[0]); in atari_floppy_init()
847 err = add_disk(swd->unit[drive].disk); in swim_floppy_init()
1233 rc = add_disk(disk); in swim3_attach()
1803 err = add_disk(disk); in fd_alloc_disk()
1539 ret = add_disk(disk); in ublk_ctrl_start_dev()
2045 err = add_disk(disk); in loop_add()
1823 err = add_disk(disk); in nbd_dev_add()
2719 ret = add_disk(disk); in pkt_setup_dev()
4553 if (add_disk(disks[drive][type])) in floppy_probe()
132 err = add_disk(dev->disk); in nfhd_init_one()
284 err = add_disk(dev->gd); in simdisk_setup()
455 ret = add_disk(dev->gd); in ubiblock_create()
808 err = add_disk(gd.disk); in probe_gdrom()
943 ret = add_disk(disk->gd); in pd_probe_drive()
949 ret = add_disk(cd->disk); in pcd_init_unit()
969 ret = add_disk(disk); in pf_init_unit()
757 static inline int __must_check add_disk(struct gendisk *disk) in add_disk() function
1078 ret = add_disk(d->disk); in bch_cached_dev_run()1545 err = add_disk(d->disk); in flash_dev_run()
1394 err = add_disk(dev->gd); in rnbd_clt_setup_gen_disk()
1895 return add_disk(disk); in null_gendisk_register()
2357 r = add_disk(md->disk); in dm_setup_md_queue()
2774 err = add_disk(disk); in drbd_create_device()