• Home
  • Raw
  • Download

Lines Matching full:cell

25  * Probe to see if a cell may exist.  This prevents positive dentries from
30 struct afs_cell *cell; in afs_probe_cell_name() local
43 cell = afs_lookup_cell_rcu(afs_d2net(dentry), name, len); in afs_probe_cell_name()
44 if (!IS_ERR(cell)) { in afs_probe_cell_name()
45 afs_put_cell(afs_d2net(dentry), cell); in afs_probe_cell_name()
90 * Look up @cell in a dynroot directory. This is a substitution for the
91 * local cell name for the net namespace.
95 struct afs_cell *cell; in afs_lookup_atcell() local
113 cell = rcu_dereference_raw(net->ws_cell); in afs_lookup_atcell()
114 if (cell) { in afs_lookup_atcell()
115 len = cell->name_len; in afs_lookup_atcell()
116 memcpy(name, cell->name, len + 1); in afs_lookup_atcell()
123 if (!cell) in afs_lookup_atcell()
128 /* We don't want to d_add() the @cell dentry here as we don't want to in afs_lookup_atcell()
129 * the cached dentry to hide changes to the local cell name. in afs_lookup_atcell()
157 memcmp(dentry->d_name.name, "@cell", 5) == 0) in afs_dynroot_lookup()
194 * Create a manually added cell mount directory.
197 int afs_dynroot_mkdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_mkdir() argument
209 subdir = lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_mkdir()
224 * Remove a manually added cell mount directory.
227 void afs_dynroot_rmdir(struct afs_net *net, struct afs_cell *cell) in afs_dynroot_rmdir() argument
238 /* Don't want to trigger a lookup call, which will re-add the cell */ in afs_dynroot_rmdir()
239 subdir = try_lookup_one_len(cell->name, root, cell->name_len); in afs_dynroot_rmdir()
259 * Populate a newly created dynamic root with cell names.
263 struct afs_cell *cell; in afs_dynroot_populate() local
271 hlist_for_each_entry(cell, &net->proc_cells, proc_link) { in afs_dynroot_populate()
272 ret = afs_dynroot_mkdir(net, cell); in afs_dynroot_populate()