/illumos-gate/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 …]
|
/illumos-gate/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()
|
/illumos-gate/usr/src/uts/i86pc/io/acpi/drmach_acpi/ |
H A D | drmach_acpi.c | 1433 if ((opts->size > 0) && (opts->copts != NULL)) { in drmach_pre_op() 1434 if (strstr(opts->copts, ACPIDEV_CMD_OST_PREFIX) == NULL) { in drmach_pre_op() 1697 char *copts; in drmach_update_acpi_status() local 1712 copts = opts->copts; in drmach_update_acpi_status() 1713 if (strncmp(copts, ACPIDEV_CMD_OST_INPROGRESS, in drmach_update_acpi_status() 1717 copts += strlen(ACPIDEV_CMD_OST_INPROGRESS); in drmach_update_acpi_status() 1718 } else if (strncmp(copts, ACPIDEV_CMD_OST_SUCCESS, in drmach_update_acpi_status() 1721 copts += strlen(ACPIDEV_CMD_OST_SUCCESS); in drmach_update_acpi_status() 1722 } else if (strncmp(copts, ACPIDEV_CMD_OST_FAILURE, in drmach_update_acpi_status() 1725 copts += strlen(ACPIDEV_CMD_OST_FAILURE); in drmach_update_acpi_status() [all …]
|
/illumos-gate/usr/src/uts/sun4u/sys/ |
H A D | sbd.h | 47 char *copts; /* pointer to the platform options */ member
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | drmach.h | 89 char *copts; member
|
/illumos-gate/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() 3030 char *copts; in dr_pt_ioctl() local 3036 copts = hp->h_opts.copts; in dr_pt_ioctl() 3038 if (sz == 0 || copts == (char *)NULL) { in dr_pt_ioctl() 3046 found = (strncmp(pt_arr[cmd].pt_name, copts, len) == 0); in dr_pt_ioctl()
|
/illumos-gate/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() 3073 char *copts; in dr_pt_ioctl() local 3079 copts = hp->h_opts.copts; in dr_pt_ioctl() 3081 if (sz == 0 || copts == (char *)NULL) { in dr_pt_ioctl() 3089 found = (strncmp(pt_arr[cmd].pt_name, copts, len) == 0); in dr_pt_ioctl()
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/ |
H A D | drmach.h | 278 char *copts; member
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | drmach.c | 1319 if ((opts->size > 0) && (opts->copts != NULL)) { in drmach_pre_op() 1321 DRMACH_PR("platform options: %s\n", opts->copts); in drmach_pre_op() 1323 if (strstr(opts->copts, "opldr") == NULL) { in drmach_pre_op() 2625 if (strncmp(drmach_pt_arr[i].name, opts->copts, len) == 0) in drmach_passthru() 2632 err = drerr_new(0, EOPL_UNKPTCMD, opts->copts); in drmach_passthru()
|
/illumos-gate/usr/src/uts/sun4u/io/ |
H A D | sbd.c | 1531 if (hp->h_opts.copts != NULL) { in sbd_release_handle() 1532 FREESTRUCT(hp->h_opts.copts, char, hp->h_opts.size); in sbd_release_handle() 1646 hp->h_opts.copts = GETSTRUCT(char, hp->h_opts.size); in sbd_copyin_ioarg() 1648 (void *)hp->h_opts.copts, in sbd_copyin_ioarg()
|