/freebsd-10-stable/lib/libc/i386/gen/ |
H A D | signalcontext.c | 45 struct sigframe *sfp; local 59 sfp = (struct sigframe *)p; 60 bzero(sfp, sizeof(struct sigframe)); 61 sfp->sf_signum = sig; 62 sfp->sf_siginfo = (register_t)(intptr_t)&sfp->sf_si; 63 sfp->sf_ucontext = (register_t)(intptr_t)&sfp->sf_uc; 64 sfp->sf_ahu.sf_action = (__siginfohandler_t *)func; 65 bcopy(ucp, &sfp [all...] |
/freebsd-10-stable/lib/libc/arm/gen/ |
H A D | signalcontext.c | 51 struct sigframe *sfp; local 57 sfp = (struct sigframe *)sp - 1; 59 bzero(sfp, sizeof(*sfp)); 60 bcopy(ucp, &sfp->sf_uc, sizeof(*ucp)); 61 sfp->sf_si.si_signo = sig; 63 gr[_REG_SP] = (__greg_t)sfp; 71 gr[_REG_R1] = (__greg_t)&sfp->sf_si; 72 gr[_REG_R2] = (__greg_t)&sfp->sf_uc; 74 ucp->uc_link = &sfp [all...] |
/freebsd-10-stable/lib/libc/sparc64/gen/ |
H A D | signalcontext.c | 50 struct sigframe *sfp; local 55 sfp = (struct sigframe *)(mc->_mc_sp + SPOFF) - 1; 56 fp = (struct frame *)sfp - 1; 60 bzero(sfp, sizeof(*sfp)); 61 bcopy(ucp, &sfp->sf_uc, sizeof(*ucp)); 62 sfp->sf_si.si_signo = sig; 67 mc->mc_out[1] = (uint64_t)&sfp->sf_si; 68 mc->mc_out[2] = (uint64_t)&sfp->sf_uc; 73 ucp->uc_link = &sfp [all...] |
/freebsd-10-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | vm.h | 47 zfs_map_page(vm_page_t pp, struct sf_buf **sfp) argument 49 *sfp = sf_buf_alloc(pp, 0); 50 return ((caddr_t)sf_buf_kva(*sfp));
|
/freebsd-10-stable/usr.sbin/ctm/ctm_smail/ |
H A D | ctm_smail.c | 42 void write_header(FILE *sfp, char *mail_alias, char *delta, int pce, 44 void write_trailer(FILE *sfp, unsigned sum); 158 FILE *sfp; local 171 if ((sfp = open_sendmail()) == NULL) 174 write_header(sfp, mail_alias, delta, pce, npieces); 175 read_error = encode_body(sfp, dfp, msg_size, &sum); 177 write_trailer(sfp, sum); 179 if (!close_sendmail(sfp) || read_error) 384 write_header(FILE *sfp, char *mail_alias, char *delta, int pce, int npieces) argument 386 fprintf(sfp, "Fro 398 write_trailer(FILE *sfp, unsigned sum) argument 412 FILE *sfp; local [all...] |
/freebsd-10-stable/bin/ed/ |
H A D | buf.c | 38 static FILE *sfp; /* scratch file pointer */ variable 59 if (fseeko(sfp, sfseek, SEEK_SET) < 0) { 67 if ((ct = fread(sfbuf, sizeof(char), len, sfp)) < 0 || ct != len) { 103 if (fseeko(sfp, (off_t)0, SEEK_END) < 0) { 109 sfseek = ftello(sfp); 113 if ((ct = fwrite(cs, sizeof(char), len, sfp)) < 0 || ct != len) { 201 (sfp = fdopen(fd, "w+")) == NULL) { 218 if (sfp) { 219 if (fclose(sfp) < 0) { 224 sfp [all...] |
/freebsd-10-stable/sys/dev/sfxge/common/ |
H A D | efx_filter.c | 778 __inout siena_filter_t *sfp, 783 sfp->sf_depth[EFX_SIENA_FILTER_RX_TCP_FULL] = 0; 784 sfp->sf_depth[EFX_SIENA_FILTER_RX_TCP_WILD] = 0; 785 sfp->sf_depth[EFX_SIENA_FILTER_RX_UDP_FULL] = 0; 786 sfp->sf_depth[EFX_SIENA_FILTER_RX_UDP_WILD] = 0; 790 sfp->sf_depth[EFX_SIENA_FILTER_RX_MAC_FULL] = 0; 791 sfp->sf_depth[EFX_SIENA_FILTER_RX_MAC_WILD] = 0; 795 sfp->sf_depth[EFX_SIENA_FILTER_TX_TCP_FULL] = 0; 796 sfp->sf_depth[EFX_SIENA_FILTER_TX_TCP_WILD] = 0; 797 sfp 777 siena_filter_reset_search_depth( __inout siena_filter_t *sfp, __in siena_filter_tbl_id_t tbl_id) argument 816 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local 852 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local 1115 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local 1136 siena_filter_t *sfp; local 1220 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local 1260 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local 1317 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local 1399 siena_filter_t *sfp = enp->en_filter.ef_siena_filter; local [all...] |
/freebsd-10-stable/sbin/mount/ |
H A D | mount.c | 645 prmount(struct statfs *sfp) argument 652 (void)printf("%s on %s (%s", sfp->f_mntfromname, sfp->f_mntonname, 653 sfp->f_fstypename); 655 flags = sfp->f_flags & MNT_VISFLAGMASK; 665 if ((flags & MNT_USER) != 0 || sfp->f_owner != 0) { 667 if ((pw = getpwuid(sfp->f_owner)) != NULL) 670 (void)printf("%d", sfp->f_owner); 673 if (sfp->f_syncwrites != 0 || sfp [all...] |
/freebsd-10-stable/sys/kern/ |
H A D | sys_generic.c | 1233 struct selfd *sfp; local 1243 STAILQ_FOREACH_SAFE(sfp, &stp->st_selq, sf_link, sfn) { 1244 fd = (int)(uintptr_t)sfp->sf_cookie; 1245 si = sfp->sf_si; 1246 selfdfree(stp, sfp); 1452 struct selfd *sfp; local 1467 STAILQ_FOREACH_SAFE(sfp, &stp->st_selq, sf_link, sfn) { 1468 fd = (struct pollfd *)sfp->sf_cookie; 1469 si = sfp->sf_si; 1470 selfdfree(stp, sfp); 1682 selfdfree(struct seltd *stp, struct selfd *sfp) argument 1717 struct selfd *sfp; local 1786 struct selfd *sfp; local 1884 struct selfd *sfp; local [all...] |
/freebsd-10-stable/sbin/ifconfig/ |
H A D | Makefile | 38 SRCS+= sfp.c # SFP/SFP+ information
|
/freebsd-10-stable/contrib/tcpdump/ |
H A D | print-ntp.c | 207 p_sfix(register const struct s_fixedpt *sfp) argument 213 i = EXTRACT_16BITS(&sfp->int_part); 214 f = EXTRACT_16BITS(&sfp->fraction);
|
H A D | print-nfs.c | 1472 struct nfsv3_fsinfo *sfp; local 1484 sfp = (struct nfsv3_fsinfo *)dp; 1485 TCHECK(*sfp); 1487 EXTRACT_32BITS(&sfp->fs_rtmax), 1488 EXTRACT_32BITS(&sfp->fs_rtpref), 1489 EXTRACT_32BITS(&sfp->fs_wtmax), 1490 EXTRACT_32BITS(&sfp->fs_wtpref), 1491 EXTRACT_32BITS(&sfp->fs_dtpref)); 1494 EXTRACT_32BITS(&sfp->fs_rtmult), 1495 EXTRACT_32BITS(&sfp [all...] |
/freebsd-10-stable/sys/amd64/ia32/ |
H A D | ia32_signal.c | 435 struct ia32_sigframe4 sf, *sfp; local 491 sfp = (struct ia32_sigframe4 *)(td->td_sigstk.ss_sp + 494 sfp = (struct ia32_sigframe4 *)regs->tf_rsp - 1; 499 sf.sf_ucontext = (register_t)&sfp->sf_uc; 503 sf.sf_siginfo = (u_int32_t)(uintptr_t)&sfp->sf_si; 520 if (copyout(&sf, sfp, sizeof(*sfp)) != 0) { 528 regs->tf_rsp = (uintptr_t)sfp; 546 struct ia32_sigframe sf, *sfp; local 635 sfp [all...] |
/freebsd-10-stable/sys/mips/mips/ |
H A D | pm_machdep.c | 90 struct sigframe sf, *sfp; local 129 sfp = (struct sigframe *)((vm_offset_t)(td->td_sigstk.ss_sp + 133 sfp = (struct sigframe *)((vm_offset_t)(regs->sp - 138 regs->a2 = (register_t)(intptr_t)&sfp->sf_uc; 141 regs->a1 = (register_t)(intptr_t)&sfp->sf_si; 161 if (copyout(&sf, sfp, sizeof(struct sigframe)) != 0) { 172 regs->sp = (register_t)(intptr_t)sfp;
|
H A D | freebsd32_machdep.c | 374 struct sigframe32 sf, *sfp; local 416 sfp = (struct sigframe32 *)((vm_offset_t)(td->td_sigstk.ss_sp + 420 sfp = (struct sigframe32 *)((vm_offset_t)(td->td_frame->sp - 425 td->td_frame->a2 = (register_t)(intptr_t)&sfp->sf_uc; 428 td->td_frame->a1 = (register_t)(intptr_t)&sfp->sf_si; 448 if (copyout(&sf, sfp, sizeof(struct sigframe32)) != 0) { 459 td->td_frame->sp = (register_t)(intptr_t)sfp;
|
/freebsd-10-stable/contrib/sendmail/vacation/ |
H A D | vacation.c | 987 SM_FILE_T *mfp, *sfp; local 1037 if ((sfp = sm_io_open(SmFtStdiofd, SM_TIME_DEFAULT, 1049 (void) sm_io_fprintf(sfp, SM_TIME_DEFAULT, "To: %s\n", From); 1050 (void) sm_io_fprintf(sfp, SM_TIME_DEFAULT, 1053 (void) sm_io_fputs(sfp, SM_TIME_DEFAULT, buf); 1055 (void) sm_io_close(sfp, SM_TIME_DEFAULT);
|
/freebsd-10-stable/contrib/gcc/config/soft-fp/ |
H A D | soft-fp.h | 38 #include <sfp-machine.h> 40 #include "sfp-machine.h" 43 /* Allow sfp-machine to have its own byte order definitions. */ 48 #error "endianness not defined by sfp-machine.h" 106 * sfp-machine may override this and e.g.
|
/freebsd-10-stable/sys/sparc64/sparc64/ |
H A D | machdep.c | 607 struct sigframe *sfp; local 653 sfp = (struct sigframe *)(td->td_sigstk.ss_sp + 656 sfp = (struct sigframe *)sp - 1; 660 fp = (struct frame *)sfp - 1; 664 tf->tf_out[2] = (register_t)&sfp->sf_uc; 668 tf->tf_out[1] = (register_t)&sfp->sf_si; 680 if (rwindow_save(td) != 0 || copyout(&sf, sfp, sizeof(*sfp)) != 0 || 686 CTR2(KTR_SIG, "sendsig: sigexit td=%p sfp=%p", td, sfp); [all...] |
/freebsd-10-stable/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 884 nfscl_loadsbinfo(struct nfsmount *nmp, struct nfsstatfs *sfp, void *statfs) argument 890 sbp->f_blocks = sfp->sf_tbytes / NFS_FABLKSIZE; 891 sbp->f_bfree = sfp->sf_fbytes / NFS_FABLKSIZE; 899 sbp->f_bavail = sfp->sf_abytes / NFS_FABLKSIZE; 900 sbp->f_files = sfp->sf_tfiles; 902 if (sfp->sf_ffiles > INT64_MAX) 905 sbp->f_ffree = sfp->sf_ffiles; 914 sbp->f_bsize = (int32_t)sfp->sf_bsize; 915 sbp->f_blocks = (int32_t)sfp->sf_blocks; 916 sbp->f_bfree = (int32_t)sfp [all...] |
/freebsd-10-stable/sys/dev/firewire/ |
H A D | firewire.c | 2235 struct fw_pkt *rfp, *sfp = NULL; local 2255 sfp = (struct fw_pkt *)xfer->send.buf; 2258 sfp->mode.wres.tcode = FWTCODE_WRES; 2259 sfp->mode.wres.rtcode = 0; 2264 sfp->mode.wres.tcode = FWTCODE_WRES; 2266 sfp->mode.wres.rtcode = 0; 2271 sfp = (struct fw_pkt *)xfer->send.buf; 2273 sfp->mode.rresb.payload, (uint16_t)ntohs(rfp->mode.rreqb.len)); 2274 sfp->mode.rresb.tcode = FWTCODE_RRESB; 2275 sfp [all...] |
/freebsd-10-stable/sys/amd64/linux/ |
H A D | linux_sysvec.c | 608 struct l_rt_sigframe sf, *sfp; local 638 sfp = (struct l_rt_sigframe *)((unsigned long)sp & ~0xFul); 681 regs->tf_rsi = (register_t)&sfp->sf_si; /* arg 2 in %rsi */ 682 regs->tf_rdx = (register_t)&sfp->sf_sc; /* arg 3 in %rdx */ 691 if (copyout(&sf, sfp, sizeof(*sfp)) != 0) { 699 regs->tf_rsp = (long)sfp;
|
/freebsd-10-stable/sys/nfsclient/ |
H A D | nfs_vfsops.c | 273 struct nfs_statfs *sfp; local 283 sfp = NULL; 313 sfp = nfsm_dissect(struct nfs_statfs *, NFSX_STATFS(v3)); 319 tquad = fxdr_hyper(&sfp->sf_tbytes); 321 tquad = fxdr_hyper(&sfp->sf_fbytes); 323 tquad = fxdr_hyper(&sfp->sf_abytes); 326 sfp->sf_tfiles.nfsuquad[1]) & 0x7fffffff); 328 sfp->sf_ffiles.nfsuquad[1]) & 0x7fffffff); 330 sbp->f_bsize = fxdr_unsigned(int32_t, sfp->sf_bsize); 331 sbp->f_blocks = fxdr_unsigned(int32_t, sfp [all...] |
/freebsd-10-stable/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 813 struct nfsv3_pathconf *pc, struct statfs *sbp, struct nfsstatfs *sfp, 897 if (sfp != NULL) { 898 sfp->sf_ffiles = UINT64_MAX; 899 sfp->sf_tfiles = UINT64_MAX; 900 sfp->sf_afiles = UINT64_MAX; 901 sfp->sf_fbytes = UINT64_MAX; 902 sfp->sf_tbytes = UINT64_MAX; 903 sfp->sf_abytes = UINT64_MAX; 1234 sfp->sf_afiles != fxdr_hyper(tl)) 1236 } else if (sfp ! 811 nfsv4_loadattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nap, struct nfsfh **nfhpp, fhandle_t *fhp, int fhsize, struct nfsv3_pathconf *pc, struct statfs *sbp, struct nfsstatfs *sfp, struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp, u_int32_t *leasep, u_int32_t *rderrp, NFSPROC_T *p, struct ucred *cred) argument [all...] |
/freebsd-10-stable/sys/ia64/ia64/ |
H A D | machdep.c | 1000 struct sigframe sf, *sfp; local 1036 sfp = (struct sigframe *)(sbs + td->td_sigstk.ss_size); 1041 sfp = (struct sigframe *)sp; 1042 sfp = (struct sigframe *)((u_int64_t)(sfp - 1) & ~15); 1053 code = (u_int64_t)&sfp->sf_si; 1062 if (copyout(&sf, sfp, sizeof(sf)) != 0) { 1089 tf->tf_special.sp = (u_int64_t)sfp - 16;
|
/freebsd-10-stable/sys/x86/iommu/ |
H A D | intel_idpgtbl.c | 352 struct sf_buf *sfp; local 389 sfp = NULL; 391 &idx1, &sfp); 402 sf_buf_page(sfp)->wire_count += 1; 404 dmar_unmap_pgtbl(sfp);
|