| /OK3568_Linux_fs/kernel/block/ |
| H A D | blk-zoned.c | 132 return (get_capacity(disk) + zone_sectors - 1) >> ilog2(zone_sectors); in blkdev_nr_zones() 159 sector_t capacity = get_capacity(disk); in blkdev_report_zones() 183 return !sector && nr_sectors == get_capacity(bdev->bd_disk); in blkdev_allow_reset_all_zones() 208 sector_t capacity = get_capacity(bdev->bd_disk); in blkdev_zone_mgmt() 324 zrange->sector + zrange->nr_sectors > get_capacity(bdev->bd_disk)) in blkdev_truncate_zone_range() 434 sector_t capacity = get_capacity(disk); in blk_revalidate_zone_cb() 529 if (!get_capacity(disk)) in blk_revalidate_disk_zones()
|
| H A D | genhd.c | 55 sector_t capacity = get_capacity(disk); in set_capacity_revalidate_and_notify() 686 if (!get_capacity(disk) || !disk_part_scan_enabled(disk)) in disk_scan_partitions() 1084 if (get_capacity(disk) == 0 || in printk_all_partitions() 1181 if (!get_capacity(sgp) || (!disk_max_parts(sgp) && in show_partition()
|
| /OK3568_Linux_fs/app/forlinx/DWKeyboard/include/pinyin/include/ |
| H A D | sync.h | 73 int get_capacity();
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/include/ |
| H A D | sync.h | 73 int get_capacity();
|
| /OK3568_Linux_fs/kernel/drivers/power/supply/ |
| H A D | ipaq_micro_battery.c | 91 static int get_capacity(struct power_supply *b) in get_capacity() function 161 val->intval = get_capacity(b); in micro_batt_get_property()
|
| /OK3568_Linux_fs/kernel/drivers/rkflash/ |
| H A D | rkflash_api.h | 35 u32 (*get_capacity)(void); member
|
| H A D | rkflash_blk.c | 94 desity = g_boot_ops->get_capacity(); in rk_partition_init() 267 get_capacity(req->rq_disk)) in do_blktrans_all_request() 661 part.size = g_boot_ops->get_capacity(); in rkflash_blk_register()
|
| /OK3568_Linux_fs/kernel/block/partitions/ |
| H A D | core.c | 667 if (from >= get_capacity(disk)) { in blk_add_partition() 676 if (from + size > get_capacity(disk)) { in blk_add_partition() 689 size = get_capacity(disk) - from; in blk_add_partition() 782 if (n >= get_capacity(state->bdev->bd_disk)) { in read_part_sector()
|
| H A D | cmdline.c | 148 disk_size = get_capacity(state->bdev->bd_disk) << 9; in cmdline_partition()
|
| H A D | acorn.c | 543 size = get_capacity(state->bdev->bd_disk); in adfspart_check_EESOX()
|
| /OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/ |
| H A D | sync.cpp | 105 int Sync::get_capacity() { in get_capacity() function in ime_pinyin::Sync
|
| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H A D | zns.c | 127 get_capacity(ns->disk) >> ilog2(ns->zsze)); in nvme_zns_alloc_report_buffer() 190 while (zone_idx < nr_zones && sector < get_capacity(ns->disk)) { in nvme_ns_report_zones()
|
| /OK3568_Linux_fs/kernel/drivers/ide/ |
| H A D | ide-gd.c | 103 (void)drive->disk_ops->get_capacity(drive); in ide_gd_resume() 231 drive->disk_ops->get_capacity(drive);
|
| H A D | ide-floppy.c | 541 .get_capacity = ide_floppy_get_capacity,
|
| /OK3568_Linux_fs/kernel/drivers/md/ |
| H A D | dm-core.h | 127 return get_capacity(md->disk); in dm_get_size()
|
| /OK3568_Linux_fs/kernel/drivers/block/paride/ |
| H A D | pf.c | 357 sector_t capacity = get_capacity(pf->disk); in pf_getgeo() 691 (unsigned long long)get_capacity(pf->disk)); in pf_identify() 851 if (pf_block + pf_count > get_capacity(pf_req->rq_disk)) { in pf_request()
|
| /OK3568_Linux_fs/kernel/drivers/mtd/ubi/ |
| H A D | block.c | 280 geo->sectors = get_capacity(bdev->bd_disk); in ubiblock_getgeo() 559 if (get_capacity(dev->gd) != disk_capacity) { in ubiblock_resize()
|
| /OK3568_Linux_fs/kernel/drivers/block/rsxx/ |
| H A D | dev.c | 136 if (bio_end_sector(bio) > get_capacity(card->gendisk)) in rsxx_submit_bio()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | genhd.h | 344 static inline sector_t get_capacity(struct gendisk *disk) in get_capacity() function
|
| /OK3568_Linux_fs/kernel/drivers/soc/rockchip/ |
| H A D | rockchip_ramdisk.c | 147 if (bio_end_sector(bio) > get_capacity(bio->bi_disk)) in rd_submit_bio()
|
| /OK3568_Linux_fs/kernel/drivers/block/xen-blkback/ |
| H A D | common.h | 365 get_capacity((_v)->bdev->bd_disk))
|
| /OK3568_Linux_fs/kernel/drivers/block/ |
| H A D | brd.c | 293 if (bio_end_sector(bio) > get_capacity(bio->bi_disk)) in brd_submit_bio()
|
| /OK3568_Linux_fs/kernel/fs/ |
| H A D | block_dev.c | 1340 disk_size = (loff_t)get_capacity(disk) << 9; in check_disk_size_change() 1433 if (get_capacity(disk)) { in bdev_disk_changed() 1521 bd_set_nr_sectors(bdev, get_capacity(disk)); in __blkdev_get()
|
| /OK3568_Linux_fs/kernel/drivers/rk_nand/ |
| H A D | rk_nand_blk.c | 201 if (blk_rq_pos(req) + blk_rq_cur_sectors(req) > get_capacity(req->rq_disk)) in do_blktrans_all_request()
|
| /OK3568_Linux_fs/kernel/drivers/mmc/core/ |
| H A D | block.c | 341 geo->cylinders = get_capacity(bdev->bd_disk) / (4 * 16); in mmc_blk_getgeo() 1333 get_capacity(md->disk))) in mmc_blk_data_prep() 2463 string_get_size((u64)get_capacity(part_md->disk), 512, STRING_UNITS_2, in mmc_blk_alloc_part() 2946 string_get_size((u64)get_capacity(md->disk), 512, STRING_UNITS_2, in mmc_blk_probe()
|