Home
last modified time | relevance | path

Searched refs:tbl (Results 1 – 3 of 3) sorted by relevance

/lib/
Drhashtable.c38 const struct bucket_table *tbl, in head_hashfn() argument
41 return rht_head_hashfn(ht, tbl, he, ht->p); in head_hashfn()
53 int lockdep_rht_bucket_is_held(const struct bucket_table *tbl, u32 hash) in lockdep_rht_bucket_is_held() argument
57 if (unlikely(tbl->nest)) in lockdep_rht_bucket_is_held()
59 return bit_spin_is_locked(0, (unsigned long *)&tbl->buckets[hash]); in lockdep_rht_bucket_is_held()
85 static void nested_bucket_table_free(const struct bucket_table *tbl) in nested_bucket_table_free() argument
87 unsigned int size = tbl->size >> tbl->nest; in nested_bucket_table_free()
88 unsigned int len = 1 << tbl->nest; in nested_bucket_table_free()
92 ntbl = (union nested_table *)rcu_dereference_raw(tbl->buckets[0]); in nested_bucket_table_free()
100 static void bucket_table_free(const struct bucket_table *tbl) in bucket_table_free() argument
[all …]
Ddevres.c322 void __iomem **tbl; in pcim_iomap() local
326 tbl = (void __iomem **)pcim_iomap_table(pdev); in pcim_iomap()
327 if (!tbl || tbl[bar]) /* duplicate mappings not allowed */ in pcim_iomap()
330 tbl[bar] = pci_iomap(pdev, bar, maxlen); in pcim_iomap()
331 return tbl[bar]; in pcim_iomap()
344 void __iomem **tbl; in pcim_iounmap() local
349 tbl = (void __iomem **)pcim_iomap_table(pdev); in pcim_iounmap()
350 BUG_ON(!tbl); in pcim_iounmap()
353 if (tbl[i] == addr) { in pcim_iounmap()
354 tbl[i] = NULL; in pcim_iounmap()
Dtest_rhashtable.c488 const struct bucket_table *tbl; in print_ht() local
495 tbl = rht_dereference(ht->tbl, ht); in print_ht()
496 for (i = 0; i < tbl->size; i++) { in print_ht()
500 pos = rht_ptr_exclusive(tbl->buckets + i); in print_ht()