Lines Matching refs:reqdata

2506 		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.create.flags |= CTL_LUN_FLAG_SERIAL_NUM; in cctl_create_lun()
2530 strlcpy(req.reqdata.create.device_id, device_id, in cctl_create_lun()
2531 sizeof(req.reqdata.create.device_id)); in cctl_create_lun()
2532 req.reqdata.create.flags |= CTL_LUN_FLAG_DEVID; in cctl_create_lun()
2568 fprintf(stdout, "device type: %d\n",req.reqdata.create.device_type); in cctl_create_lun()
2570 (uintmax_t)req.reqdata.create.lun_size_bytes); in cctl_create_lun()
2572 req.reqdata.create.blocksize_bytes); in cctl_create_lun()
2573 fprintf(stdout, "LUN ID: %d\n", req.reqdata.create.req_lun_id); in cctl_create_lun()
2574 fprintf(stdout, "Serial Number: %s\n", req.reqdata.create.serial_num); in cctl_create_lun()
2575 fprintf(stdout, "Device ID: %s\n", req.reqdata.create.device_id); in cctl_create_lun()
2644 req.reqdata.rm.lun_id = lun_id; in cctl_rm_lun()
2763 req.reqdata.modify.lun_id = lun_id; in cctl_modify_lun()
2764 req.reqdata.modify.lun_size_bytes = lun_size; in cctl_modify_lun()