Searched refs:O_TRUNC (Results 26 - 50 of 91) sorted by last modified time
1234
/haiku/src/add-ons/kernel/drivers/input/usb_hid/ |
H A D | HIDDevice.cpp | 143 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | nfs_add_on.c | 1760 if (omode & O_TRUNC)
|
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/ |
H A D | HIDDevice.cpp | 77 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Inode.cpp | 550 | ((openMode & O_TRUNC) != 0 ? W_OK : 0)) != B_OK) 553 if ((openMode & O_TRUNC) != 0) {
|
/haiku/src/add-ons/kernel/file_systems/netfs/server/ |
H A D | NodeHandle.cpp | 102 openMode &= O_RWMASK | O_TRUNC | O_APPEND;
|
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/ |
H A D | write_overlay.cpp | 585 if (openMode & O_TRUNC) { 597 if (openMode & O_TRUNC) { 606 openMode &= ~(O_RDWR | O_WRONLY | O_TRUNC | O_CREAT);
|
/haiku/src/add-ons/kernel/file_systems/layers/attribute_overlay/ |
H A D | attribute_overlay.cpp | 618 nameBuffer, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP 651 result = currentVnode.ops->open(volume, ¤tVnode, O_RDWR | O_TRUNC, 787 if ((openMode & O_TRUNC) != 0) 831 if (openMode & O_TRUNC)
|
/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | checksumfs.cpp | 536 // We need to at least read-lock the node. If O_TRUNC is specified, we even 540 if ((openMode & O_TRUNC) != 0) { 573 if ((openMode & O_TRUNC) != 0 && node->Size() > 0) { 674 error = open_file(volume, newFile, openMode & ~O_TRUNC, transaction, 1922 if (created || (openMode & O_TRUNC) != 0) { 1955 // yet). We only need to read-lock the node for that, but when O_TRUNC is 1961 if ((openMode & O_TRUNC) != 0) { 1994 if ((openMode & O_TRUNC) != 0) {
|
/haiku/src/add-ons/kernel/partitioning_systems/session/ |
H A D | Debug.cpp | 268 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
|
/haiku/src/add-ons/kernel/file_systems/udf/ |
H A D | UdfDebug.cpp | 270 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
|
/haiku/src/kits/package/hpkg/ |
H A D | WriterImplBase.cpp | 272 openMode |= O_CREAT | O_TRUNC;
|
/haiku/src/build/libroot/ |
H A D | fs_attr_generic.cpp | 572 O_WRONLY | O_CREAT | O_TRUNC);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/ |
H A D | Settings.cpp | 38 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | Settings.cpp | 37 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
|
/haiku/src/system/libroot/posix/ |
H A D | fcntl.cpp | 26 _kern_open(-1, path, O_CREAT | O_TRUNC | O_WRONLY, mode & ~__gUmask));
|
/haiku/src/add-ons/kernel/drivers/video/usb_vision/ |
H A D | tracing.c | 56 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0);
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | tracing.c | 139 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0);
|
/haiku/src/add-ons/kernel/drivers/audio/usb/ |
H A D | Settings.cpp | 33 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Settings.cpp | 30 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
|
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/ |
H A D | Tracing.cpp | 69 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
|
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/ |
H A D | Tracing.cpp | 66 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | fileops.c | 264 oflags = O_CREAT|O_TRUNC;
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/ |
H A D | debug.c | 74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/ |
H A D | debug.c | 74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
|
/haiku/src/add-ons/kernel/file_systems/reiserfs/ |
H A D | kernel_interface.cpp | 365 || (openMode & (O_TRUNC | O_CREAT))) {
|
Completed in 331 milliseconds
1234