Lines Matching refs:ds
64 printpolicy(const devplcysys_t *ds)
68 ss = priv_set_to_str(DEVPLCYSYS_RDP(ds, pi), ',', PRIV_STR_SHORT);
71 ss = priv_set_to_str(DEVPLCYSYS_WRP(ds, pi), ',', PRIV_STR_SHORT);
82 devplcysys_t *ds;
97 ds = (devplcysys_t *)(mem + i * sz);
102 &ds->dps_maj) != 0)
105 if (ds->dps_minornm[0] != '\0') {
106 (void) printf("%s", ds->dps_minornm);
109 (void) printf("(%u", (uint_t)ds->dps_lomin);
110 if (ds->dps_lomin != ds->dps_himin)
112 (uint_t)ds->dps_himin);
114 if (ds->dps_isblock)
121 printpolicy(ds);
128 devplcysys_t *ds;
130 ds = malloc(sz);
132 if (ds == NULL)
135 if (modctl(MODGETDEVPOLICYBYNAME, sz, ds, dev) != 0)
139 printpolicy(ds);
140 free(ds);