Searched refs:datap (Results 1 - 25 of 159) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c342 quote_string_ascii(pargs_data_t *datap, char *src) argument
399 quote_string(pargs_data_t *datap, char *src) argument
411 if (datap->pd_conv_flags & CONV_STRICT_ASCII)
412 return (quote_string_ascii(datap, src));
418 return (quote_string_ascii(datap, src));
478 * datap->pd_locale.
485 lookup_locale(pargs_data_t *datap) argument
497 for (i = 0; i < datap->pd_envc; i++) {
498 char *s = datap->pd_envp_strs[i];
551 datap
559 extract_string(pargs_data_t *datap, uintptr_t addr) argument
586 read_ptr_array(pargs_data_t *datap, uintptr_t offset, uintptr_t *buf, size_t nelems) argument
614 get_args(pargs_data_t *datap) argument
642 pargs_data_t *datap = data; local
678 get_env(pargs_data_t *datap) argument
871 get_auxv(pargs_data_t *datap) argument
908 setup_conversions(pargs_data_t *datap, int *diflocale) argument
996 cleanup_conversions(pargs_data_t *datap) argument
1004 convert_run_iconv(pargs_data_t *datap, const char *str) argument
1058 convert_str(pargs_data_t *datap, const char *str, int *unprintable) argument
1128 convert_array(pargs_data_t *datap, char **arr, size_t count, int *unprintable) argument
1148 free_data(pargs_data_t *datap) argument
1169 print_args(pargs_data_t *datap) argument
1193 print_env(pargs_data_t *datap) argument
1217 print_cmdline(pargs_data_t *datap) argument
1255 print_auxv(pargs_data_t *datap) argument
1397 pargs_data_t datap; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/
H A Dswde_case.c130 swde_case_data_t *datap; local
135 datap = &scp->swc_data;
137 fmd_buf_read(hdl, cp, SW_CASE_DATA_BUFNAME, datap, sizeof (*datap));
139 if (datap->sc_version > SW_CASE_DATA_VERSION_INITIAL) {
144 if ((sz = datap->sc_sub_bufsz) != 0) {
146 fmd_buf_read(hdl, cp, datap->sc_sub_bufname, subdata, sz);
148 if (*((uint32_t *)subdata) != datap->sc_sub_bufvers) {
151 datap->sc_sub_bufvers, *((uint32_t *)subdata));
162 swde_case_data_t *datap local
182 swde_case_data_t *datap; local
227 swde_case_data_t *datap = &scp->swc_data; local
294 swde_case_data_t *datap = &scp->swc_data; local
306 swde_case_data_t *datap = &scp->swc_data; local
320 swde_case_data_t *datap = &scp->swc_data; local
344 swde_case_data_t *datap = &scp->swc_data; local
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcheetahasm.h73 * datap: input ptr to ch_dc_data_t, at end pts to end of ch_dc_data_t.
78 #define GET_DCACHE_DTAG(afar, datap, scr1, scr2, scr3) \
90 stxa scr3, [datap + CH_DC_IDX]%asi; /* store index */ \
91 stxa scr1, [datap + CH_DC_TAG]%asi; /* store tag */ \
95 stxa scr1, [datap + CH_DC_UTAG]%asi; \
97 stxa scr1, [datap + CH_DC_SNTAG]%asi; \
98 add datap, CH_DC_DATA, datap; \
104 stxa scr1, [datap]%asi; \
105 add datap,
[all...]
H A Dmem_cache_ioctl.h51 caddr32_t datap; member in struct:cache_info32
/illumos-gate/usr/src/common/crypto/modes/
H A Decb.c48 uint8_t *datap = (uint8_t *)data; local
59 bcopy(datap,
63 ctx->ecb_copy_to = datap;
79 bcopy(datap, &((uint8_t *)ctx->ecb_remainder)
84 blockp = datap;
96 bcopy(blockp + ctx->ecb_remainder_len, datap,
116 datap += need;
119 datap += block_size;
122 remainder = (size_t)&data[length] - (size_t)datap;
126 bcopy(datap, ct
[all...]
H A Dcbc.c57 uint8_t *datap = (uint8_t *)data; local
68 bcopy(datap,
72 ctx->cbc_copy_to = datap;
88 bcopy(datap, &((uint8_t *)ctx->cbc_remainder)
93 blockp = datap;
111 bcopy(blockp + ctx->cbc_remainder_len, datap,
150 datap += need;
153 datap += block_size;
156 remainder = (size_t)&data[length] - (size_t)datap;
160 bcopy(datap, ct
194 uint8_t *datap = (uint8_t *)data; local
[all...]
H A Dctr.c50 uint8_t *datap = (uint8_t *)data; local
62 bcopy(datap,
66 ctx->ctr_copy_to = datap;
82 bcopy(datap, &((uint8_t *)ctx->ctr_remainder)
87 blockp = datap;
125 bcopy(lastp + ctx->ctr_remainder_len, datap,
144 datap += need;
147 datap += block_size;
150 remainder = (size_t)&data[length] - (size_t)datap;
154 bcopy(datap, ct
[all...]
H A Dmodes.c247 uchar_t *datap; local
279 datap = (uchar_t *)(uiop->uio_iov[vec_idx].iov_base +
283 bcopy(datap, buf, cur_len);
287 bcopy(buf, datap, cur_len);
291 if (bcmp(datap, buf, cur_len))
299 update(digest_ctx, datap, cur_len);
337 uchar_t *datap; local
364 datap = (uchar_t *)(mp->b_rptr + offset);
367 bcopy(datap, buf, cur_len);
371 bcopy(buf, datap, cur_le
[all...]
/illumos-gate/usr/src/uts/sun4u/lw8/sys/
H A Dsgfru_mbox.h327 static int sgfru_mbox(const int cmd, char *datap, const size_t size,
330 static caddr_t sgfru_fru_pad(const caddr_t datap, fru_info_t *fru);
331 static int sgfru_node_pad(const caddr_t datap, const int max_cnt,
333 static int sgfru_section_pad(const caddr_t datap, const int max_cnt,
335 static int sgfru_segment_pad(const caddr_t datap, const int max_cnt,
337 static int sgfru_packet_pad(const caddr_t datap, const int max_cnt,
340 static caddr_t sgfru_fru_unpad(const fru_info_t *fru, caddr_t datap);
342 caddr_t datap);
344 caddr_t datap);
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c378 caddr_t datap; local
398 datap = kmem_zalloc(size, KM_SLEEP);
405 if ((ret = sgfru_mbox(iargp->cmd, datap, size, &clist.fru_info))
407 kmem_free(datap, size);
416 if ((ret = sgfru_node_pad(datap, max_cnt, &clist.fru_info, clistp))
418 kmem_free(datap, size);
423 kmem_free(datap, size);
449 caddr_t datap, tdatap; local
469 datap = kmem_zalloc(size, KM_SLEEP);
472 ret = sgfru_mbox(iargp->cmd, datap, siz
507 caddr_t datap; local
557 caddr_t datap; local
621 caddr_t datap; local
681 caddr_t datap; local
739 caddr_t datap, tdatap; local
796 caddr_t datap, tdatap; local
852 caddr_t datap; local
916 caddr_t datap, tdatap; local
980 caddr_t datap, tdatap; local
1040 caddr_t datap, tdatap; local
1098 caddr_t datap; local
1127 caddr_t datap; local
1156 sgfru_mbox(const int cmd, char *datap, const size_t size, fru_info_t *fru) argument
1692 sgfru_fru_pad(const caddr_t datap, fru_info_t *fru) argument
1708 sgfru_node_pad(const caddr_t datap, const int max_cnt, fru_info_t *fru, node_t *nodep) argument
1747 sgfru_section_pad(const caddr_t datap, const int max_cnt, fru_info_t *fru, section_t *sectp) argument
1777 sgfru_segment_pad(const caddr_t datap, const int max_cnt, fru_info_t *fru, segment_t *segp) argument
1807 sgfru_packet_pad(const caddr_t datap, const int max_cnt, fru_info_t *fru, packet_t *packp) argument
1831 sgfru_fru_unpad(const fru_info_t *fru, caddr_t datap) argument
1847 sgfru_segment_unpad(const fru_info_t *fru, const segment_t *segp, caddr_t datap) argument
1870 sgfru_packet_unpad(const fru_info_t *fru, const packet_t *packp, caddr_t datap) argument
[all...]
/illumos-gate/usr/src/common/mdesc/
H A Dmdesc_getpropdata.c35 uint8_t **datap, int *lenp)
59 *datap = mdp->datap+(int)MDE_PROP_DATA_OFFSET(mdep);
34 md_get_prop_data(md_t *ptr, mde_cookie_t node, char *namep, uint8_t **datap, int *lenp) argument
H A Dmdesc_getpropstr.c57 *strp = (char *)(mdp->datap+
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_cfga.c156 pcidr_print_cfga(dlvl_t lvl, cfga_list_data_t *datap, char *prestr) argument
163 dprint(lvl, "%slogical APID = %s\n", prestr, datap->ap_log_id);
164 dprint(lvl, "%sphyiscal APID = %s\n", prestr, datap->ap_phys_id);
165 dprint(lvl, "%sAP class = %s\n", prestr, datap->ap_class);
167 str = pcidr_cfga_stat_name(datap->ap_r_state);
172 str = pcidr_cfga_stat_name(datap->ap_o_state);
177 str = pcidr_cfga_cond_name(datap->ap_cond);
182 dprint(lvl, "%sAP busy indicator = %d\n", prestr, datap->ap_busy);
184 str = ctime(&datap->ap_status_time);
187 datap
199 pcidr_cfga_msg_func(void *datap, const char *msg) argument
218 pcidr_cfga_confirm_func(void *datap, const char *msg) argument
[all...]
/illumos-gate/usr/src/lib/librsm/inc/
H A Drsmapi.h179 uint8_t *datap,
183 uint16_t *datap,
187 uint32_t *datap,
191 uint64_t *datap,
207 uint8_t *datap,
211 uint16_t *datap,
215 uint32_t *datap,
219 uint64_t *datap,
/illumos-gate/usr/src/cmd/lp/lib/msgs/
H A Dstreamio.c54 Putmsg (MESG *mdp, strbuf_t *ctlp, strbuf_t *datap, int flags) argument
76 rtncode = putmsg (mdp->writefd, ctlp, datap, flags);
81 Getmsg (MESG *mdp, strbuf_t *ctlp, strbuf_t *datap, int *flagsp) argument
85 rtncode = getmsg (mdp->readfd, ctlp, datap, flagsp);
/illumos-gate/usr/src/uts/sun4v/io/
H A Dds_pri_hcall.s51 mov %o1, %o4 ! save datap
/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvio_util.h113 uint8_t *datap; /* data buffer */ member in struct:vio_mblk
114 mblk_t *mp; /* mblk using datap */
127 uint8_t *datap; /* rx data buffer area */ member in struct:vio_mblk_pool
144 #define VIO_MBLK_DATA_OFF(vmp) ((vmp)->datap - ((vmp)->vmplp)->datap)
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dcall_frame_inst.c317 extractuleb(void **datap) argument
319 uint8_t *data = *(uint8_t **)datap;
331 *datap = (void *)data;
336 extractsleb(void** datap) argument
338 uint8_t *data = *datap;
350 *datap = (void*) data;
355 static uint64_t get_encoded_val(void **datap, ptrdiff_t reloc, int enc);
362 _Unw_get_val(void **datap, ptrdiff_t reloc, argument
365 intptr_t data = (intptr_t)*datap;
374 return (daf * extractuleb(datap));
472 get_encoded_val(void **datap, ptrdiff_t reloc, int enc) argument
547 interpret_op(void **datap, ptrdiff_t reloc, uint64_t *reached_pc_p, uint64_t pc, struct register_state f_state[], struct register_state f_start_state[], int daf, int caf, int enc) argument
[all...]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Deventlog.c176 char *datap; local
194 datap = (char *)rscReply->data;
197 (void) memcpy(&entry, datap, entryhdrsize);
198 datap += entryhdrsize;
199 (void) memcpy(&entry.param, datap, entry.paramLen);
209 datap += entry.paramLen;
224 char *datap; local
321 datap = rscReply->buffer;
325 (void) memcpy(&entry, datap, entryhdrsize);
326 datap
[all...]
/illumos-gate/usr/src/uts/common/io/
H A Dtty_common.c313 mblk_t *datap; local
315 if ((datap = allocb(sizeof (struct termios),
320 cb = (struct termios *)datap->b_wptr;
327 datap->b_wptr += sizeof (struct termios);
331 mp->b_cont = datap;
337 mblk_t *datap; local
339 if ((datap = allocb(sizeof (struct termio), BPRI_HI)) == NULL) {
344 cb = (struct termio *)datap->b_wptr;
351 datap->b_wptr += sizeof (struct termio);
355 mp->b_cont = datap;
363 mblk_t *datap; local
382 mblk_t *datap; local
[all...]
H A Dttcompat.c512 mblk_t *datap; local
514 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL)
516 *(int *)datap->b_wptr = TIOCM_DTR;
517 datap->b_wptr += sizeof (int);
521 mp->b_cont = datap; /* attach the data */
531 mblk_t *datap; local
533 if ((datap = allocb(sizeof (int), BPRI_HI)) == NULL)
535 *(int *)datap->b_wptr = TIOCM_DTR;
536 datap->b_wptr += sizeof (int);
540 mp->b_cont = datap; /* attac
582 mblk_t *datap; local
597 mblk_t *datap; local
706 mblk_t *datap; local
[all...]
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/mdesc/
H A Dmdesc.c86 uint8_t *datap; local
130 if ((datap = mdb_alloc(datasize, UM_NOSLEEP)) == NULL) {
141 mdb_free(datap, datasize);
150 mdb_free(datap, datasize);
155 if (mdb_vread(datap, datasize, vaddr + MD_HEADER_SIZE + mdesize
159 mdb_free(datap, datasize);
211 mdb_free(datap, datasize);
237 uintptr_t mdp, mdep, namep, datap; local
268 datap = namep + mh.name_blk_sz;
282 mdb_printf("\ndata section at %lx:\n", datap);
[all...]
/illumos-gate/usr/src/uts/common/sys/rsm/
H A Drsmpi.h304 uint8_t *datap,
310 uint16_t *datap,
316 uint32_t *datap,
322 uint64_t *datap,
328 void *datap,
337 uint8_t *datap,
343 uint16_t *datap,
349 uint32_t *datap,
355 uint64_t *datap,
361 void *datap,
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_signal.c80 mdb_signal_gethandler(int sig, void **datap) argument
82 if (datap != NULL)
83 *datap = sig_data[sig];
/illumos-gate/usr/src/lib/libpkg/common/
H A Dnhash.h69 extern Item *lookup_cache(Cache *cp, void *datap, int datalen);

Completed in 224 milliseconds

1234567