Home
last modified time | relevance | path

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

/dragonfly/bin/ed/
HDbuf.c38 static FILE *sfp; /* scratch file pointer */ variable
59 if (fseeko(sfp, sfseek, SEEK_SET) < 0) { in get_sbuf_line()
67 if ((ct = fread(sfbuf, sizeof(char), len, sfp)) < 0 || ct != len) { 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()
[all …]
/dragonfly/sbin/mount_ufs/
HDmount.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/
HDmount.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/
HDnfs_vfsops.c314 struct nfs_statfs *sfp; in nfs_statfs() local
328 sfp = NULL; in nfs_statfs()
354 NULLOUT(sfp = nfsm_dissect(&info, NFSX_STATFS(info.v3))); 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()
366 sfp->sf_tfiles.nfsuquad[1]) & 0x7fffffff); in nfs_statfs()
368 sfp->sf_ffiles.nfsuquad[1]) & 0x7fffffff); in nfs_statfs()
370 sbp->f_bsize = fxdr_unsigned(int32_t, sfp->sf_bsize); in nfs_statfs()
371 sbp->f_blocks = fxdr_unsigned(int32_t, sfp->sf_blocks); in nfs_statfs()
[all …]
HDnfs_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()
3792 sfp->sf_tfiles.nfsuquad[1] = txdr_unsigned(sf->f_files); in nfsrv_statfs()
3793 sfp->sf_ffiles.nfsuquad[0] = 0; in nfsrv_statfs()
3794 sfp->sf_ffiles.nfsuquad[1] = txdr_unsigned(sf->f_ffree); in nfsrv_statfs()
3795 sfp->sf_afiles.nfsuquad[0] = 0; in nfsrv_statfs()
[all …]
/dragonfly/gnu/lib/gcc47/libgcc_pic/
HDMakefile37 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/
HDMakefile51 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/
HDfirewire.c1430 struct fw_pkt *sfp,*rfp; in fw_bus_explore_callback() local
1453 sfp = &xfer->send.hdr; in fw_bus_explore_callback()
1469 if(sfp->mode.rreqq.dest_lo == (0xf0000000 | CSRROMOFF)){ in fw_bus_explore_callback()
1481 }else if(sfp->mode.rreqq.dest_lo == (0xf0000000 |(CSRROMOFF + 0xc))){ in fw_bus_explore_callback()
1484 }else if(sfp->mode.rreqq.dest_lo == (0xf0000000 |(CSRROMOFF + 0x10))){ in fw_bus_explore_callback()
2034 struct fw_pkt *rfp, *sfp = NULL; in fw_vmaccess() local
2054 sfp = (struct fw_pkt *)xfer->send.buf; in fw_vmaccess()
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()
[all …]
/dragonfly/gnu/lib/gcc47/libgcc/
HDMakefile29 SRCS+= gthr-default.h sfp-machine.h
87 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
/dragonfly/contrib/tcpdump/
HDprint-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 …]
HDprint-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/
HDcpu_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/
HDMakefile32 SRCS+= gthr-default.h sfp-machine.h
138 sfp-machine.h: ${GCCDIR}/libgcc/config/i386/sfp-machine.h
HDMakefile.src37 SOFTFUNCS+= enable-execute-stack cpuinfo sfp-exceptions
/dragonfly/sys/dev/disk/sbp/
HDsbp.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/
HDmachdep.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/
HDconfig.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/
HDif_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/
HDREADME.DELETED1342 libgcc/config/no-sfp-machine.h