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

12

/freebsd-10.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-10.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-10.3-release/contrib/ipfilter/
H A Dml_ipl.c152 int error = 0, fmode = S_IFCHR|0600; local
156 vattr.va_type = MFTOVT(fmode);
157 vattr.va_mode = (fmode & 07777);
H A Dmls_ipl.c204 int error = 0, fmode = S_IFCHR|0600, i; local
214 vattr.va_type = MFTOVT(fmode);
215 vattr.va_mode = (fmode & 07777);
H A Dmlo_ipl.c196 int error = 0, fmode = S_IFCHR|0600, i; local
224 vattr.va_mode = (fmode & 07777);
H A Dmln_ipl.c262 int error = 0, fmode = S_IFCHR|0600, i; local
311 vattr.va_mode = (fmode & 07777);
H A Dmlf_ipl.c314 int error = 0, fmode = S_IFCHR|0600, i; local
337 vattr.va_mode = (fmode & 07777);
/freebsd-10.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-10.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-10.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-10.3-release/usr.sbin/ifmcstat/
H A Difmcstat.c677 uint8_t fmode;
680 fmode = pinm->inm_st[1].iss_fmode;
681 if (fmode == MCAST_UNDEFINED)
688 if (fmode != ims_get_mode(pinm, ims, 1))
808 uint32_t fmode; local
847 fmode = *p++;
850 modestr = inm_mode(fmode);
854 printf(" mode (%u)", fmode);
908 uint32_t fmode; local
951 fmode
[all...]
/freebsd-10.3-release/sys/kern/
H A Dvfs_vnops.c187 int fmode, error; local
190 fmode = *flagp;
191 if ((fmode & (O_CREAT | O_EXCL | O_DIRECTORY)) == (O_CREAT |
194 else if ((fmode & (O_CREAT | O_DIRECTORY)) == O_CREAT) {
201 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0)
214 if (fmode & O_EXCL)
239 fmode &= ~O_TRUNC;
248 if (fmode & O_EXCL) {
252 fmode
286 vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred, struct thread *td, struct file *fp) argument
[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.c4474 int fmode, error; local
4481 fmode = FFLAGS(uap->flags);
4483 if (((fmode & (FREAD | FWRITE)) == 0) || (fmode & O_CREAT))
4511 error = vn_open_vnode(vp, fmode, td->td_ucred, td, fp);
4526 finit(fp, (fmode & FMASK) | (fp->f_flag & FHASLOCK), DTYPE_VNODE, vp,
4529 if ((fmode & O_TRUNC) != 0) {
4535 error = finstall(td, fp, &indx, fmode, NULL);
/freebsd-10.3-release/contrib/gcc/
H A Doptabs.c4522 enum machine_mode fmode, imode;
4533 for (fmode = GET_MODE (to); fmode != VOIDmode;
4534 fmode = GET_MODE_WIDER_MODE (fmode))
4540 if (fmode != GET_MODE (to)
4541 && significand_size (fmode) < GET_MODE_BITSIZE (GET_MODE (from)))
4544 icode = can_float_p (fmode, imode, unsignedp);
4547 enum insn_code scode = can_float_p (fmode, imode, 0);
4559 if (fmode !
4500 enum machine_mode fmode, imode; local
4702 enum machine_mode fmode, imode; local
5031 enum machine_mode fmode, tmode; local
5168 set_conv_libfunc(convert_optab optable, enum machine_mode tmode, enum machine_mode fmode, const char *name) argument
[all...]
/freebsd-10.3-release/contrib/nvi/common/
H A Dexf.c855 mode_t fmode; local
859 fmode = sb.st_mode;
861 fmode |= S_IWUSR;
864 if (chmod(name, fmode) != 0)
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_diff.c262 mode_t fmode, tmode; local
296 fmode = fsb.zs_mode & S_IFMT;
298 if (fmode == S_IFDIR || tmode == S_IFDIR || fsb.zs_links == 0 ||
320 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen)
/freebsd-10.3-release/sys/fs/nfsclient/
H A Dnfs_clvnops.c516 int fmode = ap->a_mode; local
527 error = nfsrpc_open(vp, fmode, ap->a_cred, ap->a_td);
594 if (newnfs_directio_enable && (fmode & O_DIRECT) &&
611 if (NFSHASPNFS(VFSTONFS(vp->v_mount)) && (fmode & FWRITE) != 0)
621 if ((fmode & FWRITE) != 0) {
678 int fmode = ap->a_fflag; local
797 if (newnfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
1549 int error = 0, attrflag, dattrflag, fmode = 0; local
1561 fmode |= O_EXCL;
1575 vap, cverf, fmode, cn
[all...]
/freebsd-10.3-release/sys/netinet/
H A Din_mcast.c1311 uint16_t fmode; local
1406 fmode = imf->imf_st[0];
1407 if (fmode != MCAST_EXCLUDE) {
1433 ims = imf_graft(imf, fmode, &ssa->sin);
2811 uint32_t fmode, ifindex; local
2858 fmode = inm->inm_st[1].iss_fmode;
2859 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
2872 if (fmode != ims_get_mode(inm, ims, 1)) {
2952 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
/freebsd-10.3-release/sys/netinet6/
H A Din6_mcast.c1335 uint16_t fmode; local
1406 fmode = imf->im6f_st[0];
1407 if (fmode != MCAST_EXCLUDE) {
1434 ims = im6f_graft(imf, fmode, &ssa->sin6);
2674 uint32_t fmode, ifindex; local
2729 fmode = inm->in6m_st[1].iss_fmode;
2730 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
2738 if (fmode != im6s_get_mode(inm, ims, 1)) {
2820 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
/freebsd-10.3-release/contrib/atf/atf-c/detail/
H A Dfs_test.c620 mode_t fmode; member in struct:tests
683 printf("File mode : %04o\n", (unsigned int)t->fmode);
686 ATF_REQUIRE(chmod(atf_fs_path_cstring(&p), t->fmode) != -1);
/freebsd-10.3-release/sys/nfsclient/
H A Dnfs_vnops.c509 int fmode = ap->a_mode; local
556 if (nfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
575 if ((fmode & FWRITE) != 0) {
621 int fmode = ap->a_fflag; local
670 if (nfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
1588 int error = 0, wccflag = NFSV3_WCCRATTR, gotvp = 0, fmode = 0; local
1605 fmode |= O_EXCL;
1616 if (fmode & O_EXCL) {
1664 if (v3 && (fmode & O_EXCL) && error == NFSERR_NOTSUPP) {
1665 fmode
[all...]
/freebsd-10.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-10.3-release/sys/fs/unionfs/
H A Dunion_subr.c894 int fmode; local
902 fmode = FFLAGS(O_WRONLY | O_CREAT | O_TRUNC | O_EXCL);
940 if ((error = VOP_OPEN(vp, fmode, cred, td, NULL)) != 0) {
/freebsd-10.3-release/sys/sys/
H A Dvnode.h679 int vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred,

Completed in 313 milliseconds

12