Home
last modified time | relevance | path

Searched refs:utab (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/cmd/acct/
H A Dacctprc2.c48 struct utab { struct
78 if (((const struct utab *)node1)->ut_uid > \ in node_compare()
79 ((const struct utab *)node2)->ut_uid) in node_compare()
81 else if (((const struct utab *)node1)->ut_uid < \ in node_compare()
82 ((const struct utab *)node2)->ut_uid) in node_compare()
84 else return(strcmp(((const struct utab *) node1)->ut_name, in node_compare()
85 ((const struct utab *) node2)->ut_name)); in node_compare()
94 struct utab **pt; in enter()
99 if ((ub = (struct utab *)malloc(sizeof (struct utab))) == NULL) { in enter()
113 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \ in enter()
[all …]
H A Dacctprc.c52 struct utab { struct
109 if (((const struct utab *)node1)->ut_uid > \ in node_compare()
110 ((const struct utab *)node2)->ut_uid) in node_compare()
112 else if (((const struct utab *)node1)->ut_uid < \ in node_compare()
113 ((const struct utab *)node2)->ut_uid) in node_compare()
122 struct utab **pt; in enter()
124 if ((ub = (struct utab *)malloc(sizeof (struct utab))) == NULL) { in enter()
138 if (*(pt = (struct utab **)tsearch((void *)ub, (void **)&root, \ in enter()
157 tb.ta_uid = (*(struct utab **)node)->ut_uid; in print_node()
158 CPYN(tb.ta_name, (char *)uidtonam((*(struct utab **)node)->ut_uid)); in print_node()
[all …]