/illumos-gate/usr/src/cmd/fm/modules/common/sensor-transport/ |
H A D | sensor_transport.c | 93 sensor_fault_t *sfp, **current; in st_check_component() local 216 sfp = *current; in st_check_component() 217 if (sfp == NULL) { in st_check_component() 228 sfp = fmd_hdl_zalloc(hdl, sizeof (sensor_fault_t), in st_check_component() 230 sfp->sf_fru = fmd_hdl_strdup(hdl, fmri, FMD_SLEEP); in st_check_component() 231 sfp->sf_next = stp->st_faults; in st_check_component() 232 stp->st_faults = sfp; in st_check_component() 239 sfp->sf_num_fails++; in st_check_component() 242 sfp->sf_unknown = B_TRUE; in st_check_component() 252 if (!sfp->sf_last_faulted && in st_check_component() [all …]
|
/illumos-gate/usr/src/cmd/lastcomm/ |
H A D | lc_utils.c | 88 char *sfp; /* pointer inside the raw image buffer */ in get_pri_dirs() local 99 sfp = raw_sf; in get_pri_dirs() 101 *sfp++ = (char)c; in get_pri_dirs() 106 *sfp = EOLN; in get_pri_dirs() 109 sfp = raw_sf; in get_pri_dirs() 114 if (*sfp == COMMENT_CHAR) { in get_pri_dirs() 116 } else if (!isspace(*sfp)) { in get_pri_dirs() 118 pri_dirs[dirno++] = sfp; in get_pri_dirs() 122 if (*sfp == EOLN) in get_pri_dirs() 126 if (*sfp == EOLN) { in get_pri_dirs() [all …]
|
/illumos-gate/usr/src/uts/common/io/sfxge/common/ |
H A D | efx_filter.c | 689 __inout siena_filter_t *sfp, in siena_filter_reset_search_depth() argument 694 sfp->sf_depth[EFX_SIENA_FILTER_RX_TCP_FULL] = 0; in siena_filter_reset_search_depth() 695 sfp->sf_depth[EFX_SIENA_FILTER_RX_TCP_WILD] = 0; in siena_filter_reset_search_depth() 696 sfp->sf_depth[EFX_SIENA_FILTER_RX_UDP_FULL] = 0; in siena_filter_reset_search_depth() 697 sfp->sf_depth[EFX_SIENA_FILTER_RX_UDP_WILD] = 0; in siena_filter_reset_search_depth() 701 sfp->sf_depth[EFX_SIENA_FILTER_RX_MAC_FULL] = 0; in siena_filter_reset_search_depth() 702 sfp->sf_depth[EFX_SIENA_FILTER_RX_MAC_WILD] = 0; in siena_filter_reset_search_depth() 706 sfp->sf_depth[EFX_SIENA_FILTER_TX_TCP_FULL] = 0; in siena_filter_reset_search_depth() 707 sfp->sf_depth[EFX_SIENA_FILTER_TX_TCP_WILD] = 0; in siena_filter_reset_search_depth() 708 sfp->sf_depth[EFX_SIENA_FILTER_TX_UDP_FULL] = 0; in siena_filter_reset_search_depth() [all …]
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_notify.c | 166 struct sctp_send_failed *sfp; in sctp_sendfail() local 171 if ((mp = allocb(sizeof (*sfp), BPRI_MED)) == NULL) { in sctp_sendfail() 178 sfp = (struct sctp_send_failed *)mp->b_rptr; in sctp_sendfail() 179 sfp->ssf_type = SCTP_SEND_FAILED; in sctp_sendfail() 180 sfp->ssf_flags = flags; in sctp_sendfail() 181 sfp->ssf_length = smh->smh_msglen + sizeof (*sfp); in sctp_sendfail() 182 sfp->ssf_error = error; in sctp_sendfail() 183 sfp->ssf_assoc_id = 0; in sctp_sendfail() 185 bzero(&sfp->ssf_info, sizeof (sfp->ssf_info)); in sctp_sendfail() 186 sfp->ssf_info.sinfo_stream = smh->smh_sid; in sctp_sendfail() [all …]
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | printf-15294.c | 70 FILE *fp, *sfp; in main() local 81 if ((sfp = fdopen(sfd, "w")) == NULL) in main() 85 test_file(sfp, "test PTY", sizeof ("test PTY") - 1, 0); in main() 88 VERIFY0(fclose(sfp)); in main()
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/ |
H A D | ipmgmt_util.c | 62 FILE *sfp, *dfp; in ipmgmt_cpfile() local 83 if ((sfp = fopen(src, "r")) == NULL) { in ipmgmt_cpfile() 92 while (fgets(buf, sizeof (buf), sfp) != NULL && errno == 0) { in ipmgmt_cpfile() 102 (void) fclose(sfp); in ipmgmt_cpfile()
|
/illumos-gate/usr/src/cmd/audio/audioctl/ |
H A D | audioctl.c | 385 print_control_line(FILE *sfp, col_prt_t *colp, int vopt) in print_control_line() argument 398 if (sfp != NULL) { in print_control_line() 428 (void) fprintf(sfp ? sfp : stdout, "%s\n", line); in print_control_line() 433 print_header(FILE *sfp, int vopt) in print_header() argument 437 if (sfp) { in print_header() 446 print_control_line(sfp, &col, vopt); in print_header() 451 print_control(FILE *sfp, device_t *d, cinfo_t *cinfop, int vopt) in print_control() argument 566 print_control_line(sfp, &col, vopt); in print_control() 569 if ((!vopt) || (sfp != NULL)) { in print_control() 596 print_control_line(sfp, &col, vopt); in print_control()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | pppoec.c | 1315 struct server_filter *sfp; in use_server() local 1357 for (sfp = sfhead; sfp != NULL; sfp = sfp->sf_next) { in use_server() 1358 passmatched |= !sfp->sf_isexcept; in use_server() 1359 if (sfp->sf_hasmac) { in use_server() 1361 macp = sfp->sf_mac.ether_addr_octet; in use_server() 1362 maskp = sfp->sf_mask.ether_addr_octet; in use_server() 1372 if (sfp == NULL) { in use_server() 1380 if (!sfp->sf_isexcept) in use_server()
|
/illumos-gate/usr/src/cmd/th_tools/ |
H A D | th_define.c | 1751 FILE *sfp; /* generated control test file */ in test_driver() local 1844 sfp = create_test_file(name); in test_driver() 1876 if (sfp) { in test_driver() 1877 (void) fprintf(sfp, "#!/bin/ksh -p\n\n"); in test_driver() 1878 (void) fprintf(sfp, in test_driver() 1881 (void) fprintf(sfp, " %s", pargv[i]); in test_driver() 1882 (void) fprintf(sfp, "\n\n"); in test_driver() 1883 (void) fprintf(sfp, "\nrun_tests()\n{\n"); in test_driver() 1886 (void) fprintf(sfp, in test_driver() 1889 (void) fprintf(sfp, in test_driver() [all …]
|
/illumos-gate/usr/src/lib/libc/amd64/unwind/ |
H A D | unwind.c | 206 struct eh_frame_fields *sfp = 0; in complete_context() local 214 sfp = _Unw_Decode_FDE(&sf, ctx); in complete_context() 216 (void) _Unw_Rollback_Registers(sfp, ctx); in complete_context()
|
/illumos-gate/usr/src/cmd/allocate/ |
H A D | allocate3.c | 1560 _dev_file_name(struct state_file *sfp, devmap_t *dm) in _dev_file_name() argument 1562 sfp->sf_flags = 0; in _dev_file_name() 1565 sfp->sf_flags |= SFF_NO_ERROR; in _dev_file_name() 1569 (void) strncpy(sfp->sf_path, dm->dmap_devarray[0], in _dev_file_name() 1570 sizeof (sfp->sf_path)); in _dev_file_name() 1571 sfp->sf_path[sizeof (sfp->sf_path) - 1] = '\0'; in _dev_file_name() 1572 if (sfp->sf_path[0] == '\0') { in _dev_file_name()
|
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/ |
H A D | mkpkgmap.c | 89 *sfp[20]; variable 683 fp = sfp[nfp]; in pushenv() 688 sfp[++nfp] = fp; in pushenv() 761 fp = sfp[--nfp]; in popenv()
|
/illumos-gate/usr/src/lib/libsff/common/ |
H A D | libsff.c | 745 sff_parse_encoding(uint8_t val, nvlist_t *nvl, boolean_t sfp) in sff_parse_encoding() argument 750 } else if (sfp) { in sff_parse_encoding()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_srv.c | 4559 rfs4_file_t *fp, *sfp; in rfs4_op_rename() local 4572 fp = sfp = NULL; in rfs4_op_rename() 4716 sfp = rfs4_lookup_and_findfile(odvp, converted_onm, &srcvp, in rfs4_op_rename() 4718 if (sfp != NULL) { in rfs4_op_rename() 4719 if (rfs4_check_delegated_byfp(FWRITE, sfp, TRUE, TRUE, TRUE, in rfs4_op_rename() 4847 if (sfp) { in rfs4_op_rename() 4848 rfs4_clear_dont_grant(sfp); in rfs4_op_rename() 4849 rfs4_file_rele(sfp); in rfs4_op_rename() 4967 if (sfp) { in rfs4_op_rename() 4968 if (sfp_rele_grant_hold) rfs4_clear_dont_grant(sfp); in rfs4_op_rename() [all …]
|
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/ |
H A D | emlxs_menlo.h | 1174 menlo_sfp_rsp_t sfp; member
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | fme.c | 458 struct fme *sfp, *fp; in fme_fini() local 472 sfp = fp->next; in fme_fini() 474 fp = sfp; in fme_fini() 480 sfp = fp->next; in fme_fini() 482 fp = sfp; in fme_fini()
|
/illumos-gate/usr/src/uts/sun4u/cpu/ |
H A D | us3_common.c | 6990 struct fpras_chkfn *sfp, *cfp; local 7027 sfp = (struct fpras_chkfn *)fpras_chkfn_type1; 7030 sip = &sfp->fpras_blk0[0]; 7033 sip = &sfp->fpras_blk1[0];
|
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/ |
H A D | release.txt | 3641 17. Request: Change return values of sfp get functions. 3769 7. Request: Add support for sfp get and set.
|