Searched refs:hspname (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/cmd/lvm/metassist/layout/
H A Dlayout_hsp.c187 char *hspname = NULL; local
195 if ((error = get_default_hsp_name(request, &hspname)) != 0) {
201 if (hspname != NULL) {
202 if ((error = hsp_get_by_name(dsname, hspname, &default_hsp)) != 0) {
218 if ((error = get_next_hsp_name(&hspname)) != 0) {
232 ((error = devconfig_get_name(default_hsp, &hspname)) != 0) ||
234 (error = devconfig_set_name(*hsp, hspname));
242 hspname, dsname);
252 (error = devconfig_set_name(*hsp, hspname));
256 hspname, dsnam
301 char *hspname = NULL; local
565 char *hspname = NULL; local
[all...]
H A Dlayout_svm_util.h47 extern int hsp_get_by_name(char *diskset, char *hspname,
H A Dlayout_svm_util.c89 char *hspname);
93 char *hspname,
592 * FUNCTION: add_diskset_hsp(char *dsname, char *hspname)
595 * hspname - a char * HSP name
613 char *hspname)
628 (error = devconfig_set_name(hsp, hspname))) {
640 hspname, dsname);
649 return (add_diskset_hsp(dsname, hspname));
657 * FUNCTION: add_diskset_hsp_spare(char *dsname, char *hspname,
661 * hspname
611 add_diskset_hsp( char *dsname, char *hspname) argument
679 add_diskset_hsp_spare( char *dsname, char *hspname, char *sparename) argument
[all...]
/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_hotspares.c144 if (metaioctl(MD_IOCGET, &mig, &mig.mde, hspnp->hspname) != 0) {
152 if (metaioctl(MD_IOCGET, &mig, &mig.mde, hspnp->hspname) != 0) {
300 if (meta_check_overlap(hspnp->hspname, np, slblk, nblks,
394 if (fprintf(fp, "%s", hspp->hspnamep->hspname) == EOF)
519 hspp->hspnamep->hspname) == EOF) {
541 hspp->hspnamep->hspname, len, len,
551 hspp->hspnamep->hspname, len, len,
576 hspp->hspnamep->hspname,
588 hspp->hspnamep->hspname,
1101 hspnp->hspname, e
[all...]
H A Dmeta_namespace.c109 nm.hspname = (uintptr_t)device_name;
130 char *hspname,
138 assert(hspname != NULL);
141 (void) strcpy(device_name, hspname);
149 nm.hspname = (uintptr_t)device_name;
127 meta_gethspnmentbyname( set_t setno, side_t sideno, char *hspname, md_error_t *ep ) argument
H A Dmeta_error.c249 char *hspname, *devname; local
252 hspname = hsp_name(ip->hs.hsp);
254 len = strlen(hspname) + strlen(": ")
258 hspname, devname);
259 Free(hspname);
H A Dmeta_name.c3274 * initialize hspname
3286 * free allocated hspname
3293 if (hspnamep->hspname != NULL)
3294 Free(hspnamep->hspname);
3301 * clear the hspname cache
3363 if (strcmp(hspnp->hspname, cname) == 0) {
3389 /* allocate new list element and hspname */
3394 /* save hspname and number */
3395 hspnp->hspname = cname;
3469 return (hspnp->hspname);
[all...]
H A Dmeta_raid.c433 if (fprintf(fp, " -h %s", raidp->hspnamep->hspname) == EOF)
754 char *hspname = ((hspnamep != NULL) ? hspnamep->hspname : local
760 " Hot spare pool: %s\n"), hspname) == EOF) {
H A Dmeta_stripe.c614 if (fprintf(fp, " -h %s", stripep->hspnamep->hspname) == EOF)
946 char *hspname = ((hspnamep != NULL) ? hspnamep->hspname : local
952 " Hot spare pool: %s\n"), hspname) == EOF) {
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dsvm_rcm.c114 char *hspname; /* name */ member in struct:hspentry
166 static hspentry_t *find_hsp(char *hspname);
167 static hspuser_t *add_hsp_user(char *hspname, deventry_t *deventry);
168 static hspentry_t *add_hsp(char *hspname, deventry_t *deventry);
666 hspentry->hspname);
953 * char *hspname name of hot spare pool
958 find_hsp(char *hspname) argument
963 if (strcmp(hspname, hspentry->hspname) == 0)
974 * hspname
983 add_hsp_user(char *hspname, deventry_t *deventry) argument
1041 add_hsp(char *hspname, deventry_t *deventry) argument
[all...]
/illumos-gate/usr/src/cmd/lvm/md_monitord/
H A Dprobedev.c81 bname, hspnp->hspname, bname);
511 hspnp->hspname);
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmdio.h318 uint64_t hspname; /* Address of device name for set/get */ member in struct:mdhspnm_params
H A Dmdiox.x930 string hspname<>; /* hotspare pool name */
/illumos-gate/usr/src/cmd/lvm/util/
H A Dmetastat.c755 bname, hspnp->hspname, bname);
1280 print_concise_entry(0, nlp->hspnamep->hspname, 0, 'h');
/illumos-gate/usr/src/uts/common/io/lvm/md/
H A Dmd_names.c2559 char *hspname /* alternate key or returned device name */
2588 key, hspname)) == NULL) {
2613 * hspname we found.
2618 (void) snprintf(hspname, MAXPATHLEN,
2621 (void) snprintf(hspname, MAXPATHLEN,
H A Dmd_ioctl.c478 err = ddi_copyin((caddr_t)(uintptr_t)nm->hspname,
605 (uintptr_t)nm->hspname, strlen(name)+1, mode);
2155 if (((mdhspnm_params_t *)d)->hspname == NULL) {
/illumos-gate/usr/src/head/
H A Dmeta.h1316 char *hspname, md_error_t *ep);

Completed in 135 milliseconds