Home
last modified time | relevance | path

Searched refs:descp (Results 1 – 17 of 17) sorted by relevance

/titanic_50/usr/src/lib/libdiskmgt/common/
H A Dcache.c78 static void update_desc(descriptor_t *descp, disk_t *newdisksp,
80 static void update_desc_busp(descriptor_t *descp, bus_t *busp);
81 static void update_desc_ctrlp(descriptor_t *descp,
83 static void update_desc_diskp(descriptor_t *descp,
85 static void update_desc_pathp(descriptor_t *descp,
351 descriptor_t *descp; in cache_get_descriptors() local
360 descp = desc_listp; in cache_get_descriptors()
361 while (descp != NULL) { in cache_get_descriptors()
362 if (descp->type == type && descp->p.generic != NULL) { in cache_get_descriptors()
365 descp = descp->next; in cache_get_descriptors()
[all …]
/titanic_50/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dpages.c41 shuffle_pages(cpd_t *descp) in shuffle_pages() argument
53 tail_ppn = descp->cpd_pfn + descp->cpd_pages; in shuffle_pages()
54 for (dst_ppn = descp->cpd_pfn; dst_ppn < tail_ppn; dst_ppn++) { in shuffle_pages()
123 mapin_dst_pages(cpd_t *descp) in mapin_dst_pages() argument
131 dst_ppn = descp->cpd_pfn; in mapin_dst_pages()
132 for (pages = 0; pages < descp->cpd_pages; pages++) { in mapin_dst_pages()
145 kdata_cksum(void *data, cpd_t *descp, uint_t flag) in kdata_cksum() argument
150 if ((descp->cpd_flag & flag) == 0) in kdata_cksum()
153 expect = descp->cpd_csum; in kdata_cksum()
154 len = descp->cpd_length; in kdata_cksum()
[all …]
/titanic_50/usr/src/uts/sun4u/os/
H A Dcpr_impl.c1014 csd_t *descp; in i_cpr_compress_and_save() local
1021 descp = i_cpr_storage_desc_base + chunks - 1; in i_cpr_compress_and_save()
1022 if (descp >= i_cpr_storage_desc_end) { in i_cpr_compress_and_save()
1026 (void *)i_cpr_storage_desc_end, (void *)descp); in i_cpr_compress_and_save()
1029 ASSERT(descp->csd_dirty_spfn == (uint_t)-1); in i_cpr_compress_and_save()
1030 i_cpr_storage_desc_last_used = descp; in i_cpr_compress_and_save()
1032 descp->csd_dirty_spfn = spfn; in i_cpr_compress_and_save()
1033 descp->csd_dirty_npages = pages; in i_cpr_compress_and_save()
1044 descp->csd_clean_compressed = (cpd.cpd_flag & CPD_COMPRESS); in i_cpr_compress_and_save()
1046 descp->csd_usum = cpd.cpd_usum; in i_cpr_compress_and_save()
[all …]
/titanic_50/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c400 dma_area_t *descp; in dmfe_init_rings() local
417 descp = &dmfep->rx_desc; in dmfe_init_rings()
418 pstart = descp->mem_dvma; in dmfe_init_rings()
424 dmfe_ring_put32(descp, i, RD_NEXT, pnext); in dmfe_init_rings()
425 dmfe_ring_put32(descp, i, BUFFER1, pbuff); in dmfe_init_rings()
426 dmfe_ring_put32(descp, i, DESC1, desc1); in dmfe_init_rings()
427 dmfe_ring_put32(descp, i, DESC0, RX_OWN); in dmfe_init_rings()
436 dmfe_ring_put32(descp, --i, RD_NEXT, pstart); in dmfe_init_rings()
437 DMA_SYNC(descp, DDI_DMA_SYNC_FORDEV); in dmfe_init_rings()
443 dmfe_chip_put32(dmfep, RX_BASE_ADDR_REG, descp->mem_dvma); in dmfe_init_rings()
[all …]
H A Ddmfe_impl.h313 #define DMA_SYNC(descp, flag) ((void) ddi_dma_sync((descp)->dma_hdl, \ argument
314 0, (descp)->alength, flag))
/titanic_50/usr/src/cmd/scsi/smp/common/
H A Dsmp.c659 smp_route_table_descr_t *descp = &rtlr->srertlr_descrs[0]; in main() local
691 for (idx = 0; idx < ndescrs; idx++, descp++) { in main()
693 idx + startnum, BE_64(descp->srtd_routed_sas_addr)); in main()
697 descp->srtd_phy_bitmap[idxx]); in main()
702 descp->srtd_zone_group); in main()
/titanic_50/usr/src/uts/sun4v/io/
H A Dvnet_common.c203 vnet_dring_entry_set_dstate(vnet_public_desc_t *descp, uint8_t mtype, in vnet_dring_entry_set_dstate() argument
213 descp->hdr.dstate = dstate; in vnet_dring_entry_set_dstate()
H A Dvnet_txdring.c254 tbufp->descp = txdp; in vgen_create_tx_dring()
682 txdp = tbufp->descp; in vgen_dringsend()
714 rtxdp = rtbufp->descp; in vgen_dringsend()
1354 txdp = tbufp->descp; in vgen_handle_dringdata_ack()
1369 txdp = tbufp->descp; in vgen_handle_dringdata_ack()
1556 txdp = tbufp->descp; in vgen_reclaim_dring()
1566 txdp = tbufp->descp; in vgen_reclaim_dring()
H A Dvsw_txdring.c343 priv_addr->descp = pub_addr; in vsw_setup_tx_dring()
857 pub = priv_desc->descp; in vsw_dringsend()
/titanic_50/usr/src/uts/common/io/pciex/
H A Dpcie_pwr.c1080 pcie_buspwr_desc_t *descp = pcie_buspwr_desc; in pcie_decode_pwr_op() local
1082 for (; descp->pwr_desc; descp++) { in pcie_decode_pwr_op()
1083 if (op == descp->pwr_op) in pcie_decode_pwr_op()
1084 return (descp->pwr_desc); in pcie_decode_pwr_op()
/titanic_50/usr/src/uts/sun4v/sys/
H A Dvnet_common.h142 int vnet_dring_entry_set_dstate(vnet_public_desc_t *descp, uint8_t mtype,
H A Dvsw_ldc.h243 vnet_public_desc_t *descp; member
H A Dvnet_gen.h206 vnet_public_desc_t *descp; /* associated public desc */ member
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dikeadm.c362 ikedoor_call(char *reqp, int size, door_desc_t *descp, int ndesc) in ikedoor_call() argument
369 arg.desc_ptr = descp; in ikedoor_call()
384 if ((ndesc > 0) && (descp->d_attributes & DOOR_RELEASE) && in ikedoor_call()
387 (void) close(descp->d_data.d_desc.d_descriptor); in ikedoor_call()
2548 door_desc_t *descp = NULL, desc; in do_setvar() local
2596 descp = &desc; in do_setvar()
2600 rtn = ikedoor_call((char *)&req, sizeof (ike_dbg_t), descp, ndesc); in do_setvar()
2988 door_desc_t desc, *descp = NULL; in do_new() local
3012 descp = &desc; in do_new()
3132 descp = &desc; in do_new()
[all …]
/titanic_50/usr/src/psm/stand/boot/common/
H A Dreadfile.c332 caddr_t namep, descp; in read_elf32() local
422 descp = namep + roundup(nhdr->n_namesz, 4); in read_elf32()
423 npagesize = *(int *)descp; in read_elf32()
731 caddr_t namep, descp; in read_elf64() local
823 descp = namep + roundup(nhdr->n_namesz, 4); in read_elf64()
824 npagesize = *(int *)descp; in read_elf64()
/titanic_50/usr/src/uts/intel/io/dnet/
H A Ddnet.c1823 struct rx_desc_type *descp = &(dnetp->rx_desc[index]); in update_rx_stats() local
1830 if (descp->desc0.overflow) { in update_rx_stats()
1835 if (descp->desc0.collision) { in update_rx_stats()
1841 if (descp->desc0.crc) { in update_rx_stats()
1846 if (descp->desc0.runt_frame) { in update_rx_stats()
1851 if (descp->desc0.desc_err) { in update_rx_stats()
1857 if (descp->desc0.frame2long) { in update_rx_stats()
1868 struct tx_desc_type *descp = &(dnetp->tx_desc[index]); in update_tx_stats() local
1885 if (descp->desc0.collision_count && !fd) { in update_tx_stats()
1886 dnetp->stat_collisions += descp->desc0.collision_count; in update_tx_stats()
[all …]
/titanic_50/usr/src/uts/common/fs/doorfs/
H A Ddoor_sys.c1127 uintptr_t descp, datap, infop, resultsp, finalsp; in door_layout() local
1167 descp = P2ALIGN(base_sp - descsz, align); in door_layout()
1168 datap = P2ALIGN(descp - data_size, align); in door_layout()
1184 out->dl_descp = (ndesc != 0)? (caddr_t)descp : 0; in door_layout()