Home
last modified time | relevance | path

Searched refs:da (Results 1 – 25 of 152) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kdoor.c116 smb_doorarg_t da; in smb_kdoor_upcall() local
120 da.da_opcode = cmd; in smb_kdoor_upcall()
130 da.da_opname); in smb_kdoor_upcall()
186 smb_doorarg_t da; in smb_kdoor_send() local
209 smb_doorarg_t da; in smb_kdoor_receive() local
214 da.da_opname = smb_doorhdr_opname(da.da_opcode); in smb_kdoor_receive()
272 len += xdr_sizeof(da->da_req_xdr, da->da_req_data); in smb_kdoor_encode()
281 da->da_opname); in smb_kdoor_encode()
288 if (!da->da_req_xdr(&xdrs, da->da_req_data)) { in smb_kdoor_encode()
321 da->da_opname); in smb_kdoor_decode()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_kdoor.c86 smb_doorarg_t da; in smb_kdoor_upcall() local
91 da.da_opcode = cmd; in smb_kdoor_upcall()
101 da.da_opname); in smb_kdoor_upcall()
140 len += xdr_sizeof(da->da_req_xdr, da->da_req_data); in smb_kdoor_encode()
149 da->da_opname); in smb_kdoor_encode()
156 if (!da->da_req_xdr(&xdrs, da->da_req_data)) { in smb_kdoor_encode()
158 da->da_opname); in smb_kdoor_encode()
189 da->da_opname); in smb_kdoor_decode()
197 da->da_opname); in smb_kdoor_decode()
208 if (!da->da_rsp_xdr(&xdrs, da->da_rsp_data)) { in smb_kdoor_decode()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_diff.c57 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()
64 *da->da_offp += sizeof (da->da_ddr); in write_record()
65 return (da->da_err); in write_record()
97 da->da_ddr.ddr_first = da->da_ddr.ddr_last = object; in report_dnode()
166 struct diffarg da; in dmu_diff() local
207 da.da_vp = vp; in dmu_diff()
208 da.da_offp = offp; in dmu_diff()
210 da.da_ddr.ddr_first = da.da_ddr.ddr_last = 0; in dmu_diff()
211 da.da_err = 0; in dmu_diff()
[all …]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Diod_cl.c91 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()
148 da.rbuf = (void *) &err; in start_iod()
215 door_arg_t da; in smb_iod_cl_newvc() local
224 da.desc_ptr = NULL; in smb_iod_cl_newvc()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c321 smb_doorarg_t da; in smb_door_call() local
327 da.da_opcode = cmd; in smb_door_call()
329 da.da_req_xdr = req_xdr; in smb_door_call()
330 da.da_rsp_xdr = rsp_xdr; in smb_door_call()
331 da.da_req_data = req_data; in smb_door_call()
414 buflen += xdr_sizeof(da->da_req_xdr, da->da_req_data); in smb_door_encode()
431 if (!da->da_req_xdr(&xdrs, da->da_req_data)) { in smb_door_encode()
442 da->da_arg.desc_num = 0; in smb_door_encode()
443 da->da_arg.rbuf = buf; in smb_door_encode()
481 if (!da->da_rsp_xdr(&xdrs, da->da_rsp_data)) { in smb_door_decode()
[all …]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c257 (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()
493 devalloc_t *da; in list_devices() local
575 freedaent(da); in list_devices()
583 freedaent(da); in list_devices()
1334 if (da) { in _store_devnames()
1357 devalloc_t *da; in allocate() local
1411 freedaent(da); in allocate()
1436 devalloc_t *da; in deallocate() local
1513 da, 0); in deallocate()
[all …]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c438 struct desauthent *da; in sec_clnt_geth() local
478 da++) { in sec_clnt_geth()
484 da->da_inuse = 1; in sec_clnt_geth()
542 if (da->da_inuse) { in sec_clnt_geth()
547 da->da_inuse = 1; in sec_clnt_geth()
553 da->da_auth = auth; in sec_clnt_geth()
629 da < &desauthtab[clnt_authdes_cachesz]; da++) { in sec_clnt_freeh()
631 da->da_inuse = 0; in sec_clnt_freeh()
711 da < &desauthtab[clnt_authdes_cachesz]; da++) { in sec_clnt_revoke()
791 da < &desauthtab[clnt_authdes_cachesz]; da++) { in purge_authtab()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Ddamap.c105 dam_da_t *da; in damap_free() local
113 da = ss->array[i]; in damap_free()
114 if (da == NULL) 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()
268 dam_da_t *da; in damap_print() local
283 da = ss->array[i]; in damap_print()
284 if (da == NULL) in damap_print()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c289 door_arg_t da; in klpd_do_call() local
305 da.desc_num = 0; in klpd_do_call()
331 kmem_free(da.rbuf, da.rsize); in klpd_do_call()
850 door_arg_t da; in pfexec_call() local
891 da.desc_num = 0; in pfexec_call()
985 kmem_free(da.rbuf, da.rsize); in pfexec_call()
1003 door_arg_t da; in get_forced_privs() local
1037 da.desc_num = 0; in get_forced_privs()
1081 kmem_free(da.rbuf, da.rsize); in get_forced_privs()
1093 door_arg_t da; in check_user_privs() local
[all …]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c489 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()
517 (void) munmap(da.rbuf, da.rsize); in pkgcmd()
525 if (da.data_ptr != NULL && da.rbuf != da.data_ptr) in pkgcmd()
526 (void) memmove(da.rbuf, da.data_ptr, da.data_size); in pkgcmd()
527 *result = da.rbuf; in pkgcmd()
528 *rlen = da.data_size; in pkgcmd()
[all …]
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c47 devalloc_t *da; in getdevicerange() local
69 if ((da = getdanam((char *)dev)) == NULL) { in getdevicerange()
73 da = getdanam(dm->dmap_devname); in getdevicerange()
79 if (da == NULL) { in getdevicerange()
83 lstr = kva_match(da->da_devopts, DAOPT_MINLABEL); in getdevicerange()
94 lstr = kva_match(da->da_devopts, DAOPT_MAXLABEL); in getdevicerange()
105 freedaent(da); in getdevicerange()
H A Dgetdaent.c334 devalloc_t *da; in getdaent() local
346 return (da); in getdaent()
364 devalloc_t *da; in getdanam() local
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
408 if (da_matchtype(da, type)) in getdatype()
409 return (da); in getdatype()
410 freedaent(da); in getdatype()
[all …]
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_door.c63 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 Dslp_targets.c123 struct da_node *da; member
268 if (!(*tl->state)->da->used && !(*tl->state)->da->failed) in slp_next_uc_target()
270 if ((*tl->state)->da->failed) { in slp_next_uc_target()
285 if (p->da->used) in slp_next_failover()
287 if (!p->da->used && !p->da->failed) in slp_next_failover()
295 return (void *)(p ? &(p->da->sin) : NULL); in slp_get_target_sin()
300 p->da->used = SLP_TRUE; in slp_mark_target_used()
305 p->da->failed = SLP_TRUE; in slp_mark_target_failed()
328 st->da = dn; in slp_fabricate_target()
338 free(t->da); in slp_free_target()
[all …]
/illumos-gate/usr/src/uts/intel/io/pchtemp/
H A Dpchtemp.c220 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/uts/common/fs/nfs/
H A Dnfs_xdr.c900 da->da_fhandle = &da->da_fhandle_buf; in xdr_diropargs()
921 if (da->da_name == NULL) in xdr_diropargs()
929 kmem_free(da->da_name, in xdr_diropargs()
931 da->da_name = NULL; in xdr_diropargs()
938 kmem_free(da->da_name, in xdr_diropargs()
940 da->da_name = NULL; in xdr_diropargs()
947 da->da_name[size] = '\0'; in xdr_diropargs()
951 da->da_name = NULL; in xdr_diropargs()
957 if (da->da_name == NULL) in xdr_diropargs()
991 if (da->da_name == NULL) in xdr_diropargs()
[all …]
H A Dnfs_cmd.c125 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()
H A Dnfs_auth.c391 door_arg_t da; in nfsauth_retrieve() local
449 da.data_size = absz; in nfsauth_retrieve()
450 da.desc_ptr = NULL; in nfsauth_retrieve()
451 da.desc_num = 0; in nfsauth_retrieve()
452 da.rbuf = NULL; in nfsauth_retrieve()
453 da.rsize = 1; in nfsauth_retrieve()
494 if (da.data_ptr == NULL && da.data_size == 0) { in nfsauth_retrieve()
578 ASSERT(da.rbuf != NULL); in nfsauth_retrieve()
585 xdrmem_create(&xdrs, da.rbuf, da.rsize, XDR_DECODE); in nfsauth_retrieve()
589 kmem_free(da.rbuf, da.rsize); in nfsauth_retrieve()
[all …]
/illumos-gate/usr/src/test/os-tests/tests/stackalign/
H A Dstackalign.c86 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/boot/common/
H A Dgfx_fb.c1138 (uint32_t)da->col + da->width > in gfx_fb_cons_display()
1140 (uint32_t)da->row + da->height > in gfx_fb_cons_display()
1174 (void) allocate_glyphbuffer(da->width, da->height); in gfx_fb_cons_display()
1176 size = sizeof (*BltBuffer) * da->width * da->height; in gfx_fb_cons_display()
1186 da->col, da->row, 0, 0, da->width, da->height, 0) == 0) { in gfx_fb_cons_display()
1187 bitmap_cpy(BltBuffer, da->data, da->width * da->height); in gfx_fb_cons_display()
1189 0, 0, da->col, da->row, da->width, da->height, 0); in gfx_fb_cons_display()
1685 da.col = ux1; in gfx_fb_putimage()
1686 da.row = uy1; in gfx_fb_putimage()
1697 (da.row + da.height) / tems.ts_font.vf_height, in gfx_fb_putimage()
[all …]
H A Dtem.c2237 da.width = 1; in tem_text_display()
2238 da.row = row; in tem_text_display()
2239 da.col = col; in tem_text_display()
2247 da.col++; in tem_text_display()
2286 tems_copy(&da); in tem_text_copy()
2321 da.row = (row * da.height) + tems.ts_p_offset.y; in tem_pix_display()
2322 da.col = (col * da.width) + tems.ts_p_offset.x; in tem_pix_display()
2327 da.col += da.width; in tem_pix_display()
2899 da.row = (row + row_add) * da.height + offset_y; in tem_pix_cls_range()
2900 da.col = col * da.width + offset_x; in tem_pix_cls_range()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_bitmap.c413 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()
423 da->row * console->fb.pitch; in bitmap_cons_display()
426 for (i = 0; i < da->height; i++) { in bitmap_cons_display()
428 uint8_t *src = da->data + i * size; in bitmap_cons_display()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dtem_safe.c1780 da.width = 1; in tem_safe_text_display()
1781 da.row = row; in tem_safe_text_display()
1782 da.col = col; in tem_safe_text_display()
1790 da.col++; in tem_safe_text_display()
1819 da.row = row;
1894 da.row = (row * da.height) + tems.ts_p_offset.y; in tem_safe_pix_display()
1895 da.col = (col * da.width) + tems.ts_p_offset.x; in tem_safe_pix_display()
1903 da.col += da.width; in tem_safe_pix_display()
2668 da.row = (row + row_add) * da.height + offset_y; in tem_safe_pix_cls_range()
2669 da.col = col * da.width + offset_x; in tem_safe_pix_cls_range()
[all …]
/illumos-gate/usr/src/boot/efi/libefi/
H A Defi_console.c334 efi_text_cons_display(struct vis_consdisplay *da) in efi_text_cons_display() argument
349 if (row - 1 == da->row && da->col == 0 && da->width == col) in efi_text_cons_display()
350 da->width--; in efi_text_cons_display()
352 data = (tem_char_t *)da->data; in efi_text_cons_display()
353 fg = solaris_color_to_efi_color[da->fg_color.four & 0xf]; in efi_text_cons_display()
354 bg = solaris_color_to_efi_color[da->bg_color.four & 0xf] & 0x7; in efi_text_cons_display()
360 row = da->row; in efi_text_cons_display()
361 col = da->col; in efi_text_cons_display()
363 for (i = 0; i < da->width; i++) in efi_text_cons_display()
/illumos-gate/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c1901 if (da->dir_dreachable) in rule_reachable()
1912 da_scope_match = da->dir_dscope == da->dir_sscope; in rule_matchscope()
1932 da->dir_sscope != IP6_SCOPE_LINKLOCAL) in rule_avoidlinklocal()
1954 if (da->dir_labelmatch) in rule_label()
1977 if (da->dir_dmactype == db->dir_dmactype) in rule_native()
1980 isatun = da->dir_dmactype == DL_IPV4 || da->dir_dmactype == DL_IPV6; in rule_native()
1994 if (da->dir_dscope == db->dir_dscope) in rule_scope()
1996 if (da->dir_dscope < db->dir_dscope) in rule_scope()
2021 da_commonbits = ip_addr_commonbits_v6(&da->dir_daddr, &da->dir_saddr); in rule_prefix()
2038 dstcmp(const void *da, const void *db) in dstcmp() argument
[all …]

1234567