/haiku/src/tests/system/kernel/file_corruption/fs/ |
H A D | checksumfs.cpp | 793 checksumfs_identify_partition(int fd, partition_data* partition, argument 804 if (pread(fd, superBlock, sizeof(*superBlock), kCheckSumFSSuperBlockOffset) 818 checksumfs_scan_partition(int fd, partition_data* partition, void* cookie) argument 869 checksumfs_set_content_name(int fd, partition_id partition, const char* name, argument 878 checksumfs_initialize(int fd, partition_id partition, const char* name, argument 893 status_t error = volume.Init(fd, partitionSize / B_PAGE_SIZE);
|
/haiku/src/add-ons/kernel/drivers/disk/virtual/ram_disk/ |
H A D | ram_disk.cpp | 398 FileDescriptorCloser fd(open(fFilePath, O_WRONLY)); 399 if (!fd.IsSet()) 493 ssize_t bytesWritten = pwrite(fd.Get(), buffer, 819 FileDescriptorCloser fd(open(fFilePath, O_RDONLY)); 820 if (!fd.IsSet()) 861 ssize_t bytesRead = pread(fd.Get(), buffer.Get(), bytesToRead,
|
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_bes.c | 388 ioctl(fd, NM_PGM_BES, &bi, sizeof(bi)); 682 ioctl(fd, NM_PGM_BES, &bi, sizeof(bi));
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | Volume.cpp | 848 Volume::Identify(int fd, ext2_super_block* superBlock) argument 850 if (read_pos(fd, EXT2_SUPER_BLOCK_OFFSET, superBlock,
|
/haiku/src/tests/system/kernel/cache/ |
H A D | block_cache_test.cpp | 124 block_cache_write_pos(int fd, off_t offset, const void* buffer, size_t size) argument 137 block_cache_read_pos(int fd, off_t offset, void* buffer, size_t size) argument
|
/haiku/src/bin/network/telnet/ |
H A D | utilities.c | 95 SetSockOpt(int fd, int level, int option, int yesno) argument 97 return setsockopt(fd, level, option,
|
/haiku/src/libs/compat/freebsd_iflib/compat/sys/ |
H A D | nv.h | 96 void nvlist_dump(const nvlist_t *nvl, int fd);
|
/haiku/src/system/kernel/disk_device_manager/ |
H A D | KPartition.cpp | 169 KPartition::Open(int flags, int* fd) argument 171 if (!fd) 181 *fd = open(path.Path(), flags); 182 if (*fd < 0)
|
/haiku/src/kits/package/ |
H A D | PackageInfo.cpp | 144 PackageFileLocation(int fd) argument 147 fFD(fd) 338 BPackageInfo::ReadFromPackageFile(int fd) argument 340 return _ReadFromPackageFile(PackageFileLocation(fd));
|
/haiku/headers/os/package/ |
H A D | PackageInfo.h | 61 status_t ReadFromPackageFile(int fd);
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/ |
H A D | kernel_emu.cpp | 855 UserlandFS::KernelEmu::do_iterative_fd_io(dev_t volumeID, int fd, argument 873 request->fd = fd;
|
/haiku/src/servers/launch/ |
H A D | LaunchDaemon.cpp | 2077 int fd = open("/dev/dprintf", openMode); local 2079 int fd = open("/dev/null", openMode); 2081 if (fd != targetFD) { 2082 dup2(fd, targetFD); 2083 close(fd);
|
/haiku/src/libs/agg/src/ |
H A D | agg_gsv_text.cpp | 548 FILE* fd = fopen(file, "rb"); local 549 if(fd) 553 fseek(fd, 0l, SEEK_END); 554 len = ftell(fd); 555 fseek(fd, 0l, SEEK_SET); 559 fread(&m_loaded_font[0], 1, len, fd); 562 fclose(fd);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | kernel_interface.cpp | 124 bfs_identify_partition(int fd, partition_data* partition, void** _cookie) argument 127 status_t status = Volume::Identify(fd, &superBlock); 143 bfs_scan_partition(int fd, partition_data* partition, void* _cookie) argument 2362 bfs_initialize(int fd, partition_id partitionID, const char* name, argument 2380 status = volume.Initialize(fd, name, parameters.blockSize, 2415 bfs_uninitialize(int fd, partition_id partitionID, off_t partitionSize, argument 2427 if (write_pos(fd, 512, &superBlock, sizeof(superBlock)) < 0)
|
/haiku/src/apps/poorman/libhttpd/ |
H A D | libhttpd.c | 588 httpd_set_ndelay( int fd ) 592 flags = fcntl( fd, F_GETFL, 0 ); 597 (void) fcntl( fd, F_SETFL, newflags ); 604 httpd_clear_ndelay( int fd ) 608 flags = fcntl( fd, F_GETFL, 0 ); 613 (void) fcntl( fd, F_SETFL, newflags ); 3420 ** fd, and all of those are set to close-on-exec, so we don't 3427 ** below don't screw things up. We arbitrarily pick fd 3 - if there 3429 ** since at this point the only fd of interest is the connection. 3547 ** closed - the last fd dupe 4251 httpd_read_fully( int fd, void* buf, size_t nbytes ) argument 4279 httpd_write_fully( int fd, const char* buf, size_t nbytes ) argument [all...] |
/haiku/src/add-ons/kernel/file_systems/layers/log_overlay/ |
H A D | log_overlay.cpp | 1119 int fd = creat(filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH); local 1120 if (fd < 0) 1123 volume->private_volume = (void *)(addr_t)fd;
|
/haiku/src/apps/soundrecorder/ |
H A D | RecorderWindow.cpp | 1177 int fd; 1179 if ((fd = open(path.Path(), O_RDWR | O_CREAT | O_EXCL, 0666)) < 0) { 1182 close(fd);
|
/haiku/src/tests/kits/storage/ |
H A D | NodeTest.cpp | 690 "fd", "kkgkjsdhfgkjhsd", "lihuhuh", "", "alkfgnakdfjgn" 973 "fd", "kkgkjsdhfgkjhsd", "lihuhuh", "", "alkfgnakdfjgn" 1097 int fd = node.Dup(); local 1098 CPPUNIT_ASSERT( fd != -1 ); 1099 ::close(fd);
|
/haiku/src/system/libroot/posix/glibc/libio/ |
H A D | fileops.c | 404 _IO_new_file_attach (fp, fd) 406 int fd; 410 fp->_fileno = fd;
|
/haiku/src/add-ons/accelerants/matrox/ |
H A D | SetDisplayMode.c | 30 result = ioctl(fd, GX00_RUN_INTERRUPTS, &sbs, sizeof(sbs));
|
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/ |
H A D | Volume.h | 75 status_t DoIterativeFDIO(int fd, int32 requestID,
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_lowlevel.h | 1758 * @param fd file descriptor of the channel 1763 struct fuse_chan *fuse_chan_new(struct fuse_chan_ops *op, int fd,
|
/haiku/src/add-ons/kernel/file_cache/ |
H A D | log.cpp | 12 #include <fs/fd.h>
|
/haiku/src/system/kernel/ |
H A D | syscalls.cpp | 28 #include <fs/fd.h>
|
/haiku/src/add-ons/kernel/network/protocols/unix/ |
H A D | unix.cpp | 14 #include <fs/fd.h>
|