Home
last modified time | relevance | path

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

/block/partitions/
Dibm.c295 int blocksize, res; in ibm_partition() local
304 res = 0; in ibm_partition()
335 res = find_vol1_partitions(state, geo, blocksize, name, in ibm_partition()
338 res = find_lnx1_partitions(state, geo, blocksize, name, in ibm_partition()
342 res = find_cms1_partitions(state, geo, blocksize, name, in ibm_partition()
353 res = 1; in ibm_partition()
362 res = 0; in ibm_partition()
374 return res; in ibm_partition()
Damiga.c46 int part, res = 0; in amiga_partition() local
57 res = -1; in amiga_partition()
104 res = -1; in amiga_partition()
200 res = 1; in amiga_partition()
205 return res; in amiga_partition()
Dcore.c127 int i, res, err; in check_partition() local
145 i = res = err = 0; in check_partition()
146 while (!res && check_part[i]) { in check_partition()
148 res = check_part[i++](state); in check_partition()
149 if (res < 0) { in check_partition()
154 err = res; in check_partition()
155 res = 0; in check_partition()
159 if (res > 0) { in check_partition()
171 res = err; in check_partition()
172 if (res) { in check_partition()
[all …]
/block/
Dblk-mq-debugfs.c468 int res; in hctx_tags_show() local
470 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_show()
471 if (res) in hctx_tags_show()
478 return res; in hctx_tags_show()
485 int res; in hctx_tags_bitmap_show() local
487 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_tags_bitmap_show()
488 if (res) in hctx_tags_bitmap_show()
495 return res; in hctx_tags_bitmap_show()
502 int res; in hctx_sched_tags_show() local
504 res = mutex_lock_interruptible(&q->sysfs_lock); in hctx_sched_tags_show()
[all …]
Dblk-mq-sysfs.c60 ssize_t res; in blk_mq_hw_sysfs_show() local
70 res = entry->show(hctx, page); in blk_mq_hw_sysfs_show()
72 return res; in blk_mq_hw_sysfs_show()
82 ssize_t res; in blk_mq_hw_sysfs_store() local
92 res = entry->store(hctx, page, length); in blk_mq_hw_sysfs_store()
94 return res; in blk_mq_hw_sysfs_store()
Dblk-sysfs.c719 ssize_t res; in queue_attr_show() local
724 res = entry->show(q, page); in queue_attr_show()
726 return res; in queue_attr_show()
735 ssize_t res; in queue_attr_store() local
742 res = entry->store(q, page, length); in queue_attr_store()
744 return res; in queue_attr_store()
Dbdev.c216 int res = sync_filesystem(sb); in fsync_bdev() local
218 return res; in fsync_bdev()
1002 int res = 0; in __invalidate_device() local
1012 res = invalidate_inodes(sb, kill_dirty); in __invalidate_device()
1016 return res; in __invalidate_device()
Dmq-deadline.c169 struct request *rq, *res = NULL; in deadline_from_pos() local
186 res = rq; in deadline_from_pos()
192 return res; in deadline_from_pos()