Lines Matching defs:inq

264 L_inquiry	inq;
332 if (err = g_get_inquiry(path_phys, &inq)) {
351 print_inq_data(argv[path_index], path_phys, inq,
383 if (err = g_get_inquiry(path_phys, &inq)) {
402 print_inq_data(argv[path_index], path_phys, inq,
433 if (err = g_get_inquiry(path_phys, &inq)) {
450 print_inq_data(argv[path_index], path_phys, inq,
547 L_inquiry inq, ses_inq;
641 if ((opnerr = g_get_inquiry(path_phys, &inq)) != 0) {
656 } else if (!g_enclDiskChk((char *)inq.inq_vid,
657 (char *)inq.inq_pid)) {
659 inq, Options & PVERBOSE)) != 0) {
663 } else if (strstr((char *)inq.inq_pid, ENCLOSURE_PROD_ID) != NULL) {
668 print_chars(inq.inq_pid, sizeof (inq.inq_pid), 0);
673 (inq.inq_dtype & DTYPE_MASK));
677 } else if ((((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)) &&
678 (l_get_enc_type(inq) == DAK_ENC_TYPE)) {
683 for (i = 0; i < sizeof (inq.inq_pid); i++) {
684 (void) fprintf(stdout, "%c", inq.inq_pid[i]);
689 (inq.inq_dtype & DTYPE_MASK));
703 } else if (((inq.inq_dtype & DTYPE_MASK) == DTYPE_DIRECT) &&
714 (inq.inq_dtype & DTYPE_MASK));
716 display_fc_disk(path_struct, ses_path, &map, inq,
720 } else if (strstr((char *)inq.inq_pid, "SUN_SEN") != 0) {
728 print_chars(inq.inq_vid, sizeof (inq.inq_vid), 1);
730 print_chars(inq.inq_pid, sizeof (inq.inq_pid), 1);
732 if (inq.inq_len > 31) {
736 print_chars(inq.inq_revision,
737 sizeof (inq.inq_revision), 0);
741 } else if ((inq.inq_dtype & DTYPE_MASK) < 0x10) {
742 switch ((inq.inq_dtype & DTYPE_MASK)) {
747 (inq.inq_dtype & DTYPE_MASK));
749 inq, Options & PVERBOSE) != 0) {
763 dtype[inq.inq_dtype & DTYPE_MASK]);
766 } else if ((inq.inq_dtype & DTYPE_MASK) < 0x1f) {
796 L_inquiry inq;
849 if (err = g_get_inquiry(path_phys, &inq)) {
855 if ((strstr((char *)inq.inq_pid, ENCLOSURE_PROD_ID) != 0) ||
856 (strncmp((char *)inq.inq_vid, "SUN ",
857 sizeof (inq.inq_vid)) &&
858 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI))) {
873 } else if ((inq.inq_dtype & DTYPE_MASK) == DTYPE_DIRECT) {
898 L_inquiry inq;
947 if (err = g_get_inquiry(path_phys, &inq)) {
951 if ((strstr((char *)inq.inq_pid, ENCLOSURE_PROD_ID) != 0) ||
952 (strncmp((char *)inq.inq_vid, "SUN ",
953 sizeof (inq.inq_vid)) &&
954 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI))) {
970 } else if ((inq.inq_dtype & DTYPE_MASK) == DTYPE_DIRECT) {
997 L_inquiry inq;
1017 if (err = g_get_inquiry(path_phys, &inq)) {
1021 if ((strstr((char *)inq.inq_pid, ENCLOSURE_PROD_ID) != 0) ||
1022 (strncmp((char *)inq.inq_vid, "SUN ",
1023 sizeof (inq.inq_vid)) &&
1024 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI))) {
1692 L_inquiry inq;
1722 if (err = g_get_inquiry(path_phys, &inq)) {
1726 if ((strstr((char *)inq.inq_pid, ENCLOSURE_PROD_ID) == 0) &&
1727 (!(strncmp((char *)inq.inq_vid, "SUN ",
1728 sizeof (inq.inq_vid)) &&
1729 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) {
1858 L_inquiry inq;
1865 (void) memset(&inq, 0, sizeof (inq));
1910 if (err = g_get_inquiry(path_phys, &inq)) {
1914 if ((strstr((char *)inq.inq_pid, ENCLOSURE_PROD_ID) == 0) &&
1915 (!(strncmp((char *)inq.inq_vid, "SUN ",
1916 sizeof (inq.inq_vid)) &&
1917 ((inq.inq_dtype & DTYPE_MASK) == DTYPE_ESI)))) {
2052 L_inquiry inq;
2081 if (err = g_get_inquiry(path_phys, &inq)) {
2085 if ((inq.inq_dtype & DTYPE_MASK) != DTYPE_DIRECT) {
2231 L_inquiry inq;
2261 if (err = g_get_inquiry(path_phys, &inq)) {
2265 (uchar_t *)&inq, 5 + inq.inq_len, HEX_ASCII);
3854 gfc_map_t *map, L_inquiry inq, int verbose)
4001 switch ((inq.inq_dtype & DTYPE_MASK)) {
4079 (void) display_disk_info(inq, l_disk_state, path_struct, pg_hdr,
4359 display_disk_info(L_inquiry inq, L_disk_state l_disk_state,
4387 print_chars(inq.inq_vid, sizeof (inq.inq_vid), 0);
4390 print_chars(inq.inq_pid, sizeof (inq.inq_pid), 0);
4406 print_chars(inq.inq_revision, sizeof (inq.inq_revision), 0);
4516 dtype[inq.inq_dtype & DTYPE_MASK]);
6096 L_inquiry inq;
6109 if (err = g_get_inquiry(phys_path, &inq)) {
6127 peripheral_qual = inq.inq_dtype & ~DTYPE_MASK;
6137 print_chars(inq.inq_vid, sizeof (inq.inq_vid), 0);
6139 print_chars(inq.inq_pid, sizeof (inq.inq_pid), 0);
6144 print_chars(inq.inq_revision, sizeof (inq.inq_revision), 0);
6151 if ((inq.inq_dtype & DTYPE_MASK) == DTYPE_DIRECT) {
6186 dtype[inq.inq_dtype & DTYPE_MASK]);
6228 if (err = g_get_inquiry(mlist->dev_path, &inq)) {