Home
last modified time | relevance | path

Searched refs:volume (Results 1 – 25 of 30) 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()
37 volume = p; in afs_insert_volume_into_cell()
41 set_bit(AFS_VOLUME_RM_TREE, &volume->flags); in afs_insert_volume_into_cell()
42 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
46 rb_link_node_rcu(&volume->cell_node, parent, pp); in afs_insert_volume_into_cell()
47 rb_insert_color(&volume->cell_node, &cell->volumes); in afs_insert_volume_into_cell()
48 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes); in afs_insert_volume_into_cell()
52 return volume; in afs_insert_volume_into_cell()
[all …]
Dcallback.c81 vnode->cb_v_break = vnode->volume->cb_v_break; in __afs_break_callback()
111 struct afs_volume *volume = NULL; in afs_lookup_volume_rcu() local
125 volume = rb_entry(p, struct afs_volume, cell_node); in afs_lookup_volume_rcu()
127 if (volume->vid < vid) in afs_lookup_volume_rcu()
129 else if (volume->vid > vid) in afs_lookup_volume_rcu()
133 volume = NULL; in afs_lookup_volume_rcu()
139 return volume; in afs_lookup_volume_rcu()
148 static void afs_break_one_callback(struct afs_volume *volume, in afs_break_one_callback() argument
157 write_lock(&volume->cb_v_break_lock); in afs_break_one_callback()
158 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()
248 afs_put_volume(op->net, op->volume, afs_volume_trace_put_put_op); in afs_put_operation()
Dinode.c346 vnode->volume->name, in afs_fetch_status()
350 op = afs_alloc_operation(key, vnode->volume); in afs_fetch_status()
399 vnode->volume = as->volume; in afs_iget5_set()
434 vnode->cache = fscache_acquire_cookie(vnode->volume->cache, in afs_get_inode_cache()
496 vnode->volume = as->volume; in afs_iget5_set_root()
497 vnode->fid.vid = as->volume->vid, in afs_iget5_set_root()
517 _enter(",{%llx},,", as->volume->vid); in afs_root_iget()
525 _debug("GOT ROOT INODE %p { vl=%llx }", inode, as->volume->vid); in afs_root_iget()
530 vnode->cb_v_break = as->volume->cb_v_break, in afs_root_iget()
532 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()
111 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_set_acl()
169 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_get_yfs()
244 op = afs_alloc_operation(NULL, vnode->volume); in afs_xattr_set_yfs()
274 struct afs_cell *cell = vnode->volume->cell; in afs_xattr_get_cell()
339 const char *volname = vnode->volume->name; in afs_xattr_get_volume()
Dfile.c129 key = afs_request_key(vnode->volume->cell); in afs_open()
272 vnode->volume->name, in afs_fetch_data()
278 op = afs_alloc_operation(req->key, vnode->volume); in afs_fetch_data()
503 down_write(&vnode->volume->cell->fs_open_mmaps_lock); in afs_add_open_mmap()
507 &vnode->volume->cell->fs_open_mmaps); in afs_add_open_mmap()
509 up_write(&vnode->volume->cell->fs_open_mmaps_lock); in afs_add_open_mmap()
518 down_write(&vnode->volume->cell->fs_open_mmaps_lock); in afs_drop_open_mmap()
523 up_write(&vnode->volume->cell->fs_open_mmaps_lock); in afs_drop_open_mmap()
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.c657 .fid.vid = as->volume->vid in afs_do_lookup_one()
802 struct afs_volume *volume = dvnode->volume; in afs_server_supports_ibulk() local
807 if (!test_bit(AFS_VOLUME_MAYBE_NO_IBULK, &volume->flags)) in afs_server_supports_ibulk()
811 slist = rcu_dereference(volume->servers); in afs_server_supports_ibulk()
880 op = afs_alloc_operation(NULL, dvnode->volume); in afs_do_lookup()
1045 key = afs_request_key(dvnode->volume->cell); in afs_lookup()
1154 key = afs_request_key(AFS_FS_S(dentry->d_sb)->volume->cell); in afs_d_revalidate()
1392 op = afs_alloc_operation(NULL, dvnode->volume); in afs_mkdir()
1477 op = afs_alloc_operation(NULL, dvnode->volume); in afs_rmdir()
1614 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()
411 key = afs_request_key_rcu(vnode->volume->cell); in afs_permission()
420 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()
Dinternal.h60 struct afs_volume *volume; /* volume record */ member
229 struct afs_volume *volume; /* volume record */ member
629 struct afs_volume *volume; /* volume on which vnode resides */ member
790 struct afs_volume *volume; /* Volume being accessed */ member
993 return cb_break != (vnode->cb_break + vnode->volume->cb_v_break); in afs_cb_is_broken()
1511 bool afs_try_get_volume(struct afs_volume *volume, enum afs_volume_trace reason);
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 \
Dprotocol_yfs.h81 struct yfs_xdr_u64 volume; member
Dwrite.c365 vnode->volume->name, in afs_store_data()
377 op = afs_alloc_operation(wbk->key, vnode->volume); in afs_store_data()
Dcmservice.c650 cb->fid.vid = xdr_to_u64(bp->volume); in afs_deliver_yfs_cb_callback()
/fs/ntfs3/
Dsuper.c388 if (ro_rw && (sbi->volume.flags & VOLUME_FLAG_DIRTY) && in ntfs_fs_reconfigure()
461 if (sbi->volume.ni) in put_ntfs()
462 iput(&sbi->volume.ni->vfs_inode); in put_ntfs()
503 buf->f_fsid.val[0] = sbi->volume.ser_num; in ntfs_statfs()
504 buf->f_fsid.val[1] = (sbi->volume.ser_num >> 32); in ntfs_statfs()
694 sbi->volume.blocks = dev_size >> PAGE_SHIFT; in ntfs_init_from_boot()
748 sbi->volume.size = sectors * boot_sector_size; in ntfs_init_from_boot()
750 gb = format_size_gb(sbi->volume.size + boot_sector_size, &mb); in ntfs_init_from_boot()
807 sbi->volume.ser_num = le64_to_cpu(boot->serial_num); in ntfs_init_from_boot()
810 if (dev_size < sbi->volume.size + boot_sector_size) { in ntfs_init_from_boot()
[all …]
Dfsntfs.c191 if (sbi->volume.major_ver < 3) { in ntfs_extend_init()
913 if (sbi->volume.real_dirty || sb_rdonly(sbi->sb)) in ntfs_set_state()
918 (sbi->volume.flags & VOLUME_FLAG_DIRTY)) in ntfs_set_state()
921 ni = sbi->volume.ni; in ntfs_set_state()
942 sbi->volume.real_dirty = true; in ntfs_set_state()
952 sbi->volume.flags = info->flags; in ntfs_set_state()
/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()
/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