Lines Matching refs:dev_path
157 char *dev_path; member
1843 be_lun->dev_path); in ctl_be_block_open_file()
1907 "file %s size %ju < block size %u", be_lun->dev_path, in ctl_be_block_open_file()
1953 "no d_ioctl for device %s!", be_lun->dev_path); in ctl_be_block_open_dev()
1963 "on %s!", error, be_lun->dev_path); in ctl_be_block_open_dev()
2003 be_lun->dev_path); in ctl_be_block_open_dev()
2147 free(be_lun->dev_path, M_CTLBLK); in ctl_be_block_open()
2148 be_lun->dev_path = strdup(value, M_CTLBLK); in ctl_be_block_open()
2159 NDINIT(&nd, LOOKUP, FOLLOW, UIO_SYSSPACE, be_lun->dev_path, curthread); in ctl_be_block_open()
2172 if (be_lun->dev_path[0] != '/') { in ctl_be_block_open()
2176 be_lun->dev_path); in ctl_be_block_open()
2177 free(be_lun->dev_path, M_CTLBLK); in ctl_be_block_open()
2178 be_lun->dev_path = dev_name; in ctl_be_block_open()
2182 "error opening %s: %d", be_lun->dev_path, error); in ctl_be_block_open()
2201 "%s is not a disk or plain file", be_lun->dev_path); in ctl_be_block_open()
2457 if (be_lun->dev_path != NULL) in ctl_be_block_create()
2458 free(be_lun->dev_path, M_CTLBLK); in ctl_be_block_create()
2546 free(be_lun->dev_path, M_CTLBLK); in ctl_be_block_rm()