O_TRUNC 114 firmware/ihex2fw.c outfd = open(argv[optind+1], O_TRUNC|O_CREAT|O_WRONLY, 0644); O_TRUNC 158 fs/9p/vfs_inode.c if (uflags & O_TRUNC) O_TRUNC 179 fs/cifs/dir.c else if ((oflags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) O_TRUNC 89 fs/cifs/file.c else if ((flags & (O_CREAT | O_TRUNC)) == (O_CREAT | O_TRUNC)) O_TRUNC 93 fs/cifs/file.c else if ((flags & O_TRUNC) == O_TRUNC) O_TRUNC 63 fs/coda/coda_linux.c if (flags & O_TRUNC) O_TRUNC 169 fs/ecryptfs/file.c || (file->f_flags & O_CREAT) || (file->f_flags & O_TRUNC) O_TRUNC 451 fs/fuse/dir.c flags &= ~(O_CREAT | O_EXCL | O_TRUNC); O_TRUNC 33 fs/fuse/file.c inarg.flags &= ~O_TRUNC; O_TRUNC 1546 fs/namei.c flag &= ~O_TRUNC; O_TRUNC 1551 fs/namei.c flag &= ~O_TRUNC; O_TRUNC 1563 fs/namei.c if (flag & O_TRUNC) O_TRUNC 1579 fs/namei.c if (flag & O_TRUNC) { O_TRUNC 1625 fs/namei.c return may_open(nd, 0, flag & ~O_TRUNC); O_TRUNC 1660 fs/namei.c return (flag & O_TRUNC); O_TRUNC 1683 fs/namei.c if (flag & O_TRUNC) O_TRUNC 977 fs/nfs/dir.c (nd->intent.open.flags & (O_CREAT|O_TRUNC|FMODE_WRITE))) O_TRUNC 1063 fs/nfs/dir.c openflags &= ~(O_CREAT|O_TRUNC); O_TRUNC 831 fs/open.c f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); O_TRUNC 1067 fs/open.c return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); O_TRUNC 289 fs/xfs/linux-2.6/xfs_ioctl.c if (permflag & O_TRUNC) O_TRUNC 292 fs/xfs/linux-2.6/xfs_ioctl.c if ((!(permflag & O_APPEND) || (permflag & O_TRUNC)) && O_TRUNC 21 include/asm-generic/fcntl.h #ifndef O_TRUNC O_TRUNC 268 init/initramfs.c openflags |= O_TRUNC; O_TRUNC 239 kernel/auditsc.c if (flags & (O_TRUNC | O_CREAT)) O_TRUNC 641 kernel/module.c int ret = (flags & O_TRUNC); O_TRUNC 634 scripts/kconfig/confdata.c fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644); O_TRUNC 654 scripts/kconfig/confdata.c fd = open(path, O_WRONLY | O_CREAT | O_TRUNC, 0644);