Home
last modified time | relevance | path

Searched refs:fc (Results 1 – 25 of 163) sorted by relevance

1234567

/illumos-gate/usr/src/uts/common/io/1394/targets/av1394/
H A Dav1394_fcp.c109 av1394_fcp_cmd_t *fc; in av1394_fcp_write() local
135 fc = (arq->arq_type == IEC61883_ARQ_FCP_CMD) ? in av1394_fcp_write()
140 while (fc->fc_busy) { in av1394_fcp_write()
141 if (cv_wait_sig(&fc->fc_busy_cv, &ap->a_mutex) == 0) { in av1394_fcp_write()
147 fc->fc_busy = B_TRUE; in av1394_fcp_write()
150 cmd = fc->fc_cmd; in av1394_fcp_write()
161 ret = av1394_fcp_cmd_write_sync(avp, fc); in av1394_fcp_write()
164 fc->fc_busy = B_FALSE; in av1394_fcp_write()
165 cv_broadcast(&fc->fc_busy_cv); in av1394_fcp_write()
207 av1394_fcp_cmd_t *fc = &avp->av_a.a_fcp.fcp_cmd; in av1394_fcp_ctl_alloc_cmd() local
[all …]
/illumos-gate/usr/src/cmd/lp/cmd/lptest/
H A Dlptest.c25 register int i, j, fc, nc; in main() local
37 fc = ' '; in main()
39 if (++fc == 0177) in main()
40 fc = ' '; in main()
41 nc = fc; in main()
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ether.c762 uchar_t fc; member
813 uchar_t fc; in interpret_tr() local
850 fc = mh->fc; in interpret_tr()
920 fc, print_fc(fc), origlen); in interpret_tr()
937 fc, print_fc(fc)); in interpret_tr()
1017 uchar_t fc; in tr_machdr_len() local
1021 fc = mh->fc; in tr_machdr_len()
1031 if ((fc & TR_MAC_MASK) == 0) in tr_machdr_len()
1061 uchar_t fc; member
1104 (void) memcpy(&f->fc, e, sizeof (f->fc)); in interpret_fddi()
[all …]
/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_mac.c541 if (hw->fc.requested_mode == igc_fc_default) { in igc_setup_link_generic()
542 hw->fc.requested_mode = igc_fc_full; in igc_setup_link_generic()
548 hw->fc.current_mode = hw->fc.requested_mode; in igc_setup_link_generic()
551 hw->fc.current_mode); in igc_setup_link_generic()
568 IGC_WRITE_REG(hw, IGC_FCTTV, hw->fc.pause_time); in igc_setup_link_generic()
615 if (hw->fc.current_mode & igc_fc_tx_pause) { in igc_set_fc_watermarks_generic()
620 fcrtl = hw->fc.low_water; in igc_set_fc_watermarks_generic()
621 if (hw->fc.send_xon) in igc_set_fc_watermarks_generic()
624 fcrth = hw->fc.high_water; in igc_set_fc_watermarks_generic()
667 DEBUGOUT1("hw->fc.current_mode = %u\n", hw->fc.current_mode); in igc_force_mac_fc_generic()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dfaultcode.h62 #define FC_CODE(fc) ((fc) & 0xff) argument
63 #define FC_ERRNO(fc) ((unsigned)(fc) >> 8) argument
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/
H A Dbase64.c173 unsigned char* fc; in base64decode() local
201 fc = fp; in base64decode()
231 *fn = fc; in base64decode()
240 fc = fp; in base64decode()
263 *fn = fc; in base64decode()
278 *fn = fc; in base64decode()
289 *fn = fc; in base64decode()
/illumos-gate/usr/src/uts/common/io/fibre-channel/fca/oce/
H A Doce_gld.c385 uint32_t fc = 0; in oce_m_setprop() local
391 fc = 0; in oce_m_setprop()
395 fc = OCE_FC_RX; in oce_m_setprop()
399 fc = OCE_FC_TX; in oce_m_setprop()
403 fc = OCE_FC_RX | OCE_FC_TX; in oce_m_setprop()
413 if (fc == dev->flow_control) in oce_m_setprop()
417 dev->flow_control = fc; in oce_m_setprop()
421 ret = oce_set_flow_control(dev, fc); in oce_m_setprop()
424 dev->flow_control = fc; in oce_m_setprop()
487 link_flowctrl_t *fc = (link_flowctrl_t *)val; in oce_m_getprop() local
[all …]
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_mac.c982 hw->fc.requested_mode = e1000_fc_none; in e1000_set_default_fc_generic()
985 hw->fc.requested_mode = e1000_fc_tx_pause; in e1000_set_default_fc_generic()
987 hw->fc.requested_mode = e1000_fc_full; in e1000_set_default_fc_generic()
1017 if (hw->fc.requested_mode == e1000_fc_default) { in e1000_setup_link_generic()
1026 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_generic()
1029 hw->fc.current_mode); in e1000_setup_link_generic()
1046 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_generic()
1081 switch (hw->fc.current_mode) { in e1000_commit_fc_settings_generic()
1262 if (hw->fc.current_mode & e1000_fc_tx_pause) { in e1000_set_fc_watermarks_generic()
1267 fcrtl = hw->fc.low_water; in e1000_set_fc_watermarks_generic()
[all …]
H A De1000_82542.c328 hw->fc.requested_mode &= ~e1000_fc_tx_pause; in e1000_setup_link_82542()
331 hw->fc.requested_mode &= ~e1000_fc_rx_pause; in e1000_setup_link_82542()
337 hw->fc.current_mode = hw->fc.requested_mode; in e1000_setup_link_82542()
340 hw->fc.current_mode); in e1000_setup_link_82542()
359 E1000_WRITE_REG(hw, E1000_FCTTV, hw->fc.pause_time); in e1000_setup_link_82542()
/illumos-gate/usr/src/cmd/troff/
H A Dn9.c395 gchtab[fc] &= ~FCBIT; in casefc()
396 fc = IMP; in casefc()
400 fc = i; in casefc()
401 gchtab[fc] |= FCBIT; in casefc()
402 if (skip() || ismot(ch) || (ch = cbits(ch)) == fc) in casefc()
427 savfc = fc; in setfield()
430 tabch = ldrch = fc = IMP; in setfield()
434 gchtab[fc] &= ~FCBIT; in setfield()
543 gchtab[fc] &= ~FCBIT; in setfield()
546 fc = savfc; in setfield()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dhunt1.c57 static FILE *fa, *fb, *fc; in main() local
154 fclose(fc); in main()
165 fc = fopen(nmc, "r"); in main()
167 if (fb == NULL || fc == NULL) { in main()
209 nfound = baddrop(master, nfound, fc, in main()
269 result(master, nfound > tags ? tags : nfound, fc); in main()
H A Dglue1.c61 static FILE *fa, *fb, *fc; in huntmain() local
147 unopen(fc); in huntmain()
155 fc = iopen(indexname, ".ic"); in huntmain()
158 fprintf(stderr, "opened f's as %o %o %o\n", fa, fb, fc); in huntmain()
250 nfound = baddrop(masterp, nfound, fc, nitem, qitem, in huntmain()
257 result(masterp, nfound > tags ? tags : nfound, fc); in huntmain()
H A Dhunt5.c26 result(unsigned *mptr, int nf, FILE *fc) in result() argument
43 fseek(fc, lp, 0); in result()
44 fgets(res, 100, fc); in result()
H A Dinv1.c39 FILE *fa, *fb, *fc, *fta, *ftb, *ftc; in main() local
123 fc = fopen(nmc, appflg ? "a" : "w"); in main()
126 docs = newkeys(fta, stdin, fc, nhash, fd, &iflong); in main()
/illumos-gate/usr/src/uts/common/io/chxge/com/
H A Dpm3393.c89 u8 fc; member
364 if (cmac->instance->fc & PAUSE_RX) in pm3393_enable()
366 if (cmac->instance->fc & PAUSE_TX) in pm3393_enable()
525 int *duplex, int *fc) in pm3393_get_speed_duplex_fc() argument
531 if (fc) in pm3393_get_speed_duplex_fc()
532 *fc = cmac->instance->fc; in pm3393_get_speed_duplex_fc()
537 int fc) in pm3393_set_speed_duplex_fc() argument
543 if (fc & ~(PAUSE_TX | PAUSE_RX)) in pm3393_set_speed_duplex_fc()
546 if (fc != cmac->instance->fc) { in pm3393_set_speed_duplex_fc()
547 cmac->instance->fc = (u8) fc; in pm3393_set_speed_duplex_fc()
[all …]
H A Dch_subr.c160 int link_ok, speed, duplex, fc; in link_changed() local
164 phy->ops->get_link_status(phy, &link_ok, &speed, &duplex, &fc); in link_changed()
169 fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in link_changed()
175 mac->ops->set_speed_duplex_fc(mac, speed, duplex, fc); in link_changed()
176 lc->fc = (unsigned char)fc; in link_changed()
178 t1_os_link_changed(adapter, port_id, link_ok, speed, duplex, fc); in link_changed()
822 unsigned int fc = lc->requested_fc & (PAUSE_RX | PAUSE_TX); in t1_link_start() local
826 if (fc) { in t1_link_start()
827 if (fc == ((PAUSE_RX | PAUSE_TX) & !is_T2(mac->adapter))) in t1_link_start()
831 if (fc == PAUSE_RX) in t1_link_start()
[all …]
H A Dxpak.c61 int *duplex, int *fc) in xpak_get_link_status() argument
69 if (fc) in xpak_get_link_status()
70 *fc = PAUSE_RX | PAUSE_TX; in xpak_get_link_status()
H A Dixf1010.c309 int fc) in mac_set_speed_duplex_fc() argument
325 if (fc & PAUSE_RX) in mac_set_speed_duplex_fc()
327 if (fc & PAUSE_TX) in mac_set_speed_duplex_fc()
334 int *fc) in mac_get_speed_duplex_fc() argument
345 if (fc) { in mac_get_speed_duplex_fc()
347 *fc = 0; in mac_get_speed_duplex_fc()
349 *fc |= PAUSE_RX; in mac_get_speed_duplex_fc()
351 *fc |= PAUSE_TX; in mac_get_speed_duplex_fc()
/illumos-gate/usr/src/uts/common/syscall/
H A Dmemcntl.c65 faultcode_t fc; in memcntl() local
357 fc = as_faulta(as, addr, len); in memcntl()
358 if (fc) { in memcntl()
359 if (FC_CODE(fc) == FC_OBJERR) in memcntl()
360 error = set_errno(FC_ERRNO(fc)); in memcntl()
361 else if (FC_CODE(fc) == FC_NOMAP) in memcntl()
/illumos-gate/usr/src/uts/common/io/ixgbe/core/
H A Dixgbe_82598.c423 if (!hw->fc.pause_time) { in ixgbe_fc_enable_82598()
430 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
431 hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
432 if (!hw->fc.low_water[i] || in ixgbe_fc_enable_82598()
433 hw->fc.low_water[i] >= hw->fc.high_water[i]) { in ixgbe_fc_enable_82598()
448 switch (hw->fc.requested_mode) { in ixgbe_fc_enable_82598()
450 hw->fc.requested_mode = ixgbe_fc_tx_pause; in ixgbe_fc_enable_82598()
453 hw->fc.requested_mode = ixgbe_fc_none; in ixgbe_fc_enable_82598()
481 switch (hw->fc.current_mode) { in ixgbe_fc_enable_82598()
525 if ((hw->fc.current_mode & ixgbe_fc_tx_pause) && in ixgbe_fc_enable_82598()
[all …]
H A Dixgbe_dcb_82598.c299 fcrtl = (hw->fc.low_water[i] << 10) | IXGBE_FCRTL_XONE; in ixgbe_dcb_config_pfc_82598()
300 reg = (hw->fc.high_water[i] << 10) | IXGBE_FCRTH_FCEN; in ixgbe_dcb_config_pfc_82598()
306 reg = hw->fc.pause_time | (hw->fc.pause_time << 16); in ixgbe_dcb_config_pfc_82598()
311 IXGBE_WRITE_REG(hw, IXGBE_FCRTV, hw->fc.pause_time / 2); in ixgbe_dcb_config_pfc_82598()
/illumos-gate/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_log.c609 fmd_log_filter(fmd_log_t *lp, uint_t fc, fmd_log_filter_t *fv, in fmd_log_filter() argument
612 fmd_log_filtvec_t *fav = alloca(fc * sizeof (fmd_log_filtvec_t)); in fmd_log_filter()
619 bzero(fav, fc * sizeof (fmd_log_filtvec_t)); in fmd_log_filter()
620 qsort(fv, fc, sizeof (fmd_log_filter_t), fmd_log_xiter_filtcmp); in fmd_log_filter()
622 for (i = 0; i < fc; i++) { in fmd_log_filter()
632 fmd_log_xiter(fmd_log_t *lp, uint_t flag, uint_t fc, fmd_log_filter_t *fv, in fmd_log_xiter() argument
652 if (fc != 0) { in fmd_log_xiter()
653 if ((fav = calloc(fc, sizeof (fmd_log_filtvec_t))) == NULL) in fmd_log_xiter()
656 qsort(fv, fc, sizeof (fmd_log_filter_t), fmd_log_xiter_filtcmp); in fmd_log_xiter()
658 for (i = 0; i < fc; i++) { in fmd_log_xiter()
[all …]
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_map.c1363 char *val, *filter, **fc = 0; in attrVal() local
1376 if (filter != 0 && (fc = makeFilterComp(filter, &nfc)) != 0 && in attrVal()
1381 name = fc[i]; in attrVal()
1400 freeFilterComp(fc, nfc); in attrVal()
1542 char *attrs[2], *filter, **fc = 0; in objFromLDAP() local
1587 if (filter == 0 || (fc = makeFilterComp(filter, &nfc)) == 0 || in objFromLDAP()
1591 freeFilterComp(fc, nfc); in objFromLDAP()
1606 freeFilterComp(fc, nfc); in objFromLDAP()
1614 name = fc[i]; in objFromLDAP()
1634 freeFilterComp(fc, nfc); in objFromLDAP()
[all …]
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dalloc.c63 struct stats *mt, *ft, *mc, *fc; in alloc_fini() local
68 fc = Freecount; in alloc_fini()
78 stats_delete(fc); in alloc_fini()
/illumos-gate/usr/src/cmd/smbsrv/test-crypt/
H A DREADME37 /tank/ws2/il-fc-smb/proto/root_i386/usr/lib/security/$ISA/pkcs11_kernel.so
38 /tank/ws2/il-fc-smb/proto/root_i386/usr/lib/security/$ISA/pkcs11_softtoken.so
39 /tank/ws2/il-fc-smb/proto/root_i386/usr/lib/security/$ISA/pkcs11_tpm.so

1234567