Searched refs:write (Results 1 - 25 of 267) sorted by last modified time

1234567891011

/haiku/src/tests/add-ons/accelerants/intel_extreme/
H A Dintel_reg.cpp75 bool write = false; local
95 } else if (strcmp(programArgs[0], "write") == 0) {
96 write = true;
109 uint32 protection = B_READ_AREA | (write ? B_WRITE_AREA : 0);
120 if (write) {
143 if (write) {
/haiku/headers/private/net/
H A DNetBufferUtilities.h65 Module::Get()->write(fBuffer, Offset, fData, sizeof(Type));
/haiku/src/tools/fs_shell/
H A Dvfs.cpp130 * The holder is allowed to read/write access the sMountsTable.
154 * vnode. Additionally holding sMountOpLock allows for write access.
162 * The holder is allowed to read/write access sVnodeTable and to
275 NULL, // write()
290 NULL, // write()
320 NULL, // write()
336 NULL, // write()
352 NULL, // write()
636 // write back any changes in this vnode's cache -- but only
877 * TODO: there is currently no means to stop a blocking read/write!
[all...]
H A Dcommand_cp.cpp304 fssh_ssize_t bytesWritten = write(fFD, buffer, size);
922 fprintf(stderr, "Could not write all data to file \"%s\".\n",
1021 // write data to target
/haiku/src/system/kernel/fs/
H A Dvfs.cpp216 The holder is allowed to read/write access the sMountsTable.
238 The holder is allowed read/write access to sVnodeTable and to
243 write accessed when holding a read lock to sVnodeLock *and* having the vnode
244 locked. Write access to covered_by and covers requires to write lock
451 NULL, // write()
467 NULL, // write()
499 NULL, // write()
516 NULL, // write()
533 NULL, // write()
691 PagesIOTraceEntry::AddDump(out, "write");
[all...]
H A Dfd.cpp685 common_user_io(int fd, off_t pos, void* buffer, size_t length, bool write) argument
694 if (write ? (descriptor->open_mode & O_RWMASK) == O_RDONLY
705 if (write ? descriptor->ops->fd_write == NULL
718 if (write)
727 descriptor->pos = write && (descriptor->open_mode & O_APPEND) != 0
737 bool write)
752 if (write ? (descriptor->open_mode & O_RWMASK) == O_RDONLY
763 if (write ? descriptor->ops->fd_write == NULL
776 if (write) {
803 descriptor->pos = write
736 common_user_vector_io(int fd, off_t pos, const iovec* userVecs, size_t count, bool write) argument
[all...]
H A Dvfs_request_io.cpp66 DoIO(bool write) argument
68 fWrite(write)
85 CallbackIO(bool write, argument
90 DoIO(write),
109 VnodeIO(bool write, struct vnode* vnode, void* cookie) argument
111 DoIO(write),
184 panic("do_iterative_fd_io_iterate(): write to sparse file "
/haiku/src/system/kernel/arch/arm64/
H A Darch_int.cpp244 bool write = (frame->esr & ISS_DATA_WnR) != 0; local
275 if (write && fixup_entry(ptPa, initialLevel, frame->far, true))
289 write ? DEBUG_PAGE_FAULT_WRITE : 0);
313 vm_page_fault(frame->far, frame->elr, write, isExec, isUser, &ret);
/haiku/src/add-ons/kernel/drivers/disk/nvme/
H A Dnvme_disk.cpp322 // set up rounded-write lock
461 bool write; member in struct:nvme_io_request
515 if (request->write) {
528 " blocks failed!\n", request->write ? "write" : "read",
539 " blocks failed!\n", request->write ? "write" : "read",
578 ", write: %s\n", request, operation.Offset(),
581 nvme_request.write = operation.IsWrite();
633 nvme_request.write
[all...]
/haiku/src/system/kernel/vm/
H A Dvm.cpp294 PageFaultStart(addr_t address, bool write, bool user, addr_t pc) argument
298 fWrite(write),
307 fWrite ? "write" : "read", fUser ? "user" : "kernel", fPC);
350 out.Print("page fault error: area: %ld, write protected",
668 The address space must be write locked.
956 The address space must be write-locked.
1042 /*! You need to hold the lock of the cache and the write lock of the address
1596 // chances of failure, since while holding the write lock to the address
2183 // The FD must open for reading at any rate. For shared mapping with write
2356 // B_SHARED_AREA, so that we don't get problems with copy-on-write
[all...]
/haiku/src/bin/network/ping/
H A Dping6.c1276 (void)write(STDOUT_FILENO, &BBELL, 1);
1453 (void)write(STDOUT_FILENO, &DOT[DOTidx++ % DOTlen], 1);
1651 (void)write(STDOUT_FILENO, &BSPACE, 1);
1654 (void)write(STDOUT_FILENO, &BBELL, 1);
H A Dping.c1023 (void)write(STDOUT_FILENO, &BBELL, 1);
1111 warn("%s: partial write: %d of %d bytes",
1118 (void)write(STDOUT_FILENO, &DOT[DOTidx++ % DOTlen], 1);
1241 (void)write(STDOUT_FILENO, &BSPACE, 1);
1251 (void)write(STDOUT_FILENO, &BBELL, 1);
/haiku/src/apps/haikudepot/build/scripts/
H A Djsonschema2cppparser.py912 cpp_h_file.write(ustache.render(
918 cpp_i_file.write(ustache.render(
H A Djsonschema2cppmodel.py227 cpp_h_file.write(ustache.render(
233 cpp_i_file.write(ustache.render(
H A Dhdsjsonschemacommon.py119 f.write((
H A Dustache.py1102 args.output.write(render(args.template.read(), json.load(args.json)))
/haiku/src/add-ons/accelerants/intel_extreme/
H A Daccelerant.cpp70 write(fd, &data, sizeof(data));
/haiku/src/add-ons/kernel/network/protocols/tcp/
H A Dtcp.cpp428 gBufferModule->write(buffer, sizeof(tcp_header), optionsBuffer,
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/fuse/
H A DFUSEVolume.cpp1745 // FIXME store this in the FileCookie for lowlevel streams, we'll need it in read, write...
2835 /*! Volume must be locked. The entry's directory must be write locked.
2848 /*! Volume must be locked. The directory must be write locked.
2862 /*! Volume must be locked. The directories must be write locked.
2900 node is write-locked, if \a writeLock is \c true, read-locked otherwise. All
3100 // given nodes is the common ancestor and shall be write locked, we need to
3181 // we need to make sure, we write-unlock it, if requested.
3612 off_t pos, char* buffer, size_t& length, bool write)
3615 node, cookie, path, pos, buffer, length, write));
3619 if (write)
3611 _InternalIO(FUSENode* node, FileCookie* cookie, const char* path, off_t pos, char* buffer, size_t& length, bool write) argument
[all...]
/haiku/src/tests/system/network/tcp_shell/
H A Dtcp_shell.cpp1209 if (write(sPcapFD, &header, sizeof(header)) != sizeof(header)) {
1210 fprintf(stderr, "tcp_shell: Failed to write pcap file header: %d\n",
/haiku/src/apps/expander/
H A DExpanderThread.cpp148 write(fStdIn, text.String(), text.Length());
/haiku/src/add-ons/kernel/network/devices/ethernet/
H A Dethernet.cpp314 dprintf("ethernet_send_data: no write buffer, cannot perform scatter I/O\n");
326 ssize_t bytesWritten = write(device->fd, iovec.iov_base, iovec.iov_len);
/haiku/src/add-ons/kernel/network/devices/dialup/
H A Ddialup.cpp79 ssize_t size = write(device->fd, device->escape_string,
103 ssize_t size = write(device->fd, "ATO", 3);
123 ssize_t bytesWritten = write(device->fd, command, strlen(command));
127 if (write(device->fd, "\r", 1) != 1)
444 bytesWritten = write(device->fd, packet, packetSize);
/haiku/src/tools/remote_disk_server/
H A Dremote_disk_server.cpp255 // write
256 ssize_t bytesWritten = write(fImageFD, fRequest->data, size);
260 fprintf(stderr, "Error: Failed to write at position %" PRIu64 ": "
/haiku/src/system/kernel/debug/
H A Ddebug.cpp1263 // We could write the last pending buffer, try to read more
1405 // syslog_init_post_modules() we'll write it back to disk and free it.
1457 write(fd, buffer, bufferSize);

Completed in 215 milliseconds

1234567891011