Lines Matching refs:sbdIoctl

1130 	stmf_iocdata_t sbdIoctl = {0};
1273 sbdIoctl.stmf_version = STMF_VERSION_1;
1274 sbdIoctl.stmf_ibuf_size = sbdLu->slu_struct_size;
1275 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)sbdLu;
1276 sbdIoctl.stmf_obuf_size = sbdLu->slu_struct_size;
1277 sbdIoctl.stmf_obuf = (uint64_t)(unsigned long)sbdLu;
1279 ioctlRet = ioctl(fd, SBD_IOCTL_CREATE_AND_REGISTER_LU, &sbdIoctl);
1291 diskError(sbdIoctl.stmf_error, &ret);
1296 sbdIoctl.stmf_error, savedErrno);
1374 stmf_iocdata_t sbdIoctl = {0};
1410 sbdIoctl.stmf_version = STMF_VERSION_1;
1411 sbdIoctl.stmf_ibuf_size = sbdLu->ilu_struct_size;
1412 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)sbdLu;
1413 sbdIoctl.stmf_obuf_size = sbdLu->ilu_struct_size;
1414 sbdIoctl.stmf_obuf = (uint64_t)(unsigned long)sbdLu;
1416 ioctlRet = ioctl(fd, SBD_IOCTL_IMPORT_LU, &sbdIoctl);
1419 if (createdGuid && sbdIoctl.stmf_error ==
1435 diskError(sbdIoctl.stmf_error, &ret);
1440 sbdIoctl.stmf_error, savedErrno);
1591 stmf_iocdata_t sbdIoctl = {0};
1607 sbdIoctl.stmf_version = STMF_VERSION_1;
1608 sbdIoctl.stmf_ibuf_size = sizeof (deleteLu);
1609 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)&deleteLu;
1610 ioctlRet = ioctl(fd, SBD_IOCTL_DELETE_LU, &sbdIoctl);
1627 ioctlRet, sbdIoctl.stmf_error, savedErrno);
1677 stmf_iocdata_t sbdIoctl = {0};
1691 sbdIoctl.stmf_version = STMF_VERSION_1;
1692 sbdIoctl.stmf_ibuf_size = sizeof (sbd_set_lu_standby_t);
1693 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)&sbdLu;
1695 ioctlRet = ioctl(fd, SBD_IOCTL_SET_LU_STANDBY, &sbdIoctl);
1707 diskError(sbdIoctl.stmf_error, &ret);
1712 sbdIoctl.stmf_error, savedErrno);
1844 stmf_iocdata_t sbdIoctl = {0};
1931 sbdIoctl.stmf_version = STMF_VERSION_1;
1932 sbdIoctl.stmf_ibuf_size = sbdLu->mlu_struct_size;
1933 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)sbdLu;
1935 ioctlRet = ioctl(fd, SBD_IOCTL_MODIFY_LU, &sbdIoctl);
1947 diskError(sbdIoctl.stmf_error, &ret);
1952 sbdIoctl.stmf_error, savedErrno);
2191 stmf_iocdata_t sbdIoctl = {0};
2224 sbdIoctl.stmf_version = STMF_VERSION_1;
2225 sbdIoctl.stmf_ibuf_size = sbdPropsSize;
2226 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)sbdProps;
2227 sbdIoctl.stmf_obuf_size = sbdPropsSize;
2228 sbdIoctl.stmf_obuf = (uint64_t)(unsigned long)sbdProps;
2229 ioctlRet = ioctl(fd, SBD_IOCTL_GET_LU_PROPS, &sbdIoctl);
2246 ioctlRet, sbdIoctl.stmf_error, savedErrno);
2404 stmf_iocdata_t sbdIoctl = {0};
2428 sbdIoctl.stmf_version = STMF_VERSION_1;
2429 sbdIoctl.stmf_obuf_size = sbdPropsSize;
2430 sbdIoctl.stmf_obuf = (uint64_t)(unsigned long)sbdProps;
2431 ioctlRet = ioctl(fd, SBD_IOCTL_GET_GLOBAL_LU, &sbdIoctl);
2443 if (sbdIoctl.stmf_error ==
2468 sbdIoctl.stmf_error, savedErrno);
2540 stmf_iocdata_t sbdIoctl = {0};
2582 sbdIoctl.stmf_version = STMF_VERSION_1;
2583 sbdIoctl.stmf_ibuf_size = sbdGlobalProps->mlu_struct_size;
2584 sbdIoctl.stmf_ibuf = (uint64_t)(unsigned long)sbdGlobalProps;
2586 ioctlRet = ioctl(fd, SBD_IOCTL_SET_GLOBAL_LU, &sbdIoctl);
2598 diskError(sbdIoctl.stmf_error, &ret);
2603 sbdIoctl.stmf_error, savedErrno);