Home
last modified time | relevance | path

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

/block/
Dgenhd.c57 struct disk_part_tbl *ptbl; in disk_get_part() local
64 ptbl = rcu_dereference(disk->part_tbl); in disk_get_part()
65 if (likely(partno < ptbl->len)) { in disk_get_part()
66 part = rcu_dereference(ptbl->part[partno]); in disk_get_part()
91 struct disk_part_tbl *ptbl; in disk_part_iter_init() local
94 ptbl = rcu_dereference(disk->part_tbl); in disk_part_iter_init()
100 piter->idx = ptbl->len - 1; in disk_part_iter_init()
123 struct disk_part_tbl *ptbl; in disk_part_iter_next() local
132 ptbl = rcu_dereference(piter->disk->part_tbl); in disk_part_iter_next()
143 end = ptbl->len; in disk_part_iter_next()
[all …]