Lines Matching refs:node
190 class_perm_node_t *classperms = NULL, *node = NULL; in read_classperms() local
254 node = calloc(1, sizeof *node); in read_classperms()
255 if (!node) in read_classperms()
257 node->tclass = cls->s.value; in read_classperms()
258 node->next = classperms; in read_classperms()
259 classperms = node; in read_classperms()
327 for (node = classperms; node; node = node->next) in read_classperms()
328 node->data = ~0; in read_classperms()
334 for (node = classperms; node; node = node->next) { in read_classperms()
335 cls = policydb->class_val_to_struct[node->tclass-1]; in read_classperms()
341 …efined in class %s in policy being checked.\n", id, policydb->p_class_val_to_name[node->tclass-1]); in read_classperms()
344 node->data |= 1U << (perm->s.value - 1); in read_classperms()
354 for (node = classperms; node; node = node->next) in read_classperms()
355 node->data = ~node->data; in read_classperms()
359 for (node = classperms; node; node = node->next) in read_classperms()
360 if (!node->data) in read_classperms()
369 for (node = classperms; node; ) { in read_classperms()
370 class_perm_node_t *freeptr = node; in read_classperms()
371 node = node->next; in read_classperms()