Lines Matching defs:items
409 devplcysys_t *items;
436 items = kmem_alloc(mem, KM_SLEEP);
438 if (copyin(uitmp, items, mem)) {
439 kmem_free(items, mem);
444 if (items[0].dps_maj != DEVPOLICY_DFLT_MAJ) {
445 kmem_free(items, mem);
460 curmaj = items[i].dps_maj;
461 len = strlen(items[i].dps_minornm);
463 (tmp = strchr(items[i].dps_minornm, '*')) != NULL;
467 len >= sizeof (items[i].dps_minornm) ||
469 kmem_free(items, mem);
477 kmem_free(items, mem);
485 audit_devpolicy(nitems, items);
507 if (priv_isemptyset(&items[0].dps_rdp) &&
508 priv_isemptyset(&items[0].dps_wrp)) {
513 newdflt->dp_rdp = items[0].dps_rdp;
514 newdflt->dp_wrp = items[0].dps_wrp;
521 de = parse_policy(&items[i], newnull, newdflt);
523 if (j == -1 || curmaj != items[i].dps_maj) {
525 newpolicy[j].t_major = curmaj = items[i].dps_maj;
533 kmem_free(items, mem);
575 * the number of items allocated for the 3rd argument; the size argument