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

/freebsd-11-stable/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-11-stable/lib/libc/net/
H A Dsourcefilter.c142 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-stable/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-11-stable/contrib/sendmail/libsmutil/
H A Dsafefile.c796 int fmode; local
801 fmode = SM_IO_RDONLY;
806 fmode = SM_IO_APPEND;
808 fmode = SM_IO_WRONLY;
813 fmode = SM_IO_RDWRTR;
815 fmode = SM_IO_APPENDRW;
817 fmode = SM_IO_RDWR;
822 fmode = 0;
835 (void *) &fd, fmode, NULL);
843 fn, fmode, omod
[all...]
/freebsd-11-stable/tests/sys/audit/
H A Dutils.c95 int fmode = AUDITPIPE_PRESELECT_MODE_LOCAL; local
98 if (ioctl(filedesc, AUDITPIPE_SET_PRESELECT_MODE, &fmode) < 0)
/freebsd-11-stable/usr.sbin/mtest/
H A Dmtest.c389 uint32_t fmode, ifindex; local
536 fmode = (*cmd == 'i') ? MCAST_INCLUDE : MCAST_EXCLUDE;
590 &su.sa, su.sa.sa_len, fmode, n, &sources[0].ss) != 0)
618 &su.sa, su.sa.sa_len, &fmode, &n, NULL) != 0) {
638 if (fmode == MCAST_EXCLUDE) {
673 if (fmode == MCAST_EXCLUDE) {
727 su.sa.sa_len, &fmode, &nsrc, &sources[0].ss) != 0) {
732 printf("%s\n", (fmode == MCAST_INCLUDE) ? "include" :
/freebsd-11-stable/usr.sbin/ifmcstat/
H A Difmcstat.c674 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-stable/sys/kern/
H A Dvfs_vnops.c200 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)
228 if (fmode & O_EXCL)
253 fmode &= ~O_TRUNC;
262 if (fmode & O_EXCL) {
270 fmode
304 vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred, struct thread *td, struct file *fp) argument
[all...]
H A Dvfs_syscalls.c3971 int fmode, error; local
3978 fmode = FFLAGS(uap->flags);
3980 if (((fmode & (FREAD | FWRITE)) == 0) || (fmode & O_CREAT))
4008 error = vn_open_vnode(vp, fmode, td->td_ucred, td, fp);
4023 finit(fp, (fmode & FMASK) | (fp->f_flag & FHASLOCK), DTYPE_VNODE, vp,
4026 if ((fmode & O_TRUNC) != 0) {
4032 error = finstall(td, fp, &indx, fmode, NULL);
/freebsd-11-stable/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...]
H A Dbuiltins.c5308 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-stable/usr.sbin/spi/
H A Dspi.c463 uint32_t fmode, fspeed; local
470 err = ioctl(hdev, SPIGENIOC_GET_SPI_MODE, &fmode);
480 cpath, fmode, fspeed);//, max_cmd, max_data, temp_buf);
492 uint32_t fmode = popt->mode; local
497 return ioctl(hdev, SPIGENIOC_SET_SPI_MODE, &fmode);
/freebsd-11-stable/contrib/nvi/common/
H A Dexf.c858 mode_t fmode; local
862 fmode = sb.st_mode;
864 fmode |= S_IWUSR;
867 if (chmod(name, fmode) != 0)
/freebsd-11-stable/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_diff.c259 mode_t fmode, tmode; local
293 fmode = fsb.zs_mode & S_IFMT;
295 if (fmode == S_IFDIR || tmode == S_IFDIR || fsb.zs_links == 0 ||
317 if (fmode != tmode && fsb.zs_gen == tsb.zs_gen)
/freebsd-11-stable/sys/fs/nfsclient/
H A Dnfs_clvnops.c499 int fmode = ap->a_mode; local
510 error = nfsrpc_open(vp, fmode, ap->a_cred, ap->a_td);
577 if (newnfs_directio_enable && (fmode & O_DIRECT) &&
594 if (NFSHASPNFS(VFSTONFS(vp->v_mount)) && (fmode & FWRITE) != 0)
604 if ((fmode & FWRITE) != 0) {
661 int fmode = ap->a_fflag; local
781 if (newnfs_directio_enable && (fmode & O_DIRECT) && (vp->v_type == VREG)) {
1531 int error = 0, attrflag, dattrflag, fmode = 0; local
1543 fmode |= O_EXCL;
1557 vap, cverf, fmode, cn
[all...]
H A Dnfs_clrpcops.c1910 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p,
1936 fmode, owp, &dp, cred, p, dnap, nnap, nfhpp,
1940 cverf, fmode, owp, &dp, cred, p, dnap, nnap, nfhpp,
1970 fmode, cred, p, dnap, nnap, nfhpp, attrflagp, dattrflagp,
1981 nfsquad_t cverf, int fmode, struct ucred *cred, NFSPROC_T *p,
1998 if (fmode & O_EXCL) {
2029 nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp,
2071 if (fmode & O_EXCL) {
6351 nfsquad_t cverf, int fmode, struct nfsclowner *owp, struct nfscldeleg **dpp,
6396 if ((fmode
1909 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
1980 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
2028 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
6350 nfsrpc_createlayout(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, nfsv4stateid_t *stateidp, int usecurstateid, int layoutlen, int *retonclosep, struct nfsclflayouthead *flhp, int *laystatp) argument
6608 nfsrpc_getcreatelayout(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
[all...]
/freebsd-11-stable/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-11-stable/sys/netinet/
H A Din_mcast.c1350 uint16_t fmode; local
1447 fmode = imf->imf_st[0];
1448 if (fmode != MCAST_EXCLUDE) {
1474 ims = imf_graft(imf, fmode, &ssa->sin);
2861 uint32_t fmode, ifindex; local
2908 fmode = inm->inm_st[1].iss_fmode;
2909 retval = SYSCTL_OUT(req, &fmode, sizeof(uint32_t));
2918 if (fmode != ims_get_mode(inm, ims, 1)) {
3010 printf("t%d: fmode %s asm %u ex %u in %u rec %u\n", t,
/freebsd-11-stable/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-11-stable/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-11-stable/sys/fs/unionfs/
H A Dunion_subr.c893 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-stable/sys/sys/
H A Dvnode.h693 int vn_open_vnode(struct vnode *vp, int fmode, struct ucred *cred,
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dzfs_acl.c889 zfs_mode_compute(uint64_t fmode, zfs_acl_t *aclp, argument
901 mode = (fmode & (S_IFMT | S_ISUID | S_ISGID | S_ISVTX));
/freebsd-11-stable/contrib/gcc/config/rs6000/
H A Drs6000.c5376 enum machine_mode fmode = mode;
5383 gcc_assert (cum->fregno == FP_ARG_MAX_REG && fmode == TFmode);
5386 fmode = DFmode;
5397 if (!needs_psave && mode == fmode)
5398 return gen_rtx_REG (fmode, cum->fregno);
5448 r = gen_rtx_REG (fmode, cum->fregno);
5363 enum machine_mode fmode = mode; local

Completed in 1310 milliseconds