Lines Matching refs:cur
69 struct hashtab_node *cur, *temp;
72 cur = h->htable[i];
73 while (cur) {
74 temp = cur;
75 cur = cur->next;
91 struct hashtab_node *cur;
94 cur = h->htable[i];
95 while (cur) {
96 ret = apply(cur->key, cur->datum, args);
99 cur = cur->next;
109 struct hashtab_node *cur;
114 cur = h->htable[i];
115 if (cur) {
118 while (cur) {
120 cur = cur->next;
138 struct hashtab_node *cur, *tmp, *tail;
151 for (cur = orig->htable[i]; cur; cur = cur->next) {
156 rc = copy(tmp, cur, args);
175 for (cur = new->htable[i]; cur; cur = tmp) {
176 tmp = cur->next;
177 destroy(cur->key, cur->datum, args);
178 kmem_cache_free(hashtab_node_cachep, cur);