Lines Matching refs:volume

159 	struct afs_volume *volume = as->volume;
169 switch (volume->type) {
174 if (volume->type_force)
183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf);
213 * Parse the source name to get cell name, volume name, volume type and R/W
217 * "%[cell:]volume[.]" R/W volume
218 * "#[cell:]volume[.]" R/O or R/W volume (R/O parent),
219 * or R/W (R/W parent) volume
220 * "%[cell:]volume.readonly" R/O volume
221 * "#[cell:]volume.readonly" R/O volume
222 * "%[cell:]volume.backup" Backup volume
223 * "#[cell:]volume.backup" Backup volume
238 printk(KERN_ERR "kAFS: no volume name specified\n");
248 printk(KERN_ERR "kAFS: unparsable volume name\n");
252 /* determine the type of volume we're looking for */
271 /* the volume type is further affected by a possible suffix */
354 * Validate the options, get the cell key and look up the volume.
359 struct afs_volume *volume;
383 if (ctx->volume) {
384 afs_put_volume(ctx->volume, afs_volume_trace_put_validate_fc);
385 ctx->volume = NULL;
404 volume = afs_create_volume(ctx);
405 if (IS_ERR(volume))
406 return PTR_ERR(volume);
408 ctx->volume = volume;
409 if (volume->type != AFSVL_RWVOL) {
427 as->volume &&
428 as->volume->vid == ctx->volume->vid &&
473 sprintf(sb->s_id, "%llu", as->volume->vid);
474 afs_activate_volume(as->volume);
496 rcu_assign_pointer(as->volume->sb, sb);
520 as->volume = afs_get_volume(ctx->volume,
531 afs_put_volume(as->volume, afs_volume_trace_put_destroy_sbi);
548 if (as->volume)
549 rcu_assign_pointer(as->volume->sb, NULL);
551 if (as->volume)
552 afs_deactivate_volume(as->volume);
601 trace_afs_get_tree(as->cell, as->volume);
617 afs_put_volume(ctx->volume, afs_volume_trace_put_free_fc);
696 vnode->volume = NULL;
751 * return information about an AFS volume
770 op = afs_alloc_operation(NULL, as->volume);