| /netbsd/src/lib/libisns/ |
| D | isns_task.c | 46 static struct iovec write_buf[2 + (ISNS_MAX_PDU_PAYLOAD / ISNS_BUF_SIZE) + variable 229 write_buf[0].iov_base = &(pdu_p->hdr); in isns_task_send_pdu() 230 write_buf[0].iov_len = sizeof(pdu_p->hdr); in isns_task_send_pdu() 231 bytes_to_write = write_buf[0].iov_len; in isns_task_send_pdu() 236 write_buf[iovcnt].iov_base = isns_buffer_data(buf_p,0); in isns_task_send_pdu() 237 write_buf[iovcnt].iov_len = buf_p->cur_len; in isns_task_send_pdu() 238 bytes_to_write += write_buf[iovcnt].iov_len; in isns_task_send_pdu() 247 iovp = &(write_buf[cur_iovec]); in isns_task_send_pdu() 269 if ((unsigned)count >= write_buf[ in isns_task_send_pdu() 271 count -= write_buf[cur_iovec]. in isns_task_send_pdu() [all …]
|
| /netbsd/src/tests/kernel/ |
| D | t_memfd_create.c | 46 char *write_buf; variable 57 REQUIRE_LIBC(write_buf = calloc(1, rwbuf_size), NULL); in setupbufs() 117 tests_makegarbage(write_buf, rwbuf_size); in ATF_TC_BODY() 119 RL(write(fd, write_buf, rwbuf_size)); in ATF_TC_BODY() 134 ATF_REQUIRE_EQ_MSG(read_buf[i], write_buf[i], in ATF_TC_BODY() 154 tests_makegarbage(write_buf, rwbuf_size); in ATF_TC_BODY() 157 RL(write(fd, write_buf, rwbuf_size)); in ATF_TC_BODY() 180 ATF_REQUIRE_EQ_MSG(read_buf[i], write_buf[i], in ATF_TC_BODY() 279 rv = write(fd, write_buf, rwbuf_size); in test_all_seals_except() 385 ATF_REQUIRE_EQ_MSG(write(fd, write_buf, rwbuf_size), -1, in ATF_TC_BODY() [all …]
|
| /netbsd/src/external/ibm-public/postfix/dist/src/util/ |
| D | nbbio.c | 217 count = write(np->fd, np->write_buf, np->write_pend); in nbbio_event() 221 memmove(np->write_buf, np->write_buf + count, np->write_pend); in nbbio_event() 368 np->write_buf = mymalloc(bufsize); in nbbio_create() 382 myfree(np->write_buf); in nbbio_free()
|
| D | vstream.c | 724 VSTREAM_SAVE_STATE(stream, write_buf, write_fd); in vstream_buf_alloc() 880 VSTREAM_RESTORE_STATE(stream, write_buf, write_fd); in vstream_fflush_delayed() 885 VSTREAM_SAVE_STATE(stream, write_buf, write_fd); in vstream_fflush_delayed() 918 VSTREAM_SAVE_STATE(stream, write_buf, write_fd); in vstream_buf_get_ready() 953 && stream->write_buf.len > stream->write_buf.cnt) in vstream_buf_get_ready() 1046 VSTREAM_RESTORE_STATE(stream, write_buf, write_fd); in vstream_buf_put_ready() 1103 VSTREAM_RESTORE_STATE(stream, write_buf, write_fd); in vstream_buf_space() 1166 VSTREAM_MAYBE_PURGE_WRITE(direction, &stream->write_buf); in vstream_fpurge() 1172 VSTREAM_MAYBE_PURGE_WRITE(direction, &stream->write_buf); in vstream_fpurge() 1459 && stream->write_buf.len > stream->write_buf.cnt) in vstream_fflush() [all …]
|
| D | nbbio.h | 37 char *write_buf; /* start of buffer */ member 64 #define NBBIO_WRITE_BUF(np) ((np)->write_buf + 0) /* Read-only */
|
| D | inet_trigger.c | 120 if (write_buf(fd, buf, len, timeout) < 0 in inet_trigger() 121 || write_buf(fd, "", 1, timeout) < 0) in inet_trigger()
|
| D | unix_trigger.c | 121 if (write_buf(fd, buf, len, timeout) < 0 in unix_trigger() 122 || write_buf(fd, "", 1, timeout) < 0) in unix_trigger()
|
| D | stream_trigger.c | 120 if (write_buf(fd, buf, len, timeout) < 0 in stream_trigger() 121 || write_buf(fd, "", 1, timeout) < 0) in stream_trigger()
|
| D | pass_trigger.c | 141 if (write_buf(pass_fd[1], buf, len, timeout) < 0 in pass_trigger() 142 || write_buf(pass_fd[1], "", 1, timeout) < 0) in pass_trigger()
|
| D | write_buf.c | 60 ssize_t write_buf(int fd, const char *buf, ssize_t len, int timeout) in write_buf() function
|
| D | iostuff.h | 25 extern ssize_t write_buf(int, const char *, ssize_t, int);
|
| D | fifo_trigger.c | 91 if (write_buf(fd, buf, len, timeout) < 0) in fifo_trigger()
|
| D | vstream.h | 57 VBUF write_buf; /* write buffer (double-buffered) */ member
|
| D | Makefile.in | 33 write_buf.c sane_basename.c format_tv.c allspace.c \ 82 write_buf.o sane_basename.o format_tv.o allspace.o \ 3019 write_buf.o: iostuff.h 3020 write_buf.o: msg.h 3021 write_buf.o: sys_defs.h 3022 write_buf.o: write_buf.c
|
| /netbsd/src/lib/libkvm/ |
| D | kvm.c | 623 clear_gap(kvm_t *kd, bool (*write_buf)(void *, const void *, size_t), in clear_gap() 633 if (!(*write_buf)(cookie, buf, len)) { in clear_gap() 647 kvm_dump_header(kvm_t *kd, bool (*write_buf)(void *, const void *, size_t), in kvm_dump_header() 663 if (!(*write_buf)(cookie, kd->kcore_hdr, sizeof(kcore_hdr_t))) { in kvm_dump_header() 669 if (clear_gap(kd, write_buf, cookie, gap) == -1) in kvm_dump_header() 677 if (!(*write_buf)(cookie, &seghdr, sizeof(seghdr))) { in kvm_dump_header() 683 if (clear_gap(kd, write_buf, cookie, gap) == -1) in kvm_dump_header() 686 if (!(*write_buf)(cookie, kd->cpu_data, kd->cpu_dsize)) { in kvm_dump_header() 692 if (clear_gap(kd, write_buf, cookie, gap) == -1) in kvm_dump_header() 700 if (!(*write_buf)(cookie, &seghdr, sizeof(seghdr))) { in kvm_dump_header() [all …]
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/config/arm/ |
| D | arm-generic.md | 35 (define_cpu_unit "write_buf" "arm") 51 "core+write_buf*3+write_blockage*5") 57 "core+write_buf*4+write_blockage*7") 63 "core+write_buf*5+write_blockage*9") 69 "core+write_buf*6+write_blockage*11")
|
| /netbsd/src/external/gpl3/gdb/dist/gdb/ |
| D | inf-child.c | 258 inf_child_target::fileio_pwrite (int fd, const gdb_byte *write_buf, int len, in fileio_pwrite() argument 264 ret = pwrite (fd, write_buf, len, (long) offset); in fileio_pwrite() 273 ret = write (fd, write_buf, len); in fileio_pwrite()
|
| D | inf-child.h | 79 int fileio_pwrite (int fd, const gdb_byte *write_buf, int len,
|
| D | target.h | 1000 virtual int fileio_pwrite (int fd, const gdb_byte *write_buf, int len, 2208 extern int target_fileio_pwrite (int fd, const gdb_byte *write_buf, int len,
|
| D | target.c | 3177 target_ops::fileio_pwrite (int fd, const gdb_byte *write_buf, int len, in fileio_pwrite() argument 3254 target_fileio_pwrite (int fd, const gdb_byte *write_buf, int len, in target_fileio_pwrite() argument 3265 ret = fh->target->fileio_pwrite (fh->target_fd, write_buf, in target_fileio_pwrite()
|
| D | remote.c | 991 int fileio_pwrite (int fd, const gdb_byte *write_buf, int len, 1142 int remote_hostio_pwrite (int fd, const gdb_byte *write_buf, int len, 12795 remote_target::remote_hostio_pwrite (int fd, const gdb_byte *write_buf, int len, in remote_hostio_pwrite() argument 12813 p += remote_escape_output (write_buf, len, 1, (gdb_byte *) p, &out_len, in remote_hostio_pwrite() 12822 remote_target::fileio_pwrite (int fd, const gdb_byte *write_buf, int len, in fileio_pwrite() argument 12825 return remote_hostio_pwrite (fd, write_buf, len, offset, remote_errno); in fileio_pwrite()
|
| /netbsd/src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| D | dmu_send.c | 1758 arc_buf_t *write_buf; member 2650 ra->rrd->write_buf = abuf; in receive_read_record() 2743 err = receive_write(rwa, drrw, rrd->write_buf); in receive_process_record() 2746 dmu_return_arcbuf(rrd->write_buf); in receive_process_record() 2747 rrd->write_buf = NULL; in receive_process_record() 2802 } else if (rrd->write_buf != NULL) { in receive_writer_thread() 2803 dmu_return_arcbuf(rrd->write_buf); in receive_writer_thread() 2804 rrd->write_buf = NULL; in receive_writer_thread()
|
| /netbsd/src/external/ibm-public/postfix/lib/util/ |
| D | Makefile | 240 write_buf.c
|
| /netbsd/src/external/gpl2/xcvs/dist/src/ |
| D | client.c | 3548 char* write_buf = Xasnprintf (NULL, &count, CONNECT_STRING, in connect_to_pserver() local 3550 send_to_server_via (to_server, write_buf, count); in connect_to_pserver() 3562 free (write_buf); in connect_to_pserver()
|
| /netbsd/src/external/gpl3/gcc/dist/gcc/ |
| D | FSFChangeLog.10 | 3881 (function units "write_buf", "write_blockage"): Model the write buffer
|