Lines Matching defs:cell

37 	struct afs_cell *cell;
45 cell = list_entry(v, struct afs_cell, proc_link);
46 vllist = rcu_dereference(cell->vl_servers);
48 /* display one cell per line on subsequent lines */
50 refcount_read(&cell->ref),
51 atomic_read(&cell->active),
52 cell->dns_expiry - ktime_get_real_seconds(),
54 cell->state,
55 cell->name);
123 struct afs_cell *cell;
125 cell = afs_lookup_cell(net, name, strlen(name), args, true);
126 if (IS_ERR(cell)) {
127 ret = PTR_ERR(cell);
131 if (test_and_set_bit(AFS_CELL_FL_NO_GC, &cell->flags))
132 afs_unuse_cell(net, cell, afs_cell_trace_unuse_no_pin);
150 * Display the name of the current workstation cell.
154 struct afs_cell *cell;
159 cell = net->ws_cell;
160 if (cell)
161 seq_printf(m, "%s\n", cell->name);
167 * Set the current workstation cell and optionally supply its list of volume
170 * echo "cell.name:192.168.231.14" >/proc/fs/afs/rootcell
207 * Display the list of volumes known to a cell.
228 __acquires(cell->proc_lock)
230 struct afs_cell *cell = pde_data(file_inode(m->file));
233 return seq_hlist_start_head_rcu(&cell->proc_volumes, *_pos);
239 struct afs_cell *cell = pde_data(file_inode(m->file));
241 return seq_hlist_next_rcu(v, &cell->proc_volumes, _pos);
245 __releases(cell->proc_lock)
280 * Display the list of Volume Location servers we're using for a cell.
325 struct afs_cell *cell = pde_data(file_inode(m->file));
330 vllist = rcu_dereference(cell->vl_servers);
610 * initialise /proc/fs/afs/<cell>/
612 int afs_proc_cell_setup(struct afs_cell *cell)
615 struct afs_net *net = cell->net;
617 _enter("%p{%s},%p", cell, cell->name, net->proc_afs);
619 dir = proc_net_mkdir(net->net, cell->name, net->proc_afs);
626 cell) ||
630 cell))
637 remove_proc_subtree(cell->name, net->proc_afs);
644 * remove /proc/fs/afs/<cell>/
646 void afs_proc_cell_remove(struct afs_cell *cell)
648 struct afs_net *net = cell->net;
651 remove_proc_subtree(cell->name, net->proc_afs);