Searched refs:lun_req (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/sys/cam/ctl/
H A Dctl_backend_ramdisk.c846 struct ctl_lun_req *lun_req; local
852 lun_req = (struct ctl_lun_req *)addr;
853 switch (lun_req->reqtype) {
855 retval = ctl_backend_ramdisk_create(softc, lun_req);
858 retval = ctl_backend_ramdisk_rm(softc, lun_req);
861 retval = ctl_backend_ramdisk_modify(softc, lun_req);
864 lun_req->status = CTL_LUN_ERROR;
865 snprintf(lun_req->error_str, sizeof(lun_req->error_str),
867 lun_req
[all...]
H A Dctl_backend_block.c1776 struct ctl_lun_req *lun_req; local
1778 lun_req = (struct ctl_lun_req *)addr;
1780 switch (lun_req->reqtype) {
1782 error = ctl_be_block_create(softc, lun_req);
1785 error = ctl_be_block_rm(softc, lun_req);
1788 error = ctl_be_block_modify(softc, lun_req);
1791 lun_req->status = CTL_LUN_ERROR;
1792 snprintf(lun_req->error_str, sizeof(lun_req->error_str),
1794 lun_req
[all...]
H A Dctl.c3016 struct ctl_lun_req *lun_req; local
3019 lun_req = (struct ctl_lun_req *)addr;
3021 backend = ctl_backend_find(lun_req->backend);
3023 lun_req->status = CTL_LUN_ERROR;
3024 snprintf(lun_req->error_str,
3025 sizeof(lun_req->error_str),
3027 lun_req->backend);
3030 if (lun_req->num_be_args > 0) {
3031 lun_req->kern_be_args = ctl_copyin_args(
3032 lun_req
[all...]

Completed in 131 milliseconds