Searched refs:dps_maj (Results 1 – 5 of 5) sorted by relevance
81 if (pa->dps_maj == DEVPOLICY_DFLT_MAJ) in qcmp()83 if (pb->dps_maj == DEVPOLICY_DFLT_MAJ) in qcmp()86 if (pa->dps_maj > pb->dps_maj) in qcmp()88 else if (pa->dps_maj < pb->dps_maj) in qcmp()201 dp->dps_maj = DEVPOLICY_DFLT_MAJ; in loadpolicy()225 &dp->dps_maj) != 0) in loadpolicy()
444 if (items[0].dps_maj != DEVPOLICY_DFLT_MAJ) { in devpolicy_load()460 curmaj = items[i].dps_maj; in devpolicy_load()523 if (j == -1 || curmaj != items[i].dps_maj) { in devpolicy_load()525 newpolicy[j].t_major = curmaj = items[i].dps_maj; in devpolicy_load()612 itmp[0].dps_maj = DEVPOLICY_DFLT_MAJ; in devpolicy_get()618 itmp[ind].dps_maj = devpolicy[i].t_major; in devpolicy_get()
54 major_t dps_maj; /* major number */ member
102 &ds->dps_maj) != 0) in getpolicy()
1736 au_uwrite(au_to_arg32(2, "major", items[i].dps_maj)); in audit_devpolicy()