Lines Matching refs:len
150 if (unlikely(partno < 0 || partno >= ptbl->len)) in __disk_get_part()
205 piter->idx = ptbl->len - 1; in disk_part_iter_init()
249 end = ptbl->len; in disk_part_iter_next()
332 for (i = 1; i < ptbl->len; i++) { in disk_map_sector_rcu()
377 for (i = 1; i < ptbl->len; i++) { in disk_has_partitions()
972 const char *page, size_t len) in disk_badblocks_store() argument
979 return badblocks_store(disk->bb, page, len, 0); in disk_badblocks_store()
1504 int len = old_ptbl ? old_ptbl->len : 0; in disk_expand_part_tbl() local
1519 if (target <= len) in disk_expand_part_tbl()
1527 new_ptbl->len = target; in disk_expand_part_tbl()
1529 for (i = 0; i < len; i++) in disk_expand_part_tbl()