Lines Matching refs:temp
2798 struct usm_user *uuser, *temp, *prev;
2823 SLIST_FOREACH(temp, &usm_userlist, up) {
2824 if ((cmp = usm_compare_user(uuser, temp)) <= 0)
2826 prev = temp;
2829 if (temp == NULL || cmp < 0)
2832 SLIST_INSERT_AFTER(temp, uuser, up);
2909 struct vacm_user *user, *temp, *prev;
2931 SLIST_FOREACH(temp, &vacm_userlist, vvu) {
2932 if ((cmp = vacm_compare_user(user, temp)) <= 0)
2934 prev = temp;
2937 if (temp == NULL || cmp < 0)
2940 SLIST_INSERT_AFTER(temp, user, vvu);
3064 struct vacm_access *acl, *temp;
3092 if ((temp = TAILQ_FIRST(&vacm_accesslist)) == NULL ||
3093 vacm_compare_access_rule(acl, temp) < 0) {
3098 TAILQ_FOREACH(temp, &vacm_accesslist, vva)
3099 if (vacm_compare_access_rule(acl, temp) < 0) {
3100 TAILQ_INSERT_BEFORE(temp, acl, vva);
3157 struct vacm_view *view, *temp, *prev;
3176 SLIST_FOREACH(temp, &vacm_viewlist, vvl) {
3177 if ((cmp = vacm_compare_view(view, temp)) <= 0)
3179 prev = temp;
3182 if (temp == NULL || cmp < 0)
3185 SLIST_INSERT_AFTER(temp, view, vvl);
3223 struct vacm_context *ctx, *temp, *prev;
3245 SLIST_FOREACH(temp, &vacm_contextlist, vcl) {
3246 if (strlen(ctx->ctxname) < strlen(temp->ctxname) ||
3247 strcmp(ctx->ctxname, temp->ctxname) < 0) {
3251 prev = temp;
3254 if (temp == NULL || cmp < 0)
3257 SLIST_INSERT_AFTER(temp, ctx, vcl);
3270 struct vacm_context *ctx, *temp;
3272 SLIST_FOREACH_SAFE(ctx, &vacm_contextlist, vcl, temp)