Searched refs:fd (Results 501 - 525 of 571) sorted by relevance

<<212223

/haiku/src/system/boot/loader/
H A Dmenu.cpp1096 int fd = open_from(directory, name, O_RDWR | O_CREAT | O_EXCL, 0644); local
1097 if (fd < 0) {
1099 return fd;
1109 ssize_t written = writev(fd, vecs, vecCount);
1112 close(fd);
1117 close(fd);
/haiku/headers/private/graphics/matrox/
H A Dmga_macros.h312 #define CFGR(A) (gx00_pci_access.offset=MGACFG_##A, ioctl(fd,GX00_GET_PCI, &gx00_pci_access,sizeof(gx00_pci_access)), gx00_pci_access.value)
313 #define CFGW(A,B) (gx00_pci_access.offset=MGACFG_##A, gx00_pci_access.value = B, ioctl(fd,GX00_SET_PCI,&gx00_pci_access,sizeof(gx00_pci_access)))
/haiku/src/tests/system/kernel/file_corruption/fs/
H A DVolume.cpp118 Volume::Init(int fd, uint64 totalBlocks) argument
120 fFD = dup(fd);
/haiku/headers/private/debugger/model/
H A DTeam.h256 int32 fd, const BString& output);
423 int32 fd, const BString& output);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A DVolume.cpp93 Volume::Identify(int fd, partition_data *partition) argument
96 fDevice = dup(fd);
/haiku/src/libs/agg/src/dbg_new/
H A Dagg_dbg_new.cpp126 FILE* fd = fopen("stdout.txt", "w"); local
127 fclose(fd);
/haiku/src/system/libroot/os/
H A Ddriver_settings.cpp818 load_driver_settings_file(int fd) argument
820 return load_driver_settings_from_file(fd, NULL);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.c1191 int fd; local
1205 fd = open(filename,O_RDONLY);
1206 if (fd >= 0) {
1207 got = read(fd, &basecreds, sizeof(prcred_t));
1222 got = read(fd, groups,
1232 close(fd);
1274 int fd; local
1289 fd = open(filename,O_RDONLY);
1290 if (fd >= 0) {
1291 got = read(fd, bu
4329 int fd; local
[all...]
H A Dunix_io.c54 #include <linux/fd.h>
/haiku/src/add-ons/accelerants/3dfx/
H A Daccelerant.h61 status_t InitAccelerant(int fd);
/haiku/src/add-ons/accelerants/ati/
H A Daccelerant.h92 status_t InitAccelerant(int fd);
/haiku/src/add-ons/accelerants/s3/
H A Daccel.h85 status_t InitAccelerant(int fd);
/haiku/src/add-ons/accelerants/skeleton/
H A DSetDisplayMode.c28 result = ioctl(fd, ENG_RUN_INTERRUPTS, &sbs, sizeof(sbs));
/haiku/headers/private/package/hpkg/v1/
H A DReaderImplBase.h38 virtual status_t Init(int fd, bool keepFD);
/haiku/headers/private/debugger/elf/
H A DElfFile.h27 int fd, uint64 offset, uint64 size,
/haiku/headers/os/add-ons/graphics/
H A DAccelerant.h283 typedef status_t (*init_accelerant)(int fd);
/haiku/src/kits/debugger/model/
H A DTeam.cpp811 Team::NotifyConsoleOutputReceived(int32 fd, const BString& output) argument
817 fd, output));
1026 int32 fd, const BString& output)
1029 fDescriptor(fd),
1025 ConsoleOutputEvent(uint32 type, Team* team, int32 fd, const BString& output) argument
/haiku/src/add-ons/kernel/partitioning_systems/session/
H A DDisc.cpp245 DEBUG_INIT_ETC(NULL, ("fd: %d, buffer: %p, buffer_length: %d",
519 Disc::Disc(int fd) argument
524 DEBUG_INIT_ETC("Disc", ("fd: %d", fd));
541 error = read_table_of_contents(fd, 1, data, kBlockSize, false);
545 error = read_table_of_contents(fd, 1, data, kBlockSize, true);
/haiku/src/add-ons/accelerants/via/
H A DSetDisplayMode.c28 result = ioctl(fd, ENG_RUN_INTERRUPTS, &sbs, sizeof(sbs));
/haiku/headers/private/kernel/disk_device_manager/
H A DKPartition.h48 virtual status_t Open(int flags, int *fd);
/haiku/src/system/libnetwork/netresolv/resolv/
H A Dres_send.c421 int fd; local
427 fd = EXT(statp).nssocks[0];
440 EXT(statp).nssocks[lastns] = fd;
996 pollfd.fd = s;
/haiku/src/system/kernel/
H A Dmodule.cpp257 status_t _AddModuleNode(dev_t device, ino_t node, int fd,
1391 ModuleNotificationService::_AddModuleNode(dev_t device, ino_t node, int fd, argument
1395 status_t status = vfs_get_vnode_from_fd(fd, true, &vnode);
1528 int fd = _kern_open_dir(dirfd(dir), dirent->d_name); local
1529 if (fd < 0)
1532 DIR* subDir = fdopendir(fd);
1534 close(fd);
/haiku/src/add-ons/kernel/drivers/graphics/nvidia/
H A Ddriver.c402 int fd; local
411 fd = open (fname, O_WRONLY | O_CREAT, 0666);
412 if (fd < 0) return;
417 write (fd, ((void *)(((uint8 *)rom) + cnt)), 32768);
418 close (fd);
1133 /* we don't do anything on close: there might be dup'd fd */
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DVolume.cpp20 #include <fs/fd.h> // kernel private
177 int fd; member in struct:Volume::IterativeFDIOCookie
184 IterativeFDIOCookie(Volume* volume, int fd, int32 requestID, argument
189 fd(fd),
200 if (fd >= 0)
201 close(fd);
723 Volume::DoIterativeFDIO(int fd, int32 requestID, void* clientCookie, argument
733 fd = dup_foreign_fd(fFileSystem->GetTeam(), fd, tru
[all...]
/haiku/src/bin/unzip/
H A Dunzpriv.h2122 # define read(fd,buf,n) fread((buf),1,(n),(FILE *)(fd))
2123 # define lseek(fd,o,w) fseek((FILE *)(fd),(o),(w))
2124 # define close(fd) fclose((FILE *)(fd))

Completed in 264 milliseconds

<<212223