Lines Matching refs:temp
2632 struct usm_user *uuser, *temp, *prev;
2657 SLIST_FOREACH(temp, &usm_userlist, up) {
2658 if ((cmp = usm_compare_user(uuser, temp)) <= 0)
2660 prev = temp;
2663 if (temp == NULL || cmp < 0)
2666 SLIST_INSERT_AFTER(temp, uuser, up);
2743 struct vacm_user *user, *temp, *prev;
2765 SLIST_FOREACH(temp, &vacm_userlist, vvu) {
2766 if ((cmp = vacm_compare_user(user, temp)) <= 0)
2768 prev = temp;
2771 if (temp == NULL || cmp < 0)
2774 SLIST_INSERT_AFTER(temp, user, vvu);
2898 struct vacm_access *acl, *temp;
2926 if ((temp = TAILQ_FIRST(&vacm_accesslist)) == NULL ||
2927 vacm_compare_access_rule(acl, temp) < 0) {
2932 TAILQ_FOREACH(temp, &vacm_accesslist, vva)
2933 if (vacm_compare_access_rule(acl, temp) < 0) {
2934 TAILQ_INSERT_BEFORE(temp, acl, vva);
2991 struct vacm_view *view, *temp, *prev;
3010 SLIST_FOREACH(temp, &vacm_viewlist, vvl) {
3011 if ((cmp = vacm_compare_view(view, temp)) <= 0)
3013 prev = temp;
3016 if (temp == NULL || cmp < 0)
3019 SLIST_INSERT_AFTER(temp, view, vvl);
3057 struct vacm_context *ctx, *temp, *prev;
3079 SLIST_FOREACH(temp, &vacm_contextlist, vcl) {
3080 if (strlen(ctx->ctxname) < strlen(temp->ctxname) ||
3081 strcmp(ctx->ctxname, temp->ctxname) < 0) {
3085 prev = temp;
3088 if (temp == NULL || cmp < 0)
3091 SLIST_INSERT_AFTER(temp, ctx, vcl);
3104 struct vacm_context *ctx, *temp;
3106 SLIST_FOREACH_SAFE(ctx, &vacm_contextlist, vcl, temp)