/titanic_41/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | nfs_cmd.c | 100 char *copts; in charmap_search() local 122 copts = strdup(opts); in charmap_search() 123 if (copts == NULL) in charmap_search() 128 next = copts; in charmap_search() 153 free(copts); in charmap_search()
|
/titanic_41/usr/src/uts/sun4u/serengeti/io/ |
H A D | sbdp_mbox.c | 136 if (hp->h_opts != NULL && hp->h_opts->copts != NULL) { in sbdp_get_board_status() 137 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_get_board_status() 266 if (hp->h_opts != NULL && hp->h_opts->copts != NULL) { in sbdp_assign_board() 267 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_assign_board() 317 if (hp->h_opts != NULL && hp->h_opts->copts != NULL) { in sbdp_unassign_board() 318 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_unassign_board() 413 if (hp->h_opts != NULL && hp->h_opts->copts != NULL) { in sbdp_connect_board() 414 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_connect_board() 514 if (hp->h_opts != NULL && hp->h_opts->copts != NULL) { in sbdp_disconnect_board() 515 sbdp_set_err(sep, ESBD_INVAL_OPT, hp->h_opts->copts); in sbdp_disconnect_board() [all …]
|
/titanic_41/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1431 if ((opts->size > 0) && (opts->copts != NULL)) { in drmach_pre_op() 1432 if (strstr(opts->copts, ACPIDEV_CMD_OST_PREFIX) == NULL) { in drmach_pre_op() 1695 char *copts; in drmach_update_acpi_status() local 1710 copts = opts->copts; in drmach_update_acpi_status() 1711 if (strncmp(copts, ACPIDEV_CMD_OST_INPROGRESS, in drmach_update_acpi_status() 1715 copts += strlen(ACPIDEV_CMD_OST_INPROGRESS); in drmach_update_acpi_status() 1716 } else if (strncmp(copts, ACPIDEV_CMD_OST_SUCCESS, in drmach_update_acpi_status() 1719 copts += strlen(ACPIDEV_CMD_OST_SUCCESS); in drmach_update_acpi_status() 1720 } else if (strncmp(copts, ACPIDEV_CMD_OST_FAILURE, in drmach_update_acpi_status() 1723 copts += strlen(ACPIDEV_CMD_OST_FAILURE); in drmach_update_acpi_status() [all …]
|
/titanic_41/usr/src/uts/sun4u/sys/ |
H A D | sbd.h | 47 char *copts; /* pointer to the platform options */ member
|
/titanic_41/usr/src/uts/sun4u/starcat/sys/ |
H A D | drmach.h | 87 char *copts; member
|
/titanic_41/usr/src/uts/sun4u/starfire/sys/ |
H A D | drmach.h | 78 char *copts; member
|
/titanic_41/usr/src/uts/i86pc/sys/ |
H A D | drmach.h | 89 char *copts; member
|
/titanic_41/usr/src/uts/sun4u/starfire/io/ |
H A D | drmach.c | 1954 if ((opts->size > 0) && (opts->copts != NULL)) { in drmach_pre_op() 1956 DRMACH_PR("platform options: %s\n", opts->copts); in drmach_pre_op() 1958 if (strstr(opts->copts, "xfdr") != NULL) { in drmach_pre_op() 2048 char *cptr, *copts; in drmach_board_connect() local 2054 copts = opts->copts; in drmach_board_connect() 2056 if ((cptr = strstr(copts, "cpuid=")) != NULL) { in drmach_board_connect() 3592 if (strncmp(drmach_pt_arr[i].name, opts->copts, len) == 0) in drmach_passthru() 3599 err = drerr_new(0, ESTF_UNKPTCMD, opts->copts); in drmach_passthru()
|
/titanic_41/usr/src/cmd/fs.d/autofs/ |
H A D | autod_nfs.c | 1187 char *copts = opts; in nfsmount() local 1196 copts = malloc(strlen(opts) + in nfsmount() 1199 if (copts == NULL) { in nfsmount() 1205 strcpy(copts, opts); in nfsmount() 1207 if (strlen(copts) != 0) in nfsmount() 1208 strcat(copts, ","); in nfsmount() 1210 strcat(copts, "public"); in nfsmount() 1214 copts, mntpnt, overlay); in nfsmount() 1216 if (copts != opts) in nfsmount() 1217 free(copts); in nfsmount()
|
/titanic_41/usr/src/uts/i86pc/io/dr/ |
H A D | dr.c | 688 FREESTRUCT(hp->h_opts.copts, char, hp->h_opts.size); in dr_ioctl() 933 hp->h_opts.copts = GETSTRUCT(char, scp->cmd_cm.c_len + 1); in dr_copyin_iocmd() 936 (void *)hp->h_opts.copts, in dr_copyin_iocmd() 3029 char *copts; in dr_pt_ioctl() local 3035 copts = hp->h_opts.copts; in dr_pt_ioctl() 3037 if (sz == 0 || copts == (char *)NULL) { in dr_pt_ioctl() 3045 found = (strncmp(pt_arr[cmd].pt_name, copts, len) == 0); in dr_pt_ioctl()
|
/titanic_41/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr.c | 690 FREESTRUCT(hp->h_opts.copts, char, hp->h_opts.size); in dr_ioctl() 937 hp->h_opts.copts = GETSTRUCT(char, scp->cmd_cm.c_len + 1); in dr_copyin_iocmd() 940 (void *)hp->h_opts.copts, in dr_copyin_iocmd() 3072 char *copts; in dr_pt_ioctl() local 3078 copts = hp->h_opts.copts; in dr_pt_ioctl() 3080 if (sz == 0 || copts == (char *)NULL) { in dr_pt_ioctl() 3088 found = (strncmp(pt_arr[cmd].pt_name, copts, len) == 0); in dr_pt_ioctl()
|
/titanic_41/usr/src/uts/sun4u/opl/sys/ |
H A D | drmach.h | 278 char *copts; member
|
/titanic_41/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 1315 if ((opts->size > 0) && (opts->copts != NULL)) { in drmach_pre_op() 1317 DRMACH_PR("platform options: %s\n", opts->copts); in drmach_pre_op() 1319 if (strstr(opts->copts, "opldr") == NULL) { in drmach_pre_op() 2622 if (strncmp(drmach_pt_arr[i].name, opts->copts, len) == 0) in drmach_passthru() 2629 err = drerr_new(0, EOPL_UNKPTCMD, opts->copts); in drmach_passthru()
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 1538 if (hp->h_opts.copts != NULL) { in sbd_release_handle() 1539 FREESTRUCT(hp->h_opts.copts, char, hp->h_opts.size); in sbd_release_handle() 1654 hp->h_opts.copts = GETSTRUCT(char, hp->h_opts.size); in sbd_copyin_ioarg() 1656 (void *)hp->h_opts.copts, in sbd_copyin_ioarg()
|
/titanic_41/usr/src/uts/sun4u/starcat/io/ |
H A D | drmach.c | 4981 char *copts; in drmach_board_test() local 5003 if ((opts->size > 0) && ((copts = opts->copts) != NULL)) { in drmach_board_test() 5005 bcopy(copts, obufp->msgdata.dm_tb.hpost_opts, cpylen); in drmach_board_test() 6988 if (strncmp(drmach_pt_arr[i].name, opts->copts, len) == 0) in drmach_passthru() 6995 err = drerr_new(0, ESTC_UNKPTCMD, opts->copts); in drmach_passthru()
|