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 DHIDDevice.cpp143 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/haiku/src/add-ons/kernel/file_systems/nfs/
H A Dnfs_add_on.c1760 if (omode & O_TRUNC)
/haiku/src/add-ons/kernel/drivers/input/i2c_hid/
H A DHIDDevice.cpp77 int fd = open(outputFile, O_WRONLY | O_CREAT | O_TRUNC, 0644);
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DInode.cpp550 | ((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 DNodeHandle.cpp102 openMode &= O_RWMASK | O_TRUNC | O_APPEND;
/haiku/src/add-ons/kernel/file_systems/layers/write_overlay/
H A Dwrite_overlay.cpp585 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 Dattribute_overlay.cpp618 nameBuffer, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR | S_IRGRP
651 result = currentVnode.ops->open(volume, &currentVnode, 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 Dchecksumfs.cpp536 // 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 DDebug.cpp268 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/file_systems/udf/
H A DUdfDebug.cpp270 fFile = open(filename, O_RDWR | O_CREAT | O_TRUNC);
/haiku/src/kits/package/hpkg/
H A DWriterImplBase.cpp272 openMode |= O_CREAT | O_TRUNC;
/haiku/src/build/libroot/
H A Dfs_attr_generic.cpp572 O_WRONLY | O_CREAT | O_TRUNC);
/haiku/src/add-ons/kernel/drivers/network/ether/usb_davicom/
H A DSettings.cpp38 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/
H A DSettings.cpp37 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/system/libroot/posix/
H A Dfcntl.cpp26 _kern_open(-1, path, O_CREAT | O_TRUNC | O_WRONLY, mode & ~__gUmask));
/haiku/src/add-ons/kernel/drivers/video/usb_vision/
H A Dtracing.c56 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.c139 int flags = O_WRONLY | O_CREAT | ((!b_log_append) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/audio/usb/
H A DSettings.cpp33 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/
H A DSettings.cpp30 int flags = O_WRONLY | O_CREAT | ((gTruncateLogFile) ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/ports/usb_serial/
H A DTracing.cpp69 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
/haiku/src/add-ons/kernel/drivers/ports/pc_serial/
H A DTracing.cpp66 int flags = O_WRONLY | O_CREAT | (!gLogAppend ? O_TRUNC : 0);
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileops.c264 oflags = O_CREAT|O_TRUNC;
/haiku/src/add-ons/kernel/drivers/audio/ac97/auvia/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/drivers/audio/ac97/auich/
H A Ddebug.c74 int fd = open(logfile, O_WRONLY | O_CREAT | O_TRUNC, 0666);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dkernel_interface.cpp365 || (openMode & (O_TRUNC | O_CREAT))) {

Completed in 331 milliseconds

1234