Lines Matching refs:p

158 	struct afs_cell *p;  in afs_compare_cell_roots()  local
164 hlist_for_each_entry_rcu(p, &cell->net->proc_cells, proc_link) { in afs_compare_cell_roots()
165 if (p == cell || p->alias_of) in afs_compare_cell_roots()
167 if (!p->root_volume) in afs_compare_cell_roots()
170 if (afs_compare_volume_slists(cell->root_volume, p->root_volume) != 0) in afs_compare_cell_roots()
180 cell->alias_of = afs_use_cell(p, afs_cell_trace_use_alias); in afs_compare_cell_roots()
188 struct afs_cell *p) in afs_query_for_alias_one() argument
194 read_seqlock_excl(&p->volume_lock); in afs_query_for_alias_one()
195 if (!RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias_one()
196 pvol = afs_get_volume(rb_entry(p->volumes.rb_node, in afs_query_for_alias_one()
199 read_sequnlock_excl(&p->volume_lock); in afs_query_for_alias_one()
236 struct afs_cell *p; in afs_query_for_alias() local
243 hlist_for_each_entry(p, &cell->net->proc_cells, proc_link) { in afs_query_for_alias()
244 if (p == cell || p->alias_of) in afs_query_for_alias()
246 if (RB_EMPTY_ROOT(&p->volumes)) in afs_query_for_alias()
248 if (p->root_volume) in afs_query_for_alias()
250 afs_use_cell(p, afs_cell_trace_use_check_alias); in afs_query_for_alias()
253 if (afs_query_for_alias_one(cell, key, p) != 0) in afs_query_for_alias()
257 afs_unuse_cell(cell->net, p, afs_cell_trace_unuse_check_alias); in afs_query_for_alias()
261 afs_unuse_cell(cell->net, p, afs_cell_trace_unuse_check_alias); in afs_query_for_alias()
269 cell->alias_of = p; /* Transfer our ref */ in afs_query_for_alias()