Lines Matching defs:tcp_all
302 struct type_counts_s *tcp, *tcp_all, *tcp_def, *tcp_norm;
486 tcp_all = &type_counts[0];
490 tcp_all->nuser_objs = tcp_def->nuser_objs + tcp_norm->nuser_objs;
491 tcp_all->ngroup_objs = tcp_def->ngroup_objs + tcp_norm->ngroup_objs;
492 tcp_all->nother_objs = tcp_def->nother_objs + tcp_norm->nother_objs;
493 tcp_all->nclass_objs = tcp_def->nclass_objs + tcp_norm->nclass_objs;
494 tcp_all->ndef_user_objs =
496 tcp_all->ndef_group_objs =
498 tcp_all->ndef_other_objs =
500 tcp_all->ndef_class_objs =
502 tcp_all->nusers = tcp_def->nusers + tcp_norm->nusers;
503 tcp_all->ngroups = tcp_def->ngroups + tcp_norm->ngroups;
504 tcp_all->ndef_users = tcp_def->ndef_users + tcp_norm->ndef_users;
505 tcp_all->ndef_groups = tcp_def->ndef_groups + tcp_norm->ndef_groups;
510 if (tcp_all->nuser_objs != 1 ||
511 tcp_all->ngroup_objs != 1 ||
512 tcp_all->nother_objs != 1 ||
513 tcp_all->nclass_objs > 1) {
517 if (tcp_all->ngroups && !tcp_all->nclass_objs) {
521 if (tcp_all->ndef_user_objs > 1 ||
522 tcp_all->ndef_group_objs > 1 ||
523 tcp_all->ndef_other_objs > 1 ||
524 tcp_all->ndef_class_objs > 1) {
531 numdefs = tcp_all->ndef_other_objs + tcp_all->ndef_user_objs +
532 tcp_all->ndef_group_objs;
561 if (tcp_all->ndef_groups && !tcp_all->ndef_class_objs) {
565 if ((tcp_all->ndef_users || tcp_all->ndef_groups) &&
566 ((numdefs != 3) && !tcp_all->ndef_class_objs)) {