Home
last modified time | relevance | path

Searched refs:sfp (Results 1 – 16 of 16) sorted by relevance

/titanic_44/usr/src/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c90 sensor_fault_t *sfp, **current; in st_check_component() local
207 sfp = *current; in st_check_component()
208 if (sfp == NULL) { in st_check_component()
219 sfp = fmd_hdl_zalloc(hdl, sizeof (sensor_fault_t), in st_check_component()
221 sfp->sf_fru = fmd_hdl_strdup(hdl, fmri, FMD_SLEEP); in st_check_component()
222 sfp->sf_next = stp->st_faults; in st_check_component()
223 stp->st_faults = sfp; in st_check_component()
230 sfp->sf_num_fails++; in st_check_component()
233 sfp->sf_unknown = B_TRUE; in st_check_component()
243 if (!sfp->sf_last_faulted && in st_check_component()
[all …]
/titanic_44/usr/src/cmd/lastcomm/
H A Dlc_utils.c90 char *sfp; /* pointer inside the raw image buffer */ in get_pri_dirs() local
101 sfp = raw_sf; in get_pri_dirs()
103 *sfp++ = (char)c; in get_pri_dirs()
108 *sfp = EOLN; in get_pri_dirs()
111 sfp = raw_sf; in get_pri_dirs()
116 if (*sfp == COMMENT_CHAR) { in get_pri_dirs()
118 } else if (!isspace(*sfp)) { in get_pri_dirs()
120 pri_dirs[dirno++] = sfp; in get_pri_dirs()
124 if (*sfp == EOLN) in get_pri_dirs()
128 if (*sfp == EOLN) { in get_pri_dirs()
[all …]
/titanic_44/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c166 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 …]
/titanic_44/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_util.c62 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()
/titanic_44/usr/src/cmd/audio/audioctl/
H A Daudioctl.c385 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()
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c1315 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()
/titanic_44/usr/src/cmd/th_tools/
H A Dth_define.c1759 FILE *sfp; /* generated control test file */ in test_driver() local
1852 sfp = create_test_file(name); in test_driver()
1884 if (sfp) { in test_driver()
1885 (void) fprintf(sfp, "#!/bin/ksh -p\n\n"); in test_driver()
1886 (void) fprintf(sfp, in test_driver()
1889 (void) fprintf(sfp, " %s", pargv[i]); in test_driver()
1890 (void) fprintf(sfp, "\n\n"); in test_driver()
1891 (void) fprintf(sfp, "\nrun_tests()\n{\n"); in test_driver()
1894 (void) fprintf(sfp, in test_driver()
1897 (void) fprintf(sfp, in test_driver()
[all …]
/titanic_44/usr/src/lib/libc/amd64/unwind/
H A Dunwind.c207 struct eh_frame_fields *sfp = 0; in complete_context() local
215 sfp = _Unw_Decode_FDE(&sf, ctx); in complete_context()
217 (void) _Unw_Rollback_Registers(sfp, ctx); in complete_context()
/titanic_44/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c89 *sfp[20]; variable
683 fp = sfp[nfp]; in pushenv()
688 sfp[++nfp] = fp; in pushenv()
761 fp = sfp[--nfp]; in popenv()
/titanic_44/usr/src/cmd/allocate/
H A Dallocate3.c1561 _dev_file_name(struct state_file *sfp, devmap_t *dm) in _dev_file_name() argument
1563 sfp->sf_flags = 0; in _dev_file_name()
1566 sfp->sf_flags |= SFF_NO_ERROR; in _dev_file_name()
1570 (void) strncpy(sfp->sf_path, dm->dmap_devarray[0], in _dev_file_name()
1571 sizeof (sfp->sf_path)); in _dev_file_name()
1572 sfp->sf_path[sizeof (sfp->sf_path) - 1] = '\0'; in _dev_file_name()
1573 if (sfp->sf_path[0] == '\0') { in _dev_file_name()
/titanic_44/usr/src/lib/libsff/common/
H A Dlibsff.c745 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()
/titanic_44/usr/src/uts/sun4u/starfire/io/
H A Didn.c275 static int idn_info(idnsb_info_t *sfp);
1922 idnsb_info_t *sfp; in idn_sigbhandler_thread() local
2135 sfp = &sdp->ssb_info; in idn_sigbhandler_thread()
2139 rv = idn_info(sfp); in idn_sigbhandler_thread()
2356 idn_info(idnsb_info_t *sfp) in idn_info() argument
2442 bcopy(&sinfo, sfp, sizeof (*sfp)); in idn_info()
/titanic_44/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_menlo.h1174 menlo_sfp_rsp_t sfp; member
/titanic_44/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c4419 rfs4_file_t *fp, *sfp; in rfs4_op_rename() local
4431 fp = sfp = NULL; in rfs4_op_rename()
4574 if (sfp = rfs4_lookup_and_findfile(odvp, converted_onm, &srcvp, in rfs4_op_rename()
4576 if (rfs4_check_delegated_byfp(FWRITE, sfp, TRUE, TRUE, TRUE, in rfs4_op_rename()
4679 if (sfp) { in rfs4_op_rename()
4680 rfs4_clear_dont_grant(sfp); in rfs4_op_rename()
4681 rfs4_file_rele(sfp); in rfs4_op_rename()
4799 if (sfp) { in rfs4_op_rename()
4800 if (sfp_rele_grant_hold) rfs4_clear_dont_grant(sfp); in rfs4_op_rename()
4801 rfs4_file_rele(sfp); in rfs4_op_rename()
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c451 struct fme *sfp, *fp; in fme_fini() local
465 sfp = fp->next; in fme_fini()
467 fp = sfp; in fme_fini()
473 sfp = fp->next; in fme_fini()
475 fp = sfp; in fme_fini()
/titanic_44/usr/src/uts/sun4u/cpu/
H A Dus3_common.c6989 struct fpras_chkfn *sfp, *cfp; local
7026 sfp = (struct fpras_chkfn *)fpras_chkfn_type1;
7029 sip = &sfp->fpras_blk0[0];
7032 sip = &sfp->fpras_blk1[0];