Lines Matching refs:afs_cell
51 static struct afs_cell *afs_find_cell_locked(struct afs_net *net, in afs_find_cell_locked()
55 struct afs_cell *cell = NULL; in afs_find_cell_locked()
75 cell = rb_entry(p, struct afs_cell, net_node); in afs_find_cell_locked()
98 struct afs_cell *afs_find_cell(struct afs_net *net, in afs_find_cell()
102 struct afs_cell *cell; in afs_find_cell()
114 static struct afs_cell *afs_alloc_cell(struct afs_net *net, in afs_alloc_cell()
119 struct afs_cell *cell; in afs_alloc_cell()
143 cell = kzalloc(sizeof(struct afs_cell), GFP_KERNEL); in afs_alloc_cell()
234 struct afs_cell *afs_lookup_cell(struct afs_net *net, in afs_lookup_cell()
238 struct afs_cell *cell, *candidate, *cursor; in afs_lookup_cell()
273 cursor = rb_entry(parent, struct afs_cell, net_node); in afs_lookup_cell()
345 struct afs_cell *old_root, *new_root; in afs_cell_init()
394 static int afs_update_cell(struct afs_cell *cell) in afs_update_cell()
491 struct afs_cell *cell = container_of(rcu, struct afs_cell, rcu); in afs_cell_destroy()
540 struct afs_cell *afs_get_cell(struct afs_cell *cell, enum afs_cell_trace reason) in afs_get_cell()
552 void afs_put_cell(struct afs_cell *cell, enum afs_cell_trace reason) in afs_put_cell()
574 struct afs_cell *afs_use_cell(struct afs_cell *cell, enum afs_cell_trace reason) in afs_use_cell()
589 void afs_unuse_cell(struct afs_net *net, struct afs_cell *cell, enum afs_cell_trace reason) in afs_unuse_cell()
619 void afs_see_cell(struct afs_cell *cell, enum afs_cell_trace reason) in afs_see_cell()
631 void afs_queue_cell(struct afs_cell *cell, enum afs_cell_trace reason) in afs_queue_cell()
641 static int afs_alloc_anon_key(struct afs_cell *cell) in afs_alloc_anon_key()
668 static int afs_activate_cell(struct afs_net *net, struct afs_cell *cell) in afs_activate_cell()
671 struct afs_cell *pcell; in afs_activate_cell()
686 pcell = hlist_entry(*p, struct afs_cell, proc_link); in afs_activate_cell()
705 static void afs_deactivate_cell(struct afs_net *net, struct afs_cell *cell) in afs_deactivate_cell()
723 static void afs_manage_cell(struct afs_cell *cell) in afs_manage_cell()
825 struct afs_cell *cell = container_of(work, struct afs_cell, manager); in afs_manage_cell_work()
860 struct afs_cell *cell = in afs_manage_cells()
861 rb_entry(cursor, struct afs_cell, net_node); in afs_manage_cells()
931 struct afs_cell *ws; in afs_cell_purge()