Lines Matching full:volume
159 struct afs_volume *volume = as->volume; in afs_show_devname() local
169 switch (volume->type) { in afs_show_devname()
174 if (volume->type_force) in afs_show_devname()
183 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
211 * Parse the source name to get cell name, volume name, volume type and R/W
215 * "%[cell:]volume[.]" R/W volume
216 * "#[cell:]volume[.]" R/O or R/W volume (R/O parent),
217 * or R/W (R/W parent) volume
218 * "%[cell:]volume.readonly" R/O volume
219 * "#[cell:]volume.readonly" R/O volume
220 * "%[cell:]volume.backup" Backup volume
221 * "#[cell:]volume.backup" Backup volume
236 printk(KERN_ERR "kAFS: no volume name specified\n"); in afs_parse_source()
246 printk(KERN_ERR "kAFS: unparsable volume name\n"); in afs_parse_source()
250 /* determine the type of volume we're looking for */ in afs_parse_source()
269 /* the volume type is further affected by a possible suffix */ in afs_parse_source()
305 _debug("CELL:%s [%p] VOLUME:%*.*s SUFFIX:%s TYPE:%d%s", in afs_parse_source()
353 * Validate the options, get the cell key and look up the volume.
358 struct afs_volume *volume; in afs_validate_fc() local
382 if (ctx->volume) { in afs_validate_fc()
383 afs_put_volume(ctx->volume, afs_volume_trace_put_validate_fc); in afs_validate_fc()
384 ctx->volume = NULL; in afs_validate_fc()
403 volume = afs_create_volume(ctx); in afs_validate_fc()
404 if (IS_ERR(volume)) in afs_validate_fc()
405 return PTR_ERR(volume); in afs_validate_fc()
407 ctx->volume = volume; in afs_validate_fc()
408 if (volume->type != AFSVL_RWVOL) { in afs_validate_fc()
426 as->volume && in afs_test_super()
427 as->volume->vid == ctx->volume->vid && in afs_test_super()
472 sprintf(sb->s_id, "%llu", as->volume->vid); in afs_fill_super()
473 afs_activate_volume(as->volume); in afs_fill_super()
489 rcu_assign_pointer(as->volume->sb, sb); in afs_fill_super()
513 as->volume = afs_get_volume(ctx->volume, in afs_alloc_sbi()
523 afs_put_volume(as->volume, afs_volume_trace_put_destroy_sbi); in afs_destroy_sbi()
537 if (as->volume) in afs_kill_super()
538 rcu_assign_pointer(as->volume->sb, NULL); in afs_kill_super()
540 if (as->volume) in afs_kill_super()
541 afs_deactivate_volume(as->volume); in afs_kill_super()
590 trace_afs_get_tree(as->cell, as->volume); in afs_get_tree()
606 afs_put_volume(ctx->volume, afs_volume_trace_put_free_fc); in afs_free_fc()
685 vnode->volume = NULL; in afs_alloc_inode()
742 * return information about an AFS volume
761 op = afs_alloc_operation(NULL, as->volume); in afs_statfs()