Searched defs:vdc (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/sun4v/sys/
H A Dvdc.h45 #define VDC_DRIVER_NAME "vdc"
48 * Bit-field values to indicate if parts of the vdc driver are initialised.
71 #define VDC_MD_TIMEOUT "vdc-timeout"
134 * This macro returns the number of Hz that the vdc driver should wait before
148 #define VDC_GET_NEXT_REQ_ID(vdc) ((vdc)->req_id++)
150 #define VDC_GET_DRING_ENTRY_PTR(vdc, idx) \
151 (vd_dring_entry_t *)(uintptr_t)((vdc)->dring_mem_info.vaddr + \
152 (idx * (vdc)->dring_entry_size))
154 #define VDC_MARK_DRING_ENTRY_FREE(vdc, id
290 typedef struct vdc { struct
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dvdc.c27 * LDoms virtual disk client (vdc) device driver
39 * Setup the communications link over the LDC channel that vdc uses to
44 * The upper layers call into vdc via strategy(9E) and DKIO(7I)
45 * ioctl calls. vdc will copy the data to be written to the descriptor
51 * The vDisk server will ACK some or all of the messages vdc sends to it
53 * vdc will check the descriptor ring and signal to the upper layer
99 #include <sys/vdc.h>
129 static int vdc_send(vdc_t *vdc, caddr_t pkt, size_t *msglen);
130 static int vdc_do_ldc_init(vdc_t *vdc, vdc_server_t *srvr);
131 static int vdc_start_ldc_connection(vdc_t *vdc);
420 vdc_t *vdc = NULL; local
446 vdc_t *vdc = NULL; local
635 vdc_t *vdc = NULL; local
818 vdc_do_ldc_init(vdc_t *vdc, vdc_server_t *srvr) argument
884 vdc_start_ldc_connection(vdc_t *vdc) argument
921 vdc_create_io_kstats(vdc_t *vdc) argument
940 vdc_create_err_kstats(vdc_t *vdc) argument
987 vdc_set_err_kstats(vdc_t *vdc) argument
1007 vdc_create_device_nodes_efi(vdc_t *vdc) argument
1035 vdc_create_device_nodes_vtoc(vdc_t *vdc) argument
1084 vdc_create_device_nodes(vdc_t *vdc) argument
1160 vdc_t *vdc; local
1202 vdc_is_opened(vdc_t *vdc) argument
1222 vdc_mark_opened(vdc_t *vdc, int slice, int flag, int otyp) argument
1268 vdc_mark_closed(vdc_t *vdc, int slice, int flag, int otyp) argument
1296 vdc_t *vdc; local
1383 vdc_t *vdc; local
1440 vdc_t *vdc = NULL; local
1495 vdc_t *vdc = NULL; local
1557 vdc_t *vdc = NULL; local
1625 vdc_init_ver_negotiation(vdc_t *vdc, vio_ver_t ver) argument
1721 vdc_init_attr_negotiation(vdc_t *vdc) argument
1817 vdc_init_dring_negotiate(vdc_t *vdc) argument
2025 vdc_recv(vdc_t *vdc, vio_msg_t *msgp, size_t *nbytesp) argument
2164 vdc_send(vdc_t *vdc, caddr_t pkt, size_t *msglen) argument
2365 vdc_init_ports(vdc_t *vdc, md_t *mdp, mde_cookie_t vd_nodep) argument
2509 vdc_do_ldc_up(vdc_t *vdc) argument
2564 vdc_terminate_ldc(vdc_t *vdc, vdc_server_t *srvr) argument
2600 vdc_fini_ports(vdc_t *vdc) argument
2647 vdc_init_descriptor_ring(vdc_t *vdc) argument
2773 vdc_destroy_descriptor_ring(vdc_t *vdc) argument
3237 vdc_do_op(vdc_t *vdc, int op, caddr_t addr, size_t nbytes, int slice, diskaddr_t offset, struct buf *bufp, vio_desc_direction_t dir, int flags) argument
3432 vdc_drain_response(vdc_t *vdc, struct buf *buf) argument
3554 vdc_depopulate_descriptor(vdc_t *vdc, uint_t idx) argument
3760 vdc_t *vdc = srvr->vdcp; local
5108 vdc_handle_ver_msg(vdc_t *vdc, vio_ver_msg_t *ver_msg) argument
5196 vdc_handle_attr_msg(vdc_t *vdc, vd_attr_msg_t *attr_msg) argument
5334 vdc_handle_dring_reg_msg(vdc_t *vdc, vio_dring_reg_msg_t *dring_msg) argument
5401 vdc_verify_seq_num(vdc_t *vdc, vio_dring_msg_t *dring_msg) argument
5514 vdc_t *vdc; member in struct:vdc_dk_arg
5533 vdc_t *vdc = NULL; local
5586 vdc_dkio_gapart(vdc_t *vdc, caddr_t arg, int flag) argument
5652 vdc_dkio_partition(vdc_t *vdc, caddr_t arg, int flag) argument
5706 vdc_dioctl_rwcmd(vdc_t *vdc, caddr_t arg, int flag) argument
5820 vdc_scsi_status(vdc_t *vdc, vd_scsi_t *vd_scsi, boolean_t log_error) argument
5935 vdc_uscsi_cmd(vdc_t *vdc, caddr_t arg, int mode) argument
6188 vdc_mhd_inkeys(vdc_t *vdc, caddr_t arg, int mode) argument
6300 vdc_mhd_inresv(vdc_t *vdc, caddr_t arg, int mode) argument
6428 vdc_mhd_register(vdc_t *vdc, caddr_t arg, int mode) argument
6467 vdc_mhd_reserve(vdc_t *vdc, caddr_t arg, int mode) argument
6508 vdc_mhd_preemptabort(vdc_t *vdc, caddr_t arg, int mode) argument
6553 vdc_mhd_registerignore(vdc_t *vdc, caddr_t arg, int mode) argument
6590 vdc_eio_scsi_cmd(vdc_t *vdc, uchar_t scmd, int flags) argument
6641 vdc_eio_scsi_check(vdc_t *vdc, int flags) argument
6682 vdc_eio_check(vdc_t *vdc, int flags) argument
6748 vdc_eio_queue(vdc_t *vdc, int index) argument
6773 vdc_eio_unqueue(vdc_t *vdc, clock_t deadline, boolean_t complete_io) argument
6851 vdc_t *vdc = (vdc_t *)arg; local
6940 vdc_failfast(vdc_t *vdc, caddr_t arg, int mode) argument
6966 vdc_access_set(vdc_t *vdc, uint64_t flags) argument
6982 vdc_access_get(vdc_t *vdc, uint64_t *status) argument
7007 vdc_t *vdc = (vdc_t *)arg; local
7081 vdc_ownership_update(vdc_t *vdc, int ownership_flags) argument
7104 vdc_get_capacity(vdc_t *vdc, size_t *dsk_size, size_t *blk_size) argument
7133 vdc_check_capacity(vdc_t *vdc) argument
7252 vdc_t *vdc = (vdc_t *)vdisk; local
7288 vdc_t *vdc = NULL; local
7669 vdc_null_copy_func(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7681 vdc_get_wce_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7696 vdc_set_wce_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7736 vdc_get_vtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7797 vdc_set_vtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7847 vdc_get_extvtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7873 vdc_set_extvtoc_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7931 vdc_get_geom_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
7974 vdc_set_geom_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
8004 vdc_get_efi_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
8052 vdc_set_efi_convert(vdc_t *vdc, void *from, void *to, int mode, int dir) argument
8109 vdc_create_fake_geometry(vdc_t *vdc) argument
8198 vdc_update_size(vdc_t *vdc, size_t dsk_size, size_t blk_size, size_t xfr_size) argument
8253 vdc_update_vio_bsize(vdc_t *vdc, uint32_t blk_size) argument
8302 vdc_validate_geometry(vdc_t *vdc) argument
8465 vdc_validate(vdc_t *vdc) argument
8503 vdc_t *vdc = (vdc_t *)arg; local
8530 vdc_setup_devid(vdc_t *vdc) argument
8652 vdc_store_label_efi(vdc_t *vdc, efi_gpt_t *gpt, efi_gpe_t *gpe) argument
8684 vdc_store_label_vtoc(vdc_t *vdc, struct dk_geom *geom, struct extvtoc *vtoc) argument
8703 vdc_store_label_unk(vdc_t *vdc) argument
[all...]

Completed in 52 milliseconds