Searched refs:volume (Results 101 - 125 of 172) sorted by path

1234567

/linux-master/fs/afs/
H A Dsecurity.c313 if (key == vnode->volume->cell->anonymous_key) {
353 if (key == vnode->volume->cell->anonymous_key) {
410 key = afs_request_key_rcu(vnode->volume->cell);
419 key = afs_request_key(vnode->volume->cell);
H A Dserver.c639 alist = afs_vl_lookup_addrs(op->volume->cell, op->key, &server->uuid);
H A Dserver_list.c27 struct afs_server_list *afs_alloc_server_list(struct afs_volume *volume, argument
33 unsigned int type_mask = 1 << volume->type;
82 server = afs_lookup_server(volume->cell, key, &vldb->fs_server[i],
100 afs_put_server(volume->cell->net, server,
111 slist->servers[j].volume = volume;
125 afs_put_serverlist(volume->cell->net, slist);
155 * Attach a volume to the servers it is going to use.
157 void afs_attach_volume_to_servers(struct afs_volume *volume, struct afs_server_list *slist) argument
164 down_write(&volume
187 afs_reattach_volume_to_servers(struct afs_volume *volume, struct afs_server_list *new, struct afs_server_list *old) argument
235 afs_detach_volume_from_servers(struct afs_volume *volume, struct afs_server_list *slist) argument
[all...]
H A Dsuper.c159 struct afs_volume *volume = as->volume; local
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[
359 struct afs_volume *volume; local
[all...]
H A Dvalidation.c2 /* vnode and volume validity verification.
19 * (2) On a RW volume, in response to certain vnode (inode)-accessing RPC
27 * (3) On a RO (or Backup) volume, in response to certain vnode-accessing RPC
28 * calls, each server maintains a time-limited per-volume promise that it
29 * will send us a CB.CallBack request if the RO volume is updated to a
30 * snapshot of the RW volume ("vos release"). This is an atomic event
31 * that cuts over all instances of the RO volume across multiple servers
34 * Note that a volume-level callbacks may also be sent for other reasons,
35 * such as the volumeserver taking over control of the volume from the
41 * (4) Certain RPC calls include a volume informatio
122 const struct afs_volume *volume = vnode->volume; local
144 __afs_is_server_excluded(struct afs_operation *op, struct afs_volume *volume) argument
170 afs_is_server_excluded(struct afs_operation *op, struct afs_volume *volume) argument
188 afs_update_volume_creation_time(struct afs_operation *op, struct afs_volume *volume) argument
255 afs_update_volume_update_time(struct afs_operation *op, struct afs_volume *volume) argument
294 afs_update_volume_times(struct afs_operation *op, struct afs_volume *volume) argument
324 struct afs_volume *volume = op->volume; local
384 struct afs_volume *volume = vnode->volume; local
[all...]
H A Dvl_alias.c15 * Sample a volume.
20 struct afs_volume *volume; local
30 volume = afs_create_volume(&fc);
31 _leave(" = %p", volume);
32 return volume;
119 continue; /* Ignore cells that don't have a root.cell volume. */
136 * Query the new cell for a volume from a cell we're already using.
141 struct afs_volume *volume, *pvol = NULL; local
144 /* Arbitrarily pick a volume from the list. */
157 volume
[all...]
H A Dvolume.c2 /* AFS volume management
17 * Insert a volume into a cell. If there's an existing volume record, that is
21 struct afs_volume *volume)
32 if (p->vid < volume->vid) {
34 } else if (p->vid > volume->vid) {
38 volume = p;
42 set_bit(AFS_VOLUME_RM_TREE, &volume->flags);
43 rb_replace_node_rcu(&p->cell_node, &volume->cell_node, &cell->volumes);
47 rb_link_node_rcu(&volume
20 afs_insert_volume_into_cell(struct afs_cell *cell, struct afs_volume *volume) argument
57 afs_remove_volume_from_cell(struct afs_volume *volume) argument
80 struct afs_volume *volume; local
135 struct afs_volume *candidate, *volume; local
199 struct afs_volume *volume; local
237 struct afs_volume *volume = container_of(work, struct afs_volume, destructor); local
260 afs_try_get_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument
274 afs_get_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument
290 afs_put_volume(struct afs_volume *volume, enum afs_volume_trace reason) argument
307 afs_activate_volume(struct afs_volume *volume) argument
336 afs_deactivate_volume(struct afs_volume *volume) argument
352 afs_update_volume_status(struct afs_volume *volume, struct key *key) argument
421 afs_check_volume_status(struct afs_volume *volume, struct afs_operation *op) argument
[all...]
H A Dwrite.c113 vnode->volume->name,
129 op = afs_alloc_operation(wreq->netfs_priv, vnode->volume);
H A Dxattr.c46 op = afs_alloc_operation(NULL, vnode->volume);
111 op = afs_alloc_operation(NULL, vnode->volume);
169 op = afs_alloc_operation(NULL, vnode->volume);
244 op = afs_alloc_operation(NULL, vnode->volume);
274 struct afs_cell *cell = vnode->volume->cell;
292 * Get the volume ID, vnode ID and vnode uniquifier of a file as a sequence of
304 /* The volume ID is 64-bit, the vnode ID is 96-bit and the
331 * Get the name of the volume on which a file resides.
339 const char *volname = vnode->volume->name;
352 .name = "afs.volume",
[all...]
H A Dyfsclient.c24 fid->vid = xdr_to_u64(x->volume);
49 x->volume = u64_to_xdr(fid->vid);
328 * Deliver reply data to operations that just return a file status and a volume
1250 /* extract the volume name length */
1265 /* extract the volume name */
1357 * fetch the status of a volume
1817 /* Extract the volume ACL length */
1839 /* Extract the volume ACL */
/linux-master/fs/cachefiles/
H A DMakefile15 volume.o \
H A Dcache.c322 struct cachefiles_volume *volume = NULL; local
326 volume = list_first_entry(&cache->volumes,
328 list_del_init(&volume->cache_link);
331 if (!volume)
334 cachefiles_withdraw_volume(volume);
H A Dinterface.c24 struct fscache_volume *vcookie = cookie->volume;
25 struct cachefiles_volume *volume = vcookie->cache_priv; local
34 if (cachefiles_ondemand_init_obj_info(object, volume)) {
43 object->volume = volume;
97 cache = object->volume->cache->cache;
180 struct cachefiles_cache *cache = cookie->volume->cache->cache_priv;
235 struct cachefiles_cache *cache = object->volume->cache;
282 struct cachefiles_cache *cache = object->volume->cache;
357 struct cachefiles_cache *cache = object->volume
423 struct cachefiles_volume *volume = object->volume; local
[all...]
H A Dinternal.h37 * Cached volume representation.
43 struct dentry *dentry; /* The volume dentry */
65 struct cachefiles_volume *volume; /* Cache volume that holds this object */ member in struct:cachefiles_object
92 struct list_head volumes; /* List of volume objects */
316 struct cachefiles_volume *volume);
365 struct cachefiles_volume *volume)
400 * volume.c
402 void cachefiles_acquire_volume(struct fscache_volume *volume);
403 void cachefiles_free_volume(struct fscache_volume *volume);
364 cachefiles_ondemand_init_obj_info(struct cachefiles_object *obj, struct cachefiles_volume *volume) argument
[all...]
H A Dio.c214 granularity = max_t(size_t, object->volume->cache->bsize, granularity);
270 atomic_long_sub(ki->b_writing, &object->volume->cache->b_writing);
294 cache = object->volume->cache;
422 cache = object->volume->cache;
524 struct cachefiles_cache *cache = object->volume->cache;
607 struct cachefiles_cache *cache = object->volume->cache;
649 struct cachefiles_cache *cache = object->volume->cache;
H A Dnamei.c69 struct cachefiles_cache *cache = object->volume->cache;
419 struct cachefiles_volume *volume = object->volume; local
421 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash];
430 ret = cachefiles_unlink(volume->cache, object, fan, dentry, why);
442 struct cachefiles_volume *volume = object->volume; local
443 struct cachefiles_cache *cache = volume->cache;
445 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash];
524 ret = cachefiles_has_space(object->volume
625 struct cachefiles_volume *volume = object->volume; local
675 struct cachefiles_volume *volume = object->volume; local
[all...]
H A Dondemand.c11 struct cachefiles_cache *cache = object->volume->cache;
42 struct cachefiles_cache *cache = object->volume->cache;
82 struct cachefiles_cache *cache = object->volume->cache;
219 cache = object->volume->cache;
379 struct cachefiles_cache *cache = object->volume->cache;
477 struct fscache_volume *volume = object->volume->vcookie; local
486 volume_key_size = volume->key[0] + 1;
487 volume_key = volume->key + 1;
539 struct fscache_volume *volume local
569 cachefiles_ondemand_init_obj_info(struct cachefiles_object *object, struct cachefiles_volume *volume) argument
[all...]
H A Dvolume.c14 * Allocate and set up a volume representation. We make sure all the fanout
19 struct cachefiles_volume *volume; local
30 volume = kzalloc(sizeof(struct cachefiles_volume), GFP_KERNEL);
31 if (!volume)
33 volume->vcookie = vcookie;
34 volume->cache = cache;
35 INIT_LIST_HEAD(&volume->cache_link);
51 volume->dentry = vdentry;
54 if (!cachefiles_set_volume_xattr(volume))
57 ret = cachefiles_check_volume_xattr(volume);
108 __cachefiles_free_volume(struct cachefiles_volume *volume) argument
124 struct cachefiles_volume *volume = vcookie->cache_priv; local
134 cachefiles_withdraw_volume(struct cachefiles_volume *volume) argument
[all...]
H A Dxattr.c33 __u8 data[]; /* netfs volume coherency data */
177 struct cachefiles_cache *cache = object->volume->cache;
189 * Set the state xattr on a volume directory.
191 bool cachefiles_set_volume_xattr(struct cachefiles_volume *volume) argument
194 unsigned int len = volume->vcookie->coherency_len;
195 const void *p = volume->vcookie->coherency;
196 struct dentry *dentry = volume->dentry;
199 _enter("%x,#%d", volume->vcookie->debug_id, len);
206 memcpy(buf->data, p, volume->vcookie->coherency_len);
215 trace_cachefiles_vol_coherency(volume, d_inod
233 cachefiles_check_volume_xattr(struct cachefiles_volume *volume) argument
[all...]
/linux-master/fs/erofs/
H A Dfscache.c400 fscache_relinquish_volume(domain->volume, NULL, false);
413 struct fscache_volume *volume; local
422 volume = fscache_acquire_volume(name, NULL, NULL, 0);
423 if (IS_ERR_OR_NULL(volume)) {
424 erofs_err(sb, "failed to register volume for %s", name);
425 ret = volume ? PTR_ERR(volume) : -EOPNOTSUPP;
426 volume = NULL;
429 sbi->volume = volume;
498 struct fscache_volume *volume = EROFS_SB(sb)->volume; local
[all...]
H A Dinternal.h98 struct fscache_volume *volume; member in struct:erofs_domain
166 u8 uuid[16]; /* 128-bit uuid for volume */
167 u8 volume_name[16]; /* volume name */
176 struct fscache_volume *volume; member in struct:erofs_sb_info
/linux-master/fs/netfs/
H A Dfscache_cookie.c48 cookie->volume->debug_id,
49 cookie->volume->key);
185 !fscache_cache_is_live(cookie->volume->cache)) {
295 cookie->key_hash = fscache_hash(cookie->volume->key_hash,
306 a->volume != b->volume ||
326 struct fscache_volume *volume,
340 cookie->volume = volume;
422 fscache_get_volume(candidate->volume, fscache_volume_get_cooki
325 fscache_alloc_cookie( struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument
450 __fscache_acquire_cookie( struct fscache_volume *volume, u8 advice, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, loff_t object_size) argument
1006 struct fscache_volume *volume = cookie->volume; local
[all...]
H A Dfscache_io.c30 if (!fscache_cache_is_live(cookie->volume->cache)) {
61 return cookie->volume->cache->ops->begin_operation(cres, want_state);
118 if (!cookie->volume->cache->ops->begin_operation(cres, want_state))
287 cookie->volume->cache->ops->resize_cookie(&cres, new_size);
H A Dfscache_volume.c20 struct fscache_volume *fscache_get_volume(struct fscache_volume *volume, argument
25 __refcount_inc(&volume->ref, &ref);
26 trace_fscache_volume(volume->debug_id, ref + 1, where);
27 return volume;
30 static void fscache_see_volume(struct fscache_volume *volume, argument
33 int ref = refcount_read(&volume->ref);
35 trace_fscache_volume(volume->debug_id, ref, where);
39 * Pin the cache behind a volume so that we can access it.
41 static void __fscache_begin_volume_access(struct fscache_volume *volume, argument
47 n_accesses = atomic_inc_return(&volume
83 fscache_begin_volume_access(struct fscache_volume *volume, struct fscache_cookie *cookie, enum fscache_access_trace why) argument
106 fscache_end_volume_access(struct fscache_volume *volume, struct fscache_cookie *cookie, enum fscache_access_trace why) argument
136 fscache_is_acquire_pending(struct fscache_volume *volume) argument
204 struct fscache_volume *volume; local
272 struct fscache_volume *volume = local
290 fscache_create_volume(struct fscache_volume *volume, bool wait) argument
324 struct fscache_volume *volume; local
341 fscache_wake_pending_volume(struct fscache_volume *volume, struct hlist_bl_head *h) argument
360 fscache_unhash_volume(struct fscache_volume *volume) argument
378 fscache_free_volume(struct fscache_volume *volume) argument
409 fscache_put_volume(struct fscache_volume *volume, enum fscache_volume_trace where) argument
427 __fscache_relinquish_volume(struct fscache_volume *volume, const void *coherency_data, bool invalidate) argument
451 fscache_withdraw_volume(struct fscache_volume *volume) argument
474 struct fscache_volume *volume; local
[all...]
H A Dinternal.h348 * fscache-volume.c
354 struct fscache_volume *fscache_get_volume(struct fscache_volume *volume,
356 void fscache_put_volume(struct fscache_volume *volume,
358 bool fscache_begin_volume_access(struct fscache_volume *volume,
361 void fscache_create_volume(struct fscache_volume *volume, bool wait);

Completed in 411 milliseconds

1234567