Home
last modified time | relevance | path

Searched refs:datap (Results 1 – 25 of 172) sorted by relevance

1234567

/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c634 datap->pd_argv_strs[i] = extract_string(datap, in get_args()
646 if (datap->pd_envc == datap->pd_env_space) { in build_env()
666 datap->pd_envp[datap->pd_envc] = addr; in build_env()
668 datap->pd_envp_strs[datap->pd_envc] = NULL; in build_env()
687 datap->pd_env_space = datap->pd_envc != 0 ? datap->pd_envc : 1; in get_env()
1236 quote_string(datap, datap->pd_argv_strs[i]); in print_cmdline()
1486 bzero(&datap, sizeof (datap)); in main()
1550 convert_array(&datap, datap.pd_argv_strs, in main()
1580 convert_array(&datap, datap.pd_argv_strs, in main()
1588 convert_array(&datap, datap.pd_envp_strs, in main()
[all …]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dcheetahasm.h98 add datap, CH_DC_DATA, datap; \
105 add datap, 8, datap; \
200 add datap, CH_IC_DATA, datap; \
205 add datap, 8, datap; \
248 add datap, CH_EC_DATA, datap; \
255 add datap, 8, datap; \
373 add datap, CH_EC_DATA, datap; \
380 add datap, 8, datap; \
518 add datap, CH_EC_DATA, datap; \
530 add datap, 8, datap; \
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/sw-diag-response/software-diagnosis/
H A Dswde_case.c130 swde_case_data_t *datap; in swde_case_unserialize() local
135 datap = &scp->swc_data; in swde_case_unserialize()
137 fmd_buf_read(hdl, cp, SW_CASE_DATA_BUFNAME, datap, sizeof (*datap)); in swde_case_unserialize()
168 (void) snprintf(datap->sc_sub_bufname, sizeof (datap->sc_sub_bufname), in swde_subdata()
182 swde_case_data_t *datap; in swde_case_open() local
194 datap = &scp->swc_data; in swde_case_open()
208 datap->sc_type = ct; in swde_case_open()
214 fmd_buf_write(hdl, cp, SW_CASE_DATA_BUFNAME, datap, sizeof (*datap)); in swde_case_open()
297 *svp = datap->sc_sub_bufvers; in swde_case_data()
326 datap->sc_sub_bufsz = 0; in swde_case_data_upgrade()
[all …]
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgfru.c378 caddr_t datap; in sgfru_getchildlist() local
449 caddr_t datap, tdatap; in sgfru_getchildhandles() local
507 caddr_t datap; in sgfru_getnodeinfo() local
557 caddr_t datap; in sgfru_getsections() local
621 caddr_t datap; in sgfru_getsegments() local
681 caddr_t datap; in sgfru_addsegment() local
852 caddr_t datap; in sgfru_getpackets() local
938 datap); in sgfru_appendpacket()
1098 caddr_t datap; in sgfru_getnum() local
1127 caddr_t datap; in sgfru_delete() local
[all …]
/illumos-gate/usr/src/test/bhyve-tests/tests/vmm/
H A Dmem_devmem.c114 uint32_t *datap; in main() local
116 datap = direct_lowmem; in main()
117 *datap = TESTVAL_LOWMEM; in main()
118 datap = direct_bootrom; in main()
119 *datap = TESTVAL_BOOTROM; in main()
122 datap = guest_mem; in main()
123 if (*datap != TESTVAL_LOWMEM) { in main()
125 *datap, TESTVAL_LOWMEM); in main()
128 datap = (guest_mem + SEG_SZ); in main()
129 if (*datap != TESTVAL_BOOTROM) { in main()
[all …]
/illumos-gate/usr/src/common/crypto/modes/
H A Decb.c48 uint8_t *datap = (uint8_t *)data; in ecb_cipher_contiguous_blocks() local
59 bcopy(datap, in ecb_cipher_contiguous_blocks()
63 ctx->ecb_copy_to = datap; in ecb_cipher_contiguous_blocks()
79 bcopy(datap, &((uint8_t *)ctx->ecb_remainder) in ecb_cipher_contiguous_blocks()
84 blockp = datap; in ecb_cipher_contiguous_blocks()
96 bcopy(blockp + ctx->ecb_remainder_len, datap, in ecb_cipher_contiguous_blocks()
116 datap += need; in ecb_cipher_contiguous_blocks()
119 datap += block_size; in ecb_cipher_contiguous_blocks()
122 remainder = (size_t)&data[length] - (size_t)datap; in ecb_cipher_contiguous_blocks()
126 bcopy(datap, ctx->ecb_remainder, remainder); in ecb_cipher_contiguous_blocks()
[all …]
H A Dcbc.c68 bcopy(datap, in cbc_encrypt_contiguous_blocks()
72 ctx->cbc_copy_to = datap; in cbc_encrypt_contiguous_blocks()
93 blockp = datap; in cbc_encrypt_contiguous_blocks()
150 datap += need; in cbc_encrypt_contiguous_blocks()
153 datap += block_size; in cbc_encrypt_contiguous_blocks()
162 ctx->cbc_copy_to = datap; in cbc_encrypt_contiguous_blocks()
205 bcopy(datap, in cbc_decrypt_contiguous_blocks()
209 ctx->cbc_copy_to = datap; in cbc_decrypt_contiguous_blocks()
230 blockp = datap; in cbc_decrypt_contiguous_blocks()
274 datap += need; in cbc_decrypt_contiguous_blocks()
[all …]
H A Dccm.c69 bcopy(datap, in ccm_mode_encrypt_contiguous_blocks()
73 ctx->ccm_copy_to = datap; in ccm_mode_encrypt_contiguous_blocks()
96 blockp = datap; in ccm_mode_encrypt_contiguous_blocks()
159 datap += need; in ccm_mode_encrypt_contiguous_blocks()
162 datap += block_size; in ccm_mode_encrypt_contiguous_blocks()
171 ctx->ccm_copy_to = datap; in ccm_mode_encrypt_contiguous_blocks()
441 bcopy(datap, in ccm_mode_decrypt_contiguous_blocks()
445 ctx->ccm_copy_to = datap; in ccm_mode_decrypt_contiguous_blocks()
462 blockp = datap; in ccm_mode_decrypt_contiguous_blocks()
493 datap += need; in ccm_mode_decrypt_contiguous_blocks()
[all …]
H A Dgcm.c152 bcopy(datap, in gcm_mode_encrypt_contiguous_blocks()
156 ctx->gcm_copy_to = datap; in gcm_mode_encrypt_contiguous_blocks()
177 blockp = datap; in gcm_mode_encrypt_contiguous_blocks()
228 datap += need; in gcm_mode_encrypt_contiguous_blocks()
231 datap += block_size; in gcm_mode_encrypt_contiguous_blocks()
240 ctx->gcm_copy_to = datap; in gcm_mode_encrypt_contiguous_blocks()
521 uint8_t *datap, *ghash; in gcm_format_initial_blocks() local
540 datap = (uint8_t *)cb; in gcm_format_initial_blocks()
547 GHASH(ctx, datap, ghash); in gcm_format_initial_blocks()
596 datap = (uint8_t *)authp; in gcm_init()
[all …]
H A Dmodes.c247 uchar_t *datap; in crypto_uio_data() local
283 bcopy(datap, buf, cur_len); in crypto_uio_data()
287 bcopy(buf, datap, cur_len); in crypto_uio_data()
291 if (bcmp(datap, buf, cur_len)) in crypto_uio_data()
299 update(digest_ctx, datap, cur_len); in crypto_uio_data()
337 uchar_t *datap; in crypto_mblk_data() local
364 datap = (uchar_t *)(mp->b_rptr + offset); in crypto_mblk_data()
367 bcopy(datap, buf, cur_len); in crypto_mblk_data()
371 bcopy(buf, datap, cur_len); in crypto_mblk_data()
375 if (bcmp(datap, buf, cur_len)) in crypto_mblk_data()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dttcompat.c512 mblk_t *datap; in ttcompat_do_ioctl() local
517 datap->b_wptr += sizeof (int); in ttcompat_do_ioctl()
531 mblk_t *datap; in ttcompat_do_ioctl() local
582 mblk_t *datap; in ttcompat_do_ioctl() local
597 mblk_t *datap; in ttcompat_do_ioctl() local
706 mblk_t *datap; in ttcompat_ioctl_ack() local
727 datap->b_rptr = datap->b_wptr = datap->b_datap->db_base; in ttcompat_ioctl_ack()
760 datap->b_rptr = datap->b_wptr = datap->b_datap->db_base; in ttcompat_ioctl_ack()
769 datap->b_rptr = datap->b_wptr = datap->b_datap->db_base; in ttcompat_ioctl_ack()
778 datap->b_rptr = datap->b_wptr = datap->b_datap->db_base; in ttcompat_ioctl_ack()
[all …]
H A Dtty_common.c313 mblk_t *datap; in ttycommon_ioctl() local
331 mp->b_cont = datap; in ttycommon_ioctl()
337 mblk_t *datap; in ttycommon_ioctl() local
355 mp->b_cont = datap; in ttycommon_ioctl()
363 mblk_t *datap; in ttycommon_ioctl() local
370 *(int *)datap->b_wptr = 1; in ttycommon_ioctl()
372 *(int *)datap->b_wptr = 0; in ttycommon_ioctl()
373 datap->b_wptr += sizeof (int); in ttycommon_ioctl()
377 mp->b_cont = datap; in ttycommon_ioctl()
382 mblk_t *datap; in ttycommon_ioctl() local
[all …]
/illumos-gate/usr/src/cmd/pcidr/plugins/default/
H A Dpcidr_cfga.c165 dprint(lvl, "%sAP class = %s\n", prestr, datap->ap_class); in pcidr_print_cfga()
167 str = pcidr_cfga_stat_name(datap->ap_r_state); in pcidr_print_cfga()
172 str = pcidr_cfga_stat_name(datap->ap_o_state); in pcidr_print_cfga()
177 str = pcidr_cfga_cond_name(datap->ap_cond); in pcidr_print_cfga()
184 str = ctime(&datap->ap_status_time); in pcidr_print_cfga()
187 datap->ap_status_time, str); in pcidr_print_cfga()
189 dprint(lvl, "%sAP info = %s\n", prestr, datap->ap_info); in pcidr_print_cfga()
190 dprint(lvl, "%sAP type = %s\n", prestr, datap->ap_type); in pcidr_print_cfga()
199 pcidr_cfga_msg_func(void *datap, const char *msg) in pcidr_cfga_msg_func() argument
201 pcidr_cfga_msg_data_t *dp = (pcidr_cfga_msg_data_t *)datap; in pcidr_cfga_msg_func()
[all …]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dcall_frame_inst.c318 extractuleb(void **datap) in extractuleb() argument
320 uint8_t *data = *(uint8_t **)datap; in extractuleb()
332 *datap = (void *)data; in extractuleb()
337 extractsleb(void** datap) in extractsleb() argument
339 uint8_t *data = *datap; in extractsleb()
351 *datap = (void*) data; in extractsleb()
366 intptr_t data = (intptr_t)*datap; in _Unw_get_val()
375 return (daf * extractuleb(datap)); in _Unw_get_val()
377 return (extractuleb(datap)); in _Unw_get_val()
451 return (extractsleb(datap)); in _Unw_get_val()
[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/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/uts/intel/io/vmm/
H A Dvmm_sol_dev.c395 void *datap = (void *)arg; in vmmdev_do_ioctl() local
884 if (ddi_copyin(datap, &isa_irq_trigger, in vmmdev_do_ioctl()
897 if (ddi_copyin(datap, &mm, sizeof (mm), md)) { in vmmdev_do_ioctl()
912 if (ddi_copyin(datap, &mm, sizeof (mm), md)) { in vmmdev_do_ioctl()
923 if (ddi_copyin(datap, &mu, sizeof (mu), md)) { in vmmdev_do_ioctl()
1014 if (ddi_copyin(datap, &vrs, sizeof (vrs), md)) { in vmmdev_do_ioctl()
1048 if (ddi_copyin(datap, &vrs, sizeof (vrs), md)) { in vmmdev_do_ioctl()
1087 if (ddi_copyin(datap, &vvr, sizeof (vvr), md)) { in vmmdev_do_ioctl()
1115 if (ddi_copyin(datap, &vrs, sizeof (vrs), md)) { in vmmdev_do_ioctl()
1278 if (ddi_copyin(datap, &gg, sizeof (gg), md)) { in vmmdev_do_ioctl()
[all …]
/illumos-gate/usr/src/cmd/scadm/sparc/mpxu/common/
H A Deventlog.c176 char *datap; in ADM_Process_old_event_log() local
194 datap = (char *)rscReply->data; in ADM_Process_old_event_log()
197 (void) memcpy(&entry, datap, entryhdrsize); in ADM_Process_old_event_log()
198 datap += entryhdrsize; in ADM_Process_old_event_log()
199 (void) memcpy(&entry.param, datap, entry.paramLen); in ADM_Process_old_event_log()
209 datap += entry.paramLen; in ADM_Process_old_event_log()
224 char *datap; in ADM_Process_new_event_log() local
321 datap = rscReply->buffer; in ADM_Process_new_event_log()
325 (void) memcpy(&entry, datap, entryhdrsize); in ADM_Process_new_event_log()
326 datap += entryhdrsize; in ADM_Process_new_event_log()
[all …]
/illumos-gate/usr/src/uts/common/io/vuidmice/
H A Dvuidmice.c522 mblk_t *datap; in vuidmice_miocdata() local
559 datap = mp->b_cont; in vuidmice_miocdata()
602 datap = mp->b_cont; in vuidmice_miocdata()
606 datap, VUIDSWHEELSTATE); in vuidmice_miocdata()
664 mblk_t *datap; in vuidmice_handle_wheel_resolution_ioctl() local
722 mp->b_cont = datap; in vuidmice_handle_wheel_resolution_ioctl()
731 datap = mp->b_cont; in vuidmice_handle_wheel_resolution_ioctl()
742 datap = mp->b_cont; in vuidmice_handle_wheel_resolution_ioctl()
774 wi = (void *)datap->b_rptr; in vuidmice_service_wheel_info()
793 register mblk_t *datap, in vuidmice_service_wheel_state() argument
[all …]
/illumos-gate/usr/src/cmd/mdb/sun4v/modules/mdesc/
H A Dmdesc.c84 uint8_t *datap; in mdinfo() local
128 if ((datap = mdb_alloc(datasize, UM_NOSLEEP)) == NULL) { in mdinfo()
139 mdb_free(datap, datasize); in mdinfo()
148 mdb_free(datap, datasize); in mdinfo()
153 if (mdb_vread(datap, datasize, vaddr + MD_HEADER_SIZE + mdesize in mdinfo()
157 mdb_free(datap, datasize); in mdinfo()
209 mdb_free(datap, datasize); in mdinfo()
234 uintptr_t mdp, mdep, namep, datap; in mddump() local
265 datap = namep + mh.name_blk_sz; in mddump()
279 mdb_printf("\ndata section at %lx:\n", datap); in mddump()
[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/sgs/rtld/mdbmod/common/
H A Drtld.c279 uintptr_t datap, nitems; in Depends() local
318 datap += sizeof (void *); in Depends()
529 uintptr_t datap, nitems; in dcmd_Rtmaps() local
818 uintptr_t datap; in _dcmd_Lm_list() local
838 datap) == -1) { in _dcmd_Lm_list()
879 datap += al.al_size; in _dcmd_Lm_list()
881 datap) == -1) { in _dcmd_Lm_list()
942 uintptr_t datap, nitems; in dcmd_Lm_list() local
1123 datap += al.al_size; in dcmd_GrpHdl()
1148 uintptr_t datap, nitems; in dcmd_Handles() local
[all …]
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_streams.c693 mblk_t *datap; in kbtrans_ioctl() local
760 mp->b_cont = datap; in kbtrans_ioctl()
777 mp->b_cont = datap; in kbtrans_ioctl()
791 mp->b_cont = datap; in kbtrans_ioctl()
885 mp->b_cont = datap; in kbtrans_ioctl()
908 mp->b_cont = datap; in kbtrans_ioctl()
973 mp->b_cont = datap; in kbtrans_ioctl()
987 mp->b_cont = datap; in kbtrans_ioctl()
1023 mp->b_cont = datap; in kbtrans_ioctl()
1060 mp->b_cont = datap; in kbtrans_ioctl()
[all …]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvio_util.c56 uint8_t *datap; in vio_create_mblks() local
77 vmplp->datap = kmem_zalloc(num_mblks * mblk_size, KM_SLEEP); in vio_create_mblks()
79 vmplp->datap = mblk_datap; in vio_create_mblks()
90 for (i = 0, datap = vmplp->datap; i < num_mblks; i++) { in vio_create_mblks()
94 vmp->datap = datap; in vio_create_mblks()
97 vmp->mp = desballoc(vmp->datap, mblk_size, BPRI_MED, in vio_create_mblks()
122 datap += mblk_size; in vio_create_mblks()
194 kmem_free(vmplp->datap, num_mblks * vmplp->mblk_size); in vio_destroy_mblks()
251 vmp->mp = desballoc(vmp->datap, vmplp->mblk_size, in vio_freeb()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c366 uchar_t *datap = data; in interpret_ppp_cp() local
371 GETINT8(code, datap); in interpret_ppp_cp()
372 GETINT8(id, datap); in interpret_ppp_cp()
516 len, datap); in interpret_ppp_cp()
626 uchar_t *datap = data; in interpret_ppp_chap() local
632 GETINT8(code, datap); in interpret_ppp_chap()
633 GETINT8(id, datap); in interpret_ppp_chap()
715 GETINT8(code, datap); in interpret_ppp_pap()
716 GETINT8(id, datap); in interpret_ppp_pap()
759 datap += fieldlen; in interpret_ppp_pap()
[all …]

1234567