Home
last modified time | relevance | path

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

/dragonfly/bin/ed/
H A Dbuf.c38 static FILE *sfp; /* scratch file pointer */ variable
59 if (fseeko(sfp, sfseek, SEEK_SET) < 0) { in get_sbuf_line()
103 if (fseeko(sfp, (off_t)0, SEEK_END) < 0) { in put_sbuf_line()
109 sfseek = ftello(sfp); in put_sbuf_line()
113 if ((ct = fwrite(cs, sizeof(char), len, sfp)) < 0 || ct != len) { in put_sbuf_line()
201 (sfp = fdopen(fd, "w+")) == NULL) { in open_sbuf()
218 if (sfp) { in close_sbuf()
219 if (fclose(sfp) < 0) { in close_sbuf()
224 sfp = NULL; in close_sbuf()
236 if (sfp) { in quit()
[all …]
/dragonfly/sbin/mount_ufs/
H A Dmount.c463 prmount(struct statfs *sfp) in prmount() argument
476 printf("%s on %s (%s", sfp->f_mntfromname, sfp->f_mntonname, in prmount()
477 sfp->f_fstypename); in prmount()
480 error = mountctl(sfp->f_mntonname, MOUNTCTL_MOUNTFLAGS, in prmount()
483 if (sfp->f_owner) { in prmount()
485 if ((pw = getpwuid(sfp->f_owner)) != NULL) in prmount()
488 printf("%d", sfp->f_owner); in prmount()
495 if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0) in prmount()
497 sfp->f_syncwrites, sfp->f_asyncwrites); in prmount()
498 if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0) in prmount()
[all …]
/dragonfly/sbin/mount/
H A Dmount.c506 prmount(struct statfs *sfp) in prmount() argument
519 printf("%s on %s (%s", sfp->f_mntfromname, sfp->f_mntonname, in prmount()
520 sfp->f_fstypename); in prmount()
523 error = mountctl(sfp->f_mntonname, MOUNTCTL_MOUNTFLAGS, in prmount()
526 if (sfp->f_owner) { in prmount()
528 if ((pw = getpwuid(sfp->f_owner)) != NULL) in prmount()
531 printf("%d", sfp->f_owner); in prmount()
538 if (sfp->f_syncwrites != 0 || sfp->f_asyncwrites != 0) in prmount()
540 sfp->f_syncwrites, sfp->f_asyncwrites); in prmount()
541 if (sfp->f_syncreads != 0 || sfp->f_asyncreads != 0) in prmount()
[all …]
/dragonfly/sys/vfs/nfs/
H A Dnfs_vfsops.c314 struct nfs_statfs *sfp; in nfs_statfs() local
328 sfp = NULL; in nfs_statfs()
359 tquad = fxdr_hyper(&sfp->sf_tbytes); in nfs_statfs()
361 tquad = fxdr_hyper(&sfp->sf_fbytes); in nfs_statfs()
363 tquad = fxdr_hyper(&sfp->sf_abytes); in nfs_statfs()
401 struct nfs_statfs *sfp; in nfs_statvfs() local
413 sfp = NULL; in nfs_statvfs()
448 sbp->f_bfree = (fxdr_hyper(&sfp->sf_fbytes) / in nfs_statvfs()
452 sbp->f_files = fxdr_hyper(&sfp->sf_tfiles); in nfs_statvfs()
453 sbp->f_ffree = fxdr_hyper(&sfp->sf_ffiles); in nfs_statvfs()
[all …]
H A Dnfs_serv.c3738 struct nfs_statfs *sfp; in nfsrv_statfs() local
3780 sfp = nfsm_build(&info, NFSX_STATFS(info.v3)); in nfsrv_statfs()
3784 txdr_hyper(tval, &sfp->sf_tbytes); in nfsrv_statfs()
3787 txdr_hyper(tval, &sfp->sf_fbytes); in nfsrv_statfs()
3790 txdr_hyper(tval, &sfp->sf_abytes); in nfsrv_statfs()
3791 sfp->sf_tfiles.nfsuquad[0] = 0; in nfsrv_statfs()
3793 sfp->sf_ffiles.nfsuquad[0] = 0; in nfsrv_statfs()
3795 sfp->sf_afiles.nfsuquad[0] = 0; in nfsrv_statfs()
3797 sfp->sf_invarsec = 0; in nfsrv_statfs()
3800 sfp->sf_bsize = txdr_unsigned(sf->f_bsize); in nfsrv_statfs()
[all …]
/dragonfly/gnu/lib/gcc47/libgcc_pic/
H A DMakefile37 SRCS+= unwind.h gthr-default.h sfp-machine.h md-unwind-support.h
48 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
54 CLEANFILES+= unwind.h gthr-default.h sfp-machine.h md-unwind-support.h \
/dragonfly/gnu/lib/gcc80/libgcc_pic/
H A DMakefile51 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
60 CLEANFILES+= unwind.h gthr-default.h sfp-machine.h md-unwind-support.h \
63 beforedepend: unwind.h gthr-default.h sfp-machine.h md-unwind-support.h \
/dragonfly/sys/bus/firewire/
H A Dfirewire.c1430 struct fw_pkt *sfp,*rfp; in fw_bus_explore_callback() local
1453 sfp = &xfer->send.hdr; in fw_bus_explore_callback()
2034 struct fw_pkt *rfp, *sfp = NULL; in fw_vmaccess() local
2057 sfp->mode.wres.tcode = FWTCODE_WRES; in fw_vmaccess()
2058 sfp->mode.wres.rtcode = 0; in fw_vmaccess()
2063 sfp->mode.wres.tcode = FWTCODE_WRES; in fw_vmaccess()
2065 sfp->mode.wres.rtcode = 0; in fw_vmaccess()
2075 sfp->mode.rresb.rtcode = 0; in fw_vmaccess()
2076 sfp->mode.rresb.extcode = 0; in fw_vmaccess()
2084 sfp->mode.rresb.rtcode = 0; in fw_vmaccess()
[all …]
/dragonfly/gnu/lib/gcc47/libgcc/
H A DMakefile29 SRCS+= gthr-default.h sfp-machine.h
87 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
/dragonfly/contrib/tcpdump/
H A Dprint-nfs.c1462 const struct nfsv3_fsinfo *sfp; in parsefsinfo() local
1476 sfp = (const struct nfsv3_fsinfo *)dp; in parsefsinfo()
1477 ND_TCHECK_SIZE(sfp); in parsefsinfo()
1479 GET_BE_U_4(sfp->fs_rtmax), in parsefsinfo()
1480 GET_BE_U_4(sfp->fs_rtpref), in parsefsinfo()
1481 GET_BE_U_4(sfp->fs_wtmax), in parsefsinfo()
1482 GET_BE_U_4(sfp->fs_wtpref), in parsefsinfo()
1483 GET_BE_U_4(sfp->fs_dtpref)); in parsefsinfo()
1486 GET_BE_U_4(sfp->fs_rtmult), in parsefsinfo()
1487 GET_BE_U_4(sfp->fs_wtmult), in parsefsinfo()
[all …]
H A Dprint-ntp.c459 const struct s_fixedpt *sfp) in p_sfix() argument
465 i = GET_BE_U_2(sfp->int_part); in p_sfix()
466 f = GET_BE_U_2(sfp->fraction); in p_sfix()
/dragonfly/sys/platform/vkernel64/x86_64/
H A Dcpu_regs.c161 struct sigframe sf, *sfp; in sendsig() local
192 sfp = (struct sigframe *)((intptr_t)sp & ~0xFUL); in sendsig()
206 regs->tf_rdx = (register_t)&sfp->sf_uc; /* argument 3 */ in sendsig()
214 regs->tf_rsi = (register_t)&sfp->sf_si; /* argument 2 */ in sendsig()
274 if (copyout(&sf, sfp, sizeof(struct sigframe)) != 0) { in sendsig()
282 regs->tf_rsp = (register_t)sfp; in sendsig()
/dragonfly/gnu/lib/gcc80/libgcc/
H A DMakefile32 SRCS+= gthr-default.h sfp-machine.h
138 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
H A DMakefile.src37 SOFTFUNCS+= enable-execute-stack cpuinfo sfp-exceptions
/dragonfly/sys/dev/disk/sbp/
H A Dsbp.c1540 struct fw_pkt *sfp; in sbp_recv1() local
1798 sfp = (struct fw_pkt *)xfer->send.buf; in sbp_recv1()
1799 sfp->mode.wres.dst = rfp->mode.wreqb.src; in sbp_recv1()
1800 xfer->dst = sfp->mode.wres.dst; in sbp_recv1()
1805 sfp->mode.wres.tlrt = rfp->mode.wreqb.tlrt; in sbp_recv1()
1806 sfp->mode.wres.tcode = FWTCODE_WRES; in sbp_recv1()
1807 sfp->mode.wres.rtcode = 0; in sbp_recv1()
1808 sfp->mode.wres.pri = 0; in sbp_recv1()
/dragonfly/sys/platform/pc64/x86_64/
H A Dmachdep.c749 struct sigframe sf, *sfp; in sendsig() local
788 sfp = (struct sigframe *)((intptr_t)sp & ~(intptr_t)0xF); in sendsig()
802 regs->tf_rdx = (register_t)&sfp->sf_uc; /* argument 3 */ in sendsig()
810 regs->tf_rsi = (register_t)&sfp->sf_si; /* argument 2 */ in sendsig()
870 if (copyout(&sf, sfp, sizeof(struct sigframe)) != 0) { in sendsig()
878 regs->tf_rsp = (register_t)sfp; in sendsig()
/dragonfly/contrib/gcc-4.7/libgcc/
H A Dconfig.host57 # sfp_machine_header The name of a sfp-machine.h header file for soft-fp.
58 # Defaults to "$cpu_type/sfp-machine.h" if it exists,
59 # no-sfp-machine.h otherwise.
/dragonfly/sys/dev/netif/ix/
H A Dif_ix.c1894 boolean_t sfp; in ix_config_link() local
1896 sfp = ix_is_sfp(hw); in ix_config_link()
1897 if (sfp) { in ix_config_link()
/dragonfly/contrib/gcc-8.0/
H A DREADME.DELETED1342 libgcc/config/no-sfp-machine.h