Home
last modified time | relevance | path

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

1234

/titanic_41/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kdoor.c116 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 …]
/titanic_41/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_kdoor.c86 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 …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Ddmu_diff.c51 write_record(struct diffarg *da) in write_record() argument
55 if (da->da_ddr.ddr_type == DDR_NONE) { in write_record()
56 da->da_err = 0; in write_record()
60 da->da_err = vn_rdwr(UIO_WRITE, da->da_vp, (caddr_t)&da->da_ddr, in write_record()
61 sizeof (da->da_ddr), 0, UIO_SYSSPACE, FAPPEND, in write_record()
63 *da->da_offp += sizeof (da->da_ddr); in write_record()
64 return (da->da_err); in write_record()
68 report_free_dnode_range(struct diffarg *da, uint64_t first, uint64_t last) in report_free_dnode_range() argument
71 if (da->da_ddr.ddr_type != DDR_FREE || in report_free_dnode_range()
72 first != da->da_ddr.ddr_last + 1) { in report_free_dnode_range()
[all …]
/titanic_41/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c264 smb_doorarg_t da; in smb_door_call() local
269 bzero(&da, sizeof (smb_doorarg_t)); in smb_door_call()
270 da.da_opcode = cmd; in smb_door_call()
271 da.da_opname = smb_doorhdr_opname(cmd); in smb_door_call()
272 da.da_req_xdr = req_xdr; in smb_door_call()
273 da.da_rsp_xdr = rsp_xdr; in smb_door_call()
274 da.da_req_data = req_data; in smb_door_call()
275 da.da_rsp_data = rsp_data; in smb_door_call()
280 syslog(LOG_DEBUG, "smb_door_call[%s]: %m", da.da_opname); in smb_door_call()
289 syslog(LOG_DEBUG, "smb_door_call[%s]: %m", da.da_opname); in smb_door_call()
[all …]
/titanic_41/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()
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 …]
/titanic_41/usr/src/cmd/allocate/
H A Dallocate3.c180 _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 …]
/titanic_41/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c438 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 …]
/titanic_41/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()
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 …]
H A Dcred.c251 uintptr_t da, sa; in print_ksid() local
256 da = (uintptr_t)ks->ks_domain; in print_ksid()
257 if (da == 0 || mdb_vread(&kd, sizeof (kd), da) < 0) in print_ksid()
H A Ddevinfo.c1817 devinfo_audit_t *da = &dil->dil_buf; in devinfo_audit_log_walk_step() local
1828 status = wsp->walk_callback(wsp->walk_addr, da, wsp->walk_cbdata); in devinfo_audit_log_walk_step()
1857 devinfo_audit_t da; in devinfo_audit() local
1872 if (mdb_vread(&da, sizeof (da), addr) == -1) { in devinfo_audit()
1878 addr, da.da_timestamp, da.da_thread, da.da_devinfo, in devinfo_audit()
1879 di_state[MIN(da.da_node_state + 1, DI_STATE_MAX)]); in devinfo_audit()
1891 depth = MIN(da.da_depth, DDI_STACK_DEPTH); in devinfo_audit()
1894 mdb_printf("%a\n", da.da_stack[i]); in devinfo_audit()
1923 devinfo_audit_t *da; in devinfo_audit_node_walk_init() local
1935 da = &dih->dih_buf; in devinfo_audit_node_walk_init()
[all …]
/titanic_41/usr/src/uts/common/os/
H A Dklpd.c287 door_arg_t da; in klpd_do_call() local
300 da.data_ptr = (char *)klh; in klpd_do_call()
301 da.data_size = klh->klh_len; in klpd_do_call()
302 da.desc_ptr = NULL; in klpd_do_call()
303 da.desc_num = 0; in klpd_do_call()
304 da.rbuf = (char *)&res; in klpd_do_call()
305 da.rsize = sizeof (res); in klpd_do_call()
307 while ((dres = door_ki_upcall_limited(p->klpd_door, &da, NULL, in klpd_do_call()
328 if (da.rbuf != (char *)&res) { in klpd_do_call()
329 kmem_free(da.rbuf, da.rsize); in klpd_do_call()
[all …]
/titanic_41/usr/src/lib/libpkg/common/
H A Dpkgserv.c485 door_arg_t da; in pkgcmd() local
487 da.data_ptr = cmd; in pkgcmd()
488 da.data_size = len; in pkgcmd()
489 da.desc_ptr = NULL; in pkgcmd()
490 da.desc_num = 0; in pkgcmd()
491 da.rbuf = result == NULL ? NULL : *result; in pkgcmd()
492 da.rsize = rlen == NULL ? 0 : *rlen; in pkgcmd()
494 if (door_call(srv->door, &da) != 0) { in pkgcmd()
500 if (da.desc_ptr != NULL) { in pkgcmd()
503 *fd = da.desc_ptr[i++].d_data.d_desc.d_descriptor; in pkgcmd()
[all …]
/titanic_41/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.c336 devalloc_t *da; in getdaent() local
346 if ((da = da_interpret(line1)) == NULL) in getdaent()
348 return (da); in getdaent()
366 devalloc_t *da; in getdanam() local
375 if ((da = da_interpret(line)) == NULL) in getdanam()
377 if (da_matchname(da, name)) { in getdanam()
379 return (da); in getdanam()
381 freedaent(da); in getdanam()
399 devalloc_t *da; in getdatype() local
408 if ((da = da_interpret(line1)) == NULL) in getdatype()
[all …]
/titanic_41/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()
/titanic_41/usr/src/uts/common/io/
H A Dtem_safe.c1280 struct vis_consdisplay da; in tem_safe_text_display() local
1285 da.data = string; in tem_safe_text_display()
1286 da.width = (screen_size_t)count; in tem_safe_text_display()
1287 da.row = row; in tem_safe_text_display()
1288 da.col = col; in tem_safe_text_display()
1290 da.fg_color = fg_color; in tem_safe_text_display()
1291 da.bg_color = bg_color; in tem_safe_text_display()
1293 tems_safe_display(&da, credp, called_from); in tem_safe_text_display()
1312 struct vis_consdisplay da; in tem_safe_image_display() local
1317 da.data = image; in tem_safe_image_display()
[all …]
/titanic_41/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 …]
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_xdr.c889 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 Dnfs_cmd.c87 door_arg_t da; in nfscmd_send() local
117 da.data_ptr = (char *)arg; in nfscmd_send()
118 da.data_size = sizeof (nfscmd_arg_t); in nfscmd_send()
119 da.desc_ptr = NULL; in nfscmd_send()
120 da.desc_num = 0; in nfscmd_send()
121 da.rbuf = (char *)res; in nfscmd_send()
122 da.rsize = sizeof (nfscmd_res_t); in nfscmd_send()
124 switch (door_ki_upcall(dh, &da)) { in nfscmd_send()
H A Dnfs_auth.c354 door_arg_t da; in nfsauth_retrieve() local
411 da.data_ptr = (char *)abuf; in nfsauth_retrieve()
412 da.data_size = absz; in nfsauth_retrieve()
413 da.desc_ptr = NULL; in nfsauth_retrieve()
414 da.desc_num = 0; in nfsauth_retrieve()
415 da.rbuf = NULL; in nfsauth_retrieve()
416 da.rsize = 1; in nfsauth_retrieve()
453 switch (door_ki_upcall_limited(dh, &da, NULL, SIZE_MAX, 0)) { in nfsauth_retrieve()
457 if (da.data_ptr == NULL && da.data_size == 0) { in nfsauth_retrieve()
466 door_arg_t *, &da); in nfsauth_retrieve()
[all …]
/titanic_41/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_vgatext.c881 vgatext_cons_display(struct vgatext_softc *softc, struct vis_consdisplay *da) in vgatext_cons_display() argument
896 if (da->row < 0 || da->row >= TEXT_ROWS || in vgatext_cons_display()
897 da->col < 0 || da->col >= TEXT_COLS || in vgatext_cons_display()
898 da->col + da->width > TEXT_COLS) in vgatext_cons_display()
907 attr = (solaris_color_to_pc_color[da->bg_color & 0xf] << 4) in vgatext_cons_display()
908 | solaris_color_to_pc_color[da->fg_color & 0xf]; in vgatext_cons_display()
909 string = da->data; in vgatext_cons_display()
911 + (da->row * TEXT_COLS + da->col); in vgatext_cons_display()
912 for (i = 0; i < da->width; i++) { in vgatext_cons_display()
922 struct vis_consdisplay *da) in vgatext_polled_display() argument
[all …]
/titanic_41/usr/src/cmd/backup/dump/
H A Ddumptraverse.c797 bread(da, ba, cnt) in bread() argument
798 diskaddr_t da; in bread()
829 filoff = ((off64_t)da) * DEV_BSIZE;
842 if (DEV_LSEEK(fi, da, L_SET) < 0) {
855 if (da >= fsbtodb(sblock, sblock->fs_size)) {
858 da, disk);
863 if (DEV_LSEEK(fi, da, L_SET) < 0) {
872 if (bcacheval[i] == da) {
881 bcacheval[cacheoff] = da;
896 da, disk);
[all …]
/titanic_41/usr/src/lib/libnsl/nss/
H A Dnetdir_inet.c1897 rule_reachable(const struct dstinforeq *da, const struct dstinforeq *db) in rule_reachable() argument
1899 if (da->dir_dreachable == db->dir_dreachable) in rule_reachable()
1901 if (da->dir_dreachable) in rule_reachable()
1908 rule_matchscope(const struct dstinforeq *da, const struct dstinforeq *db) in rule_matchscope() argument
1912 da_scope_match = da->dir_dscope == da->dir_sscope; in rule_matchscope()
1924 rule_avoidlinklocal(const struct dstinforeq *da, const struct dstinforeq *db) in rule_avoidlinklocal() argument
1926 if (da->dir_sscope == IP6_SCOPE_LINKLOCAL && in rule_avoidlinklocal()
1927 da->dir_dscope != IP6_SCOPE_LINKLOCAL && in rule_avoidlinklocal()
1932 da->dir_sscope != IP6_SCOPE_LINKLOCAL) in rule_avoidlinklocal()
1939 rule_deprecated(const struct dstinforeq *da, const struct dstinforeq *db) in rule_deprecated() argument
[all …]
/titanic_41/usr/src/uts/intel/io/vgatext/
H A Dvgatext.c1007 vgatext_cons_display(struct vgatext_softc *softc, struct vis_consdisplay *da) in vgatext_cons_display() argument
1022 if (da->row < 0 || da->row >= TEXT_ROWS || in vgatext_cons_display()
1023 da->col < 0 || da->col >= TEXT_COLS || in vgatext_cons_display()
1024 da->col + da->width > TEXT_COLS) in vgatext_cons_display()
1033 attr = (solaris_color_to_pc_color[da->bg_color & 0xf] << 4) in vgatext_cons_display()
1034 | solaris_color_to_pc_color[da->fg_color & 0xf]; in vgatext_cons_display()
1035 string = da->data; in vgatext_cons_display()
1037 + (da->row * TEXT_COLS + da->col); in vgatext_cons_display()
1038 for (i = 0; i < da->width; i++) { in vgatext_cons_display()
1048 struct vis_consdisplay *da) in vgatext_polled_display() argument
[all …]
/titanic_41/usr/src/lib/libdiskmgt/common/
H A Dentry.c63 static descriptor_t **desc_array_to_ptr_array(dm_descriptor_t *da, int *errp);
1207 descriptor_t **da; in desc_array_to_ptr_array()
1212 da = (descriptor_t **)calloc(cnt + 1, sizeof (descriptor_t *)); in desc_array_to_ptr_array()
1213 if (da == NULL) { in desc_array_to_ptr_array()
1219 da[i] = (descriptor_t *)(uintptr_t)descs[i]; in desc_array_to_ptr_array()
1224 return (da); in desc_array_to_ptr_array()
1238 dm_descriptor_t *da; in ptr_array_to_desc_array()
1247 da = (dm_descriptor_t *)calloc(cnt + 1, sizeof (dm_descriptor_t)); in ptr_array_to_desc_array()
1248 if (da == NULL) { in ptr_array_to_desc_array()
1254 da[i] = (uintptr_t)ptrs[i]; in ptr_array_to_desc_array()
[all …]

1234