Searched refs:file_ext (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/uts/intel/io/heci/ |
H A D | heci_main.c | 118 struct heci_file_private *file_ext); 607 struct heci_file_private *file_ext = NULL; in heci_open() local 631 file_ext = heci_alloc_file_private(NULL); in heci_open() 632 if (file_ext == NULL) in heci_open() 638 kmem_free(file_ext, sizeof (struct heci_file_private)); in heci_open() 639 file_ext = NULL; in heci_open() 644 kmem_free(file_ext, sizeof (struct heci_file_private)); in heci_open() 645 file_ext = NULL; in heci_open() 649 list_add_tail(&file_ext->link, &dev->file_list); in heci_open() 661 file_ext->host_client_id = dev->current_host_client_id; in heci_open() [all …]
|
H A D | heci_intr.c | 147 static void _heci_cmpl(struct heci_file_private *file_ext, in _heci_cmpl() argument 153 file_ext->writing_state = HECI_WRITE_COMPLETE; in _heci_cmpl() 154 pollwakeup(&file_ext->tx_pollwait, POLL_IN|POLLRDNORM); in _heci_cmpl() 157 HECI_READING == file_ext->reading_state) { in _heci_cmpl() 160 file_ext->reading_state = HECI_READ_COMPLETE; in _heci_cmpl() 161 cv_broadcast(&file_ext->rx_wait); in _heci_cmpl() 232 struct heci_file_private *file_ext; in heci_bh_process_device() local 334 file_ext = (struct heci_file_private *)cb_pos->file_private; in heci_bh_process_device() 336 if (file_ext != NULL) { in heci_bh_process_device() 337 if (file_ext != &dev->iamthif_file_ext) { in heci_bh_process_device() [all …]
|
H A D | io_heci.c | 85 struct heci_file_private *file_ext, int mode) in heci_ioctl_get_version() argument 93 (!file_ext)) in heci_ioctl_get_version() 118 rets = file_ext->status; in heci_ioctl_get_version() 155 struct heci_file_private *file_ext; in heci_ioctl_connect_client() local 165 file_ext = file->private_data; in heci_ioctl_connect_client() 166 if (!file_ext) in heci_ioctl_connect_client() 227 if ((file_ext->state != HECI_FILE_INITIALIZING) && in heci_ioctl_connect_client() 228 (file_ext->state != HECI_FILE_DISCONNECTED)) { in heci_ioctl_connect_client() 244 file_ext->me_client_id = in heci_ioctl_connect_client() 246 file_ext->state = HECI_FILE_CONNECTING; in heci_ioctl_connect_client() [all …]
|
H A D | heci_interface.c | 332 struct heci_file_private *file_ext) in flow_ctrl_creds() argument 339 if (file_ext == NULL) in flow_ctrl_creds() 342 if (file_ext->flow_ctrl_creds > 0) in flow_ctrl_creds() 346 if (dev->me_clients[i].client_id == file_ext->me_client_id) { in flow_ctrl_creds() 367 struct heci_file_private *file_ext) in flow_ctrl_reduce() argument 375 if (dev->me_clients[i].client_id == file_ext->me_client_id) { in flow_ctrl_reduce() 380 ASSERT(file_ext->flow_ctrl_creds > 0); in flow_ctrl_reduce() 381 file_ext->flow_ctrl_creds--; in flow_ctrl_reduce() 399 struct heci_file_private *file_ext) in heci_send_flow_control() argument 413 heci_flow_control->host_addr = file_ext->host_client_id; in heci_send_flow_control() [all …]
|
H A D | heci.h | 101 struct heci_file_private *file_ext); 105 struct heci_file_private *file_ext); 107 struct heci_file_private *file_ext); 124 struct heci_file_private *file_ext, 133 struct heci_file_private *file_ext, int mode); 137 struct heci_file_private *file_ext, int mode); 140 struct heci_file_private *file_ext);
|
H A D | heci_interface.h | 148 struct heci_file_private *file_ext); 153 struct heci_file_private *file_ext); 156 struct heci_file_private *file_ext); 159 struct heci_file_private *file_ext); 161 struct heci_file_private *file_ext); 163 struct heci_file_private *file_ext);
|
H A D | heci_init.c | 132 struct heci_file_private *file_ext) in heci_flush_queues() argument 136 if (!dev || !file_ext) in heci_flush_queues() 142 heci_flush_list(dev->io_list_array[i], file_ext); in heci_flush_queues() 155 struct heci_file_private *file_ext) in heci_flush_list() argument 161 if (!list || !file_ext) in heci_flush_list() 176 if (heci_fe_same_id(file_ext, file_ext_tmp)) in heci_flush_list() 1088 struct heci_file_private *file_ext) in heci_disconnect_host_client() argument 1095 if ((!dev) || (!file_ext)) in heci_disconnect_host_client() 1098 if (file_ext->state != HECI_FILE_DISCONNECTING) in heci_disconnect_host_client() 1106 priv_cb->file_private = file_ext; in heci_disconnect_host_client() [all …]
|