Home
last modified time | relevance | path

Searched refs:vio (Results 1 – 25 of 46) sorted by relevance

12

/drivers/md/dm-vdo/
A Dvio.h26 struct vio vio; member
67 static inline void assert_vio_in_bio_zone(struct vio *vio) in assert_vio_in_bio_zone() argument
82 unsigned int block_count, char *data, struct vio *vio);
97 void free_vio_components(struct vio *vio);
98 void free_vio(struct vio *vio);
116 vio->bio = bio; in initialize_vio()
138 static inline bool is_data_vio(struct vio *vio) in is_data_vio() argument
162 static inline void continue_vio(struct vio *vio, int result) in continue_vio() argument
181 continue_vio(vio, blk_status_to_errno(vio->bio->bi_status)); in continue_vio_after_io()
184 void vio_record_metadata_io_error(struct vio *vio);
[all …]
A Dio-submitter.c74 static void count_all_bios(struct vio *vio, struct bio *bio) in count_all_bios() argument
95 static void assert_in_bio_zone(struct vio *vio) in assert_in_bio_zone() argument
107 static void send_bio_to_device(struct vio *vio, struct bio *bio) in send_bio_to_device() argument
124 struct vio *vio = as_vio(completion); in vdo_submit_vio() local
126 send_bio_to_device(vio, vio->bio); in vdo_submit_vio()
138 static struct bio *get_bio_list(struct vio *vio) in get_bio_list() argument
167 struct vio *vio = as_vio(completion); in submit_data_vio() local
189 static struct vio *get_mergeable_locked(struct int_map *map, struct vio *vio, in get_mergeable_locked() argument
224 static int map_merged_vio(struct int_map *bio_map, struct vio *vio) in map_merged_vio() argument
238 static int merge_to_prev_tail(struct int_map *bio_map, struct vio *vio, in merge_to_prev_tail() argument
[all …]
A Dvio.c43 struct vio *vio = bio->bi_private; in pbn_from_vio_bio() local
80 unsigned int block_count, char *data, struct vio *vio) in allocate_vio_components() argument
123 struct vio *vio; in create_multi_block_metadata_vio() local
132 result = vdo_allocate(1, struct vio, __func__, &vio); in create_multi_block_metadata_vio()
153 void free_vio_components(struct vio *vio) in free_vio_components() argument
166 void free_vio(struct vio *vio) in free_vio() argument
169 vdo_free(vio); in free_vio()
286 void vio_record_metadata_io_error(struct vio *vio) in vio_record_metadata_io_error() argument
443 vio->vio.completion.error_handler = NULL; in return_vio_to_pool()
444 vio->vio.completion.parent = NULL; in return_vio_to_pool()
[all …]
A Dio-submitter.h28 void __submit_metadata_vio(struct vio *vio, physical_block_number_t physical,
32 static inline void vdo_submit_metadata_vio(struct vio *vio, physical_block_number_t physical, in vdo_submit_metadata_vio() argument
36 __submit_metadata_vio(vio, physical, callback, error_handler, in vdo_submit_metadata_vio()
37 operation, vio->data, vio->block_count * VDO_BLOCK_SIZE); in vdo_submit_metadata_vio()
40 static inline void vdo_submit_metadata_vio_with_size(struct vio *vio, in vdo_submit_metadata_vio_with_size() argument
47 __submit_metadata_vio(vio, physical, callback, error_handler, in vdo_submit_metadata_vio_with_size()
48 operation, vio->data, size); in vdo_submit_metadata_vio_with_size()
51 static inline void vdo_submit_flush_vio(struct vio *vio, bio_end_io_t callback, in vdo_submit_flush_vio() argument
55 __submit_metadata_vio(vio, 0, callback, error_handler, in vdo_submit_flush_vio()
A Ddata-vio.h267 struct vio vio; member
281 static inline struct data_vio *vio_as_data_vio(struct vio *vio) in vio_as_data_vio() argument
284 return container_of(vio, struct data_vio, vio); in vio_as_data_vio()
315 return data_vio->vio.completion.vdo; in vdo_from_data_vio()
348 vdo_launch_completion(&data_vio->vio.completion); in continue_data_vio()
392 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_hash_zone_callback()
420 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_logical_callback()
450 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_allocated_zone_callback()
480 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_duplicate_zone_callback()
545 vdo_launch_completion(&data_vio->vio.completion); in launch_data_vio_journal_callback()
[all …]
A Dslab-depot.c303 struct vio *vio = bio->bi_private; in write_slab_summary_endio() local
435 struct vio *vio = bio->bi_private; in flush_endio() local
453 struct vio *vio = &pooled->vio; in flush_for_reaping() local
728 struct vio *vio = bio->bi_private; in write_slab_journal_endio() local
744 struct vio *vio = &pooled->vio; in write_slab_journal_block() local
1154 struct vio *vio = bio->bi_private; in write_reference_block_endio() local
2322 struct vio *vio = bio->bi_private; in load_reference_block_endio() local
2338 struct vio *vio = &pooled->vio; in load_reference_block_group() local
2514 struct vio *vio = bio->bi_private; in read_slab_journal_tail_endio() local
2546 struct vio *vio = &pooled->vio; in read_slab_journal_tail() local
[all …]
A Dblock-map.c753 struct vio *vio = bio->bi_private; in load_cache_page_endio() local
804 struct vio *vio = bio->bi_private; in flush_endio() local
814 struct vio *vio; in save_pages() local
827 vio = info->vio; in save_pages()
1032 struct vio *vio = bio->bi_private; in write_cache_page_endio() local
1555 struct vio *vio = as_vio(completion); in finish_page_write() local
1601 struct vio *vio = as_vio(completion); in handle_write_error() local
1614 struct vio *vio = as_vio(completion); in write_initialized_page() local
1641 continue_vio_after_io(&vio->vio, in write_page_endio()
1862 struct vio *vio = bio->bi_private; in load_page_endio() local
[all …]
A Ddata-vio.c574 copy_from_bio(bio, data_vio->vio.data); in launch_bio()
794 &data_vio->vio.data); in initialize_data_vio()
1115 update_vio_error_stats(&data_vio->vio, in update_data_vio_error_stats()
1449 char *data = data_vio->vio.data; in modify_for_partial_write()
1471 char *data = data_vio->vio.data; in complete_read()
1539 struct vio *vio = as_vio(completion); in read_block() local
1556 result = vio_reset_bio(vio, vio->data, read_endio, opf, in read_block()
1560 bio_reset(vio->bio, vio->bio->bi_bdev, opf); in read_block()
1565 vdo_set_bio_properties(vio->bio, vio, read_endio, opf, in read_block()
1605 completion = &data_vio->vio.completion; in update_block_map()
[all …]
A Dvdo.c266 struct vio *vio; in read_geometry_block() local
275 block, &vio); in read_geometry_block()
289 free_vio(vdo_forget(vio)); in read_geometry_block()
295 submit_bio_wait(vio->bio); in read_geometry_block()
297 free_vio(vdo_forget(vio)); in read_geometry_block()
651 free_vio_components(&super_block->vio); in uninitialize_super_block()
733 &vdo->super_block.vio); in initialize_super_block()
765 struct vio *vio = bio->bi_private; in read_super_block_endio() local
937 struct vio *vio = bio->bi_private; in super_block_write_endio() local
966 super_block->vio.completion.parent = parent; in vdo_save_components()
[all …]
A Drecovery-journal.c506 struct vio *vio = bio->bi_private; in flush_endio() local
507 struct recovery_journal *journal = vio->completion.parent; in flush_endio()
509 continue_vio_after_io(vio, complete_reaping, journal->thread_id); in flush_endio()
678 VIO_PRIORITY_HIGH, block, 1, data, &block->vio); in initialize_recovery_block()
813 vdo_free(vdo_forget(block->vio.data)); in vdo_free_recovery_journal()
814 free_vio_components(&block->vio); in vdo_free_recovery_journal()
919 return (struct packed_journal_header *) block->vio.data; in get_block_header()
965 memset(block->vio.data, 0x0, VDO_BLOCK_SIZE); in advance_tail()
1317 struct vio *vio = bio->bi_private; in complete_write_endio() local
1318 struct recovery_journal_block *block = vio->completion.parent; in complete_write_endio()
[all …]
A Drecovery-journal.h126 struct vio vio; member
201 struct vio *flush_vio;
A Dslab-depot.h302 struct vio vio; member
363 struct vio vio; member
A DMakefile12 data-vio.o \
41 vio.o \
A Dpacker.c124 struct vio *, __func__, &bin); in make_bin()
172 struct vio *, __func__, &packer->canceled_bin); in vdo_make_packer()
461 agent->vio.completion.error_handler = handle_compressed_write_error; in write_bin()
467 result = vio_reset_bio(&agent->vio, (char *) block, compressed_write_end_io, in write_bin()
A Ddump.c193 if (data_vio->vio.completion.result != VDO_SUCCESS) in encode_vio_dump_flags()
233 vdo_dump_completion_to_buffer(&data_vio->vio.completion, in dump_data_vio()
/drivers/block/
A Dsunvdc.c97 return container_of(vio, struct vdc_port, vio); in to_vdc_port()
110 return port->vio.ver.major == major && port->vio.ver.minor >= minor; in vdc_version_supported()
193 if (vio->cmp && in vdc_finish()
196 vio->cmp->err = err; in vdc_finish()
198 vio->cmp = NULL; in vdc_finish()
273 vio->name, in vdc_handle_attr()
358 struct vio_driver_state *vio = &port->vio; in vdc_event() local
675 port->vio.cmp = ∁ in generic_request()
881 port->vio.ver.major, port->vio.ver.minor); in probe_disk()
1142 vio = &port->vio; in vdc_ldc_reset_timer_work()
[all …]
/drivers/net/ethernet/sun/
A Dsunvnet_common.c62 ldc_disconnect(port->vio.lp); in vnet_handle_unknown()
556 struct vio_driver_state *vio = &port->vio; in vnet_walk_rx_one() local
577 trace_vnet_rx_one(port->vio._local_sid, port->vio._peer_sid, in vnet_walk_rx_one()
590 struct vio_driver_state *vio = &port->vio; in vnet_walk_rx() local
649 struct vio_driver_state *vio = &port->vio; in vnet_rx() local
774 struct vio_driver_state *vio = &vnet->vio; in sunvnet_port_is_up_common() local
783 struct vio_driver_state *vio = &port->vio; in vnet_event_napi() local
803 vio_port_up(vio); in vnet_event_napi()
859 vio_conn_reset(vio); in vnet_event_napi()
917 struct vio_driver_state *vio = &port->vio; in sunvnet_poll_common() local
[all …]
A Dsunvnet_common.h59 struct vio_driver_state vio; member
93 static inline struct vnet_port *to_vnet_port(struct vio_driver_state *vio) in to_vnet_port() argument
95 return container_of(vio, struct vnet_port, vio); in to_vnet_port()
147 int sunvnet_send_attr_common(struct vio_driver_state *vio);
148 int sunvnet_handle_attr_common(struct vio_driver_state *vio, void *arg);
149 void sunvnet_handshake_complete_common(struct vio_driver_state *vio);
A Dldmvsw.c130 struct vio_driver_state *vio = &port->vio; in ldmvsw_open() local
133 vio_link_state_change(vio, LDC_EVENT_RESET); in ldmvsw_open()
135 vio_port_up(vio); in ldmvsw_open()
347 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vsw_port_probe()
353 err = vio_ldc_alloc(&port->vio, &vsw_ldc_cfg, port); in vsw_port_probe()
378 vio_port_up(&port->vio); in vsw_port_probe()
398 vio_ldc_free(&port->vio); in vsw_port_probe()
411 timer_delete_sync(&port->vio.timer); in vsw_port_remove()
425 vio_ldc_free(&port->vio); in vsw_port_remove()
456 MODULE_DEVICE_TABLE(vio, vsw_port_match);
A Dsunvnet.c449 err = vio_driver_init(&port->vio, vdev, VDEV_NETWORK, in vnet_port_probe()
455 err = vio_ldc_alloc(&port->vio, &vnet_ldc_cfg, port); in vnet_port_probe()
489 vio_port_up(&port->vio); in vnet_port_probe()
508 timer_delete_sync(&port->vio.timer); in vnet_port_remove()
520 vio_ldc_free(&port->vio); in vnet_port_remove()
534 MODULE_DEVICE_TABLE(vio, vnet_port_match);
/drivers/tty/
A Dvcc.c23 struct vio_driver_state vio; member
256 struct vio_driver_state *vio = &port->vio; in vcc_kick_rx() local
308 struct vio_driver_state *vio = &port->vio; in vcc_ldc_read() local
327 vccdbgl(vio->lp); in vcc_ldc_read()
367 vio = &port->vio; in vcc_rx_timer()
376 vio_conn_reset(vio); in vcc_rx_timer()
404 vccdbgl(port->vio.lp); in vcc_tx_timer()
440 vio = &port->vio; in vcc_event()
453 vio_conn_reset(vio); in vcc_event()
713 kfree(port->vio.name); in vcc_remove()
[all …]
/drivers/staging/greybus/
A Darche-apb-ctrl.c37 struct regulator *vio; member
91 if (!IS_ERR(apb->vio)) { in coldboot_seq()
92 ret = regulator_enable(apb->vio); in coldboot_seq()
131 ret = regulator_enable(apb->vio); in fw_flashing_seq()
211 if (!IS_ERR(apb->vio) && regulator_is_enabled(apb->vio) > 0) in poweroff_seq()
212 regulator_disable(apb->vio); in poweroff_seq()
365 apb->vio = devm_regulator_get(dev, "vio"); in apb_ctrl_get_devtree_data()
366 if (IS_ERR(apb->vio)) in apb_ctrl_get_devtree_data()
/drivers/iio/light/
A Dgp2ap002.c144 struct regulator *vio; member
524 gp2ap002->vio = devm_regulator_get(dev, "vio"); in gp2ap002_probe()
525 if (IS_ERR(gp2ap002->vio)) in gp2ap002_probe()
526 return dev_err_probe(dev, PTR_ERR(gp2ap002->vio), in gp2ap002_probe()
542 ret = regulator_set_voltage(gp2ap002->vio, 1650000, ret); in gp2ap002_probe()
553 ret = regulator_enable(gp2ap002->vio); in gp2ap002_probe()
615 regulator_disable(gp2ap002->vio); in gp2ap002_probe()
631 regulator_disable(gp2ap002->vio); in gp2ap002_remove()
654 regulator_disable(gp2ap002->vio); in gp2ap002_runtime_suspend()
671 ret = regulator_enable(gp2ap002->vio); in gp2ap002_runtime_resume()
/drivers/net/wireless/ti/wl1251/
A Dspi.c301 wl->vio = devm_regulator_get(&spi->dev, "vio"); in wl1251_spi_probe()
302 if (IS_ERR(wl->vio)) { in wl1251_spi_probe()
303 ret = PTR_ERR(wl->vio); in wl1251_spi_probe()
308 ret = regulator_enable(wl->vio); in wl1251_spi_probe()
319 regulator_disable(wl->vio); in wl1251_spi_probe()
331 regulator_disable(wl->vio); in wl1251_spi_remove()
/drivers/media/radio/si4713/
A Dsi4713.c365 if (sdev->vio) { in si4713_powerup()
366 err = regulator_enable(sdev->vio); in si4713_powerup()
406 if (sdev->vio) { in si4713_powerup()
407 err = regulator_disable(sdev->vio); in si4713_powerup()
447 if (sdev->vio) { in si4713_powerdown()
448 err = regulator_disable(sdev->vio); in si4713_powerdown()
1465 sdev->vio = devm_regulator_get_optional(&client->dev, "vio"); in si4713_probe()
1466 if (IS_ERR(sdev->vio)) { in si4713_probe()
1467 rval = PTR_ERR(sdev->vio); in si4713_probe()
1472 sdev->vio = NULL; in si4713_probe()

Completed in 699 milliseconds

12