Searched defs:gc (Results 1 - 17 of 17) sorted by relevance

/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c127 float rc, gc, bc, h, l, s; local
153 gc = (max - g) / (max - min);
157 h = bc - gc;
161 h = 4 + gc - rc;
/illumos-gate/usr/src/cmd/idmap/test-getdc/
H A Dgetdc_main.c35 ad_disc_ds_t *dc, *gc; local
82 gc = ad_disc_get_GlobalCatalog(ad_ctx,
84 if (gc != NULL) {
86 print_ds(gc);
87 free(gc);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_rts.c84 mblk_t *mp, const tsol_gc_t *gc)
102 data_size = rts_data_msg_size(rtm_addrs, AF_INET6, gc != NULL ? 1 : 0);
156 if (gc != NULL) {
161 ASSERT(gc->gc_grp != NULL);
162 ASSERT(RW_LOCK_HELD(&gc->gc_grp->gcgrp_rwlock));
172 ASSERT(gc->gc_db != NULL);
173 bcopy(&gc->gc_db->gcdb_attr, rp_dst, sizeof (*rp_dst));
80 rts_fill_msg_v6(int type, int rtm_addrs, const in6_addr_t *dst, const in6_addr_t *mask, const in6_addr_t *gateway, const in6_addr_t *src_addr, const in6_addr_t *brd_addr, const in6_addr_t *author, const in6_addr_t *ifaddr, const ill_t *ill, mblk_t *mp, const tsol_gc_t *gc) argument
H A Dip6_ire.c82 zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst)
90 if (gc != NULL && !is_system_labeled())
128 gc, ipst);
183 uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst)
198 type, ill, zoneid, flags, gc, ipst);
80 ire_init_v6(ire_t *ire, const in6_addr_t *v6addr, const in6_addr_t *v6mask, const in6_addr_t *v6gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
181 ire_create_v6(const in6_addr_t *v6addr, const in6_addr_t *v6mask, const in6_addr_t *v6gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
H A Dip_rts.c305 tsol_gc_t *gc = NULL; local
928 gc = gc_create(rtsap, gcgrp, &gcgrp_xtraref);
929 if (gc == NULL ||
931 ire->ire_ipversion, gc)) != 0) {
932 if (gc != NULL) {
933 GC_REFRELE(gc);
1231 tsol_gc_t *gc = NULL; local
1254 if ((gc = attrp->igsa_gc) != NULL) {
1255 gcgrp = gc->gc_grp;
1295 new_mp = rts_alloc_msg(RTM_GET, rtm_addrs, af, gc !
1714 rts_fill_msg(int type, int rtm_addrs, ipaddr_t dst, ipaddr_t mask, ipaddr_t gateway, ipaddr_t src_addr, ipaddr_t brd_addr, ipaddr_t author, ipaddr_t ifaddr, const ill_t *ill, mblk_t *mp, const tsol_gc_t *gc) argument
[all...]
H A Dtnet.c104 * tsol_gc_t, or "gc"
107 * only mechanism to access the contents of gcdb. More than one gc
108 * entries may refer to the same gcdb record. gc's in the system are
115 * greater than zero, it contains one or more gc's, each pointing to
450 tsol_gc_t *gc; local
461 for (gc = gcgrp->gcgrp_head; gc != NULL; gc = gc->gc_next) {
462 if (gc
508 gc_inactive(tsol_gc_t *gc) argument
1241 tsol_gc_t *gc = NULL; local
1852 tsol_ire_init_gwattr(ire_t *ire, uchar_t ipversion, tsol_gc_t *gc) argument
[all...]
H A Dip6_if.c403 tsol_gc_t *gc = NULL; local
785 gc = gc_create(sp, gcgrp, &gcgrp_xtraref);
786 if (gc == NULL) {
805 gc, /* security attribute */
809 * The ire holds a reference to the 'gc' and the 'gc' holds a
816 if (gc != NULL)
817 GC_REFRELE(gc);
H A Dip_ire.c498 tsol_gc_t *gc, ip_stack_t *ipst)
506 if (gc != NULL && !is_system_labeled())
545 gc, ipst);
627 ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc,
641 gc, ipst);
656 uint_t flags, uchar_t ipversion, tsol_gc_t *gc, ip_stack_t *ipst)
671 * if the passed in gc is non-NULL, we expect that the caller
680 if (gc != NULL)
681 GC_REFRELE(gc);
683 error = tsol_ire_init_gwattr(ire, ipversion, gc);
496 ire_init_v4(ire_t *ire, uchar_t *addr, uchar_t *mask, uchar_t *gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
626 ire_create(uchar_t *addr, uchar_t *mask, uchar_t *gateway, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, tsol_gc_t *gc, ip_stack_t *ipst) argument
655 ire_init_common(ire_t *ire, ushort_t type, ill_t *ill, zoneid_t zoneid, uint_t flags, uchar_t ipversion, tsol_gc_t *gc, ip_stack_t *ipst) argument
[all...]
H A Dip.c10921 tsol_gc_t *gc = NULL; local
10939 if ((gc = attrp->igsa_gc) != NULL) {
10940 gcgrp = gc->gc_grp;
11013 if (gc != NULL) {
11015 iaes.iae_doi = gc->gc_db->gcdb_doi;
11016 iaes.iae_slrange = gc->gc_db->gcdb_slrange;
11043 tsol_gc_t *gc = NULL; local
11061 if ((gc = attrp->igsa_gc) != NULL) {
11062 gcgrp = gc->gc_grp;
11139 if (gc !
[all...]
H A Dip_if.c5415 tsol_gc_t *gc = NULL; local
5806 gc = gc_create(sp, gcgrp, &gcgrp_xtraref);
5807 if (gc == NULL) {
5826 gc, /* security attribute */
5830 * The ire holds a reference to the 'gc' and the 'gc' holds a
5837 if (gc != NULL)
5838 GC_REFRELE(gc);
/illumos-gate/usr/src/lib/scsi/libses/common/
H A Dses_snap.c449 uint32_t gc; local
517 gc = SCSI_READ32((uint8_t *)pp->ssp_page +
520 sp->ss_generation = gc;
521 } else if (sp->ss_generation != gc) {
525 "mismatches: page 0x%x gc %u "
527 gc, sp->ss_generation);
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_kmem.c995 segkmem_gc_list_t *gc = inaddr; local
996 gc->gc_arena = vmp;
997 gc->gc_size = size;
998 gc->gc_next = segkmem_gc_list;
999 segkmem_gc_list = gc;
1062 segkmem_gc_list_t *gc = segkmem_gc_list; local
1063 segkmem_gc_list = gc->gc_next;
1064 segkmem_free(gc->gc_arena, gc, gc
[all...]
/illumos-gate/usr/src/lib/libadutils/common/
H A Daddisc.c126 #define GC_SRV_TAIL "gc._msdcs"
132 #define GC_ALL_A_NAME_FSTR "gc._msdcs.%s."
1504 ad_disc_ds_t *gc = NULL; local
1547 gc = ds_dup(ds);
1548 if (gc != NULL) {
1549 gc->port = GC_PORT;
1557 * _ldap._tcp.gc._msdcs.<ForestName>
1576 gc = ldap_ping(
1584 if (gc == NULL) {
1588 log_ds(ctx, gc);
[all...]
/illumos-gate/usr/src/cmd/find/
H A Dfind.c1604 } nc[NUID], gc[NGID]; variable in typeref:struct:ncache
1646 if (gc[cp].id == gid && gc[cp].name[0])
1647 return (gc[cp].name);
1651 gc[cp].id = gid;
1652 SCPYN(gc[cp].name, gr->gr_name);
1653 return (gc[cp].name);
/illumos-gate/usr/src/uts/common/io/sfe/
H A Dsfe_util.c109 &(dp)->tx_buf[SLOT((dp)->tx_slots_base + (sn), (dp)->gc.gc_tx_buf_size)]
367 int rx_desc_unit_shift = dp->gc.gc_rx_desc_unit_shift;
375 n = dp->gc.gc_rx_ring_size - head;
395 int tx_desc_unit_shift = dp->gc.gc_tx_desc_unit_shift;
403 n = dp->gc.gc_tx_ring_size - head;
423 SLOT(head, dp->gc.gc_rx_ring_size), nslot,
443 SLOT(dp->tx_active_head, dp->gc.gc_tx_buf_size),
445 SLOT(dp->tx_active_tail, dp->gc.gc_tx_buf_size),
448 SLOT(dp->tx_softq_head, dp->gc.gc_tx_buf_size),
450 SLOT(dp->tx_softq_tail, dp->gc
4734 gem_do_attach(dev_info_t *dip, int port, struct gem_conf *gc, void *base, ddi_acc_handle_t *regs_handlep, void *lp, int lmsize) argument
[all...]
H A Dsfe_util.h535 } gc; member in struct:gem_dev
/illumos-gate/usr/src/uts/common/io/usbgem/
H A Dusbgem.c5960 #define USBGEM_LOCAL_DATA_SIZE(gc) \
5965 struct usbgem_conf *gc, void *lp, int lmsize)
5986 dp = kmem_zalloc(USBGEM_LOCAL_DATA_SIZE(gc), KM_SLEEP);
6010 bcopy(gc->usbgc_name, dp->name, USBGEM_NAME_LEN);
6054 dp->ugc = *gc;
6276 kmem_free((caddr_t)dp, USBGEM_LOCAL_DATA_SIZE(gc));
5964 usbgem_do_attach(dev_info_t *dip, struct usbgem_conf *gc, void *lp, int lmsize) argument

Completed in 203 milliseconds