Lines Matching defs:cell
159 struct afs_cell *cell = as->cell;
182 seq_printf(m, "%c%s:%s%s", pref, cell->name, volume->name, suf);
212 * Parse the source name to get cell name, volume name, volume type and R/W
216 * "%[cell:]volume[.]" R/W volume
217 * "#[cell:]volume[.]" R/O or R/W volume (R/O parent),
219 * "%[cell:]volume.readonly" R/O volume
220 * "#[cell:]volume.readonly" R/O volume
221 * "%[cell:]volume.backup" Backup volume
222 * "#[cell:]volume.backup" Backup volume
227 struct afs_cell *cell;
258 /* split the cell name out if there is one */
288 _debug("cell %*.*s [%p]",
289 cellnamesz, cellnamesz, cellname ?: "", ctx->cell);
291 /* lookup the cell record */
293 cell = afs_lookup_cell(ctx->net, cellname, cellnamesz,
295 if (IS_ERR(cell)) {
296 pr_err("kAFS: unable to lookup cell '%*.*s'\n",
298 return PTR_ERR(cell);
300 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_parse);
301 afs_see_cell(cell, afs_cell_trace_see_source);
302 ctx->cell = cell;
306 ctx->cell->name, ctx->cell,
353 * Validate the options, get the cell key and look up the volume.
359 struct afs_cell *cell;
369 if (!ctx->cell) {
370 pr_warn("kAFS: No cell specified\n");
376 key = afs_request_key(ctx->cell);
388 if (test_bit(AFS_CELL_FL_CHECK_ALIAS, &ctx->cell->flags)) {
389 ret = afs_cell_detect_alias(ctx->cell, key);
396 cell = afs_use_cell(ctx->cell->alias_of,
398 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_fc);
399 ctx->cell = cell;
427 as->cell == ctx->cell &&
517 as->cell = afs_use_cell(ctx->cell, afs_cell_trace_use_sbi);
530 afs_unuse_cell(net, as->cell, afs_cell_trace_unuse_sbi);
599 trace_afs_get_tree(as->cell, as->volume);
616 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_fc);
633 struct afs_cell *cell;
642 /* Default to the workstation cell. */
643 cell = afs_find_cell(ctx->net, NULL, 0, afs_cell_trace_use_fc);
644 if (IS_ERR(cell))
645 cell = NULL;
646 ctx->cell = cell;