Home
last modified time | relevance | path

Searched refs:dio (Results 1 – 25 of 36) sorted by relevance

12

/linux/fs/iomap/
H A Ddirect-io.c55 struct iomap_dio *dio, unsigned short nr_vecs, blk_opf_t opf) in iomap_dio_alloc_bio() argument
57 if (dio->dops && dio->dops->bio_set) in iomap_dio_alloc_bio()
59 GFP_KERNEL, dio->dops->bio_set); in iomap_dio_alloc_bio()
64 struct iomap_dio *dio, struct bio *bio, loff_t pos) in iomap_dio_submit_bio() argument
66 struct kiocb *iocb = dio->iocb; in iomap_dio_submit_bio()
68 atomic_inc(&dio->ref); in iomap_dio_submit_bio()
76 if (dio->dops && dio->dops->submit_io) { in iomap_dio_submit_bio()
77 dio->dops->submit_io(iter, bio, pos); in iomap_dio_submit_bio()
84 static inline enum fserror_type iomap_dio_err_type(const struct iomap_dio *dio) in iomap_dio_err_type() argument
86 if (dio->flags & IOMAP_DIO_WRITE) in iomap_dio_err_type()
[all …]
/linux/block/
H A Dfops.c133 struct blkdev_dio *dio = bio->bi_private; in blkdev_bio_end_io() local
134 bool should_dirty = dio->flags & DIO_SHOULD_DIRTY; in blkdev_bio_end_io()
135 bool is_sync = dio->flags & DIO_IS_SYNC; in blkdev_bio_end_io()
137 if (bio->bi_status && !dio->bio.bi_status) in blkdev_bio_end_io()
138 dio->bio.bi_status = bio->bi_status; in blkdev_bio_end_io()
143 if (atomic_dec_and_test(&dio->ref)) { in blkdev_bio_end_io()
145 struct kiocb *iocb = dio->iocb; in blkdev_bio_end_io()
150 if (likely(!dio->bio.bi_status)) { in blkdev_bio_end_io()
151 ret = dio->size; in blkdev_bio_end_io()
154 ret = blk_status_to_errno(dio->bio.bi_status); in blkdev_bio_end_io()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddio.h11 struct dio;
14 void (*mem_pwr_ctrl)(struct dio *dio, bool enable_i2c_light_sleep);
17 struct dio { struct
/linux/drivers/dio/
H A DMakefile6 obj-y := dio.o dio-driver.o dio-sysfs.o
/linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/
H A Ddcn10_dio.c19 static void dcn10_dio_mem_pwr_ctrl(struct dio *dio, bool enable_i2c_light_sleep) in dcn10_dio_mem_pwr_ctrl() argument
21 struct dcn10_dio *dio10 = TO_DCN10_DIO(dio); in dcn10_dio_mem_pwr_ctrl()
H A Ddcn10_dio.h29 struct dio base;
/linux/fs/ocfs2/
H A Dnamei.h25 bool dio);
/linux/drivers/scsi/bfa/
H A Dbfad_im.c34 bfa_cb_ioim_done(void *drv, struct bfad_ioim_s *dio, in bfa_cb_ioim_done() argument
38 struct scsi_cmnd *cmnd = (struct scsi_cmnd *)dio; in bfa_cb_ioim_done()
104 bfa_cb_ioim_good_comp(void *drv, struct bfad_ioim_s *dio) in bfa_cb_ioim_good_comp() argument
106 struct scsi_cmnd *cmnd = (struct scsi_cmnd *)dio; in bfa_cb_ioim_good_comp()
132 bfa_cb_ioim_abort(void *drv, struct bfad_ioim_s *dio) in bfa_cb_ioim_abort() argument
134 struct scsi_cmnd *cmnd = (struct scsi_cmnd *)dio; in bfa_cb_ioim_abort()
209 if (hal_io->dio != (struct bfad_ioim_s *) cmnd) { in bfad_im_abort_handler()
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn201/
H A Ddcn201_hwseq.c365 if (dc->res_pool->dio && dc->res_pool->dio->funcs->mem_pwr_ctrl) in dcn201_init_hw()
366 dc->res_pool->dio->funcs->mem_pwr_ctrl(dc->res_pool->dio, false); in dcn201_init_hw()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn201/
H A Ddcn201_resource.c774 static struct dio *dcn201_dio_create(struct dc_context *ctx) in dcn201_dio_create()
961 if (pool->base.dio != NULL) { in dcn201_resource_destruct()
962 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn201_resource_destruct()
963 pool->base.dio = NULL; in dcn201_resource_destruct()
1314 pool->base.dio = dcn201_dio_create(ctx); in dcn201_resource_construct()
1315 if (pool->base.dio == NULL) { in dcn201_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/
H A DMakefile25 DC_LIBS = basics bios dml clk_mgr dce gpio hwss irq link dsc resource optc dpp hubbub dccg hubp dio
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/
H A Ddcn303_resource.c268 static struct dio *dcn303_dio_create(struct dc_context *ctx) in dcn303_dio_create()
998 if (pool->dio != NULL) { in dcn303_resource_destruct()
999 kfree(TO_DCN10_DIO(pool->dio)); in dcn303_resource_destruct()
1000 pool->dio = NULL; in dcn303_resource_destruct()
1343 pool->dio = dcn303_dio_create(ctx); in dcn303_resource_construct()
1344 if (pool->dio == NULL) { in dcn303_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/
H A Ddcn302_resource.c272 static struct dio *dcn302_dio_create(struct dc_context *ctx) in dcn302_dio_create()
1054 if (pool->dio != NULL) { in dcn302_resource_destruct()
1055 kfree(TO_DCN10_DIO(pool->dio)); in dcn302_resource_destruct()
1056 pool->dio = NULL; in dcn302_resource_destruct()
1411 pool->dio = dcn302_dio_create(ctx); in dcn302_resource_construct()
1412 if (pool->dio == NULL) { in dcn302_resource_construct()
/linux/Documentation/ABI/testing/
H A Dsysfs-block-loop44 What: /sys/block/loopX/loop/dio
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/
H A Ddcn10_resource.c463 static struct dio *dcn10_dio_create(struct dc_context *ctx) in dcn10_dio_create()
949 if (pool->base.dio != NULL) { in dcn10_resource_destruct()
950 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn10_resource_destruct()
951 pool->base.dio = NULL; in dcn10_resource_destruct()
1700 pool->base.dio = dcn10_dio_create(ctx); in dcn10_resource_construct()
1701 if (pool->base.dio == NULL) { in dcn10_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/
H A Ddcn21_resource.c341 static struct dio *dcn21_dio_create(struct dc_context *ctx) in dcn21_dio_create()
701 if (pool->base.dio != NULL) { in dcn21_resource_destruct()
702 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn21_resource_destruct()
703 pool->base.dio = NULL; in dcn21_resource_destruct()
1699 pool->base.dio = dcn21_dio_create(ctx); in dcn21_resource_construct()
1700 if (pool->base.dio == NULL) { in dcn21_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/
H A Ddcn301_resource.c862 static struct dio *dcn301_dio_create(struct dc_context *ctx) in dcn301_dio_create()
1099 if (pool->base.dio != NULL) { in dcn301_destruct()
1100 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn301_destruct()
1101 pool->base.dio = NULL; in dcn301_destruct()
1622 pool->base.dio = dcn301_dio_create(ctx); in dcn301_resource_construct()
1623 if (pool->base.dio == NULL) { in dcn301_resource_construct()
/linux/drivers/comedi/drivers/
H A Dni_670x.c68 int dio; member
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/
H A Ddcn314_resource.c1098 static struct dio *dcn314_dio_create(struct dc_context *ctx) in dcn314_dio_create()
1487 if (pool->base.dio != NULL) { in dcn314_resource_destruct()
1488 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn314_resource_destruct()
1489 pool->base.dio = NULL; in dcn314_resource_destruct()
2028 pool->base.dio = dcn314_dio_create(ctx); in dcn314_resource_construct()
2029 if (pool->base.dio == NULL) { in dcn314_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/
H A Ddcn316_resource.c1032 static struct dio *dcn316_dio_create(struct dc_context *ctx) in dcn316_dio_create()
1424 if (pool->base.dio != NULL) { in dcn316_resource_destruct()
1425 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn316_resource_destruct()
1426 pool->base.dio = NULL; in dcn316_resource_destruct()
1934 pool->base.dio = dcn316_dio_create(ctx); in dcn316_resource_construct()
1935 if (pool->base.dio == NULL) { in dcn316_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/
H A Ddcn351_resource.c970 static struct dio *dcn351_dio_create(struct dc_context *ctx) in dcn351_dio_create()
1577 if (pool->base.dio != NULL) { in dcn351_resource_destruct()
1578 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn351_resource_destruct()
1579 pool->base.dio = NULL; in dcn351_resource_destruct()
2056 pool->base.dio = dcn351_dio_create(ctx); in dcn351_resource_construct()
2057 if (pool->base.dio == NULL) { in dcn351_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/
H A Ddcn35_resource.c990 static struct dio *dcn35_dio_create(struct dc_context *ctx) in dcn35_dio_create()
1597 if (pool->base.dio != NULL) { in dcn35_resource_destruct()
1598 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn35_resource_destruct()
1599 pool->base.dio = NULL; in dcn35_resource_destruct()
2084 pool->base.dio = dcn35_dio_create(ctx); in dcn35_resource_construct()
2085 if (pool->base.dio == NULL) { in dcn35_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/
H A Ddcn31_resource.c1040 static struct dio *dcn31_dio_create(struct dc_context *ctx) in dcn31_dio_create()
1428 if (pool->base.dio != NULL) { in dcn31_resource_destruct()
1429 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn31_resource_destruct()
1430 pool->base.dio = NULL; in dcn31_resource_destruct()
2110 pool->base.dio = dcn31_dio_create(ctx); in dcn31_resource_construct()
2111 if (pool->base.dio == NULL) { in dcn31_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/
H A Ddcn315_resource.c1039 static struct dio *dcn315_dio_create(struct dc_context *ctx) in dcn315_dio_create()
1429 if (pool->base.dio != NULL) { in dcn315_resource_destruct()
1430 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn315_resource_destruct()
1431 pool->base.dio = NULL; in dcn315_resource_destruct()
2060 pool->base.dio = dcn315_dio_create(ctx); in dcn315_resource_construct()
2061 if (pool->base.dio == NULL) { in dcn315_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn36/
H A Ddcn36_resource.c977 static struct dio *dcn36_dio_create(struct dc_context *ctx) in dcn36_dio_create()
1584 if (pool->base.dio != NULL) { in dcn36_resource_destruct()
1585 kfree(TO_DCN10_DIO(pool->base.dio)); in dcn36_resource_destruct()
1586 pool->base.dio = NULL; in dcn36_resource_destruct()
2054 pool->base.dio = dcn36_dio_create(ctx); in dcn36_resource_construct()
2055 if (pool->base.dio == NULL) { in dcn36_resource_construct()

12