Searched defs:buffers (Results 1 - 8 of 8) sorted by relevance

/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_buffers.c54 * build a set of buffers
59 tlm_buffers_t *buffers = ndmp_malloc(sizeof (tlm_buffers_t)); local
62 if (buffers == 0)
66 buffers->tbs_buffer[buf].tb_buffer_data =
68 if (buffers->tbs_buffer[buf].tb_buffer_data == 0) {
73 free(buffers->tbs_buffer[i].tb_buffer_data);
75 free(buffers);
78 buffers->tbs_buffer[buf].tb_buffer_size = (write)
80 buffers->tbs_buffer[buf].tb_full = FALSE;
81 buffers
104 tlm_release_buffers(tlm_buffers_t *buffers) argument
[all...]
H A Dtlm_lib.c80 * get the next tape buffer from the drive's pool of buffers
85 tlm_buffers_t *buffers, int zero)
87 int buf = buffers->tbs_buffer_in;
88 tlm_buffer_t *buffer = &buffers->tbs_buffer[buf];
117 tlm_buffer_release_in_buf(buffers);
119 buffer = tlm_buffer_advance_in_idx(buffers);
122 buffer = tlm_buffer_in_buf(buffers, NULL);
128 tlm_buffer_out_buf_timed_wait(buffers, 500);
131 buffer = tlm_buffer_in_buf(buffers, NULL);
149 buffers
84 tlm_get_write_buffer(long want, long *actual_size, tlm_buffers_t *buffers, int zero) argument
162 tlm_get_read_buffer(int want, int *error, tlm_buffers_t *buffers, int *actual_size) argument
239 tlm_unget_read_buffer(tlm_buffers_t *buffers, int size) argument
264 tlm_unget_write_buffer(tlm_buffers_t *buffers, int size) argument
[all...]
/illumos-gate/usr/src/lib/libtecla/common/
H A Dchrqueue.c46 * character buffers. This facility is designed principally as
57 * The queue is contained in a list of fixed sized buffers. New nodes
63 CqCharBuff *next; /* The next node in the list of buffers */
69 * buffers.
75 CqCharBuff *head; /* The head of the list of output buffers */
76 CqCharBuff *tail; /* The tail of the list of output buffers */
77 } buffers; member in struct:GlCharQueue
110 cq->buffers.head = NULL;
111 cq->buffers.tail = NULL;
176 * buffers, s
[all...]
/illumos-gate/usr/src/cmd/filesync/
H A Drecon.c804 { static char *buffers[3]; local
819 /* reallocate all buffers to this size */
821 buffers[l] = (char *) realloc(buffers[l], buflen);
822 if (buffers[l] == 0)
828 p = buffers[whichbuf];
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_dump.c195 uchar_t buffers[2][DUMP_MAXWIDTH]; local
305 buf = buffers[n];
399 * Swap buffers, and zero the left margin.
/illumos-gate/usr/src/cmd/fs.d/ufs/fsdb/
H A Dfsdb.c108 #define NBUF 10 /* number of cache buffers */
227 static char *buffers; variable
619 * Malloc buffers and set up cache.
621 buffers = malloc(NBUF * BLKSIZE);
625 bp->blkaddr = buffers + (i * BLKSIZE);
3309 * Search the incore buffers to see if the block is already
3315 * will leave commonly requested blocks in the in-core buffers.
3361 * at the head of the linked list of buffers.
/illumos-gate/usr/src/uts/common/sys/fibre-channel/fca/qlc/
H A Dql_iocb.h1292 rcvbuf_t buffers[IP_POOL_BUFFERS]; member in struct:ip_buf_pool_entry
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Darc.c130 * caches data in two ways -- in a list of ARC buffers (arc_buf_t) and
142 * arc_buf_hdr_t can have multiple ARC buffers (arc_buf_t) which reference it.
147 * amount of memory consumed by the arc_buf_ts' data buffers can be seen via the
238 * a newly allocated b_pdata. Writes are always done into buffers which have
240 * buffers which have been released (and hence have their own hdr, if there
278 /* set with ZFS_DEBUG=watch, to enable watchpoints on frozen buffers */
368 * Note that buffers can be in one of 6 states:
377 * the only buffers that can be evicted or deleted. Within each
383 * Anonymous buffers are buffers tha
2214 uint32_t buffers = 0; local
2267 uint32_t buffers = 0; local
[all...]

Completed in 132 milliseconds