/freebsd-11.0-release/contrib/opie/libopie/ |
H A D | open.c | 56 char *fmode; local 60 fmode = "r"; 63 fmode = "r+"; 66 fmode = "a"; 72 if (!(f = fopen(file, fmode)))
|
/freebsd-11.0-release/lib/libc/net/ |
H A D | sourcefilter.c | 142 uint32_t fmode, uint32_t numsrc, struct in_addr *slist) 157 (fmode != MCAST_INCLUDE && fmode != MCAST_EXCLUDE)) { 190 sizeof(struct sockaddr_in), fmode, numsrc, 212 uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) 222 assert(fmode != NULL); 255 sizeof(struct sockaddr_in), fmode, numsrc, 277 socklen_t grouplen, uint32_t fmode, uint32_t numsrc, 284 if (fmode != MCAST_INCLUDE && fmode ! 141 setipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t fmode, uint32_t numsrc, struct in_addr *slist) argument 211 getipv4sourcefilter(int s, struct in_addr interface, struct in_addr group, uint32_t *fmode, uint32_t *numsrc, struct in_addr *slist) argument 276 setsourcefilter(int s, uint32_t interface, struct sockaddr *group, socklen_t grouplen, uint32_t fmode, uint32_t numsrc, struct sockaddr_storage *slist) argument 333 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-11.0-release/contrib/ipfilter/ |
H A D | ml_ipl.c | 152 int error = 0, fmode = S_IFCHR|0600; local 156 vattr.va_type = MFTOVT(fmode); 157 vattr.va_mode = (fmode & 07777);
|
H A D | mls_ipl.c | 204 int error = 0, fmode = S_IFCHR|0600, i; local 214 vattr.va_type = MFTOVT(fmode); 215 vattr.va_mode = (fmode & 07777);
|
H A D | mlo_ipl.c | 196 int error = 0, fmode = S_IFCHR|0600, i; local 224 vattr.va_mode = (fmode & 07777);
|
H A D | mln_ipl.c | 262 int error = 0, fmode = S_IFCHR|0600, i; local 311 vattr.va_mode = (fmode & 07777);
|
H A D | mlf_ipl.c | 314 int error = 0, fmode = S_IFCHR|0600, i; local 337 vattr.va_mode = (fmode & 07777);
|
/freebsd-11.0-release/contrib/sendmail/src/ |
H A D | bf.c | 105 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-11.0-release/contrib/sendmail/libsmutil/ |
H A D | safefile.c | 797 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-11.0-release/usr.sbin/mtest/ |
H A D | mtest.c | 387 uint32_t fmode, ifindex; local 534 fmode = (*cmd == 'i') ? MCAST_INCLUDE : MCAST_EXCLUDE; 588 &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-11.0-release/usr.sbin/ifmcstat/ |
H A D | ifmcstat.c | 674 uint8_t fmode; 677 fmode = pinm->inm_st[1].iss_fmode; 678 if (fmode == MCAST_UNDEFINED) 685 if (fmode != ims_get_mode(pinm, ims, 1)) 805 uint32_t fmode; local 844 fmode = *p++; 847 modestr = inm_mode(fmode); 851 printf(" mode (%u)", fmode); 905 uint32_t fmode; local 948 fmode [all...] |
/freebsd-11.0-release/sys/kern/ |
H A D | vfs_vnops.c | 200 int fmode, error; local 203 fmode = *flagp; 204 if ((fmode & (O_CREAT | O_EXCL | O_DIRECTORY)) == (O_CREAT | 207 else if ((fmode & (O_CREAT | O_DIRECTORY)) == O_CREAT) { 214 if ((fmode & O_EXCL) == 0 && (fmode & O_NOFOLLOW) == 0) 227 if (fmode & O_EXCL) 252 fmode &= ~O_TRUNC; 261 if (fmode & O_EXCL) { 265 fmode 299 vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred, struct thread *td, struct file *fp) argument [all...] |
H A D | vfs_syscalls.c | 4260 int fmode, error; local 4267 fmode = FFLAGS(uap->flags); 4269 if (((fmode & (FREAD | FWRITE)) == 0) || (fmode & O_CREAT)) 4297 error = vn_open_vnode(vp, fmode, td->td_ucred, td, fp); 4312 finit(fp, (fmode & FMASK) | (fp->f_flag & FHASLOCK), DTYPE_VNODE, vp, 4315 if ((fmode & O_TRUNC) != 0) { 4321 error = finstall(td, fp, &indx, fmode, NULL);
|
/freebsd-11.0-release/contrib/gcc/ |
H A D | optabs.c | 4522 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...] |
H A D | builtins.c | 5308 enum machine_mode fmode, imode, rmode; 5319 fmode = TYPE_MODE (TREE_TYPE (arg)); 5321 fmt = REAL_MODE_FORMAT (fmode); 5329 if (fmt->has_signed_zero && HONOR_SIGNED_ZEROS (fmode)) 5338 if (GET_MODE_SIZE (fmode) <= UNITS_PER_WORD) 5340 imode = int_mode_for_mode (fmode); 5350 word = (GET_MODE_BITSIZE (fmode) - bitpos) / BITS_PER_WORD; 5353 temp = operand_subword_force (temp, word, fmode); 5307 enum machine_mode fmode, imode, rmode; local
|
/freebsd-11.0-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_diff.c | 264 mode_t fmode, tmode; local 298 fmode = fsb.zs_mode & S_IFMT; 300 if (fmode == S_IFDIR || tmode == S_IFDIR || fsb.zs_links == 0 || 322 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen)
|
/freebsd-11.0-release/contrib/nvi/common/ |
H A D | exf.c | 858 mode_t fmode; local 862 fmode = sb.st_mode; 864 fmode |= S_IWUSR; 867 if (chmod(name, fmode) != 0)
|
/freebsd-11.0-release/sys/fs/nfsclient/ |
H A D | nfs_clvnops.c | 513 int fmode = ap->a_mode; local 524 error = nfsrpc_open(vp, fmode, ap->a_cred, ap->a_td); 591 if (newnfs_directio_enable && (fmode & O_DIRECT) && 608 if (NFSHASPNFS(VFSTONFS(vp->v_mount)) && (fmode & FWRITE) != 0) 618 if ((fmode & FWRITE) != 0) { 675 int fmode = ap->a_fflag; local 794 if (newnfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) { 1546 int error = 0, attrflag, dattrflag, fmode = 0; local 1558 fmode |= O_EXCL; 1572 vap, cverf, fmode, cn [all...] |
H A D | nfs_clrpcops.c | 1838 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p, 1861 error = nfsrpc_createv4(dvp, name, namelen, vap, cverf, fmode, 1892 fmode, cred, p, dnap, nnap, nfhpp, attrflagp, dattrflagp, 1903 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p, 1920 if (fmode & O_EXCL) { 1951 nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp, 1991 if (fmode & O_EXCL) { 1837 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 1902 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 1950 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-11.0-release/sys/netinet/ |
H A D | in_mcast.c | 1350 uint16_t fmode; local 1445 fmode = imf->imf_st[0]; 1446 if (fmode != MCAST_EXCLUDE) { 1472 ims = imf_graft(imf, fmode, &ssa->sin); 2848 uint32_t fmode, ifindex; local 2895 fmode = inm->inm_st[1].iss_fmode; 2896 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t)); 2909 if (fmode != ims_get_mode(inm, ims, 1)) { 2989 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
|
/freebsd-11.0-release/sys/netinet6/ |
H A D | in6_mcast.c | 1334 uint16_t fmode; local 1405 fmode = imf->im6f_st[0]; 1406 if (fmode != MCAST_EXCLUDE) { 1433 ims = im6f_graft(imf, fmode, &ssa->sin6); 2669 uint32_t fmode, ifindex; local 2724 fmode = inm->in6m_st[1].iss_fmode; 2725 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t)); 2733 if (fmode != im6s_get_mode(inm, ims, 1)) { 2815 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
|
/freebsd-11.0-release/contrib/atf/atf-c/detail/ |
H A D | fs_test.c | 620 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-11.0-release/sys/dev/vxge/vxgehal/ |
H A D | vxgehal-mrpcim.c | 135 u32 fmode; local 156 fmode = 160 fmode = 164 fmode = 168 fmode = 172 fmode = 176 fmode = 180 fmode = 184 fmode = 188 fmode [all...] |
/freebsd-11.0-release/sys/fs/unionfs/ |
H A D | union_subr.c | 893 int fmode; local 901 fmode = FFLAGS(O_WRONLY | O_CREAT | O_TRUNC | O_EXCL); 938 if ((error = VOP_OPEN(vp, fmode, cred, td, NULL)) != 0) {
|
/freebsd-11.0-release/sys/sys/ |
H A D | vnode.h | 690 int vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred,
|