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

/freebsd-13-stable/sys/cam/ctl/
H A Dctl_backend_ramdisk.c822 struct ctl_lun_req *lun_req; local
828 lun_req = (struct ctl_lun_req *)addr;
829 switch (lun_req->reqtype) {
831 retval = ctl_backend_ramdisk_create(softc, lun_req);
834 retval = ctl_backend_ramdisk_rm(softc, lun_req);
837 retval = ctl_backend_ramdisk_modify(softc, lun_req);
840 lun_req->status = CTL_LUN_ERROR;
841 snprintf(lun_req->error_str, sizeof(lun_req->error_str),
843 lun_req
[all...]
H A Dctl.c2884 struct ctl_lun_req *lun_req; local
2890 lun_req = (struct ctl_lun_req *)addr;
2891 tmp_args_nvl = lun_req->args_nvl;
2893 backend = ctl_backend_find(lun_req->backend);
2895 lun_req->status = CTL_LUN_ERROR;
2896 snprintf(lun_req->error_str,
2897 sizeof(lun_req->error_str),
2899 lun_req->backend);
2903 if (lun_req->args != NULL) {
2904 packed = malloc(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...]

Completed in 184 milliseconds