Searched refs:fmode (Results 1 - 25 of 26) sorted by relevance

12

/freebsd-9.3-release/contrib/opie/libopie/
H A Dopen.c56 char *fmode; local
60 fmode = "r";
63 fmode = "r+";
66 fmode = "a";
72 if (!(f = fopen(file, fmode)))
/freebsd-9.3-release/lib/libc/net/
H A Dsourcefilter.c143 uint32_t fmode, uint32_t numsrc, struct in_addr *slist)
158 (fmode != MCAST_INCLUDE && fmode != MCAST_EXCLUDE)) {
191 sizeof(struct sockaddr_in), fmode, numsrc,
213 uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist)
223 assert(fmode != NULL);
256 sizeof(struct sockaddr_in), fmode, numsrc,
278 socklen_t grouplen, uint32_t fmode, uint32_t numsrc,
285 if (fmode != MCAST_INCLUDE && fmode !
142 setipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t fmode, uint32_t numsrc, struct in_addr *slist) argument
212 getipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) argument
277 setsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t fmode, uint32_t numsrc, struct sockaddr_storage *slist) argument
334 getsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t *fmode, uint32_t *numsrc, struct sockaddr_storage *slist) argument
[all...]
/freebsd-9.3-release/usr.sbin/pw/
H A Dfileupd.c72 fileupdate(char const * filename, mode_t fmode, char const * newline, char const * prefix, int pfxlen, int updmode) argument
79 int infd = open(filename, O_RDWR | O_CREAT | O_EXLOCK, fmode);
95 outfd = open(file, O_RDWR | O_CREAT | O_TRUNC, fmode);
/freebsd-9.3-release/contrib/sendmail/src/
H A Dbf.c105 MODE_T fmode; local
113 fmode = ((struct bf_info *) info)->bi_fmode;
172 bfp->bf_filemode = fmode;
189 ** fmode -- what mode the file should be created as
216 bfopen(char *filename, MODE_T fmode, size_t bsize, long flags) argument
219 bfopen(filename, fmode, bsize, flags)
221 MODE_T fmode;
233 ** Apply current umask to fmode as it may change by the time
234 ** the file is actually created. fmode becomes the true
239 fmode
[all...]
/freebsd-9.3-release/contrib/sendmail/libsmutil/
H A Dsafefile.c797 int fmode; local
802 fmode = SM_IO_RDONLY;
807 fmode = SM_IO_APPEND;
809 fmode = SM_IO_WRONLY;
814 fmode = SM_IO_RDWRTR;
816 fmode = SM_IO_APPENDRW;
818 fmode = SM_IO_RDWR;
823 fmode = 0;
836 (void *) &fd, fmode, NULL);
844 fn, fmode, omod
[all...]
/freebsd-9.3-release/usr.sbin/mtest/
H A Dmtest.c387 uint32_t fmode, ifindex; local
533 fmode = (*cmd == 'i') ? MCAST_INCLUDE : MCAST_EXCLUDE;
587 &su.sa, su.sa.sa_len, fmode, n, &sources[0].ss) != 0)
616 &su.sa, su.sa.sa_len, &fmode, &n, NULL) != 0) {
636 if (fmode == MCAST_EXCLUDE) {
671 if (fmode == MCAST_EXCLUDE) {
725 su.sa.sa_len, &fmode, &nsrc, &sources[0].ss) != 0) {
730 printf("%s\n", (fmode == MCAST_INCLUDE) ? "include" :
/freebsd-9.3-release/sys/kern/
H A Dvfs_vnops.c132 int fmode, error; local
139 fmode = *flagp;
140 if (fmode & O_CREAT) {
144 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0)
158 if (fmode & O_EXCL)
183 fmode &= ~O_TRUNC;
192 if (fmode & O_EXCL) {
196 fmode &= ~O_CREAT;
201 ((fmode
[all...]
H A Dkern_gzio.c98 char fmode[80]; /* copy of mode, without the compression level */ local
99 char *m = fmode;
143 } while (*p++ && m != fmode + sizeof(fmode));
H A Dvfs_syscalls.c4503 int fmode, error, type; local
4512 fmode = FFLAGS(uap->flags);
4514 if (((fmode & (FREAD | FWRITE)) == 0) || (fmode & O_CREAT))
4547 if (vp->v_type != VDIR && fmode & O_DIRECTORY) {
4552 if (fmode & (FWRITE | O_TRUNC)) {
4562 if (fmode & FREAD)
4564 if ((fmode & O_APPEND) && (fmode & FWRITE))
4576 if (fmode
[all...]
/freebsd-9.3-release/usr.sbin/ifmcstat/
H A Difmcstat.c676 uint8_t fmode;
679 fmode = pinm->inm_st[1].iss_fmode;
680 if (fmode == MCAST_UNDEFINED)
687 if (fmode != ims_get_mode(pinm, ims, 1))
816 uint32_t fmode; local
855 fmode = *p++;
858 modestr = inm_mode(fmode);
862 printf(" mode (%u)", fmode);
916 uint32_t fmode; local
959 fmode
[all...]
/freebsd-9.3-release/contrib/gcc/
H A Doptabs.c4518 enum machine_mode fmode, imode;
4529 for (fmode = GET_MODE (to); fmode != VOIDmode;
4530 fmode = GET_MODE_WIDER_MODE (fmode))
4536 if (fmode != GET_MODE (to)
4537 && significand_size (fmode) < GET_MODE_BITSIZE (GET_MODE (from)))
4540 icode = can_float_p (fmode, imode, unsignedp);
4543 enum insn_code scode = can_float_p (fmode, imode, 0);
4555 if (fmode !
4496 enum machine_mode fmode, imode; local
4698 enum machine_mode fmode, imode; local
5027 enum machine_mode fmode, tmode; local
5164 set_conv_libfunc(convert_optab optable, enum machine_mode tmode, enum machine_mode fmode, const char *name) argument
[all...]
H A Dbuiltins.c5284 enum machine_mode fmode, imode, rmode;
5295 fmode = TYPE_MODE (TREE_TYPE (arg));
5297 fmt = REAL_MODE_FORMAT (fmode);
5305 if (fmt->has_signed_zero && HONOR_SIGNED_ZEROS (fmode))
5314 if (GET_MODE_SIZE (fmode) <= UNITS_PER_WORD)
5316 imode = int_mode_for_mode (fmode);
5326 word = (GET_MODE_BITSIZE (fmode) - bitpos) / BITS_PER_WORD;
5329 temp = operand_subword_force (temp, word, fmode);
5283 enum machine_mode fmode, imode, rmode; local
/freebsd-9.3-release/contrib/ipfilter/
H A Dmlf_ipl.c314 int error = 0, fmode = S_IFCHR|0600, i; local
337 vattr.va_mode = (fmode & 07777);
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_diff.c261 mode_t fmode, tmode; local
295 fmode = fsb.zs_mode & S_IFMT;
297 if (fmode == S_IFDIR || tmode == S_IFDIR || fsb.zs_links == 0 ||
319 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen)
/freebsd-9.3-release/contrib/nvi/common/
H A Dexf.c848 mode_t fmode; local
852 fmode = sb.st_mode;
854 fmode |= S_IWUSR;
857 if (chmod(name, fmode) != 0)
/freebsd-9.3-release/sys/netinet/
H A Din_mcast.c1305 uint16_t fmode; local
1400 fmode = imf->imf_st[0];
1401 if (fmode != MCAST_EXCLUDE) {
1427 ims = imf_graft(imf, fmode, &ssa->sin);
2777 uint32_t fmode, ifindex; local
2824 fmode = inm->inm_st[1].iss_fmode;
2825 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
2838 if (fmode != ims_get_mode(inm, ims, 1)) {
2918 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
/freebsd-9.3-release/sys/netinet6/
H A Din6_mcast.c1333 uint16_t fmode; local
1404 fmode = imf->im6f_st[0];
1405 if (fmode != MCAST_EXCLUDE) {
1432 ims = im6f_graft(imf, fmode, &ssa->sin6);
2671 uint32_t fmode, ifindex; local
2726 fmode = inm->in6m_st[1].iss_fmode;
2727 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
2735 if (fmode != im6s_get_mode(inm, ims, 1)) {
2817 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clvnops.c515 int fmode = ap->a_mode; local
526 error = nfsrpc_open(vp, fmode, ap->a_cred, ap->a_td);
593 if (newnfs_directio_enable && (fmode & O_DIRECT) &&
616 if ((fmode & FWRITE) != 0) {
672 int fmode = ap->a_fflag; local
791 if (newnfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
1525 int error = 0, attrflag, dattrflag, fmode = 0; local
1537 fmode |= O_EXCL;
1551 vap, cverf, fmode, cnp->cn_cred, cnp->cn_thread, &dnfsva, &nfsva,
1579 if (NFS_ISV34(dvp) && (fmode
[all...]
H A Dnfs_clrpcops.c1722 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p,
1745 error = nfsrpc_createv4(dvp, name, namelen, vap, cverf, fmode,
1774 fmode, cred, p, dnap, nnap, nfhpp, attrflagp, dattrflagp,
1785 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p,
1802 if (fmode & O_EXCL) {
1833 nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp,
1871 if (fmode & O_EXCL) {
1721 nfsrpc_create(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument
1784 nfsrpc_createv23(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff) argument
1832 nfsrpc_createv4(vnode_t dvp, char *name, int namelen, struct vattr *vap, nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *dnap, struct nfsvattr *nnap, struct nfsfh **nfhpp, int *attrflagp, int *dattrflagp, void *dstuff, int *unlockedp) argument
/freebsd-9.3-release/sys/fs/nwfs/
H A Dnwfs_vnops.c410 int error = 0, fmode; local
424 fmode = AR_READ | AR_WRITE;
426 fmode |= AR_DENY_READ | AR_DENY_WRITE;*/
430 0, fmode, &no, cnp->cn_thread, cnp->cn_cred);
/freebsd-9.3-release/contrib/lukemftpd/src/
H A Dftpd.c1790 store(const char *name, const char *fmode, int unique) argument
1799 desc = (*fmode == 'w') ? "put" : "append";
1809 fmode = "r+";
1810 fout = fopen(name, fmode);
1872 getdatasock(const char *fmode) argument
1879 return (fdopen(data, fmode));
1926 return (fdopen(s, fmode));
1938 dataconn(const char *name, off_t size, const char *fmode) argument
1986 return (fdopen(pdata, fmode));
1992 return (fdopen(data, fmode));
[all...]
/freebsd-9.3-release/sys/nfsclient/
H A Dnfs_vnops.c511 int fmode = ap->a_mode; local
558 if (nfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
577 if ((fmode & FWRITE) != 0) {
623 int fmode = ap->a_fflag; local
672 if (nfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
1590 int error = 0, wccflag = NFSV3_WCCRATTR, gotvp = 0, fmode = 0; local
1607 fmode |= O_EXCL;
1618 if (fmode & O_EXCL) {
1666 if (v3 && (fmode & O_EXCL) && error == NFSERR_NOTSUPP) {
1667 fmode
[all...]
/freebsd-9.3-release/sys/dev/vxge/vxgehal/
H A Dvxgehal-mrpcim.c135 u32 fmode; local
156 fmode =
160 fmode =
164 fmode =
168 fmode =
172 fmode =
176 fmode =
180 fmode =
184 fmode =
188 fmode
[all...]
/freebsd-9.3-release/sys/fs/unionfs/
H A Dunion_subr.c907 int fmode; local
915 fmode = FFLAGS(O_WRONLY | O_CREAT | O_TRUNC | O_EXCL);
953 if ((error = VOP_OPEN(vp, fmode, cred, td, NULL)) != 0) {
/freebsd-9.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_acl.c890 zfs_mode_compute(uint64_t fmode, zfs_acl_t *aclp, argument
902 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX));

Completed in 466 milliseconds

12