Searched defs:vdp (Results 1 - 25 of 26) sorted by relevance

12

/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dbool-cast-explicit.c3 typedef void *vdp; typedef
10 static _Bool fvdp(vdp a) { return (_Bool)a; }
H A Dbool-cast-implicit.c3 typedef void *vdp; typedef
10 static _Bool fvdp(vdp a) { return a; }
/illumos-gate/usr/src/cmd/sgs/libconv/common/
H A Dglobals_machelf.c212 * vdp - Array of value descriptors, giving the possible bit values,
222 * The Val_desc2 variant of this routine ignores entries from vdp that
228 _conv_expn_field(CONV_EXPN_FIELD_ARG *arg, const Val_desc *vdp, argument
241 for (; vdp->v_msg; vdp++) {
242 if (arg->oflags & vdp->v_val) {
244 MSG_ORIG_STRTAB(vdp->v_msg, local_sgs_msg)))
248 rflags &= ~(vdp->v_val);
258 const Val_desc2 *vdp, Conv_fmt_flags_t fmt_flags, const char *local_sgs_msg)
270 for (; vdp
257 _conv_expn_field2(CONV_EXPN_FIELD_ARG *arg, uchar_t osabi, Half mach, const Val_desc2 *vdp, Conv_fmt_flags_t fmt_flags, const char *local_sgs_msg) argument
[all...]
H A Dglobals.c85 * vdp - Pointer to NULL terminated array of Val_desc descriptors.
90 * If val is found in the vdp array, and in the osabi version of
99 Conv_fmt_flags_t flags, const Val_desc *vdp, const char *local_sgs_msg)
101 for (; vdp->v_msg; vdp++) {
102 if (val == vdp->v_val)
103 return (MSG_ORIG_STRTAB(vdp->v_msg, local_sgs_msg));
113 Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc2 *vdp,
116 for (; vdp->v_msg; vdp
98 map_vd2str(Conv_inv_buf_t *inv_buf, Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc *vdp, const char *local_sgs_msg) argument
112 map_vd22str(Conv_inv_buf_t *inv_buf, uchar_t osabi, Half mach, Conv_elfvalue_t val, Conv_fmt_flags_t flags, const Val_desc2 *vdp, const char *local_sgs_msg) argument
236 _conv_iter_vd(const Val_desc *vdp, conv_iter_cb_t func, void *uvalue, const char *local_sgs_msg) argument
250 _conv_iter_vd2(conv_iter_osabi_t osabi, Half mach, const Val_desc2 *vdp, conv_iter_cb_t func, void *uvalue, const char *local_sgs_msg) argument
[all...]
H A Dsections.c389 const Val_desc2 *vdp; local
391 vdp = (CONV_TYPE_FMT_ALT(fmt_flags) == CONV_FMT_ALT_NF) ?
394 return (conv_iter_vd2(osabi, EM_NONE, vdp, func, uvalue));
H A Delf.c930 const Val_desc *vdp; local
942 conv_ehdr_sparc_flags_strings(fmt_flags, &mm_msg, &vdp);
953 (void) conv_expn_field(&conv_arg, vdp, fmt_flags);
966 const Val_desc *vdp; local
968 conv_ehdr_sparc_flags_strings(fmt_flags, &ds_msg_mm, &vdp);
981 return (conv_iter_vd(vdp, func, uvalue));
H A Dcorenote.c1465 const Val_desc *vdp; /* NULL, or bitmask description */ member in struct:__anon2
1541 bitmask_descarr[i].vdp, fmt_flags | CONV_FMT_NOBKT);
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dversion.c109 Dbg_ver_desc_entry(Lm_list *lml, Ver_desc *vdp) argument
120 if (vdp->vd_deps) {
121 _vdp = (Ver_desc *)vdp->vd_deps->apl_data[0];
127 (void) sprintf(index, MSG_ORIG(MSG_FMT_INDEX), vdp->vd_ndx);
128 Elf_ver_line_1(lml, index, vdp->vd_name, dep,
129 conv_ver_flags(vdp->vd_flags, 0, &ver_flags_buf));
135 for (APLIST_TRAVERSE(vdp->vd_deps, idx, __vdp)) {
/illumos-gate/usr/src/cmd/fs.d/hsfs/labelit/
H A Dlabelit.c71 char *vdp; variable
/illumos-gate/usr/src/lib/libdladm/common/
H A Dflowprop.c290 do_set_maxbw(dladm_handle_t handle, const char *flow, val_desc_t *vdp, argument
301 if (vdp != NULL && (val = (void *)vdp->vd_val) != NULL) {
325 val_desc_t *vdp = NULL; local
346 vdp = malloc(sizeof (val_desc_t));
347 if (vdp == NULL) {
352 vdp->vd_val = (uintptr_t)maxbw;
353 *vdpp = vdp;
385 do_set_priority(dladm_handle_t handle, const char *flow, val_desc_t *vdp, argument
395 if (vdp !
419 val_desc_t *vdp = NULL; local
504 val_desc_t *vdp; local
[all...]
H A Dpropfuncs.c584 val_desc_t *vdp = NULL; local
595 status = pdp->pd_check(pdp, prop_val, val_cnt, &vdp);
607 if ((vdp = malloc(sizeof (val_desc_t))) == NULL)
610 (void) memcpy(vdp, &pdp->pd_defval, sizeof (val_desc_t));
614 status = pdp->pd_set(handle, name, vdp, cnt);
616 free(vdp);
H A Dlibdlwlan.c877 find_val_by_name(const char *str, val_desc_t *vdp, uint_t cnt, uint_t *valp) argument
882 if (strcasecmp(str, vdp[i].vd_name) == 0) {
883 *valp = vdp[i].vd_val;
891 find_name_by_val(uint_t val, val_desc_t *vdp, uint_t cnt, char **strp) argument
896 if (val == vdp[i].vd_val) {
897 *strp = vdp[i].vd_name;
919 dladm_wlan_val2str(uint_t val, val_desc_t *vdp, uint_t cnt, char *buf) argument
923 if (!find_name_by_val(val, vdp, cnt, &s))
H A Dlinkprop.c909 val_desc_t *vdp = *vdpp; local
921 (void) memcpy(&vdp[j], &pdp->pd_optval[i], sizeof (val_desc_t));
932 val_desc_t *vdp = NULL; local
952 vdp = calloc(val_cnt, sizeof (val_desc_t));
953 if (vdp == NULL)
959 &val_cnt, flags, &vdp, media);
962 &val_cnt, flags, &vdp, media);
985 vdp = calloc(1, sizeof (val_desc_t));
986 if (vdp == NULL)
990 (void) memcpy(vdp,
1405 val_desc_t *vdp; local
1633 set_zone(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
1683 val_desc_t *vdp = *vdpp; local
1758 val_desc_t *vdp = *vdpp; local
1784 extract_maxbw(val_desc_t *vdp, uint_t cnt, void *arg) argument
1861 val_desc_t *vdp = *vdpp; local
1953 extract_cpus(val_desc_t *vdp, uint_t cnt, void *arg) argument
2023 val_desc_t *vdp = *vdpp; local
2070 extract_pool(val_desc_t *vdp, uint_t cnt, void *arg) argument
2118 extract_priority(val_desc_t *vdp, uint_t cnt, void *arg) argument
2285 extract_rxrings(val_desc_t *vdp, uint_t cnt, void *arg) argument
2355 extract_txrings(val_desc_t *vdp, uint_t cnt, void *arg) argument
2386 set_resource(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
2499 extract_protection(val_desc_t *vdp, uint_t cnt, void *arg) argument
2514 extract_allowedips(val_desc_t *vdp, uint_t cnt, void *arg) argument
2641 val_desc_t *vdp = *vdpp; local
2950 extract_allowedcids(val_desc_t *vdp, uint_t cnt, void *arg) argument
2979 val_desc_t *vdp = *vdpp; local
3046 val_desc_t *vdp = *vdpp; local
3075 set_secondary_macs(dladm_handle_t handle, prop_desc_t *pd, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
3196 val_desc_t *vdp = *vdpp; local
3334 set_rate(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
3369 val_desc_t *vdp = *vdpp; local
3477 set_powermode(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
3540 set_radio(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
3572 val_desc_t *vdp = *vdpp; local
3595 val_desc_t *vdp = *vdpp; local
3796 set_public_prop(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
4375 set_stp_prop(dladm_handle_t handle, prop_desc_t *pd, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
4401 val_desc_t *vdp = *vdpp; local
4486 set_bridge_forward(dladm_handle_t handle, prop_desc_t *pd, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
4524 set_bridge_pvid(dladm_handle_t handle, prop_desc_t *pd, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
4554 val_desc_t *vdp = *vdpp; local
4695 val_desc_t *vdp; local
4922 set_promisc_filtered(dladm_handle_t handle, prop_desc_t *pdp, datalink_id_t linkid, val_desc_t *vdp, uint_t val_cnt, uint_t flags, datalink_media_t media) argument
[all...]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dversion.c39 Ver_desc *vdp; local
41 for (APLIST_TRAVERSE(alp, idx, vdp)) {
42 if (vdp->vd_hash != hash)
44 if (strcmp(vdp->vd_name, name) == 0)
45 return (vdp);
59 Ver_desc *vdp; local
61 if ((vdp = libld_calloc(sizeof (Ver_desc), 1)) == NULL)
64 vdp->vd_name = name;
65 vdp->vd_hash = hash;
67 if (aplist_append(alpp, vdp, AL_CNT_VERDESC
91 Ver_desc *vdp; local
174 Ver_desc *vdp; local
308 vers_derefer(Ifl_desc *ifl, Ver_desc *vdp, int weak) argument
365 Ver_desc *vdp; local
463 vers_select(Ofl_desc *ofl, Ifl_desc *ifl, Ver_desc *vdp, const char *ref) argument
480 Ver_desc *vdp; local
776 Ver_desc *vdp; local
955 Ver_desc *vdp; local
1047 Ver_desc *vdp; local
[all...]
H A Dmap_support.c1429 Ver_desc *vdp; local
1456 vdp = ld_vers_find(name, hash, mf->mf_ofl->ofl_verdesc);
1457 if ((vdp == NULL) && ((vdp = ld_vers_desc(name, hash,
1469 if (aplist_append(&mv->mv_vdp->vd_deps, vdp,
1473 if (vdp->vd_ref == NULL)
1474 vdp->vd_ref = mv->mv_vdp;
H A Dsections.c2581 Ver_desc *vdp; local
2589 vdp = (Ver_desc *)ofl->ofl_verdesc->apl_data[0];
2596 if (st_insert(strtab, vdp->vd_name) == -1)
H A Dupdate.c2627 Ver_desc *vdp, *_vdp; local
2649 for (APLIST_TRAVERSE(ofl->ofl_verdesc, idx1, vdp)) {
2652 if (vdp->vd_flags & VER_FLG_BASE) {
2653 const char *name = vdp->vd_name;
2663 vdp->vd_name = (const char *)stoff;
2665 sdp = ld_sym_find(vdp->vd_name, vdp->vd_hash, 0, ofl);
2667 vdp->vd_name = (const char *)
2678 for (APLIST_TRAVERSE(ofl->ofl_verdesc, idx1, vdp)) {
2686 vdf->vd_flags = vdp
[all...]
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxdb.c95 logva(xdb_t *vdp, uint64_t va) argument
100 page_addrs = vdp->page_addrs;
101 for (i = 0; i < XDB_MAX_IO_PAGES(vdp); i++) {
106 for (i = 0; i < XDB_MAX_IO_PAGES(vdp); i++) {
112 ASSERT(i < XDB_MAX_IO_PAGES(vdp));
116 unlogva(xdb_t *vdp, uint64_t va) argument
121 page_addrs = vdp->page_addrs;
122 for (i = 0; i < XDB_MAX_IO_PAGES(vdp); i++) {
128 ASSERT(i < XDB_MAX_IO_PAGES(vdp));
172 xdb_t *vdp; local
195 xdb_kstat_init(xdb_t *vdp) argument
237 xdb_get_buf(xdb_t *vdp, blkif_request_t *req, xdb_request_t *xreq) argument
443 xdb_get_req(xdb_t *vdp) argument
461 xdb_t *vdp = req->xr_vdp; local
469 xdb_response(xdb_t *vdp, blkif_request_t *req, boolean_t ok) argument
479 xdb_init_ioreqs(xdb_t *vdp) argument
510 xdb_uninit_ioreqs(xdb_t *vdp) argument
535 xdb_t *vdp = (xdb_t *)arg; local
637 xdb_t *vdp = xreq->xr_vdp; local
730 xdb_bindto_frontend(xdb_t *vdp) argument
826 xdb_unbindfrom_frontend(xdb_t *vdp) argument
843 xdb_params_change(xdb_t *vdp, char *params, boolean_t update_xs) argument
921 xdb_t *vdp = (xdb_t *)ddi_get_driver_private(dip); local
989 xdb_t *vdp = (xdb_t *)ddi_get_driver_private(dip); local
1034 xdb_media_req_init(xdb_t *vdp) argument
1068 xdb_params_init(xdb_t *vdp) argument
1101 xdb_setup_node(xdb_t *vdp, char *path) argument
1164 xdb_teardown_node(xdb_t *vdp) argument
1207 xdb_open_device(xdb_t *vdp) argument
1305 xdb_close_device(xdb_t *vdp) argument
1333 xdb_start_connect(xdb_t *vdp) argument
1459 xdb_t *vdp = (xdb_t *)ddi_get_driver_private(dip); local
1508 xdb_t *vdp = (xdb_t *)arg; local
1559 xdb_t *vdp = (xdb_t *)ddi_get_driver_private(dip); local
1586 xdb_t *vdp = (xdb_t *)ddi_get_driver_private(dip); local
1643 xdb_t *vdp; local
1781 xdb_t *vdp = XDB_INST2SOFTS(instance); local
1886 xdb_get_request(xdb_t *vdp, blkif_request_t *req) argument
1912 xdb_push_response(xdb_t *vdp, uint64_t id, uint8_t op, uint16_t status) argument
[all...]
H A Dxdf.c114 #define USE_WRITE_BARRIER(vdp) \
115 ((vdp)->xdf_feature_barrier && !(vdp)->xdf_flush_supported)
116 #define USE_FLUSH_DISKCACHE(vdp) \
117 ((vdp)->xdf_feature_barrier && (vdp)->xdf_flush_supported)
118 #define IS_WRITE_BARRIER(vdp, bp) \
119 (!IS_READ(bp) && USE_WRITE_BARRIER(vdp) && \
120 ((bp)->b_un.b_addr == (vdp)->xdf_cache_flush_block))
122 (!IS_READ(bp) && USE_FLUSH_DISKCACHE(vdp)
190 xdf_t *vdp = arg; local
209 xdf_t *vdp = arg; local
226 gs_get(xdf_t *vdp, int isread) argument
295 vreq_get(xdf_t *vdp, buf_t *bp) argument
324 vreq_free(xdf_t *vdp, v_req_t *vreq) argument
371 check_fbwrite(xdf_t *vdp, buf_t *bp, daddr_t blkno) argument
399 vreq_setup(xdf_t *vdp, v_req_t *vreq) argument
602 xdf_cmlb_attach(xdf_t *vdp) argument
623 xdf_kstat_enter(xdf_t *vdp, buf_t *bp) argument
639 xdf_kstat_exit(xdf_t *vdp, buf_t *bp) argument
664 xdf_kstat_waitq_to_runq(xdf_t *vdp, buf_t *bp) argument
678 xdf_kstat_runq_to_waitq(xdf_t *vdp, buf_t *bp) argument
694 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
749 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
809 xdf_bp_push(xdf_t *vdp, buf_t *bp) argument
842 xdf_bp_pop(xdf_t *vdp, buf_t *bp) argument
883 xdf_bp_next(xdf_t *vdp) argument
917 xdf_io_fini(xdf_t *vdp, uint64_t id, int bioerr) argument
956 xdf_intr_locked(xdf_t *vdp) argument
1004 xdf_t *vdp = (xdf_t *)arg; local
1018 xdf_ring_push(xdf_t *vdp) argument
1036 xdf_ring_drain_locked(xdf_t *vdp) argument
1078 xdf_ring_drain(xdf_t *vdp) argument
1091 xdf_ring_destroy(xdf_t *vdp) argument
1175 xdf_eject_pending(xdf_t *vdp) argument
1199 xdf_media_req(xdf_t *vdp, char *req, boolean_t media_required) argument
1242 xdf_process_rreq(xdf_t *vdp, struct buf *bp, blkif_request_t *rreq) argument
1345 xdf_io_start(xdf_t *vdp) argument
1401 xdf_isopen(xdf_t *vdp, int partition) argument
1429 xdf_busy(xdf_t *vdp) argument
1458 xdf_set_state(xdf_t *vdp, xdf_state_t new_state) argument
1469 xdf_disconnect(xdf_t *vdp, xdf_state_t new_state, boolean_t quiet) argument
1521 xdf_setstate_init(xdf_t *vdp) argument
1649 xdf_get_flush_block(xdf_t *vdp) argument
1668 xdf_t *vdp = (xdf_t *)arg; local
1749 xdf_t *vdp; local
1774 xdf_setstate_connected(xdf_t *vdp) argument
1913 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
1984 xdf_connect_locked(xdf_t *vdp, boolean_t wait) argument
2067 xdf_t *vdp = (xdf_t *)arg; local
2188 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
2260 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
2303 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
2315 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
2327 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
2341 xdf_t *vdp; local
2357 xdf_t *vdp; local
2378 xdf_t *vdp; local
2396 xdf_t *vdp; local
2427 xdf_t *vdp; local
2476 xdf_ioctl_mlock(xdf_t *vdp) argument
2489 xdf_ioctl_munlock(xdf_t *vdp) argument
2503 xdf_ioctl_eject(xdf_t *vdp) argument
2538 xdf_dkstate(xdf_t *vdp, enum dkio_state mstate) argument
2573 xdf_t *vdp; local
2747 xdf_t *vdp; local
2860 xdf_t *vdp; local
2893 xdf_t *vdp; local
2926 xdf_t *vdp; local
2957 xdf_t *vdp; local
2988 xdf_t *vdp; local
3042 xdf_t *vdp; local
3076 xdf_t *vdp; local
3153 xdf_t *vdp = (xdf_t *)ddi_get_driver_private(dip); local
3161 xdf_t *vdp = ddi_get_soft_state(xdf_ssp, ddi_get_instance(dip)); local
3212 xdf_t *vdp; local
3264 xdf_devid_fabricate(xdf_t *vdp) argument
3327 xdf_devid_read(xdf_t *vdp) argument
3381 xdf_devid_setup(xdf_t *vdp) argument
3404 xdf_t *vdp; local
3663 xdf_t *vdp; local
3693 xdf_t *vdp; local
[all...]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_mbuf_marshaling.c159 smb_vdb_t *vdp; local
261 vdp = va_arg(ap, struct vardata_block *);
262 vdp->vdb_tag = 0;
263 vdp->vdb_len = repc;
264 vdp->vdb_uio.uio_iov = &vdp->vdb_iovec[0];
265 vdp->vdb_uio.uio_iovcnt = MAX_IOVEC;
266 vdp->vdb_uio.uio_extflg = UIO_COPY_DEFAULT;
267 vdp->vdb_uio.uio_resid = repc;
268 if (mbc_marshal_get_uio(mbc, &vdp
522 smb_vdb_t *vdp; local
[all...]
/illumos-gate/usr/src/cmd/sgs/pvs/common/
H A Dpvs.c693 GVer_desc *vdp; local
695 for (APLIST_TRAVERSE(lst, idx, vdp))
696 if ((vdp->vd_hash == hash) &&
697 (strcmp(vdp->vd_name, name) == 0))
698 return (vdp);
720 GVer_desc *vdp; local
722 if ((vdp = gvers_find(name, hash, *lst)) == NULL) {
723 if ((vdp = calloc(sizeof (GVer_desc), 1)) == NULL) {
730 vdp->vd_name = name;
731 vdp
756 gvers_depend(const char *name, unsigned long hash, GVer_desc *vdp, APlist **lst, const char *file) argument
767 gvers_derefer(GVer_desc *vdp, int weak) argument
786 recurse_syms(const Gver_sym_data *vsdata, GVer_desc *vdp, const char *file) argument
812 GVer_desc *vdp, *bvdp = NULL; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/udfs/fstyp/
H A Dud_lib.c504 * the location pointed by vdp
1663 print_vdp(FILE *fout, struct vol_desc_ptr *vdp) argument
1667 print_tag(fout, &vdp->vdp_tag);
1669 SWAP_32(vdp->vdp_vdsn));
1670 print_ext_ad(fout, "vdse ", &vdp->vdp_nvdse);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev.c539 vdev_alloc(spa_t *spa, vdev_t **vdp, nvlist_t *nv, vdev_t *parent, uint_t id, argument
807 *vdp = vd;
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvds.c667 static void vd_free_dring_task(vd_t *vdp);
6717 uint64_t ldc_id, vd_t **vdp)
6728 ASSERT(vdp != NULL);
6735 *vdp = vd; /* assign here so vds_destroy_vd() can cleanup later */
6859 vd_free_dring_task(vd_t *vdp) argument
6861 if (vdp->dring_task != NULL) {
6862 ASSERT(vdp->dring_len != 0);
6864 for (int i = 0; i < vdp->dring_len; i++) {
6865 (void) ldc_mem_free_handle(vdp->dring_task[i].mhdl);
6866 kmem_free(vdp
6716 vds_do_init_vd(vds_t *vds, uint64_t id, char *device_path, uint64_t options, uint64_t ldc_id, vd_t **vdp) argument
[all...]
/illumos-gate/usr/src/cmd/zdb/
H A Dzdb.c2644 vdev_t *vdp = &vd; local
2648 vdp->vdev_top = vdp;
2650 for (int i = 0; i < VDEV_UBERBLOCK_COUNT(vdp); i++) {
2651 uint64_t uoff = VDEV_UBERBLOCK_OFFSET(vdp, i);

Completed in 558 milliseconds

12