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

/freebsd-9.3-release/sys/cam/ctl/
H A Dctl_backend_ramdisk.c357 struct ctl_lun_req *lun_req; local
359 lun_req = (struct ctl_lun_req *)addr;
361 switch (lun_req->reqtype) {
363 retval = ctl_backend_ramdisk_create(softc, lun_req,
367 retval = ctl_backend_ramdisk_rm(softc, lun_req);
370 retval = ctl_backend_ramdisk_modify(softc, lun_req);
373 lun_req->status = CTL_LUN_ERROR;
374 snprintf(lun_req->error_str, sizeof(lun_req->error_str),
376 lun_req
[all...]
H A Dctl_backend_block.c1153 struct ctl_lun_req *lun_req; local
1155 lun_req = (struct ctl_lun_req *)addr;
1157 switch (lun_req->reqtype) {
1159 error = ctl_be_block_create(softc, lun_req);
1162 error = ctl_be_block_rm(softc, lun_req);
1165 error = ctl_be_block_modify(softc, lun_req);
1168 lun_req->status = CTL_LUN_ERROR;
1169 snprintf(lun_req->error_str, sizeof(lun_req->error_str),
1171 lun_req
[all...]
H A Dctl.c2949 struct ctl_lun_req *lun_req; local
2952 lun_req = (struct ctl_lun_req *)addr;
2954 backend = ctl_backend_find(lun_req->backend);
2956 lun_req->status = CTL_LUN_ERROR;
2957 snprintf(lun_req->error_str,
2958 sizeof(lun_req->error_str),
2960 lun_req->backend);
2963 if (lun_req->num_be_args > 0) {
2964 lun_req->kern_be_args = ctl_copyin_args(
2965 lun_req
[all...]

Completed in 103 milliseconds