diff options
author | Mike Christie <michaelc@cs.wisc.edu> | 2008-05-21 16:54:11 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-07-12 09:22:20 -0400 |
commit | 2261ec3d686e35c1a6088ab7f00a1d02b528b994 (patch) | |
tree | 7836e5ddf152861d074916ce1838941158138315 /drivers/infiniband/ulp/iser/iscsi_iser.h | |
parent | 135a8ad4e09309d36dcb8b5c7f55db0b6a15b2d6 (diff) |
[SCSI] iser: handle iscsi_cmd_task rename
This handles the iscsi_cmd_task rename and renames
the iser cmd task to iser task.
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/infiniband/ulp/iser/iscsi_iser.h')
-rw-r--r-- | drivers/infiniband/ulp/iser/iscsi_iser.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/infiniband/ulp/iser/iscsi_iser.h b/drivers/infiniband/ulp/iser/iscsi_iser.h index 96a600f127c8..05431f270fe8 100644 --- a/drivers/infiniband/ulp/iser/iscsi_iser.h +++ b/drivers/infiniband/ulp/iser/iscsi_iser.h | |||
@@ -173,7 +173,7 @@ struct iser_data_buf { | |||
173 | /* fwd declarations */ | 173 | /* fwd declarations */ |
174 | struct iser_device; | 174 | struct iser_device; |
175 | struct iscsi_iser_conn; | 175 | struct iscsi_iser_conn; |
176 | struct iscsi_iser_cmd_task; | 176 | struct iscsi_iser_task; |
177 | 177 | ||
178 | struct iser_mem_reg { | 178 | struct iser_mem_reg { |
179 | u32 lkey; | 179 | u32 lkey; |
@@ -197,7 +197,7 @@ struct iser_regd_buf { | |||
197 | #define MAX_REGD_BUF_VECTOR_LEN 2 | 197 | #define MAX_REGD_BUF_VECTOR_LEN 2 |
198 | 198 | ||
199 | struct iser_dto { | 199 | struct iser_dto { |
200 | struct iscsi_iser_cmd_task *ctask; | 200 | struct iscsi_iser_task *task; |
201 | struct iser_conn *ib_conn; | 201 | struct iser_conn *ib_conn; |
202 | int notify_enable; | 202 | int notify_enable; |
203 | 203 | ||
@@ -265,7 +265,7 @@ struct iscsi_iser_conn { | |||
265 | rwlock_t lock; | 265 | rwlock_t lock; |
266 | }; | 266 | }; |
267 | 267 | ||
268 | struct iscsi_iser_cmd_task { | 268 | struct iscsi_iser_task { |
269 | struct iser_desc desc; | 269 | struct iser_desc desc; |
270 | struct iscsi_iser_conn *iser_conn; | 270 | struct iscsi_iser_conn *iser_conn; |
271 | enum iser_task_status status; | 271 | enum iser_task_status status; |
@@ -299,13 +299,13 @@ extern int iser_debug_level; | |||
299 | int iser_conn_set_full_featured_mode(struct iscsi_conn *conn); | 299 | int iser_conn_set_full_featured_mode(struct iscsi_conn *conn); |
300 | 300 | ||
301 | int iser_send_control(struct iscsi_conn *conn, | 301 | int iser_send_control(struct iscsi_conn *conn, |
302 | struct iscsi_cmd_task *ctask); | 302 | struct iscsi_task *task); |
303 | 303 | ||
304 | int iser_send_command(struct iscsi_conn *conn, | 304 | int iser_send_command(struct iscsi_conn *conn, |
305 | struct iscsi_cmd_task *ctask); | 305 | struct iscsi_task *task); |
306 | 306 | ||
307 | int iser_send_data_out(struct iscsi_conn *conn, | 307 | int iser_send_data_out(struct iscsi_conn *conn, |
308 | struct iscsi_cmd_task *ctask, | 308 | struct iscsi_task *task, |
309 | struct iscsi_data *hdr); | 309 | struct iscsi_data *hdr); |
310 | 310 | ||
311 | void iscsi_iser_recv(struct iscsi_conn *conn, | 311 | void iscsi_iser_recv(struct iscsi_conn *conn, |
@@ -326,9 +326,9 @@ void iser_rcv_completion(struct iser_desc *desc, | |||
326 | 326 | ||
327 | void iser_snd_completion(struct iser_desc *desc); | 327 | void iser_snd_completion(struct iser_desc *desc); |
328 | 328 | ||
329 | void iser_ctask_rdma_init(struct iscsi_iser_cmd_task *ctask); | 329 | void iser_task_rdma_init(struct iscsi_iser_task *task); |
330 | 330 | ||
331 | void iser_ctask_rdma_finalize(struct iscsi_iser_cmd_task *ctask); | 331 | void iser_task_rdma_finalize(struct iscsi_iser_task *task); |
332 | 332 | ||
333 | void iser_dto_buffs_release(struct iser_dto *dto); | 333 | void iser_dto_buffs_release(struct iser_dto *dto); |
334 | 334 | ||
@@ -338,10 +338,10 @@ void iser_reg_single(struct iser_device *device, | |||
338 | struct iser_regd_buf *regd_buf, | 338 | struct iser_regd_buf *regd_buf, |
339 | enum dma_data_direction direction); | 339 | enum dma_data_direction direction); |
340 | 340 | ||
341 | void iser_finalize_rdma_unaligned_sg(struct iscsi_iser_cmd_task *ctask, | 341 | void iser_finalize_rdma_unaligned_sg(struct iscsi_iser_task *task, |
342 | enum iser_data_dir cmd_dir); | 342 | enum iser_data_dir cmd_dir); |
343 | 343 | ||
344 | int iser_reg_rdma_mem(struct iscsi_iser_cmd_task *ctask, | 344 | int iser_reg_rdma_mem(struct iscsi_iser_task *task, |
345 | enum iser_data_dir cmd_dir); | 345 | enum iser_data_dir cmd_dir); |
346 | 346 | ||
347 | int iser_connect(struct iser_conn *ib_conn, | 347 | int iser_connect(struct iser_conn *ib_conn, |
@@ -361,10 +361,10 @@ int iser_post_send(struct iser_desc *tx_desc); | |||
361 | int iser_conn_state_comp(struct iser_conn *ib_conn, | 361 | int iser_conn_state_comp(struct iser_conn *ib_conn, |
362 | enum iser_ib_conn_state comp); | 362 | enum iser_ib_conn_state comp); |
363 | 363 | ||
364 | int iser_dma_map_task_data(struct iscsi_iser_cmd_task *iser_ctask, | 364 | int iser_dma_map_task_data(struct iscsi_iser_task *iser_task, |
365 | struct iser_data_buf *data, | 365 | struct iser_data_buf *data, |
366 | enum iser_data_dir iser_dir, | 366 | enum iser_data_dir iser_dir, |
367 | enum dma_data_direction dma_dir); | 367 | enum dma_data_direction dma_dir); |
368 | 368 | ||
369 | void iser_dma_unmap_task_data(struct iscsi_iser_cmd_task *iser_ctask); | 369 | void iser_dma_unmap_task_data(struct iscsi_iser_task *iser_task); |
370 | #endif | 370 | #endif |