Searched defs:sfp (Results 1 - 16 of 16) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_util.c62 FILE *sfp, *dfp; local
83 if ((sfp = fopen(src, "r")) == NULL) {
92 while (fgets(buf, sizeof (buf), sfp) != NULL && errno == 0) {
102 (void) fclose(sfp);
/illumos-gate/usr/src/cmd/fm/modules/common/sensor-transport/
H A Dsensor_transport.c90 sensor_fault_t *sfp, **current; local
207 sfp = *current;
208 if (sfp == NULL) {
219 sfp = fmd_hdl_zalloc(hdl, sizeof (sensor_fault_t),
221 sfp->sf_fru = fmd_hdl_strdup(hdl, fmri, FMD_SLEEP);
222 sfp->sf_next = stp->st_faults;
223 stp->st_faults = sfp;
230 sfp->sf_num_fails++;
233 sfp->sf_unknown = B_TRUE;
243 if (!sfp
286 sensor_fault_t *sfp, **current; local
415 sensor_fault_t *sfp; local
[all...]
/illumos-gate/usr/src/cmd/lastcomm/
H A Dlc_utils.c90 char *sfp; /* pointer inside the raw image buffer */ local
101 sfp = raw_sf;
103 *sfp++ = (char)c;
108 *sfp = EOLN;
111 sfp = raw_sf;
116 if (*sfp == COMMENT_CHAR) {
118 } else if (!isspace(*sfp)) {
120 pri_dirs[dirno++] = sfp;
124 if (*sfp == EOLN)
128 if (*sfp
[all...]
/illumos-gate/usr/src/uts/common/inet/sctp/
H A Dsctp_notify.c166 struct sctp_send_failed *sfp; local
171 if ((mp = allocb(sizeof (*sfp), BPRI_MED)) == NULL) {
178 sfp = (struct sctp_send_failed *)mp->b_rptr;
179 sfp->ssf_type = SCTP_SEND_FAILED;
180 sfp->ssf_flags = flags;
181 sfp->ssf_length = smh->smh_msglen + sizeof (*sfp);
182 sfp->ssf_error = error;
183 sfp->ssf_assoc_id = 0;
185 bzero(&sfp
[all...]
/illumos-gate/usr/src/lib/libc/amd64/unwind/
H A Dunwind.c207 struct eh_frame_fields *sfp = 0; local
215 sfp = _Unw_Decode_FDE(&sf, ctx);
217 (void) _Unw_Rollback_Registers(sfp, ctx);
/illumos-gate/usr/src/cmd/svr4pkg/pkgmk/
H A Dmkpkgmap.c89 *sfp[20]; variable
683 fp = sfp[nfp];
688 sfp[++nfp] = fp;
761 fp = sfp[--nfp];
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_filter.c689 __inout siena_filter_t *sfp,
694 sfp->sf_depth[EFX_SIENA_FILTER_RX_TCP_FULL] = 0;
695 sfp->sf_depth[EFX_SIENA_FILTER_RX_TCP_WILD] = 0;
696 sfp->sf_depth[EFX_SIENA_FILTER_RX_UDP_FULL] = 0;
697 sfp->sf_depth[EFX_SIENA_FILTER_RX_UDP_WILD] = 0;
701 sfp->sf_depth[EFX_SIENA_FILTER_RX_MAC_FULL] = 0;
702 sfp->sf_depth[EFX_SIENA_FILTER_RX_MAC_WILD] = 0;
706 sfp->sf_depth[EFX_SIENA_FILTER_TX_TCP_FULL] = 0;
707 sfp->sf_depth[EFX_SIENA_FILTER_TX_TCP_WILD] = 0;
708 sfp
688 siena_filter_reset_search_depth( __inout siena_filter_t *sfp, __in siena_filter_tbl_id_t tbl_id) argument
727 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
763 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
1026 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
1047 siena_filter_t *sfp; local
1131 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
1171 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
1225 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
1307 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local
[all...]
/illumos-gate/usr/src/cmd/allocate/
H A Dallocate3.c1561 _dev_file_name(struct state_file *sfp, devmap_t *dm) argument
1563 sfp->sf_flags = 0;
1566 sfp->sf_flags |= SFF_NO_ERROR;
1570 (void) strncpy(sfp->sf_path, dm->dmap_devarray[0],
1571 sizeof (sfp->sf_path));
1572 sfp->sf_path[sizeof (sfp->sf_path) - 1] = '\0';
1573 if (sfp->sf_path[0] == '\0') {
/illumos-gate/usr/src/cmd/audio/audioctl/
H A Daudioctl.c385 print_control_line(FILE *sfp, col_prt_t *colp, int vopt) argument
398 if (sfp != NULL) {
428 (void) fprintf(sfp ? sfp : stdout, "%s\n", line);
433 print_header(FILE *sfp, int vopt) argument
437 if (sfp) {
446 print_control_line(sfp, &col, vopt);
451 print_control(FILE *sfp, device_t *d, cinfo_t *cinfop, int vopt) argument
566 print_control_line(sfp, &col, vopt);
569 if ((!vopt) || (sfp !
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dpppoec.c1315 struct server_filter *sfp; local
1357 for (sfp = sfhead; sfp != NULL; sfp = sfp->sf_next) {
1358 passmatched |= !sfp->sf_isexcept;
1359 if (sfp->sf_hasmac) {
1361 macp = sfp->sf_mac.ether_addr_octet;
1362 maskp = sfp->sf_mask.ether_addr_octet;
1372 if (sfp
[all...]
/illumos-gate/usr/src/cmd/th_tools/
H A Dth_define.c1759 FILE *sfp; /* generated control test file */ local
1852 sfp = create_test_file(name);
1884 if (sfp) {
1885 (void) fprintf(sfp, "#!/bin/ksh -p\n\n");
1886 (void) fprintf(sfp,
1889 (void) fprintf(sfp, " %s", pargv[i]);
1890 (void) fprintf(sfp, "\n\n");
1891 (void) fprintf(sfp, "\nrun_tests()\n{\n");
1894 (void) fprintf(sfp,
1897 (void) fprintf(sfp,
[all...]
/illumos-gate/usr/src/uts/sun4u/starfire/io/
H A Didn.c275 static int idn_info(idnsb_info_t *sfp);
1922 idnsb_info_t *sfp; local
2135 sfp = &sdp->ssb_info;
2139 rv = idn_info(sfp);
2356 idn_info(idnsb_info_t *sfp) argument
2442 bcopy(&sinfo, sfp, sizeof (*sfp));
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/
H A Dfme.c451 struct fme *sfp, *fp; local
465 sfp = fp->next;
467 fp = sfp;
473 sfp = fp->next;
475 fp = sfp;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv.c4366 rfs4_file_t *fp, *sfp; local
4378 fp = sfp = NULL;
4521 if (sfp = rfs4_lookup_and_findfile(odvp, converted_onm, &srcvp,
4523 if (rfs4_check_delegated_byfp(FWRITE, sfp, TRUE, TRUE, TRUE,
4626 if (sfp) {
4627 rfs4_clear_dont_grant(sfp);
4628 rfs4_file_rele(sfp);
4746 if (sfp) {
4747 if (sfp_rele_grant_hold) rfs4_clear_dont_grant(sfp);
4748 rfs4_file_rele(sfp);
[all...]
/illumos-gate/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];
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/emlxs/
H A Demlxs_menlo.h1174 menlo_sfp_rsp_t sfp; member in union:menlo_rsp

Completed in 160 milliseconds