Lines Matching refs:vdp

692 	GVer_desc	*vdp;
694 for (APLIST_TRAVERSE(lst, idx, vdp))
695 if ((vdp->vd_hash == hash) &&
696 (strcmp(vdp->vd_name, name) == 0))
697 return (vdp);
719 GVer_desc *vdp;
721 if ((vdp = gvers_find(name, hash, *lst)) == NULL) {
722 if ((vdp = calloc(sizeof (GVer_desc), 1)) == NULL) {
729 vdp->vd_name = name;
730 vdp->vd_hash = hash;
732 pvs_aplist_append(lst, vdp, file);
734 return (vdp);
744 * vdp - Existing version descriptor to which the dependency
751 * list for vdp. Returns the dependency descriptor. On error,
755 gvers_depend(const char *name, unsigned long hash, GVer_desc *vdp, APlist **lst,
761 pvs_aplist_append(&vdp->vd_deps, _vdp, file);
762 return (vdp);
766 gvers_derefer(GVer_desc *vdp, int weak)
776 if ((weak && (vdp->vd_flags & VER_FLG_WEAK)) || (!weak))
777 vdp->vd_flags &= ~FLG_VER_AVAIL;
779 for (APLIST_TRAVERSE(vdp->vd_deps, idx, _vdp))
785 recurse_syms(const Gver_sym_data *vsdata, GVer_desc *vdp, const char *file)
790 for (APLIST_TRAVERSE(vdp->vd_deps, idx, _vdp)) {
811 GVer_desc *vdp, *bvdp = NULL;
851 vdp = gvers_desc(_name, elf_hash(_name), &verdefs, file);
852 vdp->vd_ndx = ndx;
853 vdp->vd_flags = vdf->vd_flags | FLG_VER_AVAIL;
859 if (gvers_depend(_name, elf_hash(_name), vdp,
868 bvdp = vdp;
875 for (APLIST_TRAVERSE(verdefs, idx1, vdp)) {
878 int type = vdp->vd_flags & VER_FLG_WEAK;
880 for (APLIST_TRAVERSE(vdp->vd_deps, idx2, _vdp))
896 for (APLIST_TRAVERSE(verdefs, idx1, vdp)) {
901 if (!match(NULL, vdp->vd_name, vdp->vd_ndx))
904 !(vdp->vd_flags & FLG_VER_AVAIL))
917 (void) printf(MSG_ORIG(MSG_FMT_VER_NAME), vdp->vd_name);
918 if ((vdp->vd_flags & MSK_VER_USER) != 0) {
923 vdp->vd_flags & MSK_VER_USER,
928 for (APLIST_TRAVERSE(vdp->vd_deps, idx2, _vdp)) {
937 else if (vdp->vd_flags & VER_FLG_WEAK)
960 vdp->vd_name);
966 vdp->vd_name);
980 gvers_syms(vsdata, vdp->vd_ndx, vdp->vd_name, NULL, file);
982 recurse_syms(vsdata, vdp, file);