Home
last modified time | relevance | path

Searched refs:devplcysys_t (Results 1 – 8 of 8) sorted by relevance

/titanic_41/usr/src/uts/common/sys/
H A Ddevpolicy.h49 typedef struct devplcysys devplcysys_t; typedef
96 extern int devpolicy_load(int, size_t, devplcysys_t *);
97 extern int devpolicy_get(int *, size_t, devplcysys_t *);
98 extern int devpolicy_getbyname(size_t, devplcysys_t *, char *);
103 #define DEVPLCYSYS_SZ(ip) (sizeof (devplcysys_t) + \
/titanic_41/usr/src/cmd/getdevpolicy/
H A Dgetdevpolicy.c64 printpolicy(const devplcysys_t *ds) in printpolicy()
82 devplcysys_t *ds; in getpolicy()
97 ds = (devplcysys_t *)(mem + i * sz); in getpolicy()
128 devplcysys_t *ds; in getdevpolicy()
/titanic_41/usr/src/cmd/devfsadm/
H A Ddevpolicy.c76 const devplcysys_t *pa = a; in qcmp()
77 const devplcysys_t *pb = b; in qcmp()
155 devplcysys_t *dp, *dflt = NULL; in loadpolicy()
185 dflt = (devplcysys_t *)mem; in loadpolicy()
193 dp = (devplcysys_t *)(mem + devplcysys_sz * cnt); in loadpolicy()
/titanic_41/usr/src/uts/common/os/
H A Ddevpolicy.c337 parse_policy(devplcysys_t *ds, devplcy_t *nullp, devplcy_t *defp) in parse_policy()
404 devpolicy_load(int nitems, size_t sz, devplcysys_t *uitmp) in devpolicy_load()
409 devplcysys_t *items; in devpolicy_load()
431 if (sz != sizeof (devplcysys_t) || nitems > maxdevpolicy || nitems < 1) in devpolicy_load()
579 devpolicy_get(int *nitemp, size_t sz, devplcysys_t *uitmp) in devpolicy_get()
583 devplcysys_t *itmp; in devpolicy_get()
589 if (sz != sizeof (devplcysys_t)) in devpolicy_get()
607 alloced = totitems * sizeof (devplcysys_t); in devpolicy_get()
649 devpolicy_getbyname(size_t sz, devplcysys_t *uitmp, char *devname) in devpolicy_getbyname()
651 devplcysys_t itm; in devpolicy_getbyname()
[all …]
H A Dmodctl.c2552 error = devpolicy_load((int)a1, (size_t)a2, (devplcysys_t *)a3); in modctl()
2557 (devplcysys_t *)a3); in modctl()
2566 (devplcysys_t *)a2, (char *)a3); in modctl()
/titanic_41/usr/src/cmd/modload/
H A Dplcysubr.h47 int parse_plcy_token(char *, devplcysys_t *);
H A Dplcysubr.c90 (char *)DEVPLCYSYS_RDP((devplcysys_t *)0, privimplinfo) - in devplcy_init()
93 (char *)DEVPLCYSYS_WRP((devplcysys_t *)0, privimplinfo) - in devplcy_init()
462 parse_plcy_token(char *token, devplcysys_t *dp) in parse_plcy_token()
538 devplcysys_t *ds; in check_plcy_entry()
/titanic_41/usr/src/uts/common/c2/
H A Daudit.c1725 audit_devpolicy(int nitems, const devplcysys_t *items) in audit_devpolicy()