Home
last modified time | relevance | path

Searched refs:reqdata (Results 1 – 7 of 7) sorted by relevance

/freebsd/sys/dev/iicbus/
H A Diiconf.c137 struct iic_reqbus_data reqdata; in iicbus_request_bus() local
176 reqdata.dev = dev; in iicbus_request_bus()
177 reqdata.bus = bus; in iicbus_request_bus()
178 reqdata.flags = how | IIC_REQBUS_DEV; in iicbus_request_bus()
180 IIC_REQUEST_BUS, (caddr_t)&reqdata); in iicbus_request_bus()
205 struct iic_reqbus_data reqdata; in iicbus_release_bus() local
218 reqdata.dev = dev; in iicbus_release_bus()
219 reqdata.bus = bus; in iicbus_release_bus()
220 reqdata.flags = IIC_REQBUS_DEV; in iicbus_release_bus()
222 (caddr_t)&reqdata); in iicbus_release_bus()
/freebsd/usr.sbin/ctld/
H A Dkernel.c711 req.reqdata.create.blocksize_bytes = lun->l_blocksize; in kernel_lun_add()
714 req.reqdata.create.lun_size_bytes = lun->l_size; in kernel_lun_add()
717 req.reqdata.create.req_lun_id = lun->l_ctl_lun; in kernel_lun_add()
718 req.reqdata.create.flags |= CTL_LUN_FLAG_ID_REQ; in kernel_lun_add()
721 req.reqdata.create.flags |= CTL_LUN_FLAG_DEV_TYPE; in kernel_lun_add()
722 req.reqdata.create.device_type = lun->l_device_type; in kernel_lun_add()
725 strncpy(req.reqdata.create.serial_num, lun->l_serial, in kernel_lun_add()
726 sizeof(req.reqdata.create.serial_num)); in kernel_lun_add()
727 req.reqdata.create.flags |= CTL_LUN_FLAG_SERIAL_NUM; in kernel_lun_add()
731 strncpy(req.reqdata.create.device_id, lun->l_device_id, in kernel_lun_add()
[all …]
/freebsd/usr.sbin/ctladm/
H A Dctladm.c2506 req.reqdata.create.blocksize_bytes = blocksize; in cctl_create_lun()
2509 req.reqdata.create.lun_size_bytes = lun_size; in cctl_create_lun()
2512 req.reqdata.create.flags |= CTL_LUN_FLAG_ID_REQ; in cctl_create_lun()
2513 req.reqdata.create.req_lun_id = req_lun_id; in cctl_create_lun()
2516 req.reqdata.create.flags |= CTL_LUN_FLAG_DEV_TYPE; in cctl_create_lun()
2519 req.reqdata.create.device_type = device_type; in cctl_create_lun()
2521 req.reqdata.create.device_type = T_DIRECT; in cctl_create_lun()
2524 strlcpy(req.reqdata.create.serial_num, serial_num, in cctl_create_lun()
2525 sizeof(req.reqdata.create.serial_num)); in cctl_create_lun()
2526 req.reqdata in cctl_create_lun()
[all...]
/freebsd/sys/cam/ctl/
H A Dctl_backend_ramdisk.c1056 params = &req->reqdata.rm; in ctl_backend_ramdisk_rm()
1135 params = &req->reqdata.create; in ctl_backend_ramdisk_create()
1140 be_lun->params = req->reqdata.create; in ctl_backend_ramdisk_create()
1347 params = &req->reqdata.modify; in ctl_backend_ramdisk_modify()
H A Dctl_ioctl.h440 * reqdata: Request type-specific information. See the
462 union ctl_lunreq_data reqdata;
460 union ctl_lunreq_data reqdata; global() member
H A Dctl_backend_block.c2639 params = &req->reqdata.create; in ctl_be_block_create()
2645 be_lun->params = req->reqdata.create; in ctl_be_block_create()
2839 params = &req->reqdata.rm; in ctl_be_block_rm()
2916 params = &req->reqdata.modify; in ctl_be_block_modify()
H A Dctl.c1889 ireq.reqdata.modify.lun_id = lun->lun; in ctl_ha_role_sysctl()