Home
last modified time | relevance | path

Searched refs:f_flag (Results 1 – 25 of 47) sorted by relevance

12

/freebsd/lib/libc/gen/
H A Dstatvfs.c102 to->f_flag |= ST_RDONLY; in sfs2svfs()
104 to->f_flag |= ST_NOSUID; in sfs2svfs()
152 printf("f_flag: %lx\n", (unsigned long)buf.f_flag); in main()
/freebsd/contrib/netbsd-tests/fs/ffs/
H A Dt_quota2_remount.c55 if ((fst.f_flag & ST_QUOTA) != 0) in do_quota()
66 if ((fst.f_flag & ST_QUOTA) == 0) in do_quota()
77 if ((fst.f_flag & ST_QUOTA) == 0) in do_quota()
/freebsd/usr.bin/stat/tests/
H A Dreadlink_test.sh39 atf_test_case f_flag
70 atf_add_test_case f_flag
/freebsd/crypto/openssh/openbsd-compat/
H A Dbsd-statvfs.c49 to->f_flag = from->f_flags; in copy_statfs_to_statvfs()
51 to->f_flag = 0; in copy_statfs_to_statvfs()
H A Dbsd-statvfs.h61 unsigned long f_flag; /* BBit mask of f_flag values. */ member
/freebsd/crypto/heimdal/appl/login/
H A Dlogin.c238 static int f_flag; variable
253 { NULL, 'f', arg_flag, &f_flag, "pre-authenticated" },
272 if (utmpx_login(tty, username, hostname) != 0 && !f_flag) { in update_utmp()
651 f_flag = 0; in main()
680 if (f_flag == 0) { in main()
697 if(f_flag == 0 && check_password(pwd, password)){ in main()
/freebsd/sys/kern/
H A Dsys_timerfd.c205 if ((fp->f_flag & FNONBLOCK) != 0) { in timerfd_read()
235 atomic_set_int(&fp->f_flag, FASYNC); in timerfd_ioctl()
237 atomic_clear_int(&fp->f_flag, FASYNC); in timerfd_ioctl()
241 atomic_set_int(&fp->f_flag, FNONBLOCK); in timerfd_ioctl()
243 atomic_clear_int(&fp->f_flag, FNONBLOCK); in timerfd_ioctl()
H A Dsys_pipe.c767 if ((fp->f_flag & FNONBLOCK) != 0 && !mac_pipe_check_read_enabled()) { in pipe_read()
887 if (fp->f_flag & FNONBLOCK) { in pipe_read()
1223 (fp->f_flag & FNONBLOCK) == 0) { in pipe_write()
1338 if (fp->f_flag & FNONBLOCK) { in pipe_write()
1452 if (!(fp->f_flag & FREAD)) { in pipe_ioctl()
1512 if (fp->f_flag & FREAD && events & (POLLIN | POLLRDNORM)) in pipe_poll()
1516 if (fp->f_flag & FWRITE && events & (POLLOUT | POLLWRNORM)) in pipe_poll()
1526 if (rpipe->pipe_type & PIPE_TYPE_NAMED && fp->f_flag & FREAD && levents && in pipe_poll()
1532 if (fp->f_flag & FREAD) in pipe_poll()
1545 if ((fp->f_flag & FREAD) != 0) { in pipe_poll()
[all …]
H A Dkern_descrip.c554 td->td_retval[0] = OFLAGS(fp->f_flag); in kern_fcntl()
568 tmp = flg = fp->f_flag; in kern_fcntl()
571 } while (atomic_cmpset_int(&fp->f_flag, flg, tmp) == 0); in kern_fcntl()
574 tmp = fp->f_flag & FNONBLOCK; in kern_fcntl()
578 tmp = fp->f_flag & FASYNC; in kern_fcntl()
584 atomic_clear_int(&fp->f_flag, FNONBLOCK); in kern_fcntl()
589 tmp = flg = fp->f_flag; in kern_fcntl()
593 } while (atomic_cmpset_int(&fp->f_flag, flg, tmp) == 0); in kern_fcntl()
659 if ((fp->f_flag & FREAD) == 0) { in kern_fcntl()
672 if ((fp->f_flag in kern_fcntl()
[all...]
H A Dvfs_vnops.c381 fp->f_flag |= FHASLOCK; in vn_open_vnode_advlock()
442 fp->f_flag |= FKQALLOWED; in vn_open_vnode()
473 fp->f_flag |= FOPENFAILED; in vn_open_vnode()
569 if (fp->f_flag & FRDAHEAD) in sequential_heuristic()
942 if ((fp->f_flag & O_DIRECT) != 0) in get_write_ioflag()
945 if ((fp->f_flag & O_FSYNC) != 0 || in get_write_ioflag()
954 if ((fp->f_flag & O_DSYNC) != 0) in get_write_ioflag()
1084 if (fp->f_flag & FNONBLOCK) in vn_read()
1086 if (fp->f_flag & O_DIRECT) in vn_read()
1159 if (vp->v_type == VREG && (fp->f_flag & O_APPEND) != 0) in vn_write()
[all …]
H A Dsys_eventfd.c156 if ((fp->f_flag & FNONBLOCK) != 0) { in eventfd_read()
204 if ((fp->f_flag & FNONBLOCK) != 0) { in eventfd_write()
H A Dtty_pts.c170 if (fp->f_flag & O_NONBLOCK) { in ptsdev_read()
229 if (fp->f_flag & O_NONBLOCK) { in ptsdev_write()
376 error = tty_ioctl(tp, cmd, data, fp->f_flag, td); in ptsdev_ioctl()
H A Dsys_generic.c609 if (!(fp->f_flag & FWRITE)) { in kern_ftruncate()
778 if ((fp->f_flag & (FREAD | FWRITE)) == 0) { in kern_ioctl()
792 atomic_set_int(&fp->f_flag, FNONBLOCK); in kern_ioctl()
794 atomic_clear_int(&fp->f_flag, FNONBLOCK); in kern_ioctl()
799 atomic_set_int(&fp->f_flag, FASYNC); in kern_ioctl()
801 atomic_clear_int(&fp->f_flag, FASYNC); in kern_ioctl()
856 if ((fp->f_flag & FWRITE) == 0) { in kern_posix_fallocate()
919 if ((fp->f_flag & FWRITE) == 0) { in kern_fspacectl()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_file_os.c71 fp->f_flag = flags & FMASK; in zfs_file_open()
134 if ((fp->f_flag & FWRITE) == 0) in zfs_file_write_impl()
191 if ((fp->f_flag & FREAD) == 0) in zfs_file_read_impl()
/freebsd/bin/chmod/tests/
H A Dchmod_test.sh91 atf_test_case f_flag cleanup
173 atf_add_test_case f_flag
/freebsd/tools/tools/kttcp/sys/
H A Dkttcp.c166 if ((fp->f_flag & FWRITE) == 0) { in kttcp_send()
214 if ((fp->f_flag & FWRITE) == 0) { in kttcp_recv()
/freebsd/crypto/openssh/regress/
H A Dsetuid-allowed.c55 return (sb.f_flag & ST_NOSUID) ? 1 : 0; in main()
/freebsd/sys/sys/
H A Dstatvfs.h65 unsigned long f_flag; member
/freebsd/bin/ln/tests/
H A Dln_test.sh70 atf_test_case f_flag
276 atf_add_test_case f_flag
/freebsd/usr.sbin/chown/tests/
H A Dchown_test.sh94 atf_test_case f_flag cleanup
213 atf_add_test_case f_flag
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/privs/
H A Dtst.getf.ksh38 CANREAD(f_flag)
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c755 filp->f_mode = file->f_flag; in linux_dev_fdopen()
756 filp->f_flags = file->f_flag; in linux_dev_fdopen()
1224 filp->f_flags = file->f_flag; in linux_file_kqfilter()
1273 filp->f_flags = fp->f_flag; in linux_file_mmap_single()
1433 filp->f_flags = file->f_flag; in linux_file_read()
1474 filp->f_flags = file->f_flag; in linux_file_write()
1516 filp->f_flags = file->f_flag; in linux_file_poll()
1547 filp->f_flags = file->f_flag; in linux_file_close()
1584 filp->f_flags = fp->f_flag; in linux_file_ioctl()
1594 error = -OPW(fp, td, fop->fasync(0, filp, fp->f_flag & FASYNC)); in linux_file_ioctl()
[all …]
/freebsd/sbin/fdisk/
H A Dfdisk.c125 static char *f_flag = NULL; /* Read config info from file */ variable
287 f_flag = optarg; in main()
319 if (f_flag || i_flag) in main()
403 if (f_flag) { in main()
406 if (!read_config(f_flag)) in main()
/freebsd/crypto/openssh/
H A Dsftp-client.h52 u_int64_t f_flag; member
/freebsd/sys/fs/nfs/
H A Dnfsdport.h97 #define NFSFPFLAG(f) ((f)->f_flag)

12