Searched defs:diskp (Results 1 - 5 of 5) sorted by relevance
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | alias.c | 37 static int get_status(disk_t *diskp, int fd, nvlist_t *attrs); 204 get_status(disk_t *diskp, int fd, nvlist_t *attrs) argument 218 if (diskp->removable) {
|
H A D | partition.c | 64 static int open_disk(disk_t *diskp, char *opath, int len); 788 open_disk(disk_t *diskp, char *opath, int len) argument 793 if (diskp->aliases != NULL && diskp->aliases->devpaths != NULL) { 796 (void) strlcpy(opath, diskp->aliases->devpaths->devpath, len); 798 return (open(diskp->aliases->devpaths->devpath, O_RDONLY|O_NDELAY)); 804 (void) strlcpy(part_dev, diskp->aliases->devpaths->devpath,
|
H A D | slice.c | 210 disk_t *diskp; local 212 diskp = dp->p.disk; 213 if (diskp->aliases != NULL && diskp->aliases->cluster) { 235 for (sp = diskp->aliases->orig_paths; sp != NULL; 397 disk_t *diskp; local 532 diskp = dp->p.disk; 533 if (diskp->aliases != NULL && diskp->aliases->cluster) { 536 for (sp = diskp 826 match_fixed_name(disk_t *diskp, char *name, int *errp) argument [all...] |
H A D | findevs.c | 86 static int add_disk2controller(disk_t *diskp, 99 static alias_t *find_alias(disk_t *diskp, char *kernel_name); 116 char *kernel_name, disk_t **diskp); 122 static int new_alias(disk_t *diskp, char *kernel_path, 125 static path_t *new_path(controller_t *cp, disk_t *diskp, 449 disk_t *diskp; local 455 * Get the diskp value from calling have_disk. Can either be found 459 diskp = NULL; 464 (void) have_disk(args, devidstr, kernel_name, &diskp); 472 if (diskp ! 558 disk_t *diskp; local 656 add_disk2controller(disk_t *diskp, struct search_args *args) argument 872 disk_t *diskp; local 1070 find_alias(disk_t *diskp, char *kernel_name) argument 1123 disk_t *diskp = NULL; local 1438 have_disk(struct search_args *args, char *devidstr, char *kernel_name, disk_t **diskp) argument 1594 new_alias(disk_t *diskp, char *kernel_name, char *devlink_path, struct search_args *args) argument [all...] |
H A D | drive.c | 344 static descriptor_t **get_assoc_alias(disk_t *diskp, int *errp); 347 static int get_attrs(disk_t *diskp, int fd, char *opath, 523 disk_t *diskp; local 526 diskp = dp->p.disk; 539 ap = diskp->aliases; 584 if ((fd = drive_open_disk(diskp, NULL, 0)) >= 0) { 673 drive_open_disk(disk_t *diskp, char *opath, int len) argument 678 if (diskp->aliases != NULL && diskp->aliases->devpaths != NULL) { 680 (void) strlcpy(opath, diskp 772 get_assoc_alias(disk_t *diskp, int *errp) argument 832 disk_t *diskp; local 909 get_attrs(disk_t *diskp, int fd, char *opath, nvlist_t *attrs) argument [all...] |
Completed in 34 milliseconds