Lines Matching refs:cur
71 struct hashtab_node *cur, *temp;
74 cur = h->htable[i];
75 while (cur) {
76 temp = cur;
77 cur = cur->next;
92 struct hashtab_node *cur;
95 cur = h->htable[i];
96 while (cur) {
97 ret = apply(cur->key, cur->datum, args);
100 cur = cur->next;
111 struct hashtab_node *cur;
117 cur = h->htable[i];
118 if (cur) {
121 while (cur) {
123 cur = cur->next;
144 struct hashtab_node *cur, *tmp, *tail;
158 for (cur = orig->htable[i]; cur; cur = cur->next) {
163 rc = copy(tmp, cur, args);
182 for (cur = new->htable[i]; cur; cur = tmp) {
183 tmp = cur->next;
184 destroy(cur->key, cur->datum, args);
185 kmem_cache_free(hashtab_node_cachep, cur);