Home
last modified time | relevance | path

Searched refs:local_buf (Results 1 – 10 of 10) sorted by relevance

/titanic_50/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c243 char *local_buf; in main() local
289 if ((local_buf = malloc(tnf_bufsize)) == NULL) { in main()
296 read_tnf_header(local_buf); in main()
298 magicp = (tnf_uint32_t *) local_buf; in main()
300 tnf_header = (tnf_file_header_t *)(local_buf + sizeof (*magicp)); in main()
312 writeout(local_buf, 0, tnf_header->block_size); in main()
315 (local_buf + tnf_header->directory_size); in main()
348 (int)((char *) blockp - local_buf), in main()
378 (int)((char *) blockp - local_buf), in main()
395 fwzone = (tnf_ref32_t *)(local_buf + tnf_header->block_size); in main()
/titanic_50/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c787 char *local_buf; in s10_getdents_common() local
813 local_buf = (char *)malloc(nbyte); in s10_getdents_common()
814 if (local_buf == NULL) { in s10_getdents_common()
836 if ((err = __systemcall(rval, getdents_syscall_id + 1024, fd, local_buf, in s10_getdents_common()
838 free(local_buf); in s10_getdents_common()
843 free(local_buf); in s10_getdents_common()
852 for (buf_current = local_buf; in s10_getdents_common()
853 (size_t)(buf_current - local_buf) < buf_size; /* cstyle */) { in s10_getdents_common()
874 (size_t)(buf_current - local_buf)); in s10_getdents_common()
882 if ((err = brand_uucopy(local_buf, buf, buf_size)) != 0) { in s10_getdents_common()
[all …]
/titanic_50/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c937 uint32_t *local_buf = NULL; in pmcs_dump_gsm() local
939 local_buf = kmem_zalloc(GSM_SM_BLKSZ, KM_NOSLEEP); in pmcs_dump_gsm()
940 if (local_buf == NULL) { in pmcs_dump_gsm()
954 ddi_rep_get32(pwp->gsm_acc_handle, local_buf, in pmcs_dump_gsm()
957 n += pmcs_dump_binary(pwp, local_buf, i * GSM_SM_BLKSZ, in pmcs_dump_gsm()
969 ddi_rep_get32(pwp->gsm_acc_handle, local_buf, in pmcs_dump_gsm()
972 n += pmcs_dump_binary(pwp, local_buf, i * GSM_SM_BLKSZ, in pmcs_dump_gsm()
984 ddi_rep_get32(pwp->gsm_acc_handle, local_buf, in pmcs_dump_gsm()
987 n += pmcs_dump_binary(pwp, local_buf, 0, in pmcs_dump_gsm()
998 ddi_rep_get32(pwp->gsm_acc_handle, local_buf, in pmcs_dump_gsm()
[all …]
/titanic_50/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c61 static char local_buf[INET6_ADDRSTRLEN]; in inet_ntop() local
78 buf = local_buf; in inet_ntop()
/titanic_50/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_s1394if.c68 void *local_buf, uint_t quadlet_count);
881 void *local_buf, uint_t quadlet_count) in hci1394_s1394if_update_config_rom() argument
887 ASSERT(local_buf != NULL); in hci1394_s1394if_update_config_rom()
901 hci1394_ohci_cfgrom_update(soft_state->ohci, local_buf, quadlet_count); in hci1394_s1394if_update_config_rom()
H A Dhci1394_ohci.c2185 hci1394_ohci_cfgrom_update(hci1394_ohci_handle_t ohci_hdl, void *local_buf, in hci1394_ohci_cfgrom_update() argument
2192 ASSERT(local_buf != NULL); in hci1394_ohci_cfgrom_update()
2196 data = (uint32_t *)local_buf; in hci1394_ohci_cfgrom_update()
2203 ddi_rep_put8(ohci_hdl->ohci_cfgrom.bi_handle, local_buf, in hci1394_ohci_cfgrom_update()
/titanic_50/usr/src/uts/common/sys/1394/
H A Dh1394.h166 int (*update_config_rom)(void *hal_private, void *local_buf,
/titanic_50/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ohci.h647 void *local_buf, uint_t quadlet_count);
/titanic_50/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c3523 static char local_buf[PORTAL_STR_LEN]; in iscsi_inet_ntop() local
3540 buf = local_buf; in iscsi_inet_ntop()
/titanic_50/usr/src/uts/common/io/scsi/targets/
H A Dsd.c17880 char *local_buf; local
17912 local_buf = kmem_zalloc(SD_DUMP_MEMORY_BUF_SIZE, KM_SLEEP);
17913 bufp = local_buf;
17938 bufp = local_buf;
17953 scsi_log(SD_DEVINFO(un), sd_label, CE_NOTE, "%s", local_buf);
17955 kmem_free(local_buf, SD_DUMP_MEMORY_BUF_SIZE);