Searched refs:res (Results 1 – 10 of 10) sorted by relevance
/block/partitions/ |
D | check.c | 146 int i, res, err; in check_partition() local 164 i = res = err = 0; in check_partition() 165 while (!res && check_part[i]) { in check_partition() 167 res = check_part[i++](state); in check_partition() 168 if (res < 0) { in check_partition() 172 err = res; in check_partition() 173 res = 0; in check_partition() 177 if (res > 0) { in check_partition() 187 res = err; in check_partition() 188 if (res) { in check_partition() [all …]
|
D | amiga.c | 35 int start_sect, nr_sects, blk, part, res = 0; in amiga_partition() local 48 res = -1; in amiga_partition() 91 res = -1; in amiga_partition() 136 res = 1; in amiga_partition() 141 return res; in amiga_partition()
|
D | ibm.c | 293 int blocksize, res; in ibm_partition() local 302 res = 0; in ibm_partition() 328 res = find_vol1_partitions(state, geo, blocksize, name, in ibm_partition() 331 res = find_lnx1_partitions(state, geo, blocksize, name, in ibm_partition() 335 res = find_cms1_partitions(state, geo, blocksize, name, in ibm_partition() 346 res = 1; in ibm_partition() 355 res = 0; in ibm_partition() 364 return res; in ibm_partition()
|
/block/ |
D | blk-mq-sysfs.c | 47 ssize_t res; in blk_mq_sysfs_show() local 56 res = -ENOENT; in blk_mq_sysfs_show() 59 res = entry->show(ctx, page); in blk_mq_sysfs_show() 61 return res; in blk_mq_sysfs_show() 70 ssize_t res; in blk_mq_sysfs_store() local 79 res = -ENOENT; in blk_mq_sysfs_store() 82 res = entry->store(ctx, page, length); in blk_mq_sysfs_store() 84 return res; in blk_mq_sysfs_store() 93 ssize_t res; in blk_mq_hw_sysfs_show() local 102 res = -ENOENT; in blk_mq_hw_sysfs_show() [all …]
|
D | partition-generic.c | 438 int res; in drop_partitions() local 442 res = invalidate_partition(disk, 0); in drop_partitions() 443 if (res) in drop_partitions() 444 return res; in drop_partitions() 508 int p, highest, res; in rescan_partitions() local 515 res = drop_partitions(disk, bdev); in rescan_partitions() 516 if (res) in rescan_partitions() 517 return res; in rescan_partitions() 636 int res; in invalidate_partitions() local 641 res = drop_partitions(disk, bdev); in invalidate_partitions() [all …]
|
D | blk-mq-debugfs.c | 458 int res; in hctx_tags_show() local 460 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_show() 461 if (res) in hctx_tags_show() 468 return res; in hctx_tags_show() 475 int res; in hctx_tags_bitmap_show() local 477 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_bitmap_show() 478 if (res) in hctx_tags_bitmap_show() 485 return res; in hctx_tags_bitmap_show() 492 int res; in hctx_sched_tags_show() local 494 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_show() [all …]
|
D | blk-sysfs.c | 737 ssize_t res; in queue_attr_show() local 746 res = entry->show(q, page); in queue_attr_show() 748 return res; in queue_attr_show() 757 ssize_t res; in queue_attr_store() local 768 res = entry->store(q, page, length); in queue_attr_store() 770 return res; in queue_attr_store()
|
D | blk-merge.c | 186 struct bio *split, *res; in blk_queue_split() local 206 res = split ? split : *bio; in blk_queue_split() 207 res->bi_phys_segments = nsegs; in blk_queue_split() 208 bio_set_flag(res, BIO_SEG_VALID); in blk_queue_split()
|
D | ioctl.c | 190 int res; in blkdev_reread_part() local 193 res = __blkdev_reread_part(bdev); in blkdev_reread_part() 196 return res; in blkdev_reread_part()
|
D | genhd.c | 1503 int res = 0; in invalidate_partition() local 1507 res = __invalidate_device(bdev, true); in invalidate_partition() 1510 return res; in invalidate_partition()
|