Lines Matching refs:cur
70 struct hashtab_node *cur, *temp;
73 cur = h->htable[i];
74 while (cur) {
75 temp = cur;
76 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;
110 struct hashtab_node *cur;
115 cur = h->htable[i];
116 if (cur) {
119 while (cur) {
121 cur = cur->next;
140 struct hashtab_node *cur, *tmp, *tail;
154 for (cur = orig->htable[i]; cur; cur = cur->next) {
159 rc = copy(tmp, cur, args);
178 for (cur = new->htable[i]; cur; cur = tmp) {
179 tmp = cur->next;
180 destroy(cur->key, cur->datum, args);
181 kmem_cache_free(hashtab_node_cachep, cur);