Lines Matching defs:cell

160 	struct afs_cell *cell = as->cell;
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[.]" R/O or R/W volume (R/O parent),
220 * "%[cell:]volume.readonly" R/O volume
221 * "#[cell:]volume.readonly" R/O volume
222 * "%[cell:]volume.backup" Backup volume
223 * "#[cell:]volume.backup" Backup volume
228 struct afs_cell *cell;
259 /* split the cell name out if there is one */
289 _debug("cell %*.*s [%p]",
290 cellnamesz, cellnamesz, cellname ?: "", ctx->cell);
292 /* lookup the cell record */
294 cell = afs_lookup_cell(ctx->net, cellname, cellnamesz,
296 if (IS_ERR(cell)) {
297 pr_err("kAFS: unable to lookup cell '%*.*s'\n",
299 return PTR_ERR(cell);
301 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_parse);
302 afs_see_cell(cell, afs_cell_trace_see_source);
303 ctx->cell = cell;
307 ctx->cell->name, ctx->cell,
354 * Validate the options, get the cell key and look up the volume.
360 struct afs_cell *cell;
370 if (!ctx->cell) {
371 pr_warn("kAFS: No cell specified\n");
377 key = afs_request_key(ctx->cell);
389 if (test_bit(AFS_CELL_FL_CHECK_ALIAS, &ctx->cell->flags)) {
390 ret = afs_cell_detect_alias(ctx->cell, key);
397 cell = afs_use_cell(ctx->cell->alias_of,
399 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_fc);
400 ctx->cell = cell;
428 as->cell == ctx->cell &&
518 as->cell = afs_use_cell(ctx->cell, afs_cell_trace_use_sbi);
531 afs_unuse_cell(net, as->cell, afs_cell_trace_unuse_sbi);
600 trace_afs_get_tree(as->cell, as->volume);
617 afs_unuse_cell(ctx->net, ctx->cell, afs_cell_trace_unuse_fc);
634 struct afs_cell *cell;
643 /* Default to the workstation cell. */
644 cell = afs_find_cell(ctx->net, NULL, 0, afs_cell_trace_use_fc);
645 if (IS_ERR(cell))
646 cell = NULL;
647 ctx->cell = cell;