Searched defs:errctl (Results 1 - 3 of 3) sorted by relevance
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_manage.c | 78 struct bofi_errctl errctl; local 104 if (getnameinst(argv[1], &errctl.instance, buf, 110 (void) strncpy(errctl.name, buf, MAXNAMELEN); 111 errctl.namesize = strlen(errctl.name); 114 errctl.namesize = strlen(argv[1]); 115 (void) strncpy(errctl.name, argv[1], MAXNAMELEN); 116 errctl.instance = atoi(argv[2]); 129 if (getpath(&path[8], errctl.instance, errctl [all...] |
H A D | th_define.c | 463 struct bofi_errctl errctl; local 465 errctl.namesize = strlen(namep); 466 (void) strncpy(errctl.name, namep, MAXNAMELEN); 467 errctl.instance = instance; 470 if (ioctl(fd, cmd, &errctl) == -1) {
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | bofi.c | 917 struct bofi_errctl errctl; local 1107 if (ddi_copyin((void *)arg, &errctl, 1113 if (errctl.namesize > NAMESIZE) 1115 namep = kmem_zalloc(errctl.namesize+1, KM_SLEEP); 1116 (void) strncpy(namep, errctl.name, errctl.namesize); 1117 bofi_start(&errctl, namep); 1118 kmem_free(namep, errctl.namesize+1); 1125 if (ddi_copyin((void *)arg, &errctl, 1131 if (errctl [all...] |
Completed in 52 milliseconds