Searched refs:gwp (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/ |
H A D | eib_cmn.c | 271 eib_gw_props_t *gwp = ss->ei_gw_props; in eib_update_props() local 275 ASSERT(gwp != NULL && dip != NULL); in eib_update_props() 277 mutex_enter(&gwp->pp_gw_lock); in eib_update_props() 279 gwp->pp_gw_system_guid = new_gw_info->gi_system_guid; in eib_update_props() 281 gwp->pp_gw_system_guid); in eib_update_props() 283 gwp->pp_gw_guid = new_gw_info->gi_guid; in eib_update_props() 285 gwp->pp_gw_guid); in eib_update_props() 287 gwp->pp_gw_sn_prefix = new_gw_info->gi_sn_prefix; in eib_update_props() 289 gwp->pp_gw_sn_prefix); in eib_update_props() 291 gwp->pp_gw_adv_period = new_gw_info->gi_adv_period; in eib_update_props() [all …]
|
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_gcmd.c | 66 gwrap_t *gwp; in ghd_gcmd_alloc() local 72 gwp = kmem_zalloc(gwrap_len, (sleep ? KM_SLEEP : KM_NOSLEEP)); in ghd_gcmd_alloc() 73 if (gwp == NULL) { in ghd_gcmd_alloc() 79 gwp->gwrap.gw.glen = gwrap_len; in ghd_gcmd_alloc() 85 gcmdp = &gwp->gwrap.gw.gcmd; in ghd_gcmd_alloc() 86 GHD_GCMD_INIT(gcmdp, (void *)(gwp + 1), gtgtp); in ghd_gcmd_alloc()
|
H A D | ghd_scsa.c | 96 gwrap_t *gwp; in ghd_pktalloc() local 109 gwp = (gwrap_t *)(pktp->pkt_ha_private); in ghd_pktalloc() 112 gcmdp = &gwp->gwrap.gw_gcmd; in ghd_pktalloc() 114 ASSERT((caddr_t)gwp == (caddr_t)gcmdp); in ghd_pktalloc() 120 GHD_GCMD_INIT(gcmdp, (void *)(gwp + 1), gtgtp); in ghd_pktalloc()
|
/illumos-gate/usr/src/uts/sparc/v9/os/ |
H A D | v9dep.c | 550 getgwins(klwp_t *lwp, gwindows_t *gwp) in getgwins() argument 568 gwp->wbcnt = wbcnt; in getgwins() 571 gwp->spbuf[i] = (greg_t *)sp; in getgwins() 575 bcopy(rwp, &gwp->wbuf[i], sizeof (struct rwindow)); in getgwins() 577 rwindow_32ton(rwp, &gwp->wbuf[i]); in getgwins() 582 getgwins32(klwp_t *lwp, gwindows32_t *gwp) in getgwins32() argument 601 gwp->wbcnt = wbcnt; in getgwins32() 606 gwp->spbuf[i] = (caddr32_t)(uintptr_t)sp; in getgwins32() 608 rwindow_nto32(rwp, &gwp->wbuf[i]); in getgwins32() 610 bcopy(rwp, &gwp->wbuf[i], sizeof (struct rwindow32)); in getgwins32() [all …]
|
/illumos-gate/usr/src/uts/sparc/fs/proc/ |
H A D | prmachdep.c | 1015 prgetwindows(klwp_t *lwp, gwindows_t *gwp) in prgetwindows() argument 1017 getgwins(lwp, gwp); in prgetwindows() 1022 prgetwindows32(klwp_t *lwp, gwindows32_t *gwp) in prgetwindows32() argument 1024 getgwins32(lwp, gwp); in prgetwindows32()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prioctl.c | 1264 gwindows_t *gwp = thing; in prioctl64() local 1268 bzero(gwp, sizeof (*gwp)); in prioctl64() 1269 prgetwindows(lwp, gwp); in prioctl64() 1272 if (copyout(gwp, cmaddr, sizeof (*gwp))) in prioctl64() 2852 gwindows32_t *gwp = thing; in prioctl32() local 2860 bzero(gwp, sizeof (*gwp)); in prioctl32() 2861 prgetwindows32(lwp, gwp); in prioctl32() 2864 if (copyout(gwp, cmaddr, sizeof (*gwp))) in prioctl32()
|
H A D | prvnops.c | 1789 gwindows_t *gwp; in pr_read_gwindows() local 1795 gwp = kmem_zalloc(sizeof (gwindows_t), KM_SLEEP); in pr_read_gwindows() 1817 prgetwindows(ttolwp(t), gwp); in pr_read_gwindows() 1821 error = pr_uioread(gwp, size, uiop); in pr_read_gwindows() 1823 kmem_free(gwp, sizeof (gwindows_t)); in pr_read_gwindows() 2806 gwindows32_t *gwp; in pr_read_gwindows_32() local 2812 gwp = kmem_zalloc(sizeof (gwindows32_t), KM_SLEEP); in pr_read_gwindows_32() 2840 prgetwindows32(ttolwp(t), gwp); in pr_read_gwindows_32() 2844 error = pr_uioread(gwp, size, uiop); in pr_read_gwindows_32() 2846 kmem_free(gwp, sizeof (gwindows32_t)); in pr_read_gwindows_32()
|