Lines Matching refs:pos
98 struct rb_node *pos; in nfs4_get_renew_cred_locked() local
101 for (pos = rb_first(&clp->cl_state_owners); pos != NULL; pos = rb_next(pos)) { in nfs4_get_renew_cred_locked()
102 sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_get_renew_cred_locked()
124 struct rb_node *pos; in nfs4_get_setclientid_cred() local
131 pos = rb_first(&clp->cl_state_owners); in nfs4_get_setclientid_cred()
132 if (pos != NULL) { in nfs4_get_setclientid_cred()
133 sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_get_setclientid_cred()
145 struct nfs_unique_id *pos; in nfs_alloc_unique_id() local
162 pos = rb_entry(parent, struct nfs_unique_id, rb_node); in nfs_alloc_unique_id()
164 if (new->id < pos->id) in nfs_alloc_unique_id()
166 else if (new->id > pos->id) in nfs_alloc_unique_id()
184 pos = rb_entry(parent, struct nfs_unique_id, rb_node); in nfs_alloc_unique_id()
185 if (new->id < pos->id) in nfs_alloc_unique_id()
518 struct nfs4_lock_state *pos; in __nfs4_find_lock_state() local
519 list_for_each_entry(pos, &state->lock_states, ls_locks) { in __nfs4_find_lock_state()
520 if (pos->ls_owner != fl_owner) in __nfs4_find_lock_state()
522 atomic_inc(&pos->ls_count); in __nfs4_find_lock_state()
523 return pos; in __nfs4_find_lock_state()
962 struct rb_node *pos; in nfs4_state_mark_reclaim_helper() local
966 for (pos = rb_first(&clp->cl_state_owners); pos != NULL; pos = rb_next(pos)) { in nfs4_state_mark_reclaim_helper()
967 sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_state_mark_reclaim_helper()
988 struct rb_node *pos; in nfs4_state_end_reclaim_reboot() local
994 for (pos = rb_first(&clp->cl_state_owners); pos != NULL; pos = rb_next(pos)) { in nfs4_state_end_reclaim_reboot()
995 sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_state_end_reclaim_reboot()
1044 struct rb_node *pos; in nfs4_do_reclaim() local
1049 for (pos = rb_first(&clp->cl_state_owners); pos != NULL; pos = rb_next(pos)) { in nfs4_do_reclaim()
1050 struct nfs4_state_owner *sp = rb_entry(pos, struct nfs4_state_owner, so_client_node); in nfs4_do_reclaim()