Searched refs:fd (Results 551 - 570 of 570) sorted by relevance

<<212223

/haiku/src/system/kernel/debug/
H A Ddebug.cpp1450 int fd = open("/var/log/previous_syslog", O_WRONLY | O_CREAT | O_TRUNC, local
1452 if (fd < 0) {
1457 write(fd, buffer, bufferSize);
1458 close(fd);
/haiku/src/servers/package/
H A DCommitTransactionHandler.cpp1866 FileDescriptorCloser fd(fVolume->OpenRootDirectory());
1867 if (!fd.IsSet()) {
1872 .SetSystemError(fd.Get());
1875 if (ioctl(fd.Get(), PACKAGE_FS_OPERATION_CHANGE_ACTIVATION, request,
/haiku/src/tests/system/kernel/file_corruption/driver/
H A Dchecksum_device.cpp101 status_t Init(int fd, uint64 blockCount, uint32 cachedBlockCount) argument
104 fFD = fd;
/haiku/src/kits/package/hpkg/v1/
H A DReaderImplBaseV1.cpp566 ReaderImplBase::Init(int fd, bool keepFD) argument
568 fFD = fd;
/haiku/src/add-ons/kernel/drivers/graphics/radeon/
H A DCP_setup.c53 res = ioctl( ai->fd, RADEON_ALLOC_MEM, &am ); \
72 ioctl( ai->fd, RADEON_FREE_MEM, &fm ); \
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp215 int fd; member in struct:__anon39::block_cache
243 block_cache(int fd, off_t numBlocks, size_t blockSize,
1284 ssize_t written = write_pos(fCache->fd,
1401 fd(_fd),
1949 ssize_t bytesRead = read_pos(cache->fd, blockNumber * blockSize,
2256 kprintf(" fd: %d\n", cache->fd);
3448 block_cache_create(int fd, off_t numBlocks, size_t blockSize, bool readOnly) argument
3450 block_cache* cache = new(std::nothrow) block_cache(fd, numBlocks, blockSize,
/haiku/src/apps/terminal/
H A DTermParse.cpp78 TermParse::TermParse(int fd) argument
80 fFd(fd),
/haiku/src/apps/debugger/user_interface/gui/team_window/
H A DTeamWindow.cpp729 int32 fd; local
731 if (message->FindInt32("fd", &fd) != B_OK
735 fConsoleOutputView->ConsoleOutputReceived(fd, output);
1076 message.AddInt32("fd", event.Descriptor());
/haiku/src/add-ons/kernel/file_systems/ext2/
H A Dkernel_interface.cpp52 ext2_identify_partition(int fd, partition_data *partition, void **_cookie) argument
58 status_t status = Volume::Identify(fd, &superBlock);
71 ext2_scan_partition(int fd, partition_data *partition, void *_cookie) argument
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Ddevice.c66 #include <linux/fd.h>
/haiku/src/add-ons/kernel/file_systems/fat/
H A Dfile.cpp1241 status = read_file_io_vec_pages(vol->fd, fileVecs,
1286 status = write_file_io_vec_pages(vol->fd, fileVecs,
/haiku/src/system/kernel/vm/
H A Dvm.cpp37 #include <fs/fd.h>
2138 /*! Will map the file specified by \a fd to an area in memory.
2145 bool unmapAddressRange, int fd, off_t offset, bool kernel)
2151 TRACE(("_vm_map_file(fd = %d, offset = %" B_PRIdOFF ", size = %lu, mapping "
2152 "%" B_PRIu32 ")\n", fd, offset, size, mapping));
2166 if (fd < 0) {
2177 file_descriptor* descriptor = get_fd(get_current_io_context(kernel), fd);
2207 status_t status = vfs_get_vnode_from_fd(fd, kernel, &vnode);
2302 int fd, off_t offset)
2308 mapping, unmapAddressRange, fd, offse
2143 _vm_map_file(team_id team, const char* name, void** _address, uint32 addressSpec, size_t size, uint32 protection, uint32 mapping, bool unmapAddressRange, int fd, off_t offset, bool kernel) argument
2300 vm_map_file(team_id aid, const char* name, void** address, uint32 addressSpec, addr_t size, uint32 protection, uint32 mapping, bool unmapAddressRange, int fd, off_t offset) argument
6722 _user_map_file(const char* userName, void** userAddress, uint32 addressSpec, size_t size, uint32 protection, uint32 mapping, bool unmapAddressRange, int fd, off_t offset) argument
[all...]
/haiku/src/add-ons/kernel/file_systems/userlandfs/kernel_add_on/
H A DKernelRequestHandler.cpp758 result = volume->DoIterativeFDIO(request->fd, request->request,
/haiku/src/add-ons/accelerants/nvidia/engine/
H A Dnv_crtc.c26 result = ioctl(fd, NV_RUN_INTERRUPTS, &svi, sizeof(svi));
H A Dnv_crtc2.c26 result = ioctl(fd, NV_RUN_INTERRUPTS, &svi, sizeof(svi));
/haiku/src/system/kernel/fs/
H A Dnode_monitor.cpp18 #include <fd.h>
/haiku/src/tests/kits/storage/
H A DMimeTypeTest.cpp4171 int fd = open(device, O_RDONLY);
4172 CHK(fd != -1);
4179 int error = ioctl(fd, B_GET_ICON, &iconData);
4181 CHK(close(fd) == 0);
/haiku/src/bin/network/telnet/
H A Dtelnet.c702 setupterm(char *tname, int fd, int *errp) argument
/haiku/src/add-ons/kernel/file_systems/netfs/server/
H A DClientConnection.cpp799 int fd = -1; local
801 openMode | O_CREAT | O_NOTRAVERSE, request->mode, fd);
803 close(fd);
/haiku/headers/private/userlandfs/private/
H A DRequests.h1866 int fd; member in class:UserlandFSUtil::DoIterativeFDIORequest

Completed in 152 milliseconds

<<212223