Lines Matching refs:type
76 return a->type == b->type && a->cond == b->cond; in tomoyo_same_acl_head()
116 !(new_entry->type == TOMOYO_TYPE_PATH_ACL && in tomoyo_update_domain()
173 if (ptr->is_deleted || ptr->type != r->param_type) in tomoyo_check_acl()
229 return p1->type == p2->type && p1->is_last_name == p2->is_last_name in tomoyo_same_transition_control()
243 const u8 type) in tomoyo_write_transition_control() argument
245 struct tomoyo_transition_control e = { .type = type }; in tomoyo_write_transition_control()
253 } else if (type == TOMOYO_TRANSITION_CONTROL_NO_KEEP || in tomoyo_write_transition_control()
254 type == TOMOYO_TRANSITION_CONTROL_KEEP) { in tomoyo_write_transition_control()
300 const enum tomoyo_transition_type type) in tomoyo_scan_transition() argument
306 if (ptr->head.is_deleted || ptr->type != type) in tomoyo_scan_transition()
349 enum tomoyo_transition_type type = TOMOYO_TRANSITION_CONTROL_NO_RESET; in tomoyo_transition_type() local
351 while (type < TOMOYO_MAX_TRANSITION_TYPE) { in tomoyo_transition_type()
356 last_name, type)) { in tomoyo_transition_type()
357 type++; in tomoyo_transition_type()
360 if (type != TOMOYO_TRANSITION_CONTROL_NO_RESET && in tomoyo_transition_type()
361 type != TOMOYO_TRANSITION_CONTROL_NO_INITIALIZE) in tomoyo_transition_type()
368 type++; in tomoyo_transition_type()
369 type++; in tomoyo_transition_type()
371 return type; in tomoyo_transition_type()
629 ee->r.type = TOMOYO_MAC_ENVIRON; in tomoyo_environ()