/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_kdoor.c | 116 smb_doorarg_t da; in smb_kdoor_upcall() local 119 bzero(&da, sizeof (smb_doorarg_t)); in smb_kdoor_upcall() 120 da.da_opcode = cmd; in smb_kdoor_upcall() 121 da.da_opname = smb_doorhdr_opname(cmd); in smb_kdoor_upcall() 122 da.da_req_xdr = req_xdr; in smb_kdoor_upcall() 123 da.da_rsp_xdr = rsp_xdr; in smb_kdoor_upcall() 124 da.da_req_data = req_data; in smb_kdoor_upcall() 125 da.da_rsp_data = rsp_data; in smb_kdoor_upcall() 130 da.da_opname); in smb_kdoor_upcall() 135 da.da_flags = SMB_DF_ASYNC; in smb_kdoor_upcall() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/ |
H A D | fksmb_kdoor.c | 86 smb_doorarg_t da; in smb_kdoor_upcall() local 90 bzero(&da, sizeof (smb_doorarg_t)); in smb_kdoor_upcall() 91 da.da_opcode = cmd; in smb_kdoor_upcall() 92 da.da_opname = smb_doorhdr_opname(cmd); in smb_kdoor_upcall() 93 da.da_req_xdr = req_xdr; in smb_kdoor_upcall() 94 da.da_rsp_xdr = rsp_xdr; in smb_kdoor_upcall() 95 da.da_req_data = req_data; in smb_kdoor_upcall() 96 da.da_rsp_data = rsp_data; in smb_kdoor_upcall() 101 da.da_opname); in smb_kdoor_upcall() 111 if ((rc = smb_kdoor_encode(&da)) != 0) in smb_kdoor_upcall() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | dmu_diff.c | 52 write_record(struct diffarg *da) in write_record() argument 56 if (da->da_ddr.ddr_type == DDR_NONE) { in write_record() 57 da->da_err = 0; in write_record() 61 da->da_err = vn_rdwr(UIO_WRITE, da->da_vp, (caddr_t)&da->da_ddr, in write_record() 62 sizeof (da->da_ddr), 0, UIO_SYSSPACE, FAPPEND, in write_record() 64 *da->da_offp += sizeof (da->da_ddr); in write_record() 65 return (da->da_err); in write_record() 69 report_free_dnode_range(struct diffarg *da, uint64_t first, uint64_t last) in report_free_dnode_range() argument 72 if (da->da_ddr.ddr_type != DDR_FREE || in report_free_dnode_range() 73 first != da->da_ddr.ddr_last + 1) { in report_free_dnode_range() [all …]
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | iod_cl.c | 91 door_arg_t da; in smb_iod_open_door() local 105 memset(&da, 0, sizeof (da)); in smb_iod_open_door() 106 da.rbuf = (void *) &err; in smb_iod_open_door() 107 da.rsize = sizeof (err); in smb_iod_open_door() 108 rc = door_call(fd, &da); in smb_iod_open_door() 134 door_arg_t da; in start_iod() local 145 memset(&da, 0, sizeof (da)); in start_iod() 146 da.data_ptr = (void *) &cmd; in start_iod() 147 da.data_size = sizeof (cmd); in start_iod() 148 da.rbuf = (void *) &err; in start_iod() [all …]
|
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/ |
H A D | smb_doorclnt.c | 332 smb_doorarg_t da; in smb_door_call() local 337 bzero(&da, sizeof (smb_doorarg_t)); in smb_door_call() 338 da.da_opcode = cmd; in smb_door_call() 339 da.da_opname = smb_doorhdr_opname(cmd); in smb_door_call() 340 da.da_req_xdr = req_xdr; in smb_door_call() 341 da.da_rsp_xdr = rsp_xdr; in smb_door_call() 342 da.da_req_data = req_data; in smb_door_call() 343 da.da_rsp_data = rsp_data; in smb_door_call() 348 syslog(LOG_DEBUG, "smb_door_call[%s]: %m", da.da_opname); in smb_door_call() 357 syslog(LOG_DEBUG, "smb_door_call[%s]: %m", da.da_opname); in smb_door_call() [all …]
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate3.c | 180 _is_dev_authorized(devalloc_t *da, uid_t uid) in _is_dev_authorized() argument 185 auth_list = da->da_devauth; in _is_dev_authorized() 248 print_dev_attrs(int optflag, devalloc_t *da, devmap_t *dm, in print_dev_attrs() argument 257 (da->da_devauth ? da->da_devauth : ""), KV_DELIMITER); in print_dev_attrs() 259 (da->da_devexec ? da->da_devexec : ""), KV_DELIMITER); in print_dev_attrs() 260 if (da->da_devopts != NULL) { in print_dev_attrs() 261 if (_kva2str(da->da_devopts, optbuf, sizeof (optbuf), in print_dev_attrs() 303 _list_device(int optflag, uid_t uid, devalloc_t *da, char *zonename) in _list_device() argument 316 if ((dm = getdmapnam(da->da_devname)) == NULL) { in _list_device() 319 da->da_devname); in _list_device() [all …]
|
/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | sec_clnt.c | 438 struct desauthent *da; in sec_clnt_geth() local 476 for (da = desauthtab; in sec_clnt_geth() 477 da < &desauthtab[clnt_authdes_cachesz]; in sec_clnt_geth() 478 da++) { in sec_clnt_geth() 479 if (da->da_data == secdata && in sec_clnt_geth() 480 da->da_uid == crgetuid(cr) && in sec_clnt_geth() 481 da->da_zoneid == zoneid && in sec_clnt_geth() 482 !da->da_inuse && in sec_clnt_geth() 483 da->da_auth != NULL) { in sec_clnt_geth() 484 da->da_inuse = 1; in sec_clnt_geth() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | damap.c | 105 dam_da_t *da; in damap_free() local 113 da = ss->array[i]; in damap_free() 114 if (da == NULL) in damap_free() 116 local_strfree(da->da_addr); in damap_free() 117 mdb_free(da, sizeof (*da)); in damap_free() 162 dam_da_t *da; in damap_get() local 237 da = ss->array[i] = mdb_zalloc(sizeof (*da), UM_SLEEP); in damap_get() 238 if (mdb_vread(da, sizeof (*da), (uintptr_t)kssarray[i]) == -1) { in damap_get() 246 mdb_readstr(kstring, sizeof (kstring), (uintptr_t)da->da_addr); in damap_get() 247 da->da_addr = local_strdup(kstring); in damap_get() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | klpd.c | 289 door_arg_t da; in klpd_do_call() local 302 da.data_ptr = (char *)klh; in klpd_do_call() 303 da.data_size = klh->klh_len; in klpd_do_call() 304 da.desc_ptr = NULL; in klpd_do_call() 305 da.desc_num = 0; in klpd_do_call() 306 da.rbuf = (char *)&res; in klpd_do_call() 307 da.rsize = sizeof (res); in klpd_do_call() 309 while ((dres = door_ki_upcall_limited(p->klpd_door, &da, NULL, in klpd_do_call() 330 if (da.rbuf != (char *)&res) { in klpd_do_call() 331 kmem_free(da.rbuf, da.rsize); in klpd_do_call() [all …]
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | pkgserv.c | 489 door_arg_t da; in pkgcmd() local 491 da.data_ptr = cmd; in pkgcmd() 492 da.data_size = len; in pkgcmd() 493 da.desc_ptr = NULL; in pkgcmd() 494 da.desc_num = 0; in pkgcmd() 495 da.rbuf = result == NULL ? NULL : *result; in pkgcmd() 496 da.rsize = rlen == NULL ? 0 : *rlen; in pkgcmd() 498 if (door_call(srv->door, &da) != 0) { in pkgcmd() 504 if (da.desc_ptr != NULL) { in pkgcmd() 507 *fd = da.desc_ptr[i++].d_data.d_desc.d_descriptor; in pkgcmd() [all …]
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | getdevicerange.c | 45 devalloc_t *da; in getdevicerange() local 67 if ((da = getdanam((char *)dev)) == NULL) { in getdevicerange() 71 da = getdanam(dm->dmap_devname); in getdevicerange() 77 if (da == NULL) { in getdevicerange() 81 lstr = kva_match(da->da_devopts, DAOPT_MINLABEL); in getdevicerange() 92 lstr = kva_match(da->da_devopts, DAOPT_MAXLABEL); in getdevicerange() 103 freedaent(da); in getdevicerange()
|
H A D | getdaent.c | 334 devalloc_t *da; in getdaent() local 344 if ((da = da_interpret(line1)) == NULL) in getdaent() 346 return (da); in getdaent() 364 devalloc_t *da; in getdanam() local 373 if ((da = da_interpret(line)) == NULL) in getdanam() 375 if (da_matchname(da, name)) { in getdanam() 377 return (da); in getdanam() 379 freedaent(da); in getdanam() 397 devalloc_t *da; in getdatype() local 406 if ((da = da_interpret(line1)) == NULL) in getdatype() [all …]
|
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/ |
H A D | fksmbd_door.c | 63 fksmbd_door_dispatch(smb_doorarg_t *da) in fksmbd_door_dispatch() argument 69 char *argp = da->da_arg.data_ptr; in fksmbd_door_dispatch() 70 size_t arg_size = da->da_arg.data_size; in fksmbd_door_dispatch() 148 da->da_hdr = *hdr; in fksmbd_door_dispatch() 154 da->da_arg.rbuf = rbuf; in fksmbd_door_dispatch() 155 da->da_arg.rsize = rsize; in fksmbd_door_dispatch()
|
/illumos-gate/usr/src/lib/libslp/clib/ |
H A D | slp_targets.c | 121 struct da_node *da; member 266 if (!(*tl->state)->da->used && !(*tl->state)->da->failed) in slp_next_uc_target() 268 if ((*tl->state)->da->failed) { in slp_next_uc_target() 283 if (p->da->used) in slp_next_failover() 285 if (!p->da->used && !p->da->failed) in slp_next_failover() 293 return (void *)(p ? &(p->da->sin) : NULL); in slp_get_target_sin() 298 p->da->used = SLP_TRUE; in slp_mark_target_used() 303 p->da->failed = SLP_TRUE; in slp_mark_target_failed() 326 st->da = dn; in slp_fabricate_target() 336 free(t->da); in slp_free_target() [all …]
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs_xdr.c | 889 xdr_diropargs(XDR *xdrs, struct nfsdiropargs *da) in xdr_diropargs() argument 900 da->da_fhandle = &da->da_fhandle_buf; in xdr_diropargs() 904 fhp = (int32_t *)da->da_fhandle; in xdr_diropargs() 919 if (da->da_name == NULL) { in xdr_diropargs() 920 da->da_name = kmem_alloc(nodesize, KM_NOSLEEP); in xdr_diropargs() 921 if (da->da_name == NULL) in xdr_diropargs() 923 da->da_flags |= DA_FREENAME; in xdr_diropargs() 927 if (!xdr_opaque(xdrs, da->da_name, size)) { in xdr_diropargs() 928 if (da->da_flags & DA_FREENAME) { in xdr_diropargs() 929 kmem_free(da->da_name, in xdr_diropargs() [all …]
|
H A D | nfs_cmd.c | 125 door_arg_t da; in nfscmd_send() local 156 da.data_ptr = (char *)arg; in nfscmd_send() 157 da.data_size = sizeof (nfscmd_arg_t); in nfscmd_send() 158 da.desc_ptr = NULL; in nfscmd_send() 159 da.desc_num = 0; in nfscmd_send() 160 da.rbuf = (char *)res; in nfscmd_send() 161 da.rsize = sizeof (nfscmd_res_t); in nfscmd_send() 163 switch (door_ki_upcall(dh, &da)) { in nfscmd_send()
|
/illumos-gate/usr/src/uts/intel/io/pchtemp/ |
H A D | pchtemp.c | 220 ddi_device_acc_attr_t da; in pchtemp_attach() local 259 bzero(&da, sizeof (ddi_device_acc_attr_t)); in pchtemp_attach() 260 da.devacc_attr_version = DDI_DEVICE_ATTR_V0; in pchtemp_attach() 261 da.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC; in pchtemp_attach() 262 da.devacc_attr_dataorder = DDI_STRICTORDER_ACC; in pchtemp_attach() 265 da.devacc_attr_access = DDI_FLAGERR_ACC; in pchtemp_attach() 267 da.devacc_attr_access = DDI_DEFAULT_ACC; in pchtemp_attach() 271 0, memsize, &da, &pch->pcht_handle)) != DDI_SUCCESS) { in pchtemp_attach()
|
/illumos-gate/usr/src/boot/common/ |
H A D | gfx_fb.c | 1127 gfx_fb_cons_display(struct vis_consdisplay *da) in gfx_fb_cons_display() argument 1137 if ((uint32_t)da->col >= gfx_fb.framebuffer_common.framebuffer_width || in gfx_fb_cons_display() 1138 (uint32_t)da->row >= gfx_fb.framebuffer_common.framebuffer_height || in gfx_fb_cons_display() 1139 (uint32_t)da->col + da->width > in gfx_fb_cons_display() 1141 (uint32_t)da->row + da->height > in gfx_fb_cons_display() 1153 dx = da->col; in gfx_fb_cons_display() 1154 dy = da->row; in gfx_fb_cons_display() 1155 height = da->height; in gfx_fb_cons_display() 1156 width = da->width; in gfx_fb_cons_display() 1158 data = (void *)da->data; in gfx_fb_cons_display() [all …]
|
H A D | tem.c | 2304 struct vis_consdisplay da; in tem_text_display() local 2312 da.data = (unsigned char *)&c; in tem_text_display() 2313 da.width = 1; in tem_text_display() 2314 da.row = row; in tem_text_display() 2315 da.col = col; in tem_text_display() 2319 tem_set_color(&fg, &da.fg_color); in tem_text_display() 2320 tem_set_color(&bg, &da.bg_color); in tem_text_display() 2322 tems_display(&da); in tem_text_display() 2323 da.col++; in tem_text_display() 2354 struct vis_conscopy da; in tem_text_copy() local [all …]
|
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/ |
H A D | gfxp_bitmap.c | 404 bitmap_cons_display(struct gfxp_fb_softc *softc, struct vis_consdisplay *da) in bitmap_cons_display() argument 413 if (da->col >= console->fb.screen.x || in bitmap_cons_display() 414 da->row >= console->fb.screen.y || in bitmap_cons_display() 415 da->col + da->width > console->fb.screen.x || in bitmap_cons_display() 416 da->row + da->height > console->fb.screen.y) in bitmap_cons_display() 419 size = da->width * console->fb.bpp; in bitmap_cons_display() 420 fbp = console->fb.fb + da->col * console->fb.bpp + in bitmap_cons_display() 421 da->row * console->fb.pitch; in bitmap_cons_display() 422 sfbp = console->fb.shadow_fb + da->col * console->fb.bpp + in bitmap_cons_display() 423 da->row * console->fb.pitch; in bitmap_cons_display() [all …]
|
/illumos-gate/usr/src/uts/common/io/ |
H A D | tem_safe.c | 1790 struct vis_consdisplay da; in tem_safe_text_display() local 1798 da.data = (uint8_t *)&c; in tem_safe_text_display() 1799 da.width = 1; in tem_safe_text_display() 1800 da.row = row; in tem_safe_text_display() 1801 da.col = col; in tem_safe_text_display() 1805 tem_safe_set_color(&fg, &da.fg_color); in tem_safe_text_display() 1806 tem_safe_set_color(&bg, &da.bg_color); in tem_safe_text_display() 1808 tems_safe_display(&da, credp, called_from); in tem_safe_text_display() 1809 da.col++; in tem_safe_text_display() 1830 struct vis_consdisplay da; [all …]
|
/illumos-gate/usr/src/test/os-tests/tests/stackalign/ |
H A D | stackalign.c | 86 door_arg_t da = { in main() local 145 rc = door_call(door_fd, &da); in main() 152 da.data_size += 5; in main() 153 rc = door_call(door_fd, &da); in main()
|
/illumos-gate/usr/src/test/util-tests/tests/dis/i386/ |
H A D | 32.vbmi.out | 3 libdis_test+0xc: 62 f2 5d 8a 8d da vpermb %xmm2,%xmm4,%xmm3{%k2}{z} 15 libdis_test+0x47: 62 f2 5d aa 8d da vpermb %ymm2,%ymm4,%ymm3{%k2}{z} 27 libdis_test+0x85: 62 f2 5d ca 8d da vpermb %zmm2,%zmm4,%zmm3{%k2}{z} 39 libdis_test+0xc3: 62 f2 dd 8a 8d da vpermw %xmm2,%xmm4,%xmm3{%k2}{z} 51 libdis_test+0xfe: 62 f2 dd aa 8d da vpermw %ymm2,%ymm4,%ymm3{%k2}{z} 63 libdis_test+0x13c: 62 f2 dd ca 8d da vpermw %zmm2,%zmm4,%zmm3{%k2}{z} 75 libdis_test+0x17a: 62 f2 5d 8a 75 da vpermi2b %xmm2,%xmm4,%xmm3{%k2}{z} 87 libdis_test+0x1b5: 62 f2 5d aa 75 da vpermi2b %ymm2,%ymm4,%ymm3{%k2}{z} 99 libdis_test+0x1f3: 62 f2 5d ca 75 da vpermi2b %zmm2,%zmm4,%zmm3{%k2}{z} 111 libdis_test+0x231: 62 f2 dd 8a 75 da vpermi2w %xmm2,%xmm4,%xmm3{%k2}{z} [all …]
|
H A D | 32.avx512cd.out | 2 libdis_test+0x6: 62 f2 7d 09 c4 da vpconflictd %xmm2,%xmm3{%k1} 15 libdis_test+0x47: 62 f2 7d 29 c4 da vpconflictd %ymm2,%ymm3{%k1} 28 libdis_test+0x88: 62 f2 7d 49 c4 da vpconflictd %zmm2,%zmm3{%k1} 41 libdis_test+0xc9: 62 f2 fd 09 c4 da vpconflictq %xmm2,%xmm3{%k1} 54 libdis_test+0x10a: 62 f2 fd 29 c4 da vpconflictq %ymm2,%ymm3{%k1} 67 libdis_test+0x14b: 62 f2 fd 49 c4 da vpconflictq %zmm2,%zmm3{%k1} 80 libdis_test+0x18c: 62 f2 7d 09 44 da vplzcntd %xmm2,%xmm3{%k1} 93 libdis_test+0x1cd: 62 f2 7d 29 44 da vplzcntd %ymm2,%ymm3{%k1} 106 libdis_test+0x20e: 62 f2 7d 49 44 da vplzcntd %zmm2,%zmm3{%k1} 119 libdis_test+0x24f: 62 f2 fd 09 44 da vplzcntq %xmm2,%xmm3{%k1} [all …]
|
H A D | 64.avx512cd.out | 2 libdis_test+0x6: 62 f2 7d 09 c4 da vpconflictd %xmm2,%xmm3{%k1} 15 libdis_test+0x47: 62 f2 7d 29 c4 da vpconflictd %ymm2,%ymm3{%k1} 28 libdis_test+0x88: 62 f2 7d 49 c4 da vpconflictd %zmm2,%zmm3{%k1} 41 libdis_test+0xc9: 62 f2 fd 09 c4 da vpconflictq %xmm2,%xmm3{%k1} 54 libdis_test+0x10a: 62 f2 fd 29 c4 da vpconflictq %ymm2,%ymm3{%k1} 67 libdis_test+0x14b: 62 f2 fd 49 c4 da vpconflictq %zmm2,%zmm3{%k1} 80 libdis_test+0x18c: 62 f2 7d 09 44 da vplzcntd %xmm2,%xmm3{%k1} 93 libdis_test+0x1cd: 62 f2 7d 29 44 da vplzcntd %ymm2,%ymm3{%k1} 106 libdis_test+0x20e: 62 f2 7d 49 44 da vplzcntd %zmm2,%zmm3{%k1} 119 libdis_test+0x24f: 62 f2 fd 09 44 da vplzcntq %xmm2,%xmm3{%k1} [all …]
|