Lines Matching refs:netfs_trans_dst
35 static struct kmem_cache *netfs_trans_dst;
202 struct netfs_trans_dst *netfs_trans_search(struct netfs_state *st, unsigned int gen)
206 struct netfs_trans_dst *tmp, *ret = NULL;
211 tmp = rb_entry(n, struct netfs_trans_dst, state_entry);
228 static int netfs_trans_insert(struct netfs_trans_dst *ndst, struct netfs_state *st)
232 struct netfs_trans_dst *ret = NULL, *tmp;
239 tmp = rb_entry(parent, struct netfs_trans_dst, state_entry);
268 int netfs_trans_remove_nolock(struct netfs_trans_dst *dst, struct netfs_state *st)
278 static int netfs_trans_remove_state(struct netfs_trans_dst *dst)
298 struct netfs_trans_dst *dst;
331 static void netfs_trans_free_dst(struct netfs_trans_dst *dst)
337 static void netfs_trans_remove_dst(struct netfs_trans_dst *dst)
346 void netfs_trans_drop_dst(struct netfs_trans_dst *dst)
361 void netfs_trans_drop_dst_nostate(struct netfs_trans_dst *dst)
380 struct netfs_trans_dst *dst, *tmp, *ret = NULL;
404 struct netfs_trans_dst *dst, *tmp, *ret;
407 ret = list_entry(t->dst_list.prev, struct netfs_trans_dst, trans_entry);
528 struct netfs_trans_dst *dst;
677 netfs_trans_dst = kmem_cache_create("netfs_trans_dst", sizeof(struct netfs_trans_dst),
679 if (!netfs_trans_dst)
682 netfs_trans_dst_pool = mempool_create_slab_pool(256, netfs_trans_dst);
689 kmem_cache_destroy(netfs_trans_dst);
697 kmem_cache_destroy(netfs_trans_dst);