| /onnv/onnv-gate/usr/src/cmd/ndmpd/tlm/ |
| tlm_buffers.c | 153 tlm_buffer_advance_in_idx(tlm_buffers_t *bufs) 155 if (bufs == NULL) 158 (void) mutex_lock(&bufs->tbs_mtx); 159 if (++bufs->tbs_buffer_in >= TLM_TAPE_BUFFERS) 160 bufs->tbs_buffer_in = 0; 162 (void) mutex_unlock(&bufs->tbs_mtx); 163 return (&bufs->tbs_buffer[bufs->tbs_buffer_in]); 174 tlm_buffer_advance_out_idx(tlm_buffers_t *bufs) 176 if (bufs == NULL [all...] |
| tlm_backup_reader.c | 1144 tlm_buffers_t *bufs; local 1159 bufs = local_commands->tc_buffers; 1160 (void) get_write_buffer(bufs->tbs_data_transfer_size, 1169 (void) get_write_buffer(bufs->tbs_data_transfer_size, 1173 bufs->tbs_buffer[bufs->tbs_buffer_in].tb_full = TRUE; 1174 tlm_buffer_release_in_buf(bufs); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/drm/ |
| drm_dma.c | 55 pbuf = &(dev->dma->bufs[0]); 73 if (dma->bufs[i].seg_count) { 74 drm_free(dma->bufs[i].seglist, 75 dma->bufs[i].seg_count * 76 sizeof (*dma->bufs[0].seglist), DRM_MEM_SEGS); 79 for (j = 0; j < dma->bufs[i].buf_count; j++) { 80 if (dma->bufs[i].buflist[j].dev_private) { 81 drm_free(dma->bufs[i].buflist[j].dev_private, 82 dma->bufs[i].buflist[j].dev_priv_size, 86 if (dma->bufs[i].buf_count [all...] |
| drm_bufs.c | 424 entry = &dma->bufs[order]; 529 entry = &dma->bufs[order]; 617 if (dev->dma->bufs[order].buf_count != 0) { 654 if (dev->dma->bufs[order].buf_count != 0) {
|
| drmP.h | 406 * when set marks that no further bufs may be allocated until device teardown 408 * watermarks of bufs are only touched by the X Server, and thus not 412 drm_buf_entry_t bufs[DRM_MAX_ORDER+1]; member in struct:drm_device_dma 414 drm_buf_t **buflist; /* Vector of pointers info bufs */
|
| /onnv/onnv-gate/usr/src/cmd/audio/audioconvert/ |
| convert.cc | 138 unsigned int bufs; local 143 bufs = list->bufcnt; 145 for (i = 0; i < bufs; i++) { 166 unsigned int bufs, // number of buffers involved 175 nlp = new struct conv_list[bufs]; 182 for (i = 0; i < bufs; i++) { 186 nlp[i].bufcnt = bufs; 216 unsigned int& bufs) 230 if (bufs == 1) { 237 ihdr.channels = bufs; // set the target interleav 558 unsigned int bufs; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/tplot/ |
| vplot.c | 87 struct buf bufs[NB]; variable in typeref:struct:buf 146 bufs[i].bno = -1; 147 bufs[i].block = blocks[i]; 174 if (bufs[i].bno != -1) { 175 zseek(out, bufs[i].bno); 176 write(out, bufs[i].block, BSIZ); 396 if (((x0>>6) + ((y0&~077)>>1)) == bufs[0].bno) 397 bufs[0].block[((y0&077)<<3)+((x0>>3)&07)] |= 1 << (7-(x0&07)); 409 if (((x0 >> 6) + ((y0 & ~077) >> 1)) == bufs[0].bno) 410 bufs[0].block[((y0 & 077) << 3)+((x0 >> 3) & 07) [all...] |
| /onnv/onnv-gate/usr/src/uts/common/fs/hsfs/ |
| hsfs_vnops.c | 117 /* Min count of adjacent bufs that will avoid buf coalescing */ 755 wbuf = &(info->bufs[count]); 766 biofini(&(info->bufs[count])); 774 kmem_free(info->bufs, info->bufcnt * sizeof (struct buf)); 808 struct buf *bufs; local 907 bufs = kmem_alloc(bufcnt * sizeof (struct buf), KM_SLEEP); 936 bioinit(&bufs[count]); 937 bufs[count].b_edev = devvp->v_rdev; 938 bufs[count].b_dev = cmpdev(devvp->v_rdev); 939 bufs[count].b_flags = B_NOCACHE|B_BUSY|B_READ 1099 struct buf *bufs; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/fibre-channel/fca/emlxs/ |
| emlxs.conf | 110 # ub-bufs: Sets the number of unsolicited buffers to be allocated. 114 ub-bufs=1000;
|
| /onnv/onnv-gate/usr/src/lib/libdtrace/common/ |
| dt_strtab.c | 41 char *ptr, **bufs; local 46 bufs = realloc(sp->str_bufs, (sp->str_nbufs + 1) * sizeof (char *)); 48 if (bufs == NULL) { 54 sp->str_bufs = bufs;
|
| dt_link.c | 983 dt_link_error(dtrace_hdl_t *dtp, Elf *elf, int fd, dt_link_pair_t *bufs, 999 while ((pair = bufs) != NULL) { 1000 bufs = pair->dlp_next; 1031 dt_link_pair_t *pair, *bufs = NULL; local 1035 return (dt_link_error(dtp, elf, fd, bufs, 1040 return (dt_link_error(dtp, elf, fd, bufs, 1048 return (dt_link_error(dtp, elf, fd, bufs, "archives are not " 1052 return (dt_link_error(dtp, elf, fd, bufs, 1057 return (dt_link_error(dtp, elf, fd, bufs, "corrupt file: %s", 1081 return (dt_link_error(dtp, elf, fd, bufs, [all...] |
| /onnv/onnv-gate/usr/src/cmd/ndmpd/ndmp/ |
| ndmpd_tar.c | 959 tlm_buffers_t *bufs; local 978 bufs = lcmd->tc_buffers; 984 buf = tlm_buffer_out_buf(bufs, &bidx); 1000 (void) tlm_buffer_advance_out_idx(bufs); 1001 buf = tlm_buffer_out_buf(bufs, &bidx); 1002 tlm_buffer_release_out_buf(bufs); 1012 tlm_buffer_in_buf_timed_wait(bufs, 100); 1043 read_one_buf(ndmpd_module_params_t *mod_params, tlm_buffers_t *bufs, 1049 bufs->tbs_data_transfer_size)) == 0) { 1052 buf->tb_buffer_size = bufs->tbs_data_transfer_size 1075 tlm_buffers_t *bufs; local [all...] |
| ndmpd_mover.c | 2688 tlm_buffers_t *bufs; local 2836 tlm_buffers_t *bufs; local 3058 tlm_buffers_t *bufs; local 3197 tlm_buffers_t *bufs; local [all...] |
| /onnv/onnv-gate/usr/src/uts/common/io/usb/clients/video/usbvc/ |
| usbvc.c | 54 * also use mmap() system call to map several bufs (they are linked as a 56 * to queue/dequeue bufs. 785 * If it is the first read, open isoc pipe and allocate bufs for 800 "usbvc_read: allocate rw bufs fail"); 2896 usbvc_buf_t *bufs; local [all...] |
| /onnv/onnv-gate/usr/src/cmd/dtrace/ |
| dtrace.c | 1055 } bufs[] = { local 1067 for (i = 0; bufs[i].name != NULL; i++) { 1068 if (dtrace_getopt(g_dtp, bufs[i].optname, &bufs[i].val) == -1) 1069 fatal("couldn't get option %s", bufs[i].optname); 1080 for (i = 0; bufs[i].name != NULL; i++) { 1084 if (bufs[i].val == DTRACEOPT_UNSET) 1087 (void) dtrace_getopt(g_dtp, bufs[i].optname, &nsize); 1092 if (nsize >= bufs[i].val - sizeof (uint64_t)) 1099 error("%s lowered to %lld%c\n", bufs[i].name [all...] |
| /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/ |
| trace.c | 88 } bufs[NUM_BUFS]; local 93 s = strcpy(bufs[bufno].str, inet_ntoa(addr)); 470 } bufs[NUM_BUFS]; local 477 len = strlcpy(bufs[bufno].str, inet_ntoa(tmp_addr), 478 sizeof (bufs[bufno].str)); 479 s = bufs[bufno].str; 489 (sizeof (bufs[bufno].str) - len), "/%d", 494 (sizeof (bufs[bufno].str) - len), " (mask %s)",
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/idea/ |
| ideatest.c | 219 static char bufs[10][20]; local 225 ret= &(bufs[bnum++][0]);
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/rc2/ |
| rc2test.c | 256 static char bufs[10][20]; local 262 ret= &(bufs[bnum++][0]);
|
| /onnv/onnv-gate/usr/src/uts/common/io/lvm/raid/ |
| raid_replay.c | 78 raid_rplybuf_t **bufs, 85 for (i = 0, tmp = *bufs; i < un->un_totalcolumncnt; i++, tmp++) { 95 kmem_free(*bufs, sizeof (raid_rplybuf_t) * un->un_totalcolumncnt); 96 *bufs = NULL; 117 raid_rplybuf_t **bufs, 126 *bufs = kmem_zalloc(sizeof (raid_rplybuf_t) * un->un_totalcolumncnt, 128 ASSERT(*bufs != NULL); 133 for (i = 0, tmp = *bufs; i < un->un_totalcolumncnt; i++, tmp++) {
|
| /onnv/onnv-gate/usr/src/uts/common/os/ |
| pool.c | 1174 void **bufs; local 1197 bufs = kmem_zalloc(nlwp * sizeof (void *), KM_SLEEP); 1198 for (i = 0, buf = bufs; i < nlwp; i++, buf++) { 1210 buf = bufs; 1228 for (i = 0, buf = bufs; i < nlwp; i++, buf++) { 1234 kmem_free(bufs, nlwp * sizeof (void *)); [all...] |
| /onnv/onnv-gate/usr/src/cmd/fm/fmd/common/ |
| fmd_ckpt.c | 93 { sizeof (fcf_buf_t), sizeof (fcf_buf_t), sizeof (uint32_t) }, /* BUFS */ 639 fcf_buf_t *bufs = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP); local 644 bufsec = fmd_ckpt_section(ckp, bufs, FCF_SECT_BUFS, size); 645 fmd_free(bufs, size); 744 fcf_buf_t *bufs = ckp->ckp_arg = fmd_alloc(size, FMD_SLEEP); local 749 bufsec = fmd_ckpt_section(ckp, bufs, FCF_SECT_BUFS, size); 750 fmd_free(bufs, size); 1005 "invalid link to section %u: expected bufs\n", sid); [all...] |
| /onnv/onnv-gate/usr/src/uts/common/sys/fs/ |
| hsfs_node.h | 202 struct buf *bufs; /* array of bufs issued for this R/A */ member in struct:hio_info 203 caddr_t *vas; /* The kmem_alloced chunk for the bufs */ 204 ksema_t *sema; /* Semaphores used in the bufs */ 205 uint_t bufsused; /* # of bufs actually used */ 206 uint_t bufcnt; /* Tot bufs allocated. */
|
| /onnv/onnv-gate/usr/src/common/openssl/crypto/rc5/ |
| rc5test.c | 368 static char bufs[10][20]; local 374 ret= &(bufs[bnum++][0]);
|
| /onnv/onnv-gate/usr/src/uts/common/fs/ufs/ |
| ufs_subr.c | 1243 char *bufs; local 1250 bufs = kmem_alloc(NSIBUF * SI_BUFSZ, KM_SLEEP); 1260 bp->b_un.b_addr = bufs + (i * SI_BUFSZ); 1301 kmem_free(bufs, NSIBUF * SI_BUFSZ); [all...] |
| /onnv/onnv-gate/usr/src/cmd/cron/ |
| cron.c | 2195 } bufs; local [all...] |