Searched refs:open (Results 1 - 25 of 740) sorted by last modified time

1234567891011>>

/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp714 /*! Tries to open the specified file system module.
717 could not open the module.
3352 kprintf(" no. type %*s ref open mode pos %*s\n",
4020 open cookie and not with a device cookie.
5185 status_t status = FS_CALL(vnode, open, openMode, &cookie);
5216 // try to look the entry up first. If it already exists, we just open the
5458 // open the vnode
5722 // open the dir
5976 // Set file descriptor open mode
5997 // Get file descriptor open mod
[all...]
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DDisk.cpp122 //fprintf(stderr,"Could not open file: %s\n",strerror(fFile.InitCheck()));
127 int device = open(deviceName, O_RDONLY);
129 //fprintf(stderr,"Could not open device\n");
333 // just make it open-end
/haiku-fatelf/src/kits/storage/
H A DMime.cpp122 int fd = open(device, O_RDONLY);
235 int fd = open(device, O_RDONLY);
/haiku-fatelf/src/system/kernel/vm/
H A DVMAnonymousCache.cpp1278 // open the file
1279 int fd = open(path, O_RDWR | O_NOCACHE, S_IRUSR | S_IWUSR);
1592 int fd = open(swapPath, O_RDWR | O_CREAT | O_NOCACHE, S_IRUSR | S_IWUSR);
1594 dprintf("%s: Can't open/create %s: %s\n", __func__,
/haiku-fatelf/src/system/libroot/posix/
H A Dfts.c236 (sp->fts_rfd = open(".", O_RDONLY | O_CLOEXEC, 0)) < 0)
361 if ((p->fts_symfd = open(".", O_RDONLY | O_CLOEXEC,
453 open(".", O_RDONLY | O_CLOEXEC, 0)) < 0) {
589 if ((fd = open(".", O_RDONLY | O_CLOEXEC, 0)) < 0)
1151 if (fd < 0 && (newfd = open(path, O_RDONLY | O_CLOEXEC, 0)) < 0)
/haiku-fatelf/src/add-ons/kernel/busses/scsi/usb/
H A Dtracing.c141 close(open(private_log_path, flags, 0666));
/haiku-fatelf/src/apps/soundrecorder/
H A DRecorderWindow.cpp669 ErrorAlert(B_TRANSLATE("Cannot open the temporary file created to "
1210 if ((fd = open(path.Path(), O_RDWR | O_CREAT | O_EXCL, 0666)) < 0) {
/haiku-fatelf/src/add-ons/input_server/methods/canna/rk/
H A Ddd.c503 if ((fdes = open(direct, 0)) < 0) { /* no file? */
515 if (!close(open(direct, 2))) {
561 if (close(open(file, 0)) < 0)
706 if (close(open(dd->dd_path, 0, 0664)) < 0) {
719 tmpres = close(open(dicsdir, 0));
/haiku-fatelf/src/apps/debugger/elf/
H A DElfFile.cpp131 // open file
132 fFD = open(fileName, O_RDONLY);
134 WARNING("Failed to open \"%s\": %s\n", fileName, strerror(errno));
/haiku-fatelf/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/
H A Dif_iwn.c3123 * we can't debug the firmware because it is neither open source nor free, it
5050 btprot.open = 1;
5055 btprot.open = 0;
/haiku-fatelf/src/servers/app/drawing/
H A DAccelerantHWInterface.cpp187 ATRACE(("Failed to open graphics device\n"));
195 // _OpenAccelerant() failed, try to open next graphics card
205 \param deviceNumber Number identifying which graphics card to open (1 for first card)
240 device = open(path, B_READ_WRITE);
249 device = open("/dev/graphics/vesa", B_READ_WRITE);
/haiku-fatelf/src/servers/debug/
H A DDebugServer.cpp856 notify.AddBool("open", openAlert);
1147 int console = open("/dev/dprintf", O_RDONLY);
1149 debug_printf("debug_server: Failed to open console: %s\n",
/haiku-fatelf/src/add-ons/accelerants/intel_extreme/
H A Dmode.cpp718 int fd = open("/boot/home/ie_.regs", O_CREAT | O_WRONLY, 0644);
/haiku-fatelf/src/apps/aboutsystem/
H A DAboutSystem.cpp1769 // open the app executable file
1773 || (appFD = open(appPath, O_RDONLY)) < 0) {
1777 // open the attribute
/haiku-fatelf/src/apps/cdplayer/
H A DCDDBSupport.cpp490 int device = open(path, O_RDONLY);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/r5/
H A DVolume.cpp79 fDevice = open(device, mode);
288 // if we couldn't open the device, try read-only (don't rely on a specific error code)
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/fragmenter/
H A Dfragmenter.cpp146 // open file
147 int fd = open(fileName, O_RDWR);
149 fprintf(stderr, "Error: Failed to open \"%s\": %s\n", fileName,
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/bfs/dump_log/
H A Ddump_log.cpp202 int device = open(devicePath, O_RDONLY);
204 fprintf(stderr, "%s: could not open device %s: %s\n",
/haiku-fatelf/src/add-ons/kernel/drivers/graphics/nvidia/
H A Ddriver.c408 fd = open (fname, O_WRONLY | O_CREAT, 0666);
760 /* mark the driver as available for R/W open */
880 /* if it's already open for writing */
882 /* mark it open another time */
1045 /* mark the device open */
1115 /* if opened multiple times, decrement the open count and exit */
/haiku-fatelf/src/add-ons/kernel/file_systems/ext2/
H A DVolume.cpp99 fDevice = open(device, mode | O_NOCACHE);
104 // try again to open read-only (don't rely on a specific error code)
292 FATAL("Volume::Mount(): couldn't open device\n");
380 TRACE("Can not open an external journal.\n");
/haiku-fatelf/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.cpp95 // open disk
127 // open disk
129 fDevice = open(path, O_RDONLY);
/haiku-fatelf/src/apps/mail/
H A DMailWindow.cpp216 // can open around 100 e-mails (the BeOS maximum number of open files)
217 // rather than merely around 20, since each open draft-monitoring query
1201 // If the next file was found, open it. If it was not,
1330 BMessage open(B_REFS_RECEIVED);
1331 open.AddRef("refs", &ref);
1332 tracker.SendMessage(&open);
1343 // Ask to open a new Person file with this address pre-filled
/haiku-fatelf/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp73 // open the device
75 fFD = open(device, O_RDWR);
83 fFD = open(device, O_RDONLY);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/userlandfs/r5/src/test/reiserfs/
H A DVolume.cpp108 // open disk
110 fDevice = open(path, O_RDONLY);
/haiku-fatelf/src/tests/add-ons/kernel/file_systems/fs_shell/
H A Dmount.c89 myfs->fd = open(device, O_RDWR);
91 printf("can't open device %s\n", device);
283 myfs->fd = open(device, oflags);
285 printf("could not open %s to try and mount a myfs\n", device);

Completed in 279 milliseconds

1234567891011>>