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

/illumos-gate/usr/src/cmd/tnf/tnfxtract/
H A Dtnfxtract.c243 char *local_buf; local
289 if ((local_buf = malloc(tnf_bufsize)) == NULL) {
296 read_tnf_header(local_buf);
298 magicp = (tnf_uint32_t *) local_buf;
300 tnf_header = (tnf_file_header_t *)(local_buf + sizeof (*magicp));
312 writeout(local_buf, 0, tnf_header->block_size);
315 (local_buf + tnf_header->directory_size);
348 (int)((char *) blockp - local_buf),
378 (int)((char *) blockp - local_buf),
395 fwzone = (tnf_ref32_t *)(local_buf
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/adapters/pmcs/
H A Dpmcs_fwlog.c937 uint32_t *local_buf = NULL; local
939 local_buf = kmem_zalloc(GSM_SM_BLKSZ, KM_NOSLEEP);
940 if (local_buf == NULL) {
942 "%s: local_buf memory not allocated", __func__);
954 ddi_rep_get32(pwp->gsm_acc_handle, local_buf,
957 n += pmcs_dump_binary(pwp, local_buf, i * GSM_SM_BLKSZ,
969 ddi_rep_get32(pwp->gsm_acc_handle, local_buf,
972 n += pmcs_dump_binary(pwp, local_buf, i * GSM_SM_BLKSZ,
984 ddi_rep_get32(pwp->gsm_acc_handle, local_buf,
987 n += pmcs_dump_binary(pwp, local_buf,
[all...]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dinet_ntop.c61 static char local_buf[INET6_ADDRSTRLEN]; local
78 buf = local_buf;
/illumos-gate/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_brand.c788 char *local_buf; local
814 local_buf = (char *)malloc(nbyte);
815 if (local_buf == NULL) {
837 if ((err = __systemcall(rval, getdents_syscall_id + 1024, fd, local_buf,
839 free(local_buf);
844 free(local_buf);
853 for (buf_current = local_buf;
854 (size_t)(buf_current - local_buf) < buf_size; /* cstyle */) {
875 (size_t)(buf_current - local_buf));
880 * Copy local_buf int
[all...]
/illumos-gate/usr/src/uts/common/io/1394/adapters/
H A Dhci1394_s1394if.c68 void *local_buf, uint_t quadlet_count);
875 * 32-bit words from "local_buf" to the config ROM starting at the first
881 void *local_buf, uint_t quadlet_count)
887 ASSERT(local_buf != NULL);
901 hci1394_ohci_cfgrom_update(soft_state->ohci, local_buf, quadlet_count);
880 hci1394_s1394if_update_config_rom(void *hal_private, void *local_buf, uint_t quadlet_count) argument
H A Dhci1394_ohci.c2185 hci1394_ohci_cfgrom_update(hci1394_ohci_handle_t ohci_hdl, void *local_buf, argument
2192 ASSERT(local_buf != NULL);
2196 data = (uint32_t *)local_buf;
2203 ddi_rep_put8(ohci_hdl->ohci_cfgrom.bi_handle, local_buf,
/illumos-gate/usr/src/uts/common/sys/1394/
H A Dh1394.h166 int (*update_config_rom)(void *hal_private, void *local_buf,
/illumos-gate/usr/src/uts/common/sys/1394/adapters/
H A Dhci1394_ohci.h647 void *local_buf, uint_t quadlet_count);
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/
H A Didm.c3523 static char local_buf[PORTAL_STR_LEN]; local
3540 buf = local_buf;
/illumos-gate/usr/src/uts/common/io/scsi/targets/
H A Dsd.c17875 char *local_buf; local
17907 local_buf = kmem_zalloc(SD_DUMP_MEMORY_BUF_SIZE, KM_SLEEP);
17908 bufp = local_buf;
17910 * Available length is the length of local_buf[], minus the
17933 bufp = local_buf;
17948 scsi_log(SD_DEVINFO(un), sd_label, CE_NOTE, "%s", local_buf); local
17950 kmem_free(local_buf, SD_DUMP_MEMORY_BUF_SIZE);

Completed in 154 milliseconds