Searched refs:disklist (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/lvm/libmeta/common/
H A Dmeta_devadm.c421 devid_nmlist_t *disklist = NULL; local
459 r->r_minor_name, &disklist);
478 for (i = 0; disklist[i].dev != NODEV; i++) {
482 disklist[i].devname, (void *) disklist[i].dev);
484 if (disklist[i].dev == small_dev) {
488 if (strncmp(r->r_namep->bname, disklist[i].devname,
506 disklist[i].devname);
507 devid_free_nmlist(disklist);
511 /* No match found - use the first entry in disklist */
603 devid_nmlist_t *disklist = NULL; local
1362 devid_nmlist_t *disklist = NULL; local
[all...]
H A Dmeta_db.c81 devid_nmlist_t *disklist = NULL; local
117 c->c_locator.l_minor_name, &disklist) != 0) {
126 diskname = Strdup(disklist[0].devname);
130 if (disklist != NULL)
131 devid_free_nmlist(disklist);
2175 devid_nmlist_t *disklist = NULL; local
2193 c->c_locator.l_minor_name, &disklist) != 0) {
2212 devname = disklist[0].devname;
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/
H A Dzfs_mount.kshlib48 function setup_filesystem #disklist #pool #fs #mntpoint #type #vdev
50 typeset disklist=$1
62 if is_global_zone && [[ -z $disklist ]] ; then
63 log_note "Missing disklist."
76 create_pool $pool $vdev $disklist
/illumos-gate/usr/src/test/zfs-tests/tests/functional/mv_files/
H A Dmv_files_common.kshlib85 typeset disklist=$1
87 create_pool $TESTPOOL "$disklist"
/illumos-gate/usr/src/cmd/lvm/rpc.metad/
H A Dmetad_svc_subr.c2534 devid_nmlist_t *disklist = NULL; local
2560 DEVID_MINOR_NAME_ALL_CHR, &disklist);
2563 &disklist);
2570 devid_free_nmlist(disklist);
2574 np = metaname(&sp, disklist[0].devname, LOGICAL_DEVICE, ep);
2582 res->dev = meta_expldev(disklist[0].dev);
2583 res->devname = strdup(disklist[0].devname);
2585 devid_free_nmlist(disklist);
2624 devid_nmlist_t *disklist = NULL; local
2661 DEVID_MINOR_NAME_ALL_CHR, &disklist);
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Ddiskmon_conf.c424 diskmon_t *disklist = cfgp->disk_list; local
426 while (disklist->next != NULL)
427 disklist = disklist->next;
429 disklist->next = dmp;
/illumos-gate/usr/src/cmd/stat/common/
H A Ddsr.c81 static disk_list_t *disklist[DISKLIST_MOD]; variable
349 disk_list_t **dlhp; /* disklist head */
397 dlhp = &disklist[instunit & (DISKLIST_MOD - 1)];
/illumos-gate/usr/src/cmd/format/
H A Dstartup.c2959 char **disklist; local
2967 disklist = arglist;
2968 for (; *disklist != NULL; disklist++) {
2969 if (strncmp(directory, *disklist, len) == 0) {
2971 canonicalize_name(s, *disklist);
2984 (void) strcpy(arglist[diskno], *disklist);

Completed in 112 milliseconds