Home
last modified time | relevance | path

Searched refs:page_buf (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/lib/storage/liba5k/common/
H A Ddiag.c403 uchar_t *page_buf; in l_dev_bypass_enable() local
520 if ((page_buf = (uchar_t *)malloc(MAX_REC_DIAG_LENGTH)) == NULL) { in l_dev_bypass_enable()
526 (void) g_destroy_data(page_buf); in l_dev_bypass_enable()
531 if (err = l_get_envsen_page(fd, page_buf, MAX_REC_DIAG_LENGTH, in l_dev_bypass_enable()
534 (void) g_destroy_data(page_buf); in l_dev_bypass_enable()
539 page_len = (page_buf[2] << 8 | page_buf[3]) + HEADER_LEN; in l_dev_bypass_enable()
544 (void) g_destroy_data(page_buf); in l_dev_bypass_enable()
566 (void) g_destroy_data(page_buf); in l_dev_bypass_enable()
576 (void) g_destroy_data(page_buf); in l_dev_bypass_enable()
585 (void) g_destroy_data(page_buf); in l_dev_bypass_enable()
[all …]
H A Dlhot.c403 uchar_t *page_buf; in l_encl_status_page_funcs() local
412 if ((page_buf = (uchar_t *)g_zalloc(MAX_REC_DIAG_LENGTH)) == NULL) { in l_encl_status_page_funcs()
417 (void) g_destroy_data(page_buf); in l_encl_status_page_funcs()
421 if ((err = l_get_envsen_page(fd, page_buf, MAX_REC_DIAG_LENGTH, in l_encl_status_page_funcs()
423 (void) g_destroy_data(page_buf); in l_encl_status_page_funcs()
428 page_len = (page_buf[2] << 8 | page_buf[3]) + HEADER_LEN; in l_encl_status_page_funcs()
432 (void) g_destroy_data(page_buf); in l_encl_status_page_funcs()
452 elem = (struct device_element *)(page_buf + offset); in l_encl_status_page_funcs()
462 (void) g_destroy_data(page_buf); in l_encl_status_page_funcs()
468 (void) g_destroy_data(page_buf); in l_encl_status_page_funcs()
[all …]
H A Dmon.c526 uchar_t *page_buf; in l_led() local
592 if ((page_buf = (uchar_t *)calloc(1, in l_led()
600 (void) g_destroy_data(page_buf); in l_led()
604 if (err = l_get_envsen_page(fd, page_buf, MAX_REC_DIAG_LENGTH, in l_led()
608 (void) g_destroy_data(page_buf); in l_led()
612 page_len = (page_buf[2] << 8 | page_buf[3]) + HEADER_LEN; in l_led()
618 (void) g_destroy_data(page_buf); in l_led()
658 elem = (struct device_element *)(page_buf + offset); in l_led()
723 (uchar_t *)page_buf, page_len)) { in l_led()
725 (void) g_destroy_data(page_buf); in l_led()
[all …]
/titanic_41/usr/src/uts/sun4u/sunfire/sys/
H A Dac.h298 void *page_buf; member
305 void *page_buf; member
315 caddr32_t page_buf; /* void * */ member
322 caddr32_t page_buf; /* void * */ member
/titanic_41/usr/src/uts/sun4u/sunfire/io/
H A Dac_test.c374 t_read.page_buf = (void *)(uintptr_t)t_read32.page_buf; in ac_mem_test_read()
493 if (ddi_copyout(dst_va, (caddr_t)(t_read.page_buf) + page_offset, in ac_mem_test_read()
523 t_write.page_buf = (void *)(uintptr_t)t_write32.page_buf; in ac_mem_test_write()
576 if (ddi_copyin((caddr_t)(t_write.page_buf) + page_offset, src_va, in ac_mem_test_write()
/titanic_41/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema.c967 void *page_buf, in mtest_write() argument
980 test_write.page_buf = page_buf; in mtest_write()
1002 void *page_buf, in mtest_read() argument
1018 test_read.page_buf = page_buf; in mtest_read()
1660 tread->handle, tread->page_buf, in dump_ioctl()
1671 twrite->handle, twrite->page_buf, in dump_ioctl()
/titanic_41/usr/src/uts/common/io/sata/impl/
H A Dsata.c3629 uint8_t page_buf[1024]; /* Max length */ in sata_txlt_inquiry() local
3702 bzero(page_buf, sizeof (page_buf)); in sata_txlt_inquiry()
3710 page_buf[0] = peripheral_device_type; in sata_txlt_inquiry()
3711 page_buf[1] = INQUIRY_SUP_VPD_PAGE; in sata_txlt_inquiry()
3712 page_buf[2] = 0; in sata_txlt_inquiry()
3713 page_buf[3] = 4; /* page length */ in sata_txlt_inquiry()
3714 page_buf[4] = INQUIRY_SUP_VPD_PAGE; in sata_txlt_inquiry()
3715 page_buf[5] = INQUIRY_USN_PAGE; in sata_txlt_inquiry()
3716 page_buf[6] = INQUIRY_BDC_PAGE; in sata_txlt_inquiry()
3717 page_buf[7] = INQUIRY_ATA_INFO_PAGE; in sata_txlt_inquiry()
[all …]
/titanic_41/usr/src/uts/common/io/comstar/port/fct/
H A Ddiscovery.c2784 uint8_t *page_buf = NULL; in fct_rscn_verify() local
2792 page_buf = rscn_req_payload + 4; in fct_rscn_verify()
2798 for (; page_buf <= last_page_buf; page_buf += 4) { in fct_rscn_verify()
2799 page_format = 0x03 & page_buf[0]; in fct_rscn_verify()
2800 page_portid = fct_netbuf_to_value(page_buf + 1, 3); in fct_rscn_verify()