Home
last modified time | relevance | path

Searched refs:blk_symlink_name (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-clt-sysfs.c436 if (dev->blk_symlink_name) { in rnbd_clt_remove_dev_symlink()
438 sysfs_remove_link(rnbd_devs_kobj, dev->blk_symlink_name); in rnbd_clt_remove_dev_symlink()
442 kfree(dev->blk_symlink_name); in rnbd_clt_remove_dev_symlink()
443 dev->blk_symlink_name = NULL; in rnbd_clt_remove_dev_symlink()
498 dev->blk_symlink_name = kzalloc(len, GFP_KERNEL); in rnbd_clt_add_dev_symlink()
499 if (!dev->blk_symlink_name) { in rnbd_clt_add_dev_symlink()
504 ret = rnbd_clt_get_path_name(dev, dev->blk_symlink_name, in rnbd_clt_add_dev_symlink()
513 dev->blk_symlink_name); in rnbd_clt_add_dev_symlink()
523 kfree(dev->blk_symlink_name); in rnbd_clt_add_dev_symlink()
524 dev->blk_symlink_name = NULL ; in rnbd_clt_add_dev_symlink()
Drnbd-clt.h129 char *blk_symlink_name; member