Lines Matching defs:cell

16  * Insert a volume into a cell.  If there's an existing volume record, that is
19 static struct afs_volume *afs_insert_volume_into_cell(struct afs_cell *cell,
25 write_seqlock(&cell->volume_lock);
27 pp = &cell->volumes.rb_node;
42 rb_insert_color(&volume->cell_node, &cell->volumes);
43 hlist_add_head_rcu(&volume->proc_link, &cell->proc_volumes);
46 write_sequnlock(&cell->volume_lock);
53 struct afs_cell *cell = volume->cell;
58 write_seqlock(&cell->volume_lock);
60 rb_erase(&volume->cell_node, &cell->volumes);
61 write_sequnlock(&cell->volume_lock);
86 volume->cell = afs_get_cell(params->cell, afs_cell_trace_get_vol);
97 slist = afs_alloc_server_list(params->cell, params->key, vldb, type_mask);
109 afs_put_cell(volume->cell, afs_cell_trace_put_vol);
128 volume = afs_insert_volume_into_cell(params->cell, candidate);
137 static struct afs_vldb_entry *afs_vl_lookup_vldb(struct afs_cell *cell,
146 if (!afs_begin_vlserver_operation(&vc, cell, key))
162 * "%[cell:]volume[.]" R/W volume
163 * "#[cell:]volume[.]" R/O or R/W volume (rwparent=0),
165 * "%[cell:]volume.readonly" R/O volume
166 * "#[cell:]volume.readonly" R/O volume
167 * "%[cell:]volume.backup" Backup volume
168 * "#[cell:]volume.backup" Backup volume
170 * The cell name is optional, and defaults to the current cell.
187 vldb = afs_vl_lookup_vldb(params->cell, params->key,
231 afs_put_cell(volume->cell, afs_cell_trace_put_vol);
274 volume->cache = fscache_acquire_cookie(volume->cell->cache,
315 vldb = afs_vl_lookup_vldb(volume->cell, key, idbuf, idsz);
330 new = afs_alloc_server_list(volume->cell, key,
354 afs_put_serverlist(volume->cell->net, discard);