Lines Matching defs:pos
179 struct rhash_head *pos;
184 while ((pos = rhashtable_walk_next(&hti))) {
185 if (PTR_ERR(pos) == -EAGAIN) {
189 } else if (IS_ERR(pos)) {
191 PTR_ERR(pos));
311 struct rhlist_head *h, *pos;
327 rhl_for_each_entry_rcu(obj, pos, h, list_node) {
328 if (WARN(pos == &rhl_test_objects[j].list_node, "old element found, should be gone"))
337 rhl_for_each_entry_rcu(obj, pos, h, list_node) {
338 if (pos == &rhl_test_objects[i].list_node) {
482 struct rhash_head *pos, *next;
485 pos = rht_ptr_exclusive(tbl->buckets + i);
486 next = !rht_is_a_nulls(pos) ? rht_dereference(pos->next, ht) : NULL;
488 if (!rht_is_a_nulls(pos)) {
492 while (!rht_is_a_nulls(pos)) {
493 struct rhlist_head *list = container_of(pos, struct rhlist_head, rhead);
496 pos = &list->rhead;
498 p = rht_obj(ht, pos);
505 pos = next,
506 next = !rht_is_a_nulls(pos) ?
507 rht_dereference(pos->next, ht) : NULL;
509 offset += sprintf(buff + offset, "]]%s", !rht_is_a_nulls(pos) ? " -> " : "");