Home
last modified time | relevance | path

Searched refs:gc (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/bhyve/
H A Dbhyvegc.c51 struct bhyvegc *gc; in bhyvegc_init() local
61 gc->raw = 1; in bhyvegc_init()
64 gc->raw = 0; in bhyvegc_init()
67 gc->gc_image = gc_image; in bhyvegc_init()
73 return (gc); in bhyvegc_init()
82 gc->raw = 1; in bhyvegc_set_fbaddr()
83 if (gc->gc_image->data && gc->gc_image->data != fbaddr) in bhyvegc_set_fbaddr()
99 gc_image = gc->gc_image; in bhyvegc_resize()
103 if (!gc->raw) { in bhyvegc_resize()
118 if (gc == NULL) in bhyvegc_get_image()
[all …]
H A Dconsole.c37 struct bhyvegc *gc; member
54 console.gc = bhyvegc_init(w, h, fbaddr); in console_init()
60 bhyvegc_set_fbaddr(console.gc, fbaddr); in console_set_fbaddr()
68 bhyvegc_image = bhyvegc_get_image(console.gc); in console_get_image()
84 (*console.fb_render_cb)(console.gc, console.fb_arg); in console_refresh()
H A Dbhyvegc.h49 void bhyvegc_set_fbaddr(struct bhyvegc *gc, void *fbaddr);
50 void bhyvegc_resize(struct bhyvegc *gc, int width, int height);
51 struct bhyvegc_image *bhyvegc_get_image(struct bhyvegc *gc);
H A Dpci_fbuf.c354 extern void vga_render(struct bhyvegc *gc, void *arg);
357 pci_fbuf_render(struct bhyvegc *gc, void *arg) in pci_fbuf_render() argument
367 vga_render(gc, sc->vgasc); in pci_fbuf_render()
372 bhyvegc_resize(gc, sc->memregs.width, sc->memregs.height); in pci_fbuf_render()
H A Dusb_mouse.c259 struct bhyvegc_image *gc; in umouse_event() local
261 gc = console_get_image(); in umouse_event()
262 if (gc == NULL) { in umouse_event()
286 sc->um_report.x = MOUSE_MAX_X * x / gc->width; in umouse_event()
287 sc->um_report.y = MOUSE_MAX_Y * y / gc->height; in umouse_event()
H A Dconsole.h34 typedef void (*fb_render_func_t)(struct bhyvegc *gc, void *arg);
H A Dvga.c58 struct bhyvegc *gc; member
188 vga_check_size(struct bhyvegc *gc, struct vga_softc *sc) in vga_check_size() argument
214 bhyvegc_resize(gc, sc->gc_width, sc->gc_height); in vga_check_size()
325 vga_render(struct bhyvegc *gc, void *arg) in vga_render() argument
329 vga_check_size(gc, sc); in vga_render()
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c865 nrbuf = min(dp->gc.gc_rx_ring_size, dp->gc.gc_rx_buf_max); in gem_prepare_rx_buf()
936 dp->gc.gc_tx_ring_size, dp->gc.gc_tx_buf_size)); in gem_init_tx_ring()
4800 dp->gc = *gc; in gem_do_attach()
4801 gc = &dp->gc; in gem_do_attach()
4805 gc->gc_tx_ring_size = gc->gc_tx_buf_size; in gem_do_attach()
4806 gc->gc_tx_ring_limit = gc->gc_tx_buf_limit; in gem_do_attach()
4812 gc->gc_tx_copy_thresh = max(ETHERMIN, gc->gc_tx_copy_thresh); in gem_do_attach()
4813 gc->gc_rx_copy_thresh = max(ETHERMIN, gc->gc_rx_copy_thresh); in gem_do_attach()
4819 gc->gc_dma_attr_rxbuf.dma_attr_align = gc->gc_rx_buf_align + 1; in gem_do_attach()
4838 ROUNDUP(gc->gc_rx_ring_size << gc->gc_rx_desc_unit_shift, in gem_do_attach()
[all …]
H A Dsfe.c1150 uint_t tx_ring_size = dp->gc.gc_tx_ring_size; in sfe_tx_start()
1205 uint_t tx_ring_size = dp->gc.gc_tx_ring_size; in sfe_tx_desc_stat()
1407 uint_t tx_ring_size = dp->gc.gc_tx_ring_size; in sfe_tx_desc_init()
1427 uint_t rx_ring_size = dp->gc.gc_rx_ring_size; in sfe_rx_desc_init()
1468 uint_t rx_ring_size = dp->gc.gc_rx_ring_size; in sfe_interrupt()
1656 dp->gc.gc_mii_sync = &sfe_mii_sync_sis900; in sfe_mii_probe_dp83815()
1657 dp->gc.gc_mii_read = &sfe_mii_read_sis900; in sfe_mii_probe_dp83815()
1658 dp->gc.gc_mii_write = &sfe_mii_write_sis900; in sfe_mii_probe_dp83815()
1671 dp->gc.gc_mii_sync = &sfe_mii_sync_dp83815; in sfe_mii_probe_dp83815()
1672 dp->gc.gc_mii_read = &sfe_mii_read_dp83815; in sfe_mii_probe_dp83815()
[all …]
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dtnet.c450 tsol_gc_t *gc; in gc_create() local
461 for (gc = gcgrp->gcgrp_head; gc != NULL; gc = gc->gc_next) { in gc_create()
465 gc->gc_refcnt++; in gc_create()
474 return (gc); in gc_create()
478 gc = kmem_zalloc(sizeof (*gc), KM_NOSLEEP); in gc_create()
479 if (gc != NULL) { in gc_create()
504 return (gc); in gc_create()
517 gc->gc_prev->gc_next = gc->gc_next; in gc_inactive()
521 gc->gc_next->gc_prev = gc->gc_prev; in gc_inactive()
537 gc->gc_prev = gc->gc_next = NULL; in gc_inactive()
[all …]
H A Dip6_rts.c84 mblk_t *mp, const tsol_gc_t *gc) in rts_fill_msg_v6() argument
102 data_size = rts_data_msg_size(rtm_addrs, AF_INET6, gc != NULL ? 1 : 0); in rts_fill_msg_v6()
156 if (gc != NULL) { in rts_fill_msg_v6()
161 ASSERT(gc->gc_grp != NULL); in rts_fill_msg_v6()
162 ASSERT(RW_LOCK_HELD(&gc->gc_grp->gcgrp_rwlock)); in rts_fill_msg_v6()
172 ASSERT(gc->gc_db != NULL); in rts_fill_msg_v6()
173 bcopy(&gc->gc_db->gcdb_attr, rp_dst, sizeof (*rp_dst)); in rts_fill_msg_v6()
H A Dip_rts.c306 tsol_gc_t *gc = NULL; in ip_rts_request_common() local
934 if (gc == NULL || in ip_rts_request_common()
937 if (gc != NULL) { in ip_rts_request_common()
938 GC_REFRELE(gc); in ip_rts_request_common()
1236 tsol_gc_t *gc = NULL; in rts_rtmget() local
1263 gcgrp = gc->gc_grp; in rts_rtmget()
1341 &ifaddr6, ill, new_mp, gc); in rts_rtmget()
1726 const tsol_gc_t *gc) in rts_fill_msg() argument
1798 if (gc != NULL) { in rts_fill_msg()
1803 ASSERT(gc->gc_grp != NULL); in rts_fill_msg()
[all …]
H A Dip6_ire.c82 zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) in ire_init_v6() argument
90 if (gc != NULL && !is_system_labeled()) in ire_init_v6()
128 gc, ipst); in ire_init_v6()
183 uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) in ire_create_v6() argument
198 type, ill, zoneid, flags, gc, ipst); in ire_create_v6()
H A Dip_ire.c498 tsol_gc_t *gc, ip_stack_t *ipst) in ire_init_v4() argument
506 if (gc != NULL && !is_system_labeled()) in ire_init_v4()
545 gc, ipst); in ire_init_v4()
627 ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, in ire_create() argument
641 gc, ipst); in ire_create()
656 uint_t flags, uchar_t ipversion, tsol_gc_t *gc, ip_stack_t *ipst) in ire_init_common() argument
680 if (gc != NULL) in ire_init_common()
681 GC_REFRELE(gc); in ire_init_common()
683 error = tsol_ire_init_gwattr(ire, ipversion, gc); in ire_init_common()
H A Dip6_if.c403 tsol_gc_t *gc = NULL; in ip_rt_add_v6() local
785 gc = gc_create(sp, gcgrp, &gcgrp_xtraref); in ip_rt_add_v6()
786 if (gc == NULL) { in ip_rt_add_v6()
805 gc, /* security attribute */ in ip_rt_add_v6()
816 if (gc != NULL) in ip_rt_add_v6()
817 GC_REFRELE(gc); in ip_rt_add_v6()
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlobject.h153 #define gcvalue(o) check_exp(iscollectable(o), val_(o).gc)
155 #define rawtsvalue(o) check_exp(ttisstring(o), &val_(o).gc->ts)
157 #define rawuvalue(o) check_exp(ttisuserdata(o), &val_(o).gc->u)
159 #define clvalue(o) check_exp(ttisclosure(o), &val_(o).gc->cl)
160 #define clLvalue(o) check_exp(ttisLclosure(o), &val_(o).gc->cl.l)
161 #define clCvalue(o) check_exp(ttisCclosure(o), &val_(o).gc->cl.c)
163 #define hvalue(o) check_exp(ttistable(o), &val_(o).gc->h)
165 #define thvalue(o) check_exp(ttisthread(o), &val_(o).gc->th)
202 val_(io).gc=i_g; settt_(io, ctb(gch(i_g)->tt)); }
222 val_(io).gc=cast(GCObject *, (x)); settt_(io, ctb(LUA_TLCL)); \
[all …]
/illumos-gate/usr/src/cmd/idmap/test-getdc/
H A Dgetdc_main.c36 ad_disc_ds_t *dc, *gc; in main() local
87 gc = ad_disc_get_GlobalCatalog(ad_ctx, in main()
89 if (gc != NULL) { in main()
91 print_ds(gc); in main()
92 free(gc); in main()
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c125 float rc, gc, bc, h, l, s; in _rgb_to_hls() local
151 gc = (max - g) / (max - min); in _rgb_to_hls()
155 h = bc - gc; in _rgb_to_hls()
159 h = 4 + gc - rc; in _rgb_to_hls()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_iter.c40 zcp_list_func_t *gc; member
110 .gc = NULL,
199 .gc = NULL,
300 .gc = NULL,
380 .gc = zcp_props_list_gc,
511 if (info->gc != NULL) { in zcp_load_list_lib()
519 lua_pushcfunction(state, info->gc); in zcp_load_list_lib()
/illumos-gate/usr/src/lib/libadutils/common/
H A Daddisc.c1516 ad_disc_ds_t *gc = NULL; in validate_GlobalCatalog() local
1571 gc = ds_dup(ds); in validate_GlobalCatalog()
1572 if (gc != NULL) { in validate_GlobalCatalog()
1603 gc = ldap_ping( in validate_GlobalCatalog()
1611 if (gc == NULL) { in validate_GlobalCatalog()
1615 log_ds(ctx, gc); in validate_GlobalCatalog()
1645 gc = ds_dup(ds); in validate_GlobalCatalog()
1646 if (gc != NULL) { in validate_GlobalCatalog()
1674 gc = ldap_ping( in validate_GlobalCatalog()
1682 if (gc == NULL) { in validate_GlobalCatalog()
[all …]
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c1006 segkmem_gc_list_t *gc = inaddr; in segkmem_xfree() local
1007 gc->gc_arena = vmp; in segkmem_xfree()
1008 gc->gc_size = size; in segkmem_xfree()
1009 gc->gc_next = segkmem_gc_list; in segkmem_xfree()
1010 segkmem_gc_list = gc; in segkmem_xfree()
1067 segkmem_gc_list_t *gc = segkmem_gc_list; in segkmem_gc() local
1068 segkmem_gc_list = gc->gc_next; in segkmem_gc()
1069 segkmem_free(gc->gc_arena, gc, gc->gc_size); in segkmem_gc()
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c449 uint32_t gc; in ses_snap_new() local
517 gc = SCSI_READ32((uint8_t *)pp->ssp_page + in ses_snap_new()
520 sp->ss_generation = gc; in ses_snap_new()
521 } else if (sp->ss_generation != gc) { in ses_snap_new()
527 gc, sp->ss_generation); in ses_snap_new()
/illumos-gate/usr/src/cmd/fm/fmadm/
H A DMakefile.com32 gc.c \
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1614 } nc[NUID], gc[NGID]; variable
1656 if (gc[cp].id == gid && gc[cp].name[0]) in getgroup()
1657 return (gc[cp].name); in getgroup()
1661 gc[cp].id = gid; in getgroup()
1662 SCPYN(gc[cp].name, gr->gr_name); in getgroup()
1663 return (gc[cp].name); in getgroup()
/illumos-gate/usr/src/boot/i386/loader/
H A DMakefile88 LDFLAGS= -static -T $(LDSCRIPT) -N --gc-sections

12