Lines Matching refs:nce_head
2064 struct list_head *nce_head; in name_cache_insert() local
2066 nce_head = radix_tree_lookup(&sctx->name_cache, in name_cache_insert()
2068 if (!nce_head) { in name_cache_insert()
2069 nce_head = kmalloc(sizeof(*nce_head), GFP_KERNEL); in name_cache_insert()
2070 if (!nce_head) { in name_cache_insert()
2074 INIT_LIST_HEAD(nce_head); in name_cache_insert()
2076 ret = radix_tree_insert(&sctx->name_cache, nce->ino, nce_head); in name_cache_insert()
2078 kfree(nce_head); in name_cache_insert()
2083 list_add_tail(&nce->radix_list, nce_head); in name_cache_insert()
2093 struct list_head *nce_head; in name_cache_delete() local
2095 nce_head = radix_tree_lookup(&sctx->name_cache, in name_cache_delete()
2097 if (!nce_head) { in name_cache_delete()
2110 if (nce_head && list_empty(nce_head)) { in name_cache_delete()
2112 kfree(nce_head); in name_cache_delete()
2119 struct list_head *nce_head; in name_cache_search() local
2122 nce_head = radix_tree_lookup(&sctx->name_cache, (unsigned long)ino); in name_cache_search()
2123 if (!nce_head) in name_cache_search()
2126 list_for_each_entry(cur, nce_head, radix_list) { in name_cache_search()