/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_debug.c | 40 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...) argument 53 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && 54 tgt->rport) 55 shost_printk(KERN_INFO, tgt->port->lport->host, 57 tgt->rport->port_id, &vaf);
|
H A D | bnx2fc_tgt.c | 18 static int bnx2fc_init_tgt(struct bnx2fc_rport *tgt, 22 struct bnx2fc_rport *tgt); 24 struct bnx2fc_rport *tgt); 26 struct bnx2fc_rport *tgt); 32 struct bnx2fc_rport *tgt = (struct bnx2fc_rport *)data; local 34 BNX2FC_TGT_DBG(tgt, "upld_timer - Upload compl not received!!\n"); 36 clear_bit(BNX2FC_FLAG_OFFLOADED, &tgt->flags); 37 clear_bit(BNX2FC_FLAG_ENABLED, &tgt->flags); 38 set_bit(BNX2FC_FLAG_UPLD_REQ_COMPL, &tgt->flags); 39 wake_up_interruptible(&tgt 45 struct bnx2fc_rport *tgt = (struct bnx2fc_rport *)data; local 65 bnx2fc_ofld_wait(struct bnx2fc_rport *tgt) argument 79 bnx2fc_offload_session(struct fcoe_port *port, struct bnx2fc_rport *tgt, struct fc_rport_priv *rdata) argument 166 bnx2fc_flush_active_ios(struct bnx2fc_rport *tgt) argument 278 bnx2fc_upld_wait(struct bnx2fc_rport *tgt) argument 291 bnx2fc_upload_session(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 350 bnx2fc_init_tgt(struct bnx2fc_rport *tgt, struct fcoe_port *port, struct fc_rport_priv *rdata) argument 448 struct bnx2fc_rport *tgt; local 589 struct bnx2fc_rport *tgt; local 621 bnx2fc_alloc_conn_id(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument 669 bnx2fc_alloc_session_resc(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument 843 bnx2fc_free_session_resc(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument [all...] |
H A D | bnx2fc_els.c | 22 static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, 63 struct bnx2fc_rport *tgt = aborted_io_req->tgt; local 64 struct fc_lport *lport = tgt->rdata->local_port; 66 u32 sid = tgt->sid; 90 rc = bnx2fc_initiate_els(tgt, ELS_RRQ, &rrq, sizeof(rrq), 107 spin_lock_bh(&tgt->tgt_lock); 109 spin_unlock_bh(&tgt->tgt_lock); 117 struct bnx2fc_rport *tgt; local 145 tgt 174 bnx2fc_send_adisc(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 202 bnx2fc_send_logo(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 230 bnx2fc_send_rls(struct bnx2fc_rport *tgt, struct fc_frame *fp) argument 291 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 375 struct bnx2fc_rport *tgt; local 577 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 619 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 662 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_hwi.c | 168 * @tgt: bnx2fc_rport structure pointer 171 struct bnx2fc_rport *tgt) 182 struct fc_rport_priv *rdata = tgt->rdata; 183 struct fc_rport *rport = tgt->rport; 197 conn_id = (u16)tgt->fcoe_conn_id; 201 ofld_req1.sq_addr_lo = (u32) tgt->sq_dma; 202 ofld_req1.sq_addr_hi = (u32)((u64) tgt->sq_dma >> 32); 204 ofld_req1.rq_pbl_addr_lo = (u32) tgt->rq_pbl_dma; 205 ofld_req1.rq_pbl_addr_hi = (u32)((u64) tgt->rq_pbl_dma >> 32); 207 ofld_req1.rq_first_pbe_addr_lo = (u32) tgt 170 bnx2fc_send_session_ofld_req(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 355 bnx2fc_send_session_enable_req(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 425 bnx2fc_send_session_disable_req(struct fcoe_port *port, struct bnx2fc_rport *tgt) argument 490 bnx2fc_send_session_destroy_req(struct bnx2fc_hba *hba, struct bnx2fc_rport *tgt) argument 547 bnx2fc_process_l2_frame_compl(struct bnx2fc_rport *tgt, unsigned char *buf, u32 frame_len, u16 l2_oxid) argument 625 bnx2fc_process_unsol_compl(struct bnx2fc_rport *tgt, u16 wqe) argument 872 bnx2fc_process_cq_compl(struct bnx2fc_rport *tgt, u16 wqe) argument 983 bnx2fc_arm_cq(struct bnx2fc_rport *tgt) argument 997 bnx2fc_alloc_work(struct bnx2fc_rport *tgt, u16 wqe) argument 1010 bnx2fc_process_new_cqes(struct bnx2fc_rport *tgt) argument 1101 struct bnx2fc_rport *tgt = hba->tgt_ofld_list[conn_id]; local 1123 struct bnx2fc_rport *tgt; local 1177 struct bnx2fc_rport *tgt; local 1219 struct bnx2fc_rport *tgt; local 1251 struct bnx2fc_rport *tgt; local 1383 bnx2fc_add_2_sq(struct bnx2fc_rport *tgt, u16 xid) argument 1400 bnx2fc_ring_doorbell(struct bnx2fc_rport *tgt) argument 1414 bnx2fc_map_doorbell(struct bnx2fc_rport *tgt) argument 1432 bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items) argument 1447 bnx2fc_return_rqe(struct bnx2fc_rport *tgt, u8 num_items) argument 1465 struct bnx2fc_rport *tgt = seq_clnp_req->tgt; local 1554 struct bnx2fc_rport *tgt = io_req->tgt; local 1591 struct bnx2fc_rport *tgt = io_req->tgt; local 1689 struct bnx2fc_rport *tgt = io_req->tgt; local [all...] |
H A D | bnx2fc_io.c | 46 struct bnx2fc_rport *tgt = io_req->tgt; local 53 spin_lock_bh(&tgt->tgt_lock); 60 spin_unlock_bh(&tgt->tgt_lock); 85 rdata = io_req->tgt->rdata; 88 &tgt->flags); 90 spin_unlock_bh(&tgt->tgt_lock); 95 "logo - tgt flags = 0x%lx\n", 96 tgt->flags); 124 rdata = io_req->tgt 426 bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type) argument 496 bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt) argument 696 struct bnx2fc_rport *tgt; local 851 struct bnx2fc_rport *tgt = io_req->tgt; local 961 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 1030 struct bnx2fc_rport *tgt = io_req->tgt; local 1113 struct bnx2fc_rport *tgt = io_req->tgt; local 1167 struct bnx2fc_rport *tgt; local 1320 struct bnx2fc_rport *tgt = orig_io_req->tgt; local 1366 struct bnx2fc_rport *tgt = io_req->tgt; local 1452 struct bnx2fc_rport *tgt = io_req->tgt; local 1489 struct bnx2fc_rport *tgt = io_req->tgt; local 1764 struct bnx2fc_rport *tgt = io_req->tgt; local 1860 struct bnx2fc_rport *tgt; local 1924 struct bnx2fc_rport *tgt = io_req->tgt; local 2015 bnx2fc_post_io_req(struct bnx2fc_rport *tgt, struct bnx2fc_cmd *io_req) argument [all...] |
/drivers/staging/lustre/lustre/lmv/ |
H A D | lmv_intent.c | 66 struct lmv_tgt_desc *tgt; local 96 tgt = lmv_find_target(lmv, &body->fid1); 97 if (IS_ERR(tgt)) { 98 rc = PTR_ERR(tgt); 123 PFID(&body->fid1), tgt->ltd_idx); 125 rc = md_intent_lock(tgt->ltd_exp, op_data, lmm, lmmsize, it, 167 struct lmv_tgt_desc *tgt; local 171 tgt = lmv_locate_mds(lmv, op_data, &op_data->op_fid1); 172 if (IS_ERR(tgt)) 173 return PTR_ERR(tgt); 250 struct lmv_tgt_desc *tgt = NULL; local [all...] |
H A D | lproc_lmv.c | 170 struct lmv_tgt_desc *tgt = v; local 172 if (tgt == NULL) 174 return seq_printf(p, "%d: %s %sACTIVE\n", tgt->ltd_idx, 175 tgt->ltd_uuid.uuid, tgt->ltd_active ? "" : "IN");
|
/drivers/staging/lustre/lustre/lov/ |
H A D | lov_merge.c | 149 void lov_merge_attrs(struct obdo *tgt, struct obdo *src, u64 valid, argument 160 if (lov_size > tgt->o_size) 161 tgt->o_size = lov_size; 164 tgt->o_blocks += src->o_blocks; 166 tgt->o_blksize += src->o_blksize; 167 if (valid & OBD_MD_FLCTIME && tgt->o_ctime < src->o_ctime) 168 tgt->o_ctime = src->o_ctime; 169 if (valid & OBD_MD_FLMTIME && tgt->o_mtime < src->o_mtime) 170 tgt->o_mtime = src->o_mtime; 172 tgt [all...] |
H A D | lov_ea.c | 168 static void lov_tgt_maxbytes(struct lov_tgt_desc *tgt, __u64 *stripe_maxbytes) argument 170 struct obd_import *imp = tgt->ltd_obd->u.cli.cl_import; 172 if (imp == NULL || !tgt->ltd_active) {
|
H A D | lov_request.c | 143 struct lov_tgt_desc *tgt; local 146 tgt = lov->lov_tgts[idx]; 147 rc = !tgt || tgt->ltd_active || 148 (tgt->ltd_exp && 149 class_exp2cliimp(tgt->ltd_exp)->imp_connect_tried); 163 struct lov_tgt_desc *tgt; local 168 tgt = lov->lov_tgts[ost_idx]; 170 if (unlikely(tgt == NULL)) { 175 if (likely(tgt 660 struct lov_tgt_desc *tgt; local [all...] |
H A D | lproc_lov.c | 226 struct lov_tgt_desc *tgt = v; local 227 return seq_printf(p, "%d: %s %sACTIVE\n", tgt->ltd_index, 228 obd_uuid2str(&tgt->ltd_uuid), 229 tgt->ltd_active ? "" : "IN");
|
H A D | lov_dev.c | 399 struct lov_tgt_desc *tgt; local 406 tgt = obd->u.lov.lov_tgts[index]; 407 LASSERT(tgt != NULL); 408 LASSERT(tgt->ltd_obd != NULL); 410 if (!tgt->ltd_obd->obd_set_up) { 411 CERROR("Target %s not set up\n", obd_uuid2str(&tgt->ltd_uuid)); 420 tgt->ltd_obd->obd_lu_dev); 428 obd_uuid2str(&tgt->ltd_uuid));
|
H A D | lov_pool.c | 257 struct lov_tgt_desc *tgt; local 264 tgt = pool_tgt(iter->pool, iter->idx); 266 if (tgt) 267 seq_printf(s, "%s\n", obd_uuid2str(&(tgt->ltd_uuid)));
|
/drivers/staging/unisys/uislib/ |
H A D | uisqueue.c | 37 uisqueue_interlocked_or(unsigned long long __iomem *tgt, argument 43 j = readq(tgt); 46 j = cmpxchg((__force unsigned long long *)tgt, i, i | set); 55 uisqueue_interlocked_and(unsigned long long __iomem *tgt, argument 61 j = readq(tgt); 64 j = cmpxchg((__force unsigned long long *)tgt, i, i & set);
|
/drivers/staging/lustre/lustre/include/ |
H A D | lustre_capa.h | 91 struct target_capa tgt; member in union:obd_capa::__anon6574 212 INIT_HLIST_NODE(&ocapa->u.tgt.c_hash); 243 hnode = &ocapa->u.tgt.c_hash;
|
/drivers/firmware/ |
H A D | iscsi_ibft.c | 182 struct ibft_tgt *tgt; member in union:ibft_kobject::__anon623 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/scsi/ |
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 | virtio_scsi.c | 153 struct virtio_scsi_target_state *tgt = local 209 atomic_dec(&tgt->reqs); 557 struct virtio_scsi_target_state *tgt = local 560 atomic_inc(&tgt->reqs); 565 struct virtio_scsi_target_state *tgt) 572 if (atomic_inc_return(&tgt->reqs) > 1) { 576 seq = read_seqcount_begin(&tgt->tgt_seq); 577 vq = tgt->req_vq; 578 } while (read_seqcount_retry(&tgt->tgt_seq, seq)); 581 write_seqcount_begin(&tgt 564 virtscsi_pick_vq(struct virtio_scsi *vscsi, struct virtio_scsi_target_state *tgt) argument 605 struct virtio_scsi_target_state *tgt = local 726 struct virtio_scsi_target_state *tgt = local 741 struct virtio_scsi_target_state *tgt = starget->hostdata; local [all...] |
H A D | xen-scsifront.c | 866 unsigned int hst, chn, tgt, lun; local 888 "%u:%u:%u:%u", &hst, &chn, &tgt, &lun); 905 if (scsi_add_device(info->host, chn, tgt, lun)) { 916 sdev = scsi_device_lookup(info->host, chn, tgt, lun);
|
/drivers/staging/lustre/lustre/ptlrpc/ |
H A D | sec_config.c | 477 static void target2fsname(const char *tgt, char *fsname, int buflen) argument 482 ptr = strrchr(tgt, '-'); 493 len = strlen(tgt); 495 len = ptr - tgt; 498 memcpy(fsname, tgt, len);
|
/drivers/block/aoe/ |
H A D | aoe.h | 184 struct aoetgt **tgt; /* target in use when working */ member in struct:aoedev
|
/drivers/block/rsxx/ |
H A D | dma.c | 115 unsigned int tgt; local 117 tgt = (addr8 >> card->_stripe.target_shift) & card->_stripe.target_mask; 119 return tgt; 696 int tgt; local 712 tgt = rsxx_get_dma_tgt(card, addr8); 715 st = rsxx_queue_discard(card, &dma_list[tgt], laddr, 720 dma_cnt[tgt]++; 731 tgt = rsxx_get_dma_tgt(card, addr8); 737 st = rsxx_queue_dma(card, &dma_list[tgt], 745 dma_cnt[tgt] [all...] |
/drivers/scsi/csiostor/ |
H A D | csio_mb.c | 292 * @tgt: Turn on target mode. 301 bool wr, bool init, bool tgt, bool cofld, 325 if (tgt) 300 csio_mb_caps_config(struct csio_hw *hw, struct csio_mb *mbp, uint32_t tmo, bool wr, bool init, bool tgt, bool cofld, void (*cbfn) (struct csio_hw *, struct csio_mb *)) argument
|
/drivers/staging/lustre/lustre/llite/ |
H A D | namei.c | 779 const char *tgt, int mode, int rdev, 789 if (unlikely(tgt != NULL)) 790 tgt_len = strlen(tgt) + 1; 799 err = md_create(sbi->ll_md_exp, op_data, tgt, tgt_len, mode, 882 const char *tgt, struct dentry *dchild) 888 dir, 3000, tgt); 890 err = ll_new_node(dir, name, (char *)tgt, S_IFLNK | S_IRWXUGO, 1145 struct inode *tgt, struct dentry *tgt_dparent, 1157 tgt_name->name, tgt->i_ino, tgt 778 ll_new_node(struct inode *dir, struct qstr *name, const char *tgt, int mode, int rdev, struct dentry *dchild, __u32 opc) argument 881 ll_symlink_generic(struct inode *dir, struct qstr *name, const char *tgt, struct dentry *dchild) argument 1143 ll_rename_generic(struct inode *src, struct dentry *src_dparent, struct dentry *src_dchild, struct qstr *src_name, struct inode *tgt, struct dentry *tgt_dparent, struct dentry *tgt_dchild, struct qstr *tgt_name) argument [all...] |
/drivers/firewire/ |
H A D | sbp2.c | 132 struct sbp2_target *tgt; member in struct:sbp2_logical_unit 181 static struct fw_device *target_parent_device(struct sbp2_target *tgt) argument 183 return fw_parent_device(tgt->unit); 186 static const struct device *tgt_dev(const struct sbp2_target *tgt) argument 188 return &tgt->unit->device; 193 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 983 sbp2_add_logical_unit(struct sbp2_target *tgt, int lun_entry) argument 1016 sbp2_get_unit_unique_id(struct sbp2_target *tgt, const u32 *leaf) argument 1023 sbp2_scan_logical_unit_dir(struct sbp2_target *tgt, const u32 *directory) argument 1037 sbp2_scan_unit_dir(struct sbp2_target *tgt, const u32 *directory, u32 *model, u32 *firmware_revision) argument 1093 sbp2_clamp_management_orb_timeout(struct sbp2_target *tgt) argument 1104 sbp2_init_workarounds(struct sbp2_target *tgt, u32 model, u32 firmware_revision) argument 1145 struct sbp2_target *tgt; local 1217 struct sbp2_target *tgt = dev_get_drvdata(&unit->device); local 1236 struct sbp2_target *tgt = dev_get_drvdata(&unit->device); local [all...] |