Home
last modified time | relevance | path

Searched refs:fcp (Results 1 – 25 of 40) sorted by relevance

12

/titanic_50/usr/src/uts/common/io/
H A Dfdc.c109 #define KIOIP KSTAT_INTR_PTR(fcp->c_intrstat)
237 static int fdc_enhance_probe(struct fdcntlr *fcp);
357 struct fdcntlr *fcp; in fdc_bus_ctl() local
365 if ((fcp = ddi_get_driver_private(dip)) == NULL) in fdc_bus_ctl()
390 cntlr = fcp->c_number; in fdc_bus_ctl()
397 (fcp->c_unit[FDUNIT(unit)])->fj_dip) in fdc_bus_ctl()
403 fjp = fcp->c_unit[FDUNIT(unit)]; in fdc_bus_ctl()
407 fjp->fj_fdc = fcp; in fdc_bus_ctl()
408 fjp->fj_iblock = &fcp->c_iblock; in fdc_bus_ctl()
434 struct fdcntlr *fcp; in fdc_getinfo() local
[all …]
/titanic_50/usr/src/uts/common/os/
H A Dndifm.c184 ndi_fmc_t *fcp; in i_ndi_fmc_create() local
186 fcp = kmem_zalloc(sizeof (ndi_fmc_t), KM_SLEEP); in i_ndi_fmc_create()
187 mutex_init(&fcp->fc_lock, NULL, MUTEX_DRIVER, ibc); in i_ndi_fmc_create()
189 *fcpp = fcp; in i_ndi_fmc_create()
196 i_ndi_fmc_destroy(ndi_fmc_t *fcp) in i_ndi_fmc_destroy() argument
200 if (fcp == NULL) in i_ndi_fmc_destroy()
204 mutex_enter(&fcp->fc_lock); in i_ndi_fmc_destroy()
205 for (fep = fcp->fc_head; fep != NULL; fep = pp) { in i_ndi_fmc_destroy()
209 mutex_exit(&fcp->fc_lock); in i_ndi_fmc_destroy()
210 mutex_destroy(&fcp->fc_lock); in i_ndi_fmc_destroy()
[all …]
/titanic_50/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_fcp.c71 av1394_fcp_t *fcp = &avp->av_a.a_fcp; in av1394_fcp_attach() local
103 cv_init(&fcp->fcp_cmd.fc_xmit_cv, NULL, CV_DRIVER, NULL); in av1394_fcp_attach()
104 cv_init(&fcp->fcp_cmd.fc_busy_cv, NULL, CV_DRIVER, NULL); in av1394_fcp_attach()
105 cv_init(&fcp->fcp_resp.fc_xmit_cv, NULL, CV_DRIVER, NULL); in av1394_fcp_attach()
106 cv_init(&fcp->fcp_resp.fc_busy_cv, NULL, CV_DRIVER, NULL); in av1394_fcp_attach()
126 av1394_fcp_t *fcp = &ap->a_fcp; in av1394_fcp_write() local
162 &fcp->fcp_cmd : &fcp->fcp_resp; in av1394_fcp_write()
299 av1394_fcp_t *fcp = &avp->av_a.a_fcp; in av1394_fcp_cleanup() local
305 cv_destroy(&fcp->fcp_cmd.fc_xmit_cv); in av1394_fcp_cleanup()
306 cv_destroy(&fcp->fcp_cmd.fc_busy_cv); in av1394_fcp_cleanup()
[all …]
/titanic_50/usr/src/uts/common/io/fibre-channel/fca/qlc/
H A Dql_iocb.c432 fcp_cmd_t *fcp = sp->fcp; in ql_command_iocb() local
451 if (fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_HEAD_OF_Q) { in ql_command_iocb()
454 } else if (fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_ORDERED) { in ql_command_iocb()
467 ddi_rep_put8(ha->hba_buf.acc_handle, fcp->fcp_cdb, in ql_command_iocb()
478 if (fcp->fcp_data_len == 0) { in ql_command_iocb()
487 if (fcp->fcp_cntl.cntl_write_data) { in ql_command_iocb()
491 ha->xioctl->IOOutputByteCnt += fcp->fcp_data_len; in ql_command_iocb()
492 } else if (fcp->fcp_cntl.cntl_read_data) { in ql_command_iocb()
496 ha->xioctl->IOInputByteCnt += fcp->fcp_data_len; in ql_command_iocb()
504 ddi_put32(ha->hba_buf.acc_handle, &pkt->byte_count, fcp->fcp_data_len); in ql_command_iocb()
[all …]
H A Dql_isr.c1457 if (sp->fcp->fcp_cntl.cntl_qtype == FCP_QTYPE_UNTAGGED) { in ql_fast_fcp_post()
1881 sp->fcp && in ql_status_entry()
1882 sp->fcp->fcp_data_len != 0 && in ql_status_entry()
2010 sp->fcp && in ql_24xx_status_entry()
2011 sp->fcp->fcp_data_len != 0 && in ql_24xx_status_entry()
2012 sp->fcp->fcp_cntl.cntl_write_data) { in ql_24xx_status_entry()
2177 if (sp->fcp->fcp_data_len && in ql_status_error()
2179 sts.residual_length != sp->fcp->fcp_data_len)) { in ql_status_error()
2190 if (sp->fcp->fcp_cntl.cntl_write_data) { in ql_status_error()
2193 } else if (sp->fcp->fcp_cntl.cntl_read_data) { in ql_status_error()
[all …]
/titanic_50/usr/src/cmd/filesync/
H A Danal.c651 struct fileinfo *chgp, *tgtp, *basp, *fcp, *ftp; in find_link() local
657 fcp = &fp->f_info[chgside]; in find_link()
682 if (fcp->f_nlink > 1) in find_link()
703 if (fcp->f_d_maj != chgp->f_d_maj) in find_link()
705 if (fcp->f_d_min != chgp->f_d_min) in find_link()
707 if (fcp->f_ino != chgp->f_ino) in find_link()
768 if (fcp->f_d_maj != ((srcdst == OPT_SRC) ? lp->f_d_maj in find_link()
771 if (fcp->f_d_min != ((srcdst == OPT_SRC) ? lp->f_d_min in find_link()
774 if (fcp->f_ino != ((srcdst == OPT_SRC) ? lp->f_d_inum in find_link()
791 if (fcp->f_type != basp->f_type) in find_link()
[all …]
/titanic_50/usr/src/uts/common/io/1394/
H A Ds1394_fcp.c138 s1394_fcp_target_t *fcp; in s1394_fcp_register_common() local
152 fcp = &target->target_fa[type].fat_u.fcp; in s1394_fcp_register_common()
153 fcp->fc_evts = *evts; in s1394_fcp_register_common()
271 cb = fat->fat_u.fcp.fc_evts.fcp_write_request; in s1394_fcp_recv_write_request()
275 req->cmd_callback_arg = fat->fat_u.fcp.fc_evts.fcp_arg; in s1394_fcp_recv_write_request()
/titanic_50/usr/src/pkg/manifests/
H A Ddriver-network-fcp.mf32 set name=pkg.fmri value=pkg:/driver/network/fcp@$(PKGVERS)
43 driver name=fcp perms="* 0600 root sys"
44 file path=kernel/drv/$(ARCH64)/fcp group=sys
45 file path=kernel/drv/fcp.conf group=sys
46 file path=usr/share/man/man7d/fcp.7d
H A DSUNWfcp.mf29 depend fmri=pkg:/driver/network/fcp@0.5.11,5.11-0.133 type=require
/titanic_50/usr/src/lib/efcode/fcdriver/
H A Dioctl.c53 fc_cell_t *fcp; in fc_run_priv() local
74 fcp = va_arg(ap, fc_cell_t *); in fc_run_priv()
75 *fcp = fc_result(cip, i); in fc_run_priv()
/titanic_50/usr/src/cmd/mdb/sparc/v9/fcp/
H A DMakefile26 MODULE = fcp.so
29 MODSRCS = fcp.c
/titanic_50/usr/src/cmd/mdb/intel/amd64/fcp/
H A DMakefile26 MODULE = fcp.so
29 MODSRCS = fcp.c
/titanic_50/usr/src/uts/sun4/io/efcode/
H A Dfcode.c499 struct fc_parameters *fcp; in fc_get_parameters() local
525 fcp = kmem_zalloc(sizeof (struct fc_parameters), KM_SLEEP); in fc_get_parameters()
526 fcp->fcode_size = rp->fcode_size; in fc_get_parameters()
527 (void) strncpy(fcp->unit_address, rp->unit_address, in fc_get_parameters()
528 sizeof (fcp->unit_address) - 1); in fc_get_parameters()
534 bcopy(rp->bus_args, &fcp->config_address, sizeof (int)); in fc_get_parameters()
537 fcp->config_address); in fc_get_parameters()
543 if (copyout(fcp, (void *)arg, sizeof (struct fc_parameters)) == -1) { in fc_get_parameters()
544 kmem_free(fcp, sizeof (struct fc_parameters)); in fc_get_parameters()
547 kmem_free(fcp, sizeof (struct fc_parameters)); in fc_get_parameters()
/titanic_50/usr/src/uts/common/inet/
H A Dmi.c488 char *fcp; in mi_iprintf() local
537 fcp = va_arg(ap, char *); in mi_iprintf()
540 fcp = (char *)cp1; in mi_iprintf()
542 fcp = NULL; in mi_iprintf()
544 if (!fcp) { in mi_iprintf()
545 for (fcp = (char *)"(NULL)"; *fcp; fcp++) in mi_iprintf()
546 count += (*putc_func)(cookie, *fcp); in mi_iprintf()
549 int u1 = *fcp++ & 0xFF; in mi_iprintf()
568 fcp = va_arg(ap, char *); in mi_iprintf()
571 fcp = (char *)cp1; in mi_iprintf()
[all …]
/titanic_50/usr/src/uts/common/sys/ib/adapters/hermon/
H A Dhermon_fcoib.h83 ibt_fc_attr_t *fcp);
85 ibt_fc_attr_t *fcp);
/titanic_50/usr/src/cmd/picl/plugins/sun4u/excalibur/frutree/
H A Dpiclfrutree.info126 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=1
129 REFNODE disk fru WITH _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=3
134 _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=1
137 _class:/PLATFORM_CLASS/pci?instance=1/scsi-fcp/devctl/block?target=3
/titanic_50/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_fcoib.c124 hermon_fcoib_get_id_idx(hermon_state_t *state, int port, ibt_fc_attr_t *fcp) in hermon_fcoib_get_id_idx() argument
133 idx = fcp->fc_rfci_qpn - fcoib->hfc_rfci_base[port]; in hermon_fcoib_get_id_idx()
146 ibt_fc_attr_t *fcp) in hermon_fcoib_check_exch_base_off() argument
155 exch_base_off = fcp->fc_exch_base_off; in hermon_fcoib_check_exch_base_off()
/titanic_50/usr/src/cmd/mdb/
H A DMakefile.common67 fcp \
/titanic_50/usr/src/uts/intel/fcp/
H A DMakefile38 MODULE = fcp
/titanic_50/usr/src/uts/intel/fp/
H A DMakefile69 LDFLAGS += -dy -Ndrv/fcp -Nmisc/fctl -Nmisc/scsi
/titanic_50/usr/src/uts/sparc/fcp/
H A DMakefile38 MODULE = fcp
/titanic_50/usr/src/uts/sparc/fp/
H A DMakefile65 LDFLAGS += -dy -Nmisc/fctl -Ndrv/fcp -Nmisc/scsi
/titanic_50/usr/src/uts/common/io/pciex/
H A Dpcie_fault.c2327 ndi_fmc_t *fcp = NULL; in pf_hdl_child_lookup() local
2354 fcp = fmhdl->fh_dma_cache; in pf_hdl_child_lookup()
2356 fcp = NULL; in pf_hdl_child_lookup()
2358 if (fcp) in pf_hdl_child_lookup()
2360 bdf, fcp); in pf_hdl_child_lookup()
2365 fcp = fmhdl->fh_acc_cache; in pf_hdl_child_lookup()
2367 fcp = NULL; in pf_hdl_child_lookup()
2369 if (fcp) in pf_hdl_child_lookup()
2371 bdf, fcp); in pf_hdl_child_lookup()
2418 uint64_t addr, pcie_req_id_t bdf, ndi_fmc_t *fcp) { in pf_hdl_compare() argument
[all …]
/titanic_50/usr/src/cmd/mdb/common/modules/fcp/
H A Dfcp.c94 fcp(uintptr_t addr, uint_t flags, int argc, const mdb_arg_t *argv) in fcp() function
536 { "fcp", NULL, "Leadville fcp instances", fcp },
/titanic_50/usr/src/uts/sparc/ssd/
H A DMakefile91 LDFLAGS += -dy -N misc/scsi -N misc/cmlb -N drv/fcp

12