| /linux/fs/iomap/ |
| H A D | direct-io.c | 55 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 D | fops.c | 133 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 D | dio.h | 11 struct dio; 14 void (*mem_pwr_ctrl)(struct dio *dio, bool enable_i2c_light_sleep); 17 struct dio { struct
|
| /linux/drivers/dio/ |
| H A D | Makefile | 6 obj-y := dio.o dio-driver.o dio-sysfs.o
|
| /linux/drivers/gpu/drm/amd/display/dc/dio/dcn10/ |
| H A D | dcn10_dio.c | 19 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 D | dcn10_dio.h | 29 struct dio base;
|
| /linux/fs/ocfs2/ |
| H A D | namei.h | 25 bool dio);
|
| /linux/drivers/scsi/bfa/ |
| H A D | bfad_im.c | 34 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 D | dcn201_hwseq.c | 365 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 D | dcn201_resource.c | 774 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 D | Makefile | 25 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 D | dcn303_resource.c | 268 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 D | dcn302_resource.c | 272 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 D | sysfs-block-loop | 44 What: /sys/block/loopX/loop/dio
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn10/ |
| H A D | dcn10_resource.c | 463 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 D | dcn21_resource.c | 341 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 D | dcn301_resource.c | 862 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 D | ni_670x.c | 68 int dio; member
|
| /linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
| H A D | dcn314_resource.c | 1098 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 D | dcn316_resource.c | 1032 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 D | dcn351_resource.c | 970 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 D | dcn35_resource.c | 990 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 D | dcn31_resource.c | 1040 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 D | dcn315_resource.c | 1039 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 D | dcn36_resource.c | 977 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()
|