Lines Matching full:volume
81 vnode->cb_v_break = vnode->volume->cb_v_break; in __afs_break_callback()
106 * Look up a volume by volume ID under RCU conditions.
111 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
124 volume = rb_entry(p, struct afs_volume, cell_node); in afs_lookup_volume_rcu()
126 if (volume->vid < vid) in afs_lookup_volume_rcu()
128 else if (volume->vid > vid) in afs_lookup_volume_rcu()
132 volume = NULL; in afs_lookup_volume_rcu()
138 return volume; in afs_lookup_volume_rcu()
147 static void afs_break_one_callback(struct afs_volume *volume, in afs_break_one_callback() argument
155 /* The callback break applies to an entire volume. */ in afs_break_one_callback()
156 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
157 volume->cb_v_break++; in afs_break_one_callback()
158 trace_afs_cb_break(fid, volume->cb_v_break, in afs_break_one_callback()
160 write_unlock(&volume->cb_v_break_lock); in afs_break_one_callback()
168 sb = rcu_dereference(volume->sb); in afs_break_one_callback()
186 struct afs_volume *volume; in afs_break_some_callbacks() local
190 volume = afs_lookup_volume_rcu(server->cell, vid); in afs_break_some_callbacks()
203 if (volume) in afs_break_some_callbacks()
204 afs_break_one_callback(volume, &cbb->fid); in afs_break_some_callbacks()