Searched defs:da (Results 1 - 25 of 42) sorted by relevance

12

/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdevicerange.c47 devalloc_t *da; local
69 if ((da = getdanam((char *)dev)) == NULL) {
73 da = getdanam(dm->dmap_devname);
79 if (da == NULL) {
83 lstr = kva_match(da->da_devopts, DAOPT_MINLABEL);
94 lstr = kva_match(da->da_devopts, DAOPT_MAXLABEL);
105 freedaent(da);
H A Dgetdaent.c334 devalloc_t *da; local
344 if ((da = da_interpret(line1)) == NULL)
346 return (da);
364 devalloc_t *da; local
373 if ((da = da_interpret(line)) == NULL)
375 if (da_matchname(da, name)) {
377 return (da);
379 freedaent(da);
397 devalloc_t *da; local
406 if ((da
436 da_matchtype(devalloc_t *da, char *type) argument
[all...]
/illumos-gate/usr/src/cmd/smbsrv/fksmbd/
H A Dfksmbd_door.c63 fksmbd_door_dispatch(smb_doorarg_t *da) argument
69 char *argp = da->da_arg.data_ptr;
70 size_t arg_size = da->da_arg.data_size;
76 * da->da_arg.data_ptr = (arg data, xdr encoded)
77 * da->da_arg.data_size = (arg data len)
122 * da->da_arg.rbuf = (return data buf)
123 * da->da_arg.rsize = (return data size)
147 /* Let's update da->da_hdr too. */
148 da->da_hdr = *hdr;
154 da
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Diod_cl.c91 door_arg_t da; local
105 memset(&da, 0, sizeof (da));
106 da.rbuf = (void *) &err;
107 da.rsize = sizeof (err);
108 rc = door_call(fd, &da);
134 door_arg_t da; local
145 memset(&da, 0, sizeof (da));
146 da
215 door_arg_t da; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcred.c251 uintptr_t da, sa; local
256 da = (uintptr_t)ks->ks_domain;
257 if (da == 0 || mdb_vread(&kd, sizeof (kd), da) < 0)
H A Ddamap.c105 dam_da_t *da; local
113 da = ss->array[i];
114 if (da == NULL)
116 local_strfree(da->da_addr);
117 mdb_free(da, sizeof (*da));
162 dam_da_t *da; local
237 da = ss->array[i] = mdb_zalloc(sizeof (*da), UM_SLEEP);
238 if (mdb_vread(da, sizeo
268 dam_da_t *da; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfksmb_kdoor.c86 smb_doorarg_t da; local
90 bzero(&da, sizeof (smb_doorarg_t));
91 da.da_opcode = cmd;
92 da.da_opname = smb_doorhdr_opname(cmd);
93 da.da_req_xdr = req_xdr;
94 da.da_rsp_xdr = rsp_xdr;
95 da.da_req_data = req_data;
96 da.da_rsp_data = rsp_data;
101 da.da_opname);
111 if ((rc = smb_kdoor_encode(&da)) !
132 smb_kdoor_encode(smb_doorarg_t *da) argument
180 smb_kdoor_decode(smb_doorarg_t *da) argument
221 smb_kdoor_sethdr(smb_doorarg_t *da, uint32_t datalen) argument
235 smb_kdoor_chkhdr(smb_doorarg_t *da, smb_doorhdr_t *hdr) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kdoor.c116 smb_doorarg_t da; local
119 bzero(&da, sizeof (smb_doorarg_t));
120 da.da_opcode = cmd;
121 da.da_opname = smb_doorhdr_opname(cmd);
122 da.da_req_xdr = req_xdr;
123 da.da_rsp_xdr = rsp_xdr;
124 da.da_req_data = req_data;
125 da.da_rsp_data = rsp_data;
130 da.da_opname);
135 da
186 smb_doorarg_t da; local
209 smb_doorarg_t da; local
235 smb_kdoor_upcall_private(smb_server_t *sv, smb_doorarg_t *da) argument
264 smb_kdoor_encode(smb_doorarg_t *da) argument
312 smb_kdoor_decode(smb_doorarg_t *da) argument
353 smb_kdoor_sethdr(smb_doorarg_t *da, uint32_t datalen) argument
367 smb_kdoor_chkhdr(smb_doorarg_t *da, smb_doorhdr_t *hdr) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_diff.c52 write_record(struct diffarg *da) argument
56 if (da->da_ddr.ddr_type == DDR_NONE) {
57 da->da_err = 0;
61 da->da_err = vn_rdwr(UIO_WRITE, da->da_vp, (caddr_t)&da->da_ddr,
62 sizeof (da->da_ddr), 0, UIO_SYSSPACE, FAPPEND,
64 *da->da_offp += sizeof (da->da_ddr);
65 return (da
69 report_free_dnode_range(struct diffarg *da, uint64_t first, uint64_t last) argument
86 report_dnode(struct diffarg *da, uint64_t object, dnode_phys_t *dnp) argument
113 struct diffarg *da = arg; local
166 struct diffarg da; local
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c396 devalloc_t *da = NULL; local
404 da = getdanam(devinfo->devname);
406 if (da && !(dargs->optflag & DA_FORCE)) {
407 freedaent(da);
H A Dallocate3.c180 _is_dev_authorized(devalloc_t *da, uid_t uid) argument
185 auth_list = da->da_devauth;
248 print_dev_attrs(int optflag, devalloc_t *da, devmap_t *dm, argument
257 (da->da_devauth ? da->da_devauth : ""), KV_DELIMITER);
259 (da->da_devexec ? da->da_devexec : ""), KV_DELIMITER);
260 if (da->da_devopts != NULL) {
261 if (_kva2str(da->da_devopts, optbuf, sizeof (optbuf),
303 _list_device(int optflag, uid_t uid, devalloc_t *da, cha argument
493 devalloc_t *da; local
998 _deallocate_dev(int optflag, devalloc_t *da, devmap_t *dm_in, uid_t uid, char *zonename, int *lock_fd) argument
1148 _allocate_dev(int optflag, uid_t uid, devalloc_t *da, char *zonename, int *lock_fd) argument
1327 _store_devnames(int *count, struct dev_names *dnms, char *zonename, devalloc_t *da, int flag) argument
1357 devalloc_t *da; local
1436 devalloc_t *da; local
1590 _check_label(devalloc_t *da, char *zonename, uid_t uid, int flag) argument
[all...]
/illumos-gate/usr/src/uts/common/io/net80211/
H A Dnet80211_output.c56 struct ieee80211_frame *wh, int type, const uint8_t *sa, const uint8_t *da,
66 IEEE80211_ADDR_COPY(wh->i_addr3, da);
71 IEEE80211_ADDR_COPY(wh->i_addr1, da);
82 IEEE80211_ADDR_COPY(wh->i_addr1, da);
424 const uint8_t *sa, const uint8_t *da, const uint8_t *bssid,
461 sa, da, bssid);
55 ieee80211_send_setup(ieee80211com_t *ic, ieee80211_node_t *in, struct ieee80211_frame *wh, int type, const uint8_t *sa, const uint8_t *da, const uint8_t *bssid) argument
423 ieee80211_send_probereq(ieee80211_node_t *in, const uint8_t *sa, const uint8_t *da, const uint8_t *bssid, const uint8_t *ssid, size_t ssidlen, const void *optie, size_t optielen) argument
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_doorclnt.c321 smb_doorarg_t da; local
326 bzero(&da, sizeof (smb_doorarg_t));
327 da.da_opcode = cmd;
328 da.da_opname = smb_doorhdr_opname(cmd);
329 da.da_req_xdr = req_xdr;
330 da.da_rsp_xdr = rsp_xdr;
331 da.da_req_data = req_data;
332 da.da_rsp_data = rsp_data;
337 syslog(LOG_DEBUG, "smb_door_call[%s]: %m", da.da_opname);
346 syslog(LOG_DEBUG, "smb_door_call[%s]: %m", da
376 smb_door_call_private(int fd, smb_doorarg_t *da) argument
406 smb_door_encode(smb_doorarg_t *da, uint32_t cmd) argument
454 smb_door_decode(smb_doorarg_t *da) argument
505 smb_door_chkhdr(smb_doorarg_t *da, smb_doorhdr_t *hdr) argument
[all...]
/illumos-gate/usr/src/lib/libslp/clib/
H A Dslp_targets.c123 struct da_node *da; member in struct:scope_targets
268 if (!(*tl->state)->da->used && !(*tl->state)->da->failed)
270 if ((*tl->state)->da->failed) {
285 if (p->da->used)
287 if (!p->da->used && !p->da->failed)
295 return (void *)(p ? &(p->da->sin) : NULL);
300 p->da->used = SLP_TRUE;
305 p->da
[all...]
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsec_clnt.c438 struct desauthent *da; local
476 for (da = desauthtab;
477 da < &desauthtab[clnt_authdes_cachesz];
478 da++) {
479 if (da->da_data == secdata &&
480 da->da_uid == crgetuid(cr) &&
481 da->da_zoneid == zoneid &&
482 !da->da_inuse &&
483 da->da_auth != NULL) {
484 da
616 struct desauthent *da; local
699 struct desauthent *da; local
783 struct desauthent *da; local
[all...]
/illumos-gate/usr/src/uts/i86pc/io/gfx_private/
H A Dgfxp_bitmap.c404 bitmap_cons_display(struct gfxp_fb_softc *softc, struct vis_consdisplay *da) argument
413 if (da->col >= console->fb.screen.x ||
414 da->row >= console->fb.screen.y ||
415 da->col + da->width > console->fb.screen.x ||
416 da->row + da->height > console->fb.screen.y)
419 size = da->width * console->fb.bpp;
420 fbp = console->fb.fb + da->col * console->fb.bpp +
421 da
652 bitmap_polled_display(struct vis_polledio_arg *arg, struct vis_consdisplay *da) argument
[all...]
H A Dgfxp_vgatext.c593 vgatext_cons_display(struct gfxp_fb_softc *softc, struct vis_consdisplay *da) argument
608 if (da->row < 0 || da->row >= VGA_TEXT_ROWS ||
609 da->col < 0 || da->col >= VGA_TEXT_COLS ||
610 da->col + da->width > VGA_TEXT_COLS)
619 attr = (solaris_color_to_pc_color[da->bg_color & 0xf] << 4)
620 | solaris_color_to_pc_color[da->fg_color & 0xf];
621 string = (uint32_t *)da
631 vgatext_polled_display( struct vis_polledio_arg *arg, struct vis_consdisplay *da) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/pchtemp/
H A Dpchtemp.c310 ddi_device_acc_attr_t da; local
349 bzero(&da, sizeof (ddi_device_acc_attr_t));
350 da.devacc_attr_version = DDI_DEVICE_ATTR_V0;
351 da.devacc_attr_endian_flags = DDI_STRUCTURE_LE_ACC;
352 da.devacc_attr_dataorder = DDI_STRICTORDER_ACC;
355 da.devacc_attr_access = DDI_FLAGERR_ACC;
357 da.devacc_attr_access = DDI_DEFAULT_ACC;
361 0, memsize, &da, &pch->pcht_handle)) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_cmd.c125 door_arg_t da; local
156 da.data_ptr = (char *)arg;
157 da.data_size = sizeof (nfscmd_arg_t);
158 da.desc_ptr = NULL;
159 da.desc_num = 0;
160 da.rbuf = (char *)res;
161 da.rsize = sizeof (nfscmd_res_t);
163 switch (door_ki_upcall(dh, &da)) {
H A Dnfs_xdr.c889 xdr_diropargs(XDR *xdrs, struct nfsdiropargs *da) argument
900 da->da_fhandle = &da->da_fhandle_buf;
904 fhp = (int32_t *)da->da_fhandle;
919 if (da->da_name == NULL) {
920 da->da_name = kmem_alloc(nodesize, KM_NOSLEEP);
921 if (da->da_name == NULL)
923 da->da_flags |= DA_FREENAME;
927 if (!xdr_opaque(xdrs, da->da_name, size)) {
928 if (da
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dklpd.c289 door_arg_t da; local
302 da.data_ptr = (char *)klh;
303 da.data_size = klh->klh_len;
304 da.desc_ptr = NULL;
305 da.desc_num = 0;
306 da.rbuf = (char *)&res;
307 da.rsize = sizeof (res);
309 while ((dres = door_ki_upcall_limited(p->klpd_door, &da, NULL,
330 if (da.rbuf != (char *)&res) {
331 kmem_free(da
850 door_arg_t da; local
1003 door_arg_t da; local
1093 door_arg_t da; local
[all...]
/illumos-gate/usr/src/lib/libpkg/common/
H A Dpkgserv.c489 door_arg_t da; local
491 da.data_ptr = cmd;
492 da.data_size = len;
493 da.desc_ptr = NULL;
494 da.desc_num = 0;
495 da.rbuf = result == NULL ? NULL : *result;
496 da.rsize = rlen == NULL ? 0 : *rlen;
498 if (door_call(srv->door, &da) != 0) {
504 if (da.desc_ptr != NULL) {
507 *fd = da
[all...]
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/
H A Dvidconsole.c459 vidc_text_cons_display(struct vis_consdisplay *da) argument
469 data = (tem_char_t *)da->data;
470 attr = (solaris_color_to_pc_color[da->bg_color & 0xf] << 4) |
471 solaris_color_to_pc_color[da->fg_color & 0xf];
472 addr = (struct cgatext *)vgatext + (da->row * TEXT_COLS + da->col);
474 for (i = 0; i < da->width; i++) {
/illumos-gate/usr/src/lib/libsysevent/
H A Dlibevchannel.c436 door_arg_t da; local
438 bzero(&da, sizeof (da));
442 (void) door_call(subp->evsub_door_desc, &da);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defi_console.c325 efi_text_cons_display(struct vis_consdisplay *da) argument
337 if (row - 1 == da->row && da->col == 0 && da->width == col)
338 da->width--;
340 data = (tem_char_t *)da->data;
341 fg = solaris_color_to_efi_color[da->fg_color & 0xf];
342 bg = solaris_color_to_efi_color[da->bg_color & 0xf] & 0x7;
348 row = da->row;
349 col = da
[all...]

Completed in 66 milliseconds

12