Searched refs:res (Results 1 – 10 of 10) sorted by relevance
/block/partitions/ |
D | check.c | 145 int i, res, err; in check_partition() local 163 i = res = err = 0; in check_partition() 164 while (!res && check_part[i]) { in check_partition() 166 res = check_part[i++](state); in check_partition() 167 if (res < 0) { in check_partition() 171 err = res; in check_partition() 172 res = 0; in check_partition() 176 if (res > 0) { in check_partition() 186 res = err; in check_partition() 187 if (res) { in check_partition() [all …]
|
D | amiga.c | 34 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local 47 res = -1; in amiga_partition() 90 res = -1; in amiga_partition() 135 res = 1; in amiga_partition() 140 return res; in amiga_partition()
|
D | ibm.c | 292 int blocksize, res; in ibm_partition() local 301 res = 0; in ibm_partition() 327 res = find_vol1_partitions(state, geo, blocksize, name, in ibm_partition() 330 res = find_lnx1_partitions(state, geo, blocksize, name, in ibm_partition() 334 res = find_cms1_partitions(state, geo, blocksize, name, in ibm_partition() 345 res = 1; in ibm_partition() 354 res = 0; in ibm_partition() 363 return res; in ibm_partition()
|
/block/ |
D | blk-mq-sysfs.c | 38 ssize_t res; in blk_mq_sysfs_show() local 47 res = -ENOENT; in blk_mq_sysfs_show() 50 res = entry->show(ctx, page); in blk_mq_sysfs_show() 52 return res; in blk_mq_sysfs_show() 61 ssize_t res; in blk_mq_sysfs_store() local 70 res = -ENOENT; in blk_mq_sysfs_store() 73 res = entry->store(ctx, page, length); in blk_mq_sysfs_store() 75 return res; in blk_mq_sysfs_store() 84 ssize_t res; in blk_mq_hw_sysfs_show() local 93 res = -ENOENT; in blk_mq_hw_sysfs_show() [all …]
|
D | partition-generic.c | 419 int res; in drop_partitions() local 423 res = invalidate_partition(disk, 0); in drop_partitions() 424 if (res) in drop_partitions() 425 return res; in drop_partitions() 439 int p, highest, res; in rescan_partitions() local 446 res = drop_partitions(disk, bdev); in rescan_partitions() 447 if (res) in rescan_partitions() 448 return res; in rescan_partitions() 552 int res; in invalidate_partitions() local 557 res = drop_partitions(disk, bdev); in invalidate_partitions() [all …]
|
D | blk-sysfs.c | 567 ssize_t res; in queue_attr_show() local 576 res = entry->show(q, page); in queue_attr_show() 578 return res; in queue_attr_show() 587 ssize_t res; in queue_attr_store() local 598 res = entry->store(q, page, length); in queue_attr_store() 600 return res; in queue_attr_store()
|
D | blk-mq-tag.c | 464 unsigned int free, res; in blk_mq_tag_sysfs_show() local 475 res = bt_unused_tags(&tags->breserved_tags); in blk_mq_tag_sysfs_show() 477 page += sprintf(page, "nr_free=%u, nr_reserved=%u\n", free, res); in blk_mq_tag_sysfs_show()
|
D | blk-merge.c | 194 struct bio *split, *res; in blk_queue_split() local 211 res = split ? split : *bio; in blk_queue_split() 212 res->bi_phys_segments = nsegs; in blk_queue_split() 213 bio_set_flag(res, BIO_SEG_VALID); in blk_queue_split()
|
D | ioctl.c | 187 int res; in blkdev_reread_part() local 190 res = __blkdev_reread_part(bdev); in blkdev_reread_part() 193 return res; in blkdev_reread_part()
|
D | genhd.c | 1409 int res = 0; in invalidate_partition() local 1413 res = __invalidate_device(bdev, true); in invalidate_partition() 1416 return res; in invalidate_partition()
|