tag | line | file | source code |
---|---|---|---|
O_TRUNC | 109 | fs/binfmt_aout.c | if (open_namei(corefile,O_CREAT | 2 | O_TRUNC,0600,&inode,NULL)) { |
O_TRUNC | 1011 | fs/binfmt_elf.c | if (open_namei(corefile,O_CREAT | 2 | O_TRUNC,0600,&inode,NULL)) { |
O_TRUNC | 421 | fs/namei.c | flag &= ~O_TRUNC; |
O_TRUNC | 435 | fs/namei.c | if (flag & O_TRUNC) { |
O_TRUNC | 509 | fs/open.c | if (flag & (O_TRUNC | O_CREAT)) |
O_TRUNC | 531 | fs/open.c | f->f_flags &= ~(O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC); |
O_TRUNC | 579 | fs/open.c | return sys_open(pathname, O_CREAT | O_WRONLY | O_TRUNC, mode); |