/titanic_44/usr/src/cmd/refer/ |
H A D | glue5.c | 129 int ccount; in execute() local 133 ccount = instr ? inct : 0; in execute() 140 fprintf(stderr, "in execute ccount %d inct %d\n", ccount, inct); in execute() 146 if (--ccount <= 0) { in execute() 148 fprintf(stderr, "ex loop ccount %d instr %o\n", ccount, instr); in execute() 153 if ((ccount = read(f, p, in execute() 156 } else if ((ccount = read(f, p, BUFSIZ)) <= 0) break; in execute() 158 fprintf(stderr, " normal read %d bytres\n", ccount); in execute() 161 sprintf(xx, "they are %%.%ds\n", ccount); in execute() 197 p, nlp, ccount, buf, buf+2*BUFSIZ); in execute() [all …]
|
/titanic_44/usr/src/cmd/fgrep/ |
H A D | fgrep.c | 68 if (--cw > --ccount) { \ 69 cw -= ccount; \ 70 while (ccount--) \ 91 if ((ccount = fread(p, sizeof (char), \ 94 } else if ((ccount = fread(p, \ 97 blkno += (long long)ccount; \ 99 ccount -= cw; \ 303 int ccount; in execute() local 328 ccount = 0; in execute() 339 if (ccount <= 0) { in execute() [all …]
|
/titanic_44/usr/src/uts/i86pc/io/amd_iommu/ |
H A D | amd_iommu_impl.c | 69 ddi_dma_cookie_t *cookie_array, uint_t ccount, int ncookies, int locked); 1495 struct ddi_dma_req *dmareq, ddi_dma_cookie_t *cookie_array, uint_t ccount, in map_current_window() argument 1522 for (i = 0; i < ccount; i++) { in map_current_window() 1533 if (i != ccount) { in map_current_window() 1537 ccount, i, 1); in map_current_window() 1555 ddi_dma_cookie_t *cookie_array, uint_t ccount, int ncookies, int locked) in unmap_current_window() argument 1579 ncookies = ccount; in unmap_current_window() 1624 uint_t ccount = 0; in amd_iommu_bindhdl() local 1657 ccount = 0; in amd_iommu_bindhdl() 1659 &cookie_array, &ccount)) != DDI_SUCCESS) { in amd_iommu_bindhdl() [all …]
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | ldc.h | 187 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount); 192 ldc_mem_cookie_t *cookies, uint32_t ccount, uint8_t direction); 196 uint32_t ccount, uint8_t mtype, uint8_t perm, caddr_t *vaddr, 206 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *dcookie, uint32_t *ccount); 212 uint32_t ccount, uint32_t len, uint32_t dsize, uint8_t mtype,
|
/titanic_44/usr/src/uts/sun4v/io/ |
H A D | ldc_shm.c | 73 uint32_t ccount, uint8_t mtype, uint8_t perm, caddr_t *vaddr, 77 uint32_t *ccount); 331 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) in ldc_mem_bind_handle() argument 341 cookie, ccount)); in ldc_mem_bind_handle() 346 uint8_t mtype, uint8_t perm, ldc_mem_cookie_t *cookie, uint32_t *ccount) in i_ldc_mem_bind_handle() argument 371 *ccount = 0; in i_ldc_mem_bind_handle() 556 *ccount = 0; in i_ldc_mem_bind_handle() 654 *ccount = memseg->ncookies; in i_ldc_mem_bind_handle() 863 ldc_mem_cookie_t *cookies, uint32_t ccount, uint8_t direction) in ldc_mem_copy() argument 901 for (i = 0; i < ccount; i++) in ldc_mem_copy() [all …]
|
/titanic_44/usr/src/uts/common/io/cxgbe/shared/ |
H A D | shared.c | 104 uint_t ccount = 0; in rxbuf_ctor() local 126 DDI_DMA_READ | DDI_DMA_STREAMING, NULL, NULL, &cookie, &ccount); in rxbuf_ctor() 137 if (ccount != 1) { in rxbuf_ctor()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | vdev_raidz.c | 589 uint64_t *p, *src, pcount, ccount, i; in vdev_raidz_generate_parity_p() local 597 ccount = rm->rm_col[c].rc_size / sizeof (src[0]); in vdev_raidz_generate_parity_p() 600 ASSERT(ccount == pcount); in vdev_raidz_generate_parity_p() 601 for (i = 0; i < ccount; i++, src++, p++) { in vdev_raidz_generate_parity_p() 605 ASSERT(ccount <= pcount); in vdev_raidz_generate_parity_p() 606 for (i = 0; i < ccount; i++, src++, p++) { in vdev_raidz_generate_parity_p() 751 uint64_t *dst, *src, xcount, ccount, count, i; in vdev_raidz_reconstruct_p() local 776 ccount = rm->rm_col[c].rc_size / sizeof (src[0]); in vdev_raidz_reconstruct_p() 777 count = MIN(ccount, xcount); in vdev_raidz_reconstruct_p() 790 uint64_t *dst, *src, xcount, ccount, count, mask, i; in vdev_raidz_reconstruct_q() local [all …]
|
/titanic_44/usr/src/uts/common/io/1394/targets/scsa1394/ |
H A D | hba.c | 1522 uint_t ccount; in scsa1394_cmd_buf_dma_alloc() local 1550 callback, arg, &dmac, &ccount); in scsa1394_cmd_buf_dma_alloc() 1566 &cmd->sc_win_offset, &cmd->sc_win_len, &dmac, &ccount) != in scsa1394_cmd_buf_dma_alloc() 1598 if ((ccount == 1) && (dmac.dmac_size <= SBP2_PT_SEGSIZE_MAX) && in scsa1394_cmd_buf_dma_alloc() 1607 if (scsa1394_cmd_dmac2seg(sp, cmd, &dmac, ccount, kf) != in scsa1394_cmd_buf_dma_alloc() 1654 ddi_dma_cookie_t *dmac, uint_t ccount, int kf) in scsa1394_cmd_dmac2seg() argument 1669 nsegs = max(ccount, cmd->sc_win_len / SBP2_PT_SEGSIZE_MAX) * 2; in scsa1394_cmd_dmac2seg() 1693 i = ccount; in scsa1394_cmd_dmac2seg() 1703 cmd->sc_buf_nsegs_alloc + ccount, in scsa1394_cmd_dmac2seg() 1707 cmd->sc_buf_nsegs_alloc += ccount; in scsa1394_cmd_dmac2seg() [all …]
|
H A D | sbp2_bus.c | 321 uint_t ccount; /* cookie count */ in scsa1394_bus_alloc_buf_phys() local 349 &cookie, &ccount) != DDI_DMA_MAPPED) { in scsa1394_bus_alloc_buf_phys() 355 ASSERT(ccount == 1); in scsa1394_bus_alloc_buf_phys()
|
/titanic_44/usr/src/cmd/egrep/ |
H A D | egrep.y | 216 int cclcnt, x, ccount, oldccount; in yylex() local 270 ccount = oldccount = nxtchar; in yylex() 271 if(ccount + MB_LEN_MAX >= maxclin) in yylex() 274 ccount += wctomb(&chars[ccount], c); in yylex() 275 cclcnt += ccount - oldccount; in yylex() 276 nxtchar += ccount - oldccount; in yylex()
|
/titanic_44/usr/src/cmd/sgs/lex/common/ |
H A D | sub1.c | 363 cindex[i] = ccount; in cclinter() 372 ccount++; in cclinter() 385 cindex[k] = ccount; in cclinter() 391 ccount++; in cclinter()
|
H A D | once.h | 80 int ccount = 1; variable
|
H A D | ldefs.h | 231 extern int ccount;
|
/titanic_44/usr/src/uts/intel/sys/ |
H A D | iommulib.h | 154 ddi_dma_cookie_t *cookiep, uint_t ccount); 287 ddi_dma_cookie_t *cookiep, uint_t ccount);
|
/titanic_44/usr/src/cmd/keyserv/ |
H A D | chkey.c | 159 int mcount, ccount = 0; in encryptkeys() local 171 ccount++; in encryptkeys() 189 ccount++; in encryptkeys() 192 if (!ccount) { in encryptkeys()
|
/titanic_44/usr/src/uts/common/io/usb/hcd/ehci/ |
H A D | ehci_isoch_util.c | 175 uint_t ccount; in ehci_allocate_isoc_pools() local 231 &ccount); in ehci_allocate_isoc_pools() 239 if (ccount != 1) { in ehci_allocate_isoc_pools() 353 uint_t ccount; /* Cookie count */ in ehci_allocate_itw() local 430 &ccount); in ehci_allocate_itw() 434 if (ccount != 1) { in ehci_allocate_itw()
|
H A D | ehci_util.c | 394 uint_t ccount; in ehci_allocate_pools() local 440 &ccount); in ehci_allocate_pools() 448 if (ccount != 1) { in ehci_allocate_pools() 510 &ccount); in ehci_allocate_pools() 518 if (ccount != 1) { in ehci_allocate_pools() 1504 uint_t ccount; in ehci_init_periodic_frame_lst_table() local 1544 DDI_DMA_SLEEP, NULL, &ehcip->ehci_pflt_cookie, &ccount); in ehci_init_periodic_frame_lst_table() 1548 if (ccount != 1) { in ehci_init_periodic_frame_lst_table()
|
/titanic_44/usr/src/cmd/bnu/ |
H A D | uustat.c | 52 int ccount, xcount; member 404 m->ccount++; 914 m->c_age= m->x_age= m->lasttime= m->locked= m->ccount= m->xcount= 0; 928 if (m->ccount == 0 937 if (m->ccount) 938 printf("%3dC", m->ccount);
|
/titanic_44/usr/src/uts/sun/io/ |
H A D | socal.c | 1887 uint_t ccount; in socal_cqalloc_init() local 1937 NULL, &cqp->skc_dcookie, &ccount) != DDI_DMA_MAPPED) { in socal_cqalloc_init() 1944 if (ccount != 1) { in socal_cqalloc_init() 1992 NULL, &cqp->skc_dcookie, &ccount) != DDI_DMA_MAPPED) { in socal_cqalloc_init() 1999 if (ccount != 1) { in socal_cqalloc_init() 2492 uint_t ccount; in socal_add_pool_buffer() local 2516 NULL, &socalp->pool_dcookie, &ccount) != DDI_DMA_MAPPED) in socal_add_pool_buffer() 2520 if (ccount != 1) in socal_add_pool_buffer() 4421 uint_t ccount, cmd_bound = 0, rsp_bound = 0; in socal_els_alloc() local 4464 DDI_DMA_DONTWAIT, NULL, &ccookie, &ccount) in socal_els_alloc() [all …]
|
/titanic_44/usr/src/uts/common/io/usb/hcd/uhci/ |
H A D | uhcipolled.c | 847 uint_t result, ccount; in uhci_polled_create_tw() local 888 DDI_DMA_DONTWAIT, NULL, &tw->tw_cookie, &ccount)) != in uhci_polled_create_tw() 898 if (ccount != 1) { in uhci_polled_create_tw()
|
H A D | uhciutil.c | 230 uint_t ccount; in uhci_allocate_pools() local 262 NULL, &uhcip->uhci_td_pool_cookie, &ccount); in uhci_allocate_pools() 270 if (ccount != 1) { in uhci_allocate_pools() 312 &uhcip->uhci_qh_pool_cookie, &ccount); in uhci_allocate_pools() 317 if (ccount != 1) { in uhci_allocate_pools() 844 uint_t ccount; in uhci_init_frame_lst_table() local 883 &uhcip->uhci_flt_cookie, &ccount); in uhci_init_frame_lst_table() 887 if (ccount != 1) { in uhci_init_frame_lst_table() 3113 uint_t ccount, num; in uhci_alloc_memory_for_tds() local 3197 &td_pool_ptr1->cookie, &ccount); in uhci_alloc_memory_for_tds() [all …]
|
/titanic_44/usr/src/cmd/tip/ |
H A D | cmds.c | 284 int c, ccount, lcount; in transmit() local 328 ccount = 0; in transmit() 342 while ((++ccount % 8) != 0) in transmit()
|
/titanic_44/usr/src/uts/sun/io/scsi/adapters/ |
H A D | sf.c | 446 uint_t ccount; in sf_attach() local 613 &sf->sf_lilp_dmacookie, &ccount) != DDI_DMA_MAPPED) { in sf_attach() 621 if (ccount != 1) { in sf_attach() 1835 uint_t i, ccount; in sf_add_cr_pool() local 1871 NULL, &cmd_cookie, &ccount) != DDI_DMA_MAPPED) { in sf_add_cr_pool() 1876 if (ccount != 1) { in sf_add_cr_pool() 1901 NULL, &rsp_cookie, &ccount) != DDI_DMA_MAPPED) { in sf_add_cr_pool() 1906 if (ccount != 1) { in sf_add_cr_pool() 3013 uint_t ccount; in sf_els_alloc() local 3060 DDI_DMA_DONTWAIT, NULL, &pcookie, &ccount) != DDI_DMA_MAPPED) { in sf_els_alloc() [all …]
|
/titanic_44/usr/src/uts/common/io/efe/ |
H A D | efe.c | 1151 uint_t ccount; in efe_ring_alloc() local 1173 NULL, &rp->r_dmac, &ccount) != DDI_DMA_MAPPED) { in efe_ring_alloc() 1230 uint_t ccount; in efe_buf_alloc() local 1250 &bp->b_dmac, &ccount) != DDI_DMA_MAPPED) { in efe_buf_alloc()
|
/titanic_44/usr/src/cmd/ed/ |
H A D | ed.c | 353 static long ccount; variable 1417 ccount = count; in getfile() 1421 count = ccount; in getfile() 1443 ccount = count; in putfile() 1446 count = ccount; in putfile()
|