Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 27) sorted by relevance

12

/fs/afs/
Dvolume.c20 struct afs_volume *volume) in afs_insert_volume_into_cell() argument
31 if (p->vid < volume->vid) { in afs_insert_volume_into_cell()
33 } else if (p->vid > volume->vid) { in afs_insert_volume_into_cell()
36 volume = afs_get_volume(p, afs_volume_trace_get_cell_insert); in afs_insert_volume_into_cell()
41 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell()
42 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
43 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell()
47 return volume; in afs_insert_volume_into_cell()
51 static void afs_remove_volume_from_cell(struct afs_volume *volume) in afs_remove_volume_from_cell() argument
53 struct afs_cell *cell = volume->cell; in afs_remove_volume_from_cell()
[all …]
Dcallback.c71 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
85 volume = rb_entry(p, struct afs_volume, cell_node); in afs_lookup_volume_rcu()
87 if (volume->vid < vid) in afs_lookup_volume_rcu()
89 else if (volume->vid > vid) in afs_lookup_volume_rcu()
93 volume = NULL; in afs_lookup_volume_rcu()
99 return volume; in afs_lookup_volume_rcu()
108 static void afs_break_one_callback(struct afs_volume *volume, in afs_break_one_callback() argument
117 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
118 volume->cb_v_break++; in afs_break_one_callback()
119 trace_afs_cb_break(fid, volume->cb_v_break, in afs_break_one_callback()
[all …]
Drotate.c28 read_lock(&op->volume->servers_lock); in afs_start_fs_iteration()
30 rcu_dereference_protected(op->volume->servers, in afs_start_fs_iteration()
31 lockdep_is_held(&op->volume->servers_lock))); in afs_start_fs_iteration()
32 read_unlock(&op->volume->servers_lock); in afs_start_fs_iteration()
73 static void afs_busy(struct afs_volume *volume, u32 abort_code) in afs_busy() argument
84 pr_notice("kAFS: Volume %llu '%s' is %s\n", volume->vid, volume->name, m); in afs_busy()
159 write_lock(&op->volume->servers_lock); in afs_select_fileserver()
161 write_unlock(&op->volume->servers_lock); in afs_select_fileserver()
163 set_bit(AFS_VOLUME_NEEDS_UPDATE, &op->volume->flags); in afs_select_fileserver()
164 error = afs_check_volume_status(op->volume, op); in afs_select_fileserver()
[all …]
Dsuper.c158 struct afs_volume *volume = as->volume; in afs_show_devname() local
168 switch (volume->type) { in afs_show_devname()
173 if (volume->type_force) in afs_show_devname()
182 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf); in afs_show_devname()
358 struct afs_volume *volume; in afs_validate_fc() local
382 if (ctx->volume) { in afs_validate_fc()
383 afs_put_volume(ctx->net, ctx->volume, in afs_validate_fc()
385 ctx->volume = NULL; in afs_validate_fc()
404 volume = afs_create_volume(ctx); in afs_validate_fc()
405 if (IS_ERR(volume)) in afs_validate_fc()
[all …]
Dvl_alias.c20 struct afs_volume *volume; in afs_sample_volume() local
30 volume = afs_create_volume(&fc); in afs_sample_volume()
31 _leave(" = %p", volume); in afs_sample_volume()
32 return volume; in afs_sample_volume()
190 struct afs_volume *volume, *pvol = NULL; in afs_query_for_alias_one() local
206 volume = afs_sample_volume(cell, key, pvol->name, pvol->name_len); in afs_query_for_alias_one()
207 if (IS_ERR(volume)) { in afs_query_for_alias_one()
209 if (PTR_ERR(volume) != -ENOMEDIUM) in afs_query_for_alias_one()
210 return PTR_ERR(volume); in afs_query_for_alias_one()
219 if (pvol->vid == volume->vid) { in afs_query_for_alias_one()
[all …]
Dfs_operation.c18 struct afs_operation *afs_alloc_operation(struct key *key, struct afs_volume *volume) in afs_alloc_operation() argument
29 key = afs_request_key(volume->cell); in afs_alloc_operation()
39 op->volume = afs_get_volume(volume, afs_volume_trace_get_new_op); in afs_alloc_operation()
40 op->net = volume->cell->net; in afs_alloc_operation()
41 op->cb_v_break = volume->cb_v_break; in afs_alloc_operation()
150 op->cb_v_break = op->volume->cb_v_break; in afs_begin_vnode_operation()
246 afs_put_volume(op->net, op->volume, afs_volume_trace_put_put_op); in afs_put_operation()
Dinode.c345 vnode->volume->name, in afs_fetch_status()
349 op = afs_alloc_operation(key, vnode->volume); in afs_fetch_status()
398 vnode->volume = as->volume; in afs_iget5_set()
433 vnode->cache = fscache_acquire_cookie(vnode->volume->cache, in afs_get_inode_cache()
495 vnode->volume = as->volume; in afs_iget5_set_root()
496 vnode->fid.vid = as->volume->vid, in afs_iget5_set_root()
516 _enter(",{%llx},,", as->volume->vid); in afs_root_iget()
524 _debug("GOT ROOT INODE %p { vl=%llx }", inode, as->volume->vid); in afs_root_iget()
529 vnode->cb_v_break = as->volume->cb_v_break, in afs_root_iget()
531 op = afs_alloc_operation(key, as->volume); in afs_root_iget()
[all …]
Dxattr.c46 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_get_acl()
110 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_set_acl()
168 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_get_yfs()
242 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_set_yfs()
272 struct afs_cell *cell = vnode->volume->cell; in afs_xattr_get_cell()
337 const char *volname = vnode->volume->name; in afs_xattr_get_volume()
Ddynroot.c34 vnode->volume = as->volume; in afs_iget5_pseudo_set()
54 if (as->volume) in afs_iget_pseudo_dir()
55 fid.vid = as->volume->vid; in afs_iget_pseudo_dir()
Ddir.c578 .fid.vid = as->volume->vid in afs_do_lookup_one()
724 struct afs_volume *volume = dvnode->volume; in afs_server_supports_ibulk() local
729 if (!test_bit(AFS_VOLUME_MAYBE_NO_IBULK, &volume->flags)) in afs_server_supports_ibulk()
733 slist = rcu_dereference(volume->servers); in afs_server_supports_ibulk()
802 op = afs_alloc_operation(NULL, dvnode->volume); in afs_do_lookup()
967 key = afs_request_key(dvnode->volume->cell); in afs_lookup()
1076 key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell); in afs_d_revalidate()
1313 op = afs_alloc_operation(NULL, dvnode->volume); in afs_mkdir()
1398 op = afs_alloc_operation(NULL, dvnode->volume); in afs_rmdir()
1535 op = afs_alloc_operation(NULL, dvnode->volume); in afs_unlink()
[all …]
Dsecurity.c314 if (key == vnode->volume->cell->anonymous_key) { in afs_check_permit_rcu()
354 if (key == vnode->volume->cell->anonymous_key) { in afs_check_permit()
410 key = afs_request_key_rcu(vnode->volume->cell); in afs_permission()
419 key = afs_request_key(vnode->volume->cell); in afs_permission()
Dflock.c198 vnode->volume->name, in afs_set_lock()
204 op = afs_alloc_operation(key, vnode->volume); in afs_set_lock()
229 vnode->volume->name, in afs_extend_lock()
235 op = afs_alloc_operation(key, vnode->volume); in afs_extend_lock()
260 vnode->volume->name, in afs_release_lock()
266 op = afs_alloc_operation(key, vnode->volume); in afs_release_lock()
Dmntpt.c85 if (src_as->volume && src_as->volume->type == AFSVL_RWVOL) { in afs_mntpt_set_params()
Ddir_silly.c68 op = afs_alloc_operation(key, dvnode->volume); in afs_do_silly_rename()
199 op = afs_alloc_operation(NULL, dvnode->volume); in afs_do_silly_unlink()
DMakefile38 volume.o \
Dfile.c123 key = afs_request_key(vnode->volume->cell); in afs_open()
254 vnode->volume->name, in afs_fetch_data()
260 op = afs_alloc_operation(key, vnode->volume); in afs_fetch_data()
Dinternal.h58 struct afs_volume *volume; /* volume record */ member
224 struct afs_volume *volume; /* volume record */ member
618 struct afs_volume *volume; /* volume on which vnode resides */ member
774 struct afs_volume *volume; /* Volume being accessed */ member
976 return cb_break != (vnode->cb_break + vnode->volume->cb_v_break); in afs_cb_is_broken()
Dprotocol_yfs.h81 struct yfs_xdr_u64 volume; member
Dwrite.c432 vnode->volume->name, in afs_store_data()
444 op = afs_alloc_operation(wbk->key, vnode->volume); in afs_store_data()
Dcmservice.c646 cb->fid.vid = xdr_to_u64(bp->volume); in afs_deliver_yfs_cb_callback()
Dserver.c638 alist = afs_vl_lookup_addrs(op->volume->cell, op->key, &server->uuid); in afs_update_server_record()
/fs/affs/
Dsuper.c191 int *blocksize, char **prefix, char *volume, unsigned long *mount_opts) in parse_options() argument
203 volume[0] = ':'; in parse_options()
204 volume[1] = 0; in parse_options()
279 strlcpy(volume, vol, 32); in parse_options()
564 char volume[32]; in affs_remount() local
572 memcpy(volume, sbi->s_volume, 32); in affs_remount()
574 &blocksize, &prefix, volume, in affs_remount()
592 memcpy(sbi->s_volume, volume, 32); in affs_remount()
DChanges241 - Argument to volume option could overflow the
/fs/nfs/blocklayout/
Dblocklayout.h73 u32 volume; member
Ddev.c103 b->slice.volume = be32_to_cpup(p++); in nfs4_block_decode_volume()
407 ret = bl_parse_deviceid(server, d, volumes, v->slice.volume, gfp_mask); in bl_parse_slice()

12