tag | line | file | source code |
---|---|---|---|
O_TRUNC | 83 | fs/exec.c | if (open_namei("core",O_CREAT | O_WRONLY | O_TRUNC,0600,&inode)) |
O_TRUNC | 204 | fs/namei.c | if ((flag & O_TRUNC) && !(flag & O_ACCMODE)) |
O_TRUNC | 211 | fs/namei.c | if (!(flag & (O_ACCMODE|O_CREAT|O_TRUNC))) { |
O_TRUNC | 252 | fs/namei.c | if (IS_RDONLY(inode) && (flag & (O_TRUNC | O_ACCMODE))) { |
O_TRUNC | 276 | fs/namei.c | if (flag & O_TRUNC) |
O_TRUNC | 338 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |