Lines Matching defs:op

52 static CIMBool		get_devpath(CCIMObjectPath *op, char *devpath, int len);
54 static dm_descriptor_t *get_partition_descs(CCIMObjectPath *op);
67 create_partitions(CCIMPropertyList *params, CCIMObjectPath *op)
75 if (!check_rights("Solaris_Disk") || op == NULL || params == NULL) {
79 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) {
114 create_filesystem(CCIMObjectPath *op)
126 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) {
157 * op - CCIMObjectPath pointer that points to the object path
164 * Description: Executes the fdisk command on the device pointed to my 'op'
171 create_fdisk_partitions(CCIMPropertyList *params, CCIMObjectPath *op)
181 op == NULL || params == NULL) {
185 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) {
236 * Parameters: op - CCIMObjectPath pointer that points to the object path
243 * Description: Executes the fdisk command on the device pointed to my 'op'
250 create_default_fdisk_partition(CCIMObjectPath *op)
259 if (!check_rights("Solaris_DiskDrive") || op == NULL) {
263 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) {
306 * op - CCIMObjectPath pointer. Object path containing
314 * pointed to by 'op'.
317 label_disk(CCIMPropertyList *params, CCIMObjectPath *op)
326 op == NULL || params == NULL) {
330 if (get_devpath(op, devpath, sizeof (devpath)) == cim_false) {
365 get_disk_geometry(CCIMPropertyList *out, CCIMObjectPath *op)
377 if (op != NULL) {
378 prop_list = op->mKeyProperties;
442 * op - CCIMObjectPath pointer. The object path contains
457 getFdisk(CCIMPropertyList *outParams, CCIMObjectPath *op)
468 cim_false || op == NULL) {
472 if ((da = get_partition_descs(op)) == NULL) {
923 get_devpath(CCIMObjectPath *op, char *devpath, int len)
936 if (strcasecmp(op->mName, "Solaris_Disk") == 0) {
939 } else if (strcasecmp(op->mName, "Solaris_DiskDrive") == 0) {
942 } else if (strcasecmp(op->mName, "Solaris_DiskPartition") == 0) {
949 if (op != NULL) {
950 prop_list = op->mKeyProperties;
1041 get_partition_descs(CCIMObjectPath *op)
1050 if (op != NULL) {
1051 prop_list = op->mKeyProperties;