/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_tgt.c | 17 static int bnx2fc_init_tgt(struct bnx2fc_rport *tgt, 21 struct bnx2fc_rport *tgt); 23 struct bnx2fc_rport *tgt); 25 struct bnx2fc_rport *tgt); 31 struct bnx2fc_rport *tgt = (struct bnx2fc_rport *)data; local 33 BNX2FC_TGT_DBG(tgt, "upld_timer - Upload compl not received!!\n"); 35 clear_bit(BNX2FC_FLAG_OFFLOADED, &tgt->flags); 36 set_bit(BNX2FC_FLAG_UPLD_REQ_COMPL, &tgt->flags); 37 wake_up_interruptible(&tgt->upld_wait); 43 struct bnx2fc_rport *tgt local 62 bnx2fc_offload_session(struct fcoe_port *port, struct bnx2fc_rport *tgt, struct fc_rport_priv *rdata) argument 150 bnx2fc_flush_active_ios(struct bnx2fc_rport *tgt) argument 237 bnx2fc_upload_session(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 314 bnx2fc_init_tgt(struct bnx2fc_rport *tgt, struct fcoe_port *port, struct fc_rport_priv *rdata) argument 409 struct bnx2fc_rport *tgt; local 553 struct bnx2fc_rport *tgt; local 585 bnx2fc_alloc_conn_id(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument 633 bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument 803 bnx2fc_free_session_resc(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument [all...] |
H A D | bnx2fc_debug.h | 44 #define BNX2FC_TGT_DBG(tgt, fmt, arg...) \ 46 if (!tgt || !tgt->port || !tgt->port->lport || \ 47 !tgt->port->lport->host || !tgt->rport) \ 53 (tgt)->port->lport->host, \ 55 (tgt)->rport->port_id, ##arg)); \
|
H A D | bnx2fc_hwi.c | 163 * @tgt: bnx2fc_rport structure pointer 166 struct bnx2fc_rport *tgt) 176 struct fc_rport_priv *rdata = tgt->rdata; 177 struct fc_rport *rport = tgt->rport; 191 conn_id = (u16)tgt->fcoe_conn_id; 195 ofld_req1.sq_addr_lo = (u32) tgt->sq_dma; 196 ofld_req1.sq_addr_hi = (u32)((u64) tgt->sq_dma >> 32); 198 ofld_req1.rq_pbl_addr_lo = (u32) tgt->rq_pbl_dma; 199 ofld_req1.rq_pbl_addr_hi = (u32)((u64) tgt->rq_pbl_dma >> 32); 201 ofld_req1.rq_first_pbe_addr_lo = (u32) tgt 165 bnx2fc_send_session_ofld_req(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 349 bnx2fc_send_session_enable_req(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 418 bnx2fc_send_session_disable_req(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 482 bnx2fc_send_session_destroy_req(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument 539 bnx2fc_process_l2_frame_compl(struct bnx2fc_rport *tgt, unsigned char *buf, u32 frame_len, u16 l2_oxid) argument 617 bnx2fc_process_unsol_compl(struct bnx2fc_rport *tgt, u16 wqe) argument 868 bnx2fc_process_cq_compl(struct bnx2fc_rport *tgt, u16 wqe) argument 979 bnx2fc_arm_cq(struct bnx2fc_rport *tgt) argument 993 bnx2fc_alloc_work(struct bnx2fc_rport *tgt, u16 wqe) argument 1006 bnx2fc_process_new_cqes(struct bnx2fc_rport *tgt) argument 1097 struct bnx2fc_rport *tgt = hba->tgt_ofld_list[conn_id]; local 1119 struct bnx2fc_rport *tgt; local 1181 struct bnx2fc_rport *tgt; local 1229 struct bnx2fc_rport *tgt; local 1258 struct bnx2fc_rport *tgt; local 1390 bnx2fc_add_2_sq(struct bnx2fc_rport *tgt, u16 xid) argument 1407 bnx2fc_ring_doorbell(struct bnx2fc_rport *tgt) argument 1421 bnx2fc_map_doorbell(struct bnx2fc_rport *tgt) argument 1440 bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items) argument 1455 bnx2fc_return_rqe(struct bnx2fc_rport *tgt, u8 num_items) argument 1473 struct bnx2fc_rport *tgt = seq_clnp_req->tgt; local 1562 struct bnx2fc_rport *tgt = io_req->tgt; local 1599 struct bnx2fc_rport *tgt = io_req->tgt; local 1697 struct bnx2fc_rport *tgt = io_req->tgt; local [all...] |
H A D | bnx2fc_io.c | 45 struct bnx2fc_rport *tgt = io_req->tgt; local 52 spin_lock_bh(&tgt->tgt_lock); 59 spin_unlock_bh(&tgt->tgt_lock); 84 rdata = io_req->tgt->rdata; 87 &tgt->flags); 89 spin_unlock_bh(&tgt->tgt_lock); 94 "logo - tgt flags = 0x%lx\n", 95 tgt->flags); 123 rdata = io_req->tgt 423 bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type) argument 493 bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt) argument 693 struct bnx2fc_rport *tgt; local 832 struct bnx2fc_rport *tgt = io_req->tgt; local 942 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 1011 struct bnx2fc_rport *tgt = io_req->tgt; local 1107 struct bnx2fc_rport *tgt; local 1278 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 1324 struct bnx2fc_rport *tgt = io_req->tgt; local 1410 struct bnx2fc_rport *tgt = io_req->tgt; local 1450 struct bnx2fc_rport *tgt = io_req->tgt; local 1717 struct bnx2fc_rport *tgt = io_req->tgt; local 1813 struct bnx2fc_rport *tgt; local 1863 struct bnx2fc_rport *tgt = io_req->tgt; local 1945 bnx2fc_post_io_req(struct bnx2fc_rport *tgt, struct bnx2fc_cmd *io_req) argument [all...] |
H A D | bnx2fc_els.c | 21 static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, 62 struct bnx2fc_rport *tgt = aborted_io_req->tgt; local 63 struct fc_lport *lport = tgt->rdata->local_port; 65 u32 sid = tgt->sid; 89 rc = bnx2fc_initiate_els(tgt, ELS_RRQ, &rrq, sizeof(rrq), 106 spin_lock_bh(&tgt->tgt_lock); 108 spin_unlock_bh(&tgt->tgt_lock); 116 struct bnx2fc_rport *tgt; local 144 tgt 173 bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 201 bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 229 bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 290 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 374 struct bnx2fc_rport *tgt; local 578 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 620 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 663 bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, void *data, u32 data_len, void (*cb_func)(struct bnx2fc_els_cb_arg *cb_arg), struct bnx2fc_els_cb_arg *cb_arg, u32 timer_msec) argument [all...] |
H A D | bnx2fc.h | 391 struct bnx2fc_rport *tgt; member in struct:bnx2fc_cmd 442 struct bnx2fc_rport *tgt; member in struct:bnx2fc_work 454 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt); 455 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type); 461 struct bnx2fc_rport *tgt); 463 struct bnx2fc_rport *tgt); 465 struct bnx2fc_rport *tgt); 466 int bnx2fc_map_doorbell(struct bnx2fc_rport *tgt); 477 char *bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items); 478 void bnx2fc_return_rqe(struct bnx2fc_rport *tgt, u [all...] |
H A D | bnx2fc_fcoe.c | 170 struct bnx2fc_rport *tgt; local 177 tgt = hba->tgt_ofld_list[i]; 178 if (tgt) { 180 if (tgt->port == port) { 182 BNX2FC_TGT_DBG(tgt, "flush/cleanup\n"); 183 bnx2fc_flush_active_ios(tgt); 192 static int bnx2fc_xmit_l2_frame(struct bnx2fc_rport *tgt, argument 195 struct fc_rport_priv *rdata = tgt->rdata; 200 BNX2FC_TGT_DBG(tgt, "Xmit L2 frame rport = 0x%x, oxid = 0x%x, " 208 rc = bnx2fc_send_adisc(tgt, f 250 struct bnx2fc_rport *tgt; local [all...] |
/drivers/firewire/ |
H A D | sbp2.c | 132 struct sbp2_target *tgt; member in struct:sbp2_logical_unit 180 static struct fw_device *target_parent_device(struct sbp2_target *tgt) argument 182 return fw_parent_device(tgt->unit); 185 static const struct device *tgt_dev(const struct sbp2_target *tgt) argument 187 return &tgt->unit->device; 192 return &lu->tgt->unit->device; 503 struct fw_device *device = target_parent_device(lu->tgt); 524 struct fw_device *device = target_parent_device(lu->tgt); 563 struct fw_device *device = target_parent_device(lu->tgt); 602 timeout = lu->tgt 714 struct sbp2_target *tgt = lu->tgt; local 738 struct sbp2_target *tgt = lu->tgt; local 762 sbp2_unblock(struct sbp2_target *tgt) argument 819 struct sbp2_target *tgt = lu->tgt; local 929 struct sbp2_target *tgt = lu->tgt; local 976 sbp2_add_logical_unit(struct sbp2_target *tgt, int lun_entry) argument 1008 sbp2_get_unit_unique_id(struct sbp2_target *tgt, const u32 *leaf) argument 1015 sbp2_scan_logical_unit_dir(struct sbp2_target *tgt, const u32 *directory) argument 1029 sbp2_scan_unit_dir(struct sbp2_target *tgt, const u32 *directory, u32 *model, u32 *firmware_revision) argument 1085 sbp2_clamp_management_orb_timeout(struct sbp2_target *tgt) argument 1096 sbp2_init_workarounds(struct sbp2_target *tgt, u32 model, u32 firmware_revision) argument 1138 struct sbp2_target *tgt; local 1209 struct sbp2_target *tgt = dev_get_drvdata(&unit->device); local 1229 struct sbp2_target *tgt = dev_get_drvdata(&unit->device); local [all...] |
/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 421 * @tgt: ibmvfc target struct 425 static void ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, argument 428 switch (tgt->action) { 431 tgt->action = action; 436 tgt->add_rport = 0; 437 tgt->action = action; 556 struct ibmvfc_target *tgt; local 560 list_for_each_entry(tgt, &vhost->targets, queue) 561 ibmvfc_set_tgt_action(tgt, IBMVFC_TGT_ACTION_DEL_RPORT); 578 struct ibmvfc_target *tgt; local 915 struct ibmvfc_target *tgt; local 935 struct ibmvfc_target *tgt; local 1050 struct ibmvfc_target *tgt = container_of(kref, struct ibmvfc_target, kref); local 1063 struct ibmvfc_target *tgt = ibmvfc_get_target(starget); local 1078 struct ibmvfc_target *tgt = ibmvfc_get_target(starget); local 1093 struct ibmvfc_target *tgt = ibmvfc_get_target(starget); local 1505 struct ibmvfc_target *tgt; local 1768 struct ibmvfc_target *tgt; local 2567 struct ibmvfc_target *tgt; local 3186 ibmvfc_init_tgt(struct ibmvfc_target *tgt, void (*job_step) (struct ibmvfc_target *)) argument 3202 ibmvfc_retry_tgt_init(struct ibmvfc_target *tgt, void (*job_step) (struct ibmvfc_target *)) argument 3255 struct ibmvfc_target *tgt = evt->tgt; local 3321 ibmvfc_tgt_send_prli(struct ibmvfc_target *tgt) argument 3362 struct ibmvfc_target *tgt = evt->tgt; local 3417 ibmvfc_tgt_send_plogi(struct ibmvfc_target *tgt) argument 3455 struct ibmvfc_target *tgt = evt->tgt; local 3492 ibmvfc_tgt_implicit_logout(struct ibmvfc_target *tgt) argument 3530 ibmvfc_adisc_needs_plogi(struct ibmvfc_passthru_mad *mad, struct ibmvfc_target *tgt) argument 3551 struct ibmvfc_target *tgt = evt->tgt; local 3628 struct ibmvfc_target *tgt = evt->tgt; local 3645 ibmvfc_adisc_timeout(struct ibmvfc_target *tgt) argument 3700 ibmvfc_tgt_adisc(struct ibmvfc_target *tgt) argument 3754 struct ibmvfc_target *tgt = evt->tgt; local 3804 ibmvfc_tgt_query_target(struct ibmvfc_target *tgt) argument 3844 struct ibmvfc_target *tgt; local 4143 struct ibmvfc_target *tgt; local 4163 struct ibmvfc_target *tgt; local 4239 ibmvfc_tgt_add_rport(struct ibmvfc_target *tgt) argument 4289 struct ibmvfc_target *tgt; local 4656 struct ibmvfc_target *tgt; local [all...] |
H A D | ibmvfc.h | 635 struct ibmvfc_target *tgt; member in struct:ibmvfc_event
|
/drivers/firmware/ |
H A D | iscsi_ibft.c | 182 struct ibft_tgt *tgt; member in union:ibft_kobject::__anon505 345 struct ibft_tgt *tgt = entry->tgt; local 350 if (!tgt) 355 str += sprintf(str, "%d\n", tgt->hdr.index); 358 str += sprintf(str, "%d\n", tgt->hdr.flags); 361 str += sprintf_ipaddr(str, tgt->ip_addr); 364 str += sprintf(str, "%d\n", tgt->port); 368 str += sprintf(str, "%x", (u8)tgt->lun[i]); 372 str += sprintf(str, "%d\n", tgt 494 struct ibft_tgt *tgt = entry->tgt; local [all...] |
/drivers/md/ |
H A D | dm-table.c | 260 struct dm_target *tgt = t->targets + i; local 262 if (tgt->type->dtr) 263 tgt->type->dtr(tgt); 265 dm_put_target_type(tgt->type); 743 struct dm_target *tgt; local 754 tgt = t->targets + t->num_targets; 755 memset(tgt, 0, sizeof(*tgt)); 762 tgt 900 struct dm_target *tgt; local [all...] |
H A D | raid5.c | 795 struct r5dev *tgt; local 800 tgt = &sh->dev[target]; 801 set_bit(R5_UPTODATE, &tgt->flags); 802 BUG_ON(!test_bit(R5_Wantcompute, &tgt->flags)); 803 clear_bit(R5_Wantcompute, &tgt->flags); 837 struct r5dev *tgt = &sh->dev[target]; local 838 struct page *xor_dest = tgt->page; 846 BUG_ON(!test_bit(R5_Wantcompute, &tgt->flags)); 905 struct r5dev *tgt; local 921 tgt 962 struct r5dev *tgt = &sh->dev[target]; local [all...] |
H A D | dm.c | 418 struct dm_target *tgt; local 428 tgt = dm_table_get_target(map, 0); 435 if (tgt->type->ioctl) 436 r = tgt->type->ioctl(tgt, cmd, arg);
|
/drivers/scsi/ |
H A D | tmscsim.h | 267 #define MK_RES(drv,did,msg,tgt) ((int)(drv)<<24 | (int)(did)<<16 | (int)(msg)<<8 | (int)(tgt)) 268 #define MK_RES_LNX(drv,did,msg,tgt) ((int)(drv)<<24 | (int)(did)<<16 | (int)(msg)<<8 | (int)(tgt)) 270 #define SET_RES_TARGET(who, tgt) do { who &= ~RES_TARGET; who |= (int)(tgt); } while (0) 271 #define SET_RES_TARGET_LNX(who, tgt) do { who &= ~RES_TARGET_LNX; who |= (int)(tgt) << 1; } while (0)
|
H A D | esp_scsi.c | 451 static void esp_write_tgt_config3(struct esp *esp, int tgt) argument 454 u8 val = esp->target[tgt].esp_config3; 463 static void esp_write_tgt_sync(struct esp *esp, int tgt) argument 465 u8 off = esp->target[tgt].esp_offset; 466 u8 per = esp->target[tgt].esp_period; 599 int tgt, lun; local 602 tgt = dev->id; 608 "tgt[%d] lun[%d]\n", 609 esp->host->unique_id, tgt, lun); 635 val = tgt; 687 int tgt, lun, i; local 857 int tgt = dev->id; local 1404 int tgt; local 1545 int tgt = cmd->device->id; local [all...] |
H A D | mesh.c | 81 #define ALLOW_SYNC(tgt) ((sync_targets >> (tgt)) & 1) 82 #define ALLOW_RESEL(tgt) ((resel_targets >> (tgt)) & 1) 83 #define ALLOW_DEBUG(tgt) ((debug_targets >> (tgt)) & 1) 98 u8 tgt; member in struct:dbglog 224 tlp->tgt = ms->conn_tgt; 277 lp->bs1, lp->bs0, lp->phase, lp->tgt); 292 static inline void dumplog(struct mesh_state *ms, int tgt) argument 987 int tgt; local 1848 int tgt, minper; local [all...] |
H A D | qlogicpti.c | 969 int tgt = sdev->id; local 975 qpti->dev_param[tgt].device_flags |= 0x10; 977 qpti->dev_param[tgt].synchronous_offset = 0; 978 qpti->dev_param[tgt].synchronous_period = 0; 982 qpti->dev_param[tgt].device_flags |= 0x20; 985 param[1] = (tgt << 8); 986 param[2] = (qpti->dev_param[tgt].device_flags << 8); 987 if (qpti->dev_param[tgt].device_flags & 0x10) { 988 param[3] = (qpti->dev_param[tgt].synchronous_offset << 8) | 989 qpti->dev_param[tgt] [all...] |
H A D | megaraid.c | 460 int tgt; local 463 tgt = cmd->device->id; 465 if ( tgt > adapter->this_id ) 466 tgt--; /* we do not get inquires for initiator id */ 468 ldrv_num = (channel * 15) + tgt; 2613 int tgt; local 2658 for( tgt = 0; tgt <= MAX_TARGET; tgt++ ) { 2660 i = channel*16 + tgt; 4341 mega_internal_dev_inquiry(adapter_t *adapter, u8 ch, u8 tgt, dma_addr_t buf_dma_handle) argument [all...] |
H A D | dc395x.c | 170 #define MK_RES(drv,did,msg,tgt) ((int)(drv)<<24 | (int)(did)<<16 | (int)(msg)<<8 | (int)(tgt)) 171 #define MK_RES_LNX(drv,did,msg,tgt) ((int)(drv)<<24 | (int)(did)<<16 | (int)(msg)<<8 | (int)(tgt)<<1) 173 #define SET_RES_TARGET(who,tgt) { who &= ~RES_TARGET; who |= (int)(tgt); } 174 #define SET_RES_TARGET_LNX(who,tgt) { who &= ~RES_TARGET_LNX; who |= (int)(tgt) << 1; }
|
/drivers/block/aoe/ |
H A D | aoe.h | 169 struct aoetgt **tgt; /* target in use when working */ member in struct:aoedev
|
H A D | aoecmd.c | 143 t = d->tgt; 169 d->tgt = t; 194 if (t == d->tgt) /* we've looped and found nada */ 222 t = *d->tgt; 457 (*d->tgt)->nout++; 458 resend(d, *d->tgt, nf); 902 t = *d->tgt;
|
H A D | aoedev.c | 228 d->tgt = d->targets;
|
/drivers/crypto/ |
H A D | n2_core.c | 1749 u64 tgt = mdesc_arc_target(mdesc, arc); local 1750 const char *name = mdesc_node_name(mdesc, tgt); 1755 id = mdesc_get_property(mdesc, tgt, "id", NULL);
|