Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 25 of 85) sorted by relevance

1234

/linux-6.6.21/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c19 static int bnx2fc_init_tgt(struct bnx2fc_rport *tgt,
23 struct bnx2fc_rport *tgt);
25 struct bnx2fc_rport *tgt);
27 struct bnx2fc_rport *tgt);
33 struct bnx2fc_rport *tgt = from_timer(tgt, t, upld_timer); in bnx2fc_upld_timer() local
35 BNX2FC_TGT_DBG(tgt, "upld_timer - Upload compl not received!!\n"); in bnx2fc_upld_timer()
37 clear_bit(BNX2FC_FLAG_OFFLOADED, &tgt->flags); in bnx2fc_upld_timer()
38 clear_bit(BNX2FC_FLAG_ENABLED, &tgt->flags); in bnx2fc_upld_timer()
39 set_bit(BNX2FC_FLAG_UPLD_REQ_COMPL, &tgt->flags); in bnx2fc_upld_timer()
40 wake_up_interruptible(&tgt->upld_wait); in bnx2fc_upld_timer()
[all …]
Dbnx2fc_hwi.c172 struct bnx2fc_rport *tgt) in bnx2fc_send_session_ofld_req() argument
183 struct fc_rport_priv *rdata = tgt->rdata; in bnx2fc_send_session_ofld_req()
184 struct fc_rport *rport = tgt->rport; in bnx2fc_send_session_ofld_req()
198 conn_id = (u16)tgt->fcoe_conn_id; in bnx2fc_send_session_ofld_req()
202 ofld_req1.sq_addr_lo = (u32) tgt->sq_dma; in bnx2fc_send_session_ofld_req()
203 ofld_req1.sq_addr_hi = (u32)((u64) tgt->sq_dma >> 32); in bnx2fc_send_session_ofld_req()
205 ofld_req1.rq_pbl_addr_lo = (u32) tgt->rq_pbl_dma; in bnx2fc_send_session_ofld_req()
206 ofld_req1.rq_pbl_addr_hi = (u32)((u64) tgt->rq_pbl_dma >> 32); in bnx2fc_send_session_ofld_req()
208 ofld_req1.rq_first_pbe_addr_lo = (u32) tgt->rq_dma; in bnx2fc_send_session_ofld_req()
210 (u32)((u64) tgt->rq_dma >> 32); in bnx2fc_send_session_ofld_req()
[all …]
Dbnx2fc_io.c45 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_cmd_timeout() local
51 spin_lock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout()
58 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout()
87 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout()
108 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout()
125 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout()
159 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout()
394 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type) in bnx2fc_elstm_alloc() argument
396 struct fcoe_port *port = tgt->port; in bnx2fc_elstm_alloc()
407 max_sqes = tgt->max_sqes; in bnx2fc_elstm_alloc()
[all …]
Dbnx2fc_els.c23 static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op,
64 struct bnx2fc_rport *tgt = aborted_io_req->tgt; in bnx2fc_send_rrq() local
72 if (!test_bit(BNX2FC_FLAG_SESSION_READY, &tgt->flags)) in bnx2fc_send_rrq()
75 lport = tgt->rdata->local_port; in bnx2fc_send_rrq()
76 sid = tgt->sid; in bnx2fc_send_rrq()
98 rc = bnx2fc_initiate_els(tgt, ELS_RRQ, &rrq, sizeof(rrq), in bnx2fc_send_rrq()
115 spin_lock_bh(&tgt->tgt_lock); in bnx2fc_send_rrq()
117 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_send_rrq()
125 struct bnx2fc_rport *tgt; in bnx2fc_l2_els_compl() local
153 tgt = els_req->tgt; in bnx2fc_l2_els_compl()
[all …]
Dbnx2fc_debug.c41 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...) in BNX2FC_TGT_DBG() argument
54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && in BNX2FC_TGT_DBG()
55 tgt->rport) in BNX2FC_TGT_DBG()
56 shost_printk(KERN_INFO, tgt->port->lport->host, in BNX2FC_TGT_DBG()
58 tgt->rport->port_id, &vaf); in BNX2FC_TGT_DBG()
Dbnx2fc.h427 struct bnx2fc_rport *tgt; member
481 struct bnx2fc_rport *tgt; member
503 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt);
504 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type);
510 struct bnx2fc_rport *tgt);
512 struct bnx2fc_rport *tgt);
514 struct bnx2fc_rport *tgt);
516 struct bnx2fc_rport *tgt);
517 int bnx2fc_map_doorbell(struct bnx2fc_rport *tgt);
527 char *bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items);
[all …]
/linux-6.6.21/drivers/scsi/snic/
Dsnic_disc.c152 struct snic_tgt *tgt = container_of(work, struct snic_tgt, scan_work); in snic_scsi_scan_tgt() local
153 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt()
156 SNIC_HOST_INFO(shost, "Scanning Target id 0x%x\n", tgt->id); in snic_scsi_scan_tgt()
157 scsi_scan_target(&tgt->dev, in snic_scsi_scan_tgt()
158 tgt->channel, in snic_scsi_scan_tgt()
159 tgt->scsi_tgt_id, in snic_scsi_scan_tgt()
164 tgt->flags &= ~SNIC_TGT_SCAN_PENDING; in snic_scsi_scan_tgt()
175 struct snic_tgt *tgt = NULL; in snic_tgt_lookup() local
178 tgt = list_entry(cur, struct snic_tgt, list); in snic_tgt_lookup()
179 if (tgt->id == le32_to_cpu(tgtid->tgt_id)) in snic_tgt_lookup()
[all …]
/linux-6.6.21/drivers/firewire/
Dsbp2.c120 struct sbp2_target *tgt; member
170 static struct fw_device *target_parent_device(struct sbp2_target *tgt) in target_parent_device() argument
172 return fw_parent_device(tgt->unit); in target_parent_device()
175 static const struct device *tgt_dev(const struct sbp2_target *tgt) in tgt_dev() argument
177 return &tgt->unit->device; in tgt_dev()
182 return &lu->tgt->unit->device; in lu_dev()
436 spin_lock_irqsave(&lu->tgt->lock, flags); in sbp2_status_write()
446 spin_unlock_irqrestore(&lu->tgt->lock, flags); in sbp2_status_write()
473 spin_lock_irqsave(&orb->lu->tgt->lock, flags); in complete_transaction()
479 spin_unlock_irqrestore(&orb->lu->tgt->lock, flags); in complete_transaction()
[all …]
/linux-6.6.21/drivers/scsi/ibmvscsi/
Dibmvfc.c493 static int ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, in ibmvfc_set_tgt_action() argument
498 switch (tgt->action) { in ibmvfc_set_tgt_action()
502 tgt->action = action; in ibmvfc_set_tgt_action()
509 tgt->action = action; in ibmvfc_set_tgt_action()
515 tgt->action = action; in ibmvfc_set_tgt_action()
521 tgt->action = action; in ibmvfc_set_tgt_action()
527 tgt->action = action; in ibmvfc_set_tgt_action()
534 tgt->action = action; in ibmvfc_set_tgt_action()
540 tgt->add_rport = 0; in ibmvfc_set_tgt_action()
655 static void ibmvfc_del_tgt(struct ibmvfc_target *tgt) in ibmvfc_del_tgt() argument
[all …]
/linux-6.6.21/drivers/scsi/qla2xxx/
Dqla_target.c112 static void qlt_clear_tgt_db(struct qla_tgt *tgt);
205 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds()
207 vha->hw->tgt.num_pend_cmds++; in qlt_incr_num_pend_cmds()
208 if (vha->hw->tgt.num_pend_cmds > vha->qla_stats.stat_max_pend_cmds) in qlt_incr_num_pend_cmds()
210 vha->hw->tgt.num_pend_cmds; in qlt_incr_num_pend_cmds()
211 spin_unlock_irqrestore(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds()
217 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_decr_num_pend_cmds()
218 vha->hw->tgt.num_pend_cmds--; in qlt_decr_num_pend_cmds()
219 spin_unlock_irqrestore(&vha->hw->tgt.q_full_lock, flags); in qlt_decr_num_pend_cmds()
227 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_queue_unknown_atio() local
[all …]
Dqla_dfs.c155 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qla2x00_dfs_tgt_sess_show() local
158 if (tgt) { in qla2x00_dfs_tgt_sess_show()
161 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show()
167 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show()
504 seq_printf(s, "%d\n", ha->tgt.num_act_qpairs); in qla_dfs_naqp_show()
647 if (num_act_qp != ha->tgt.num_act_qpairs) { in qla_dfs_naqp_write()
648 ha->tgt.num_act_qpairs = num_act_qp; in qla_dfs_naqp_write()
699 ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database", in qla2x00_dfs_setup()
705 ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess", in qla2x00_dfs_setup()
709 ha->tgt.dfs_naqp = debugfs_create_file("naqp", in qla2x00_dfs_setup()
[all …]
/linux-6.6.21/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_io.c13 enum cxd2880_io_tgt tgt, in cxd2880_io_common_write_one_reg() argument
19 return io->write_regs(io, tgt, sub_address, &data, 1); in cxd2880_io_common_write_one_reg()
23 enum cxd2880_io_tgt tgt, in cxd2880_io_set_reg_bits() argument
37 ret = io->read_regs(io, tgt, sub_address, &rdata, 1); in cxd2880_io_set_reg_bits()
44 return io->write_reg(io, tgt, sub_address, data); in cxd2880_io_set_reg_bits()
48 enum cxd2880_io_tgt tgt, in cxd2880_io_write_multi_regs() argument
59 ret = io->write_reg(io, tgt, reg_value[i].addr, in cxd2880_io_write_multi_regs()
Dcxd2880_io.h27 enum cxd2880_io_tgt tgt, u8 sub_address,
30 enum cxd2880_io_tgt tgt, u8 sub_address,
33 enum cxd2880_io_tgt tgt, u8 sub_address,
43 enum cxd2880_io_tgt tgt,
47 enum cxd2880_io_tgt tgt,
51 enum cxd2880_io_tgt tgt,
Dcxd2880_devio_spi.c15 enum cxd2880_io_tgt tgt, in cxd2880_io_spi_read_reg() argument
32 if (tgt == CXD2880_IO_TGT_SYS) in cxd2880_io_spi_read_reg()
63 enum cxd2880_io_tgt tgt, in cxd2880_io_spi_write_reg() argument
83 if (tgt == CXD2880_IO_TGT_SYS) in cxd2880_io_spi_write_reg()
97 if (tgt == CXD2880_IO_TGT_SYS) { in cxd2880_io_spi_write_reg()
/linux-6.6.21/drivers/firmware/
Discsi_ibft.c176 struct ibft_tgt *tgt; member
354 struct ibft_tgt *tgt = entry->tgt; in ibft_attr_show_target() local
359 if (!tgt) in ibft_attr_show_target()
364 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target()
367 str += sprintf(str, "%d\n", tgt->hdr.flags); in ibft_attr_show_target()
370 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target()
373 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
377 str += sprintf(str, "%x", (u8)tgt->lun[i]); in ibft_attr_show_target()
381 str += sprintf(str, "%d\n", tgt->nic_assoc); in ibft_attr_show_target()
384 str += sprintf(str, "%d\n", tgt->chap_type); in ibft_attr_show_target()
[all …]
/linux-6.6.21/drivers/scsi/
DBusLogic.c1246 unsigned char *tgt, ch; in blogic_rdconfig() local
1256 tgt = adapter->model; in blogic_rdconfig()
1257 *tgt++ = 'B'; in blogic_rdconfig()
1258 *tgt++ = 'T'; in blogic_rdconfig()
1259 *tgt++ = '-'; in blogic_rdconfig()
1261 *tgt++ = fpinfo->model[i]; in blogic_rdconfig()
1262 *tgt++ = '\0'; in blogic_rdconfig()
1376 tgt = adapter->model; in blogic_rdconfig()
1377 *tgt++ = 'B'; in blogic_rdconfig()
1378 *tgt++ = 'T'; in blogic_rdconfig()
[all …]
/linux-6.6.21/net/smc/
Dsmc_cdc.h101 static inline void smc_curs_copy(union smc_host_cursor *tgt, in smc_curs_copy() argument
109 tgt->acurs = src->acurs; in smc_curs_copy()
112 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smc_curs_copy()
116 static inline void smc_curs_copy_net(union smc_cdc_cursor *tgt, in smc_curs_copy_net() argument
124 tgt->acurs = src->acurs; in smc_curs_copy_net()
127 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smc_curs_copy_net()
131 static inline void smcd_curs_copy(union smcd_cdc_cursor *tgt, in smcd_curs_copy() argument
139 tgt->acurs = src->acurs; in smcd_curs_copy()
142 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smcd_curs_copy()
/linux-6.6.21/include/trace/events/
Dxdp.h94 const void *tgt, int err,
98 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index),
117 if (tgt)
118 ifindex = ((struct _bpf_dtab_netdev *)tgt)->dev->ifindex;
144 const void *tgt, int err,
147 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
153 const void *tgt, int err,
156 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
175 const void *tgt, int err,
178 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
[all …]
/linux-6.6.21/fs/smb/client/
Ddfs.c100 struct dfs_info3_param *tgt) in parse_dfs_target() argument
105 rc = ref_walk_get_tgt(rw, tgt); in parse_dfs_target()
107 rc = dfs_parse_target_referral(fpath, tgt, ctx); in parse_dfs_target()
112 struct dfs_info3_param *tgt, in set_ref_paths() argument
124 if (!tgt || (tgt->server_type == DFS_TYPE_LINK && in set_ref_paths()
125 DFS_INTERLINK(tgt->flags))) in set_ref_paths()
143 struct dfs_info3_param tgt = {}; in __dfs_referral_walk() local
165 rc = parse_dfs_target(ctx, rw, &tgt); in __dfs_referral_walk()
174 is_refsrv = tgt.server_type == DFS_TYPE_ROOT || in __dfs_referral_walk()
175 DFS_INTERLINK(tgt.flags); in __dfs_referral_walk()
[all …]
/linux-6.6.21/kernel/bpf/
Dmemalloc.c102 struct bpf_mem_cache *tgt; member
337 struct bpf_mem_cache *tgt = c->tgt; in free_bulk() local
342 WARN_ON_ONCE(tgt->unit_size != c->unit_size); in free_bulk()
353 enque_to_free(tgt, llnode); in free_bulk()
358 enque_to_free(tgt, llnode); in free_bulk()
359 do_call_rcu_ttrace(tgt); in free_bulk()
365 struct bpf_mem_cache *tgt = c->tgt; in __free_by_rcu() local
372 llist_add_batch(llnode, c->waiting_for_gp_tail, &tgt->free_by_rcu_ttrace); in __free_by_rcu()
375 do_call_rcu_ttrace(tgt); in __free_by_rcu()
527 c->tgt = c; in bpf_mem_alloc_init()
[all …]
/linux-6.6.21/sound/soc/
Dsoc-link.c37 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream) argument
38 #define soc_link_mark_pop(rtd, substream, tgt) ((rtd)->mark_##tgt = NULL) argument
39 #define soc_link_mark_match(rtd, substream, tgt) ((rtd)->mark_##tgt == substream) argument
/linux-6.6.21/arch/powerpc/mm/book3s64/
Dradix_tlb.c855 unsigned long tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_mm() local
858 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_mm()
859 pseries_rpt_invalidate(pid, tgt, H_RPTI_TYPE_TLB, in radix__flush_tlb_mm()
891 unsigned long tgt = H_RPTI_TARGET_CMMU; in __flush_all_mm() local
896 tgt |= H_RPTI_TARGET_NMMU; in __flush_all_mm()
897 pseries_rpt_invalidate(pid, tgt, type, in __flush_all_mm()
931 unsigned long tgt, pg_sizes, size; in radix__flush_tlb_page_psize() local
933 tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_page_psize()
938 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_page_psize()
939 pseries_rpt_invalidate(pid, tgt, H_RPTI_TYPE_TLB, in radix__flush_tlb_page_psize()
[all …]
/linux-6.6.21/drivers/md/
Ddm-zone.c34 struct dm_target *tgt; in dm_blk_do_report_zones() local
36 tgt = dm_table_find_target(t, args.next_sector); in dm_blk_do_report_zones()
37 if (WARN_ON_ONCE(!tgt->type->report_zones)) in dm_blk_do_report_zones()
40 args.tgt = tgt; in dm_blk_do_report_zones()
41 ret = tgt->type->report_zones(tgt, &args, in dm_blk_do_report_zones()
81 sector_t sector_diff = args->tgt->begin - args->start; in dm_report_zones_cb()
86 if (zone->start >= args->start + args->tgt->len) in dm_report_zones_cb()
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c196 int tgt, int act, int tok, u64 offset, size_t size, int width) in compute_bar() argument
201 if (tgt >= NFP_CPP_NUM_TARGETS) in compute_bar()
227 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar()
242 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar()
290 int tgt, int act, int tok, u64 offset, size_t size, int width) in reconfigure_bar() argument
297 tgt, act, tok, offset, size, width); in reconfigure_bar()
307 static int matching_bar(struct nfp_bar *bar, u32 tgt, u32 act, u32 tok, in matching_bar() argument
355 if ((bartgt < 0 || bartgt == tgt) && in matching_bar()
368 u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) in find_matching_bar() argument
375 if (matching_bar(bar, tgt, act, tok, offset, size, width)) in find_matching_bar()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_doc_build.sh18 for tgt in docs docs-clean; do
19 make -s -C $PWD/$SCRIPT_REL_DIR $tgt;

1234