Home
last modified time | relevance | path

Searched refs:g (Results 1 – 25 of 885) sorted by relevance

12345678910>>...36

/illumos-gate/usr/src/test/util-tests/tests/awk/examples/out/
H A Dt.fun211 g /dev/rrp3:
23 g
25 g 17379
27 g 16693
29 g 16116
31 g 15713
33 g 11895
35 g 10409
37 g 10252
39 g 9853
[all …]
H A Dt.fun31 g /dev/rrp3:
2 g
7 g 17379
12 g 16693
17 g 16116
22 g 15713
27 g 11895
32 g 10409
37 g 10252
41 g 9853
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/lua/
H A Dlgc.c59 #define makewhite(g,x) \ argument
60 (gch(x)->marked = cast_byte((gch(x)->marked & maskcolors) | luaC_white(g)))
75 #define markvalue(g,o) { checkconsistency(o); \ argument
76 if (valiswhite(o)) reallymarkobject(g,gcvalue(o)); }
78 #define markobject(g,t) { if ((t) && iswhite(obj2gco(t))) \ argument
79 reallymarkobject(g, obj2gco(t)); }
81 static void reallymarkobject (global_State *g, GCObject *o);
121 static int iscleared (global_State *g, const TValue *o) { in iscleared() argument
124 markobject(g, rawtsvalue(o)); /* strings are `values', so are never weak */ in iscleared()
136 global_State *g = G(L); in luaC_barrier_() local
[all …]
H A Dlstate.c70 global_State g; member
104 void luaE_setdebt (global_State *g, l_mem debt) { in luaE_setdebt() argument
105 g->totalbytes -= (debt - g->GCdebt); in luaE_setdebt()
106 g->GCdebt = debt; in luaE_setdebt()
163 static void init_registry (lua_State *L, global_State *g) { in init_registry() argument
167 sethvalue(L, &g->l_registry, registry); in init_registry()
182 global_State *g = G(L); in f_luaopen() local
185 init_registry(L, g); in f_luaopen()
190 g->memerrmsg = luaS_newliteral(L, MEMERRMSG); in f_luaopen()
191 luaS_fix(g->memerrmsg); /* it should never be collected */ in f_luaopen()
[all …]
H A Dlgc.h47 #define issweepphase(g) \ argument
48 (GCSsweepstring <= (g)->gcstate && (g)->gcstate <= GCSsweep)
50 #define isgenerational(g) ((g)->gckind == KGC_GEN) argument
61 #define keepinvariant(g) (isgenerational(g) || g->gcstate <= GCSatomic) argument
68 #define keepinvariantout(g) \ argument
69 check_exp(g->gcstate == GCSpropagate || !isgenerational(g), \
70 g->gcstate <= GCSatomic)
110 #define otherwhite(g) (g->currentwhite ^ WHITEBITS) argument
112 #define isdead(g,v) isdeadm(otherwhite(g), (v)->gch.marked) argument
119 #define luaC_white(g) cast(lu_byte, (g)->currentwhite & WHITEBITS) argument
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dgroup.c45 group_create(group_t *g) in group_create() argument
47 bzero(g, sizeof (group_t)); in group_create()
55 group_destroy(group_t *g) in group_destroy() argument
57 ASSERT(g->grp_size == 0); in group_destroy()
59 if (g->grp_capacity > 0) { in group_destroy()
60 kmem_free(g->grp_set, g->grp_capacity * sizeof (void *)); in group_destroy()
61 g->grp_capacity = 0; in group_destroy()
63 g->grp_set = NULL; in group_destroy()
71 group_empty(group_t *g) in group_empty() argument
74 int sz = g->grp_size; in group_empty()
[all …]
/illumos-gate/usr/src/uts/common/klm/
H A Dklmmod.c73 struct nlm_globals *g; in lm_zone_init() local
75 g = kmem_zalloc(sizeof (*g), KM_SLEEP); in lm_zone_init()
77 avl_create(&g->nlm_hosts_tree, nlm_host_cmp, in lm_zone_init()
81 g->nlm_hosts_hash = mod_hash_create_idhash("nlm_host_by_sysid", in lm_zone_init()
84 TAILQ_INIT(&g->nlm_idle_hosts); in lm_zone_init()
85 TAILQ_INIT(&g->nlm_slocks); in lm_zone_init()
87 mutex_init(&g->lock, NULL, MUTEX_DEFAULT, NULL); in lm_zone_init()
88 cv_init(&g->nlm_gc_sched_cv, NULL, CV_DEFAULT, NULL); in lm_zone_init()
89 cv_init(&g->nlm_gc_finish_cv, NULL, CV_DEFAULT, NULL); in lm_zone_init()
90 mutex_init(&g->clean_lock, NULL, MUTEX_DEFAULT, NULL); in lm_zone_init()
[all …]
H A Dnlm_impl.c299 nlm_globals_register(struct nlm_globals *g) in nlm_globals_register() argument
302 TAILQ_INSERT_TAIL(&nlm_zones_list, g, nlm_link); in nlm_globals_register()
307 nlm_globals_unregister(struct nlm_globals *g) in nlm_globals_unregister() argument
310 TAILQ_REMOVE(&nlm_zones_list, g, nlm_link); in nlm_globals_unregister()
318 struct nlm_globals *g; in nlm_kmem_reclaim() local
321 TAILQ_FOREACH(g, &nlm_zones_list, nlm_link) in nlm_kmem_reclaim()
322 cv_broadcast(&g->nlm_gc_sched_cv); in nlm_kmem_reclaim()
345 nlm_gc(struct nlm_globals *g) in nlm_gc() argument
350 idle_period = SEC_TO_TICK(g->cn_idle_tmo); in nlm_gc()
351 mutex_enter(&g->lock); in nlm_gc()
[all …]
H A Dnlm_service.c78 #define NLM_IN_GRACE(g) (ddi_get_lbolt() < (g)->grace_threshold) argument
283 struct nlm_globals *g; in nlm_do_notify1() local
287 g = zone_getspecific(nlm_zone_key, curzone); in nlm_do_notify1()
293 host = nlm_host_find_by_sysid(g, (sysid_t)sysid); in nlm_do_notify1()
299 nlm_host_release(g, host); in nlm_do_notify1()
328 struct nlm_globals *g; in nlm_do_test() local
346 g = zone_getspecific(nlm_zone_key, curzone); in nlm_do_test()
347 host = nlm_host_findcreate(g, name, netid, addr); in nlm_do_test()
366 if (NLM_IN_GRACE(g)) { in nlm_do_test()
445 nlm_host_release(g, host); in nlm_do_test()
[all …]
/illumos-gate/usr/src/lib/libfru/libfru/
H A Dyy-lsed26 s/yyback/fruback/g
27 s/yybgin/frubgin/g
28 s/yycrank/frucrank/g
29 s/yyerror/fruerror/g
30 s/yyestate/fruestate/g
31 s/yyextra/fruextra/g
32 s/yyfnd/frufnd/g
33 s/yyin/fruin/g
34 s/yyinput/fruinput/g
35 s/yyleng/fruleng/g
[all …]
H A Dyy-sed26 s/yyact/fruact/g
27 s/yychar/fruchar/g
28 s/yychk/fruchk/g
29 s/yydebug/frudebug/g
30 s/yydef/frudef/g
31 s/yyerrflag/fruerrflag/g
32 s/yyerror/fruerror/g
33 s/yyexca/fruexca/g
34 s/yylex/frulex/g
35 s/yylval/frulval/g
[all …]
/illumos-gate/usr/src/lib/libc/port/regex/
H A Dregfree.c54 struct re_guts *g; in regfree() local
60 g = preg->re_g; in regfree()
61 if (g == NULL || g->magic != MAGIC2) /* oops again */ in regfree()
64 g->magic = 0; /* mark it invalid */ in regfree()
66 if (g->strip != NULL) in regfree()
67 free((char *)g->strip); in regfree()
68 if (g->sets != NULL) { in regfree()
69 for (i = 0; i < g->ncsets; i++) { in regfree()
70 free(g->sets[i].ranges); in regfree()
71 free(g->sets[i].wides); in regfree()
[all …]
H A Dregcomp.c91 struct re_guts *g; member
143 static void stripsnug(struct parse *p, struct re_guts *g);
144 static void findmust(struct parse *p, struct re_guts *g);
146 static void computejumps(struct parse *p, struct re_guts *g);
147 static void computematchjumps(struct parse *p, struct re_guts *g);
148 static sopno pluscount(struct parse *p, struct re_guts *g);
204 struct re_guts *g; in regcomp() local
241 g = (struct re_guts *)malloc(sizeof (struct re_guts)); in regcomp()
242 if (g == NULL) in regcomp()
244 g->mb_cur_max = MB_CUR_MAX; in regcomp()
[all …]
H A Dengine.c83 struct re_guts *g; member
185 matcher(struct re_guts *g, const char *string, size_t nmatch, in matcher() argument
193 const sopno gf = g->firststate+1; /* +1 for OEND */ in matcher()
194 const sopno gl = g->laststate; in matcher()
206 if (g->cflags&REG_NOSUB) in matcher()
221 if (g->must != NULL) { in matcher()
222 if (g->charjump != NULL && g->matchjump != NULL) { in matcher()
223 mustfirst = g->must; in matcher()
224 mustlast = g->must + g->mlen - 1; in matcher()
225 charjump = g->charjump; in matcher()
[all …]
/illumos-gate/usr/src/cmd/refer/
H A Dhunt2.c40 int nf = 0, best = 0, nterm = 0, i, g, j; in doquery() local
140 g = j = 0; in doquery()
179 assert(g < lmaster); in doquery()
181 master.b[g] = prevdrop.b[j]; in doquery()
183 master.a[g] = prevdrop.a[j]; in doquery()
184 coord[g++] = prevcoord[j++]; in doquery()
189 "%d\n", g, master.b[g-1], in doquery()
190 coord[g-1], master.b[j-1]); in doquery()
194 "%d\n", g, master.a[g-1], in doquery()
195 coord[g-1], nterm); in doquery()
[all …]
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c835 st_optionneg(g) in st_optionneg() argument
836 genarg *g; in st_optionneg()
849 if (g == NULL || g->a_ctx->ctx_smfi == NULL)
851 ctx = g->a_ctx;
852 mi_clr_macros(ctx, g->a_idx + 1);
856 if (g->a_len < MILTER_OPTLEN)
861 (long) ctx->ctx_id, (int) g->a_len,
867 (void) memcpy((void *) &i, (void *) &(g->a_buf[0]), MILTER_LEN_BYTES);
887 (void) memcpy((void *) &i, (void *) &(g->a_buf[MILTER_LEN_BYTES]),
897 (void) memcpy((void *) &i, (void *) &(g->a_buf[MILTER_LEN_BYTES * 2]),
[all …]
/illumos-gate/usr/src/lib/libdwarf/common/
H A Ddwarfstring.c81 dwarfstring_constructor(struct dwarfstring_s *g) in dwarfstring_constructor() argument
83 g->s_data = ""; in dwarfstring_constructor()
84 g->s_size = 0; in dwarfstring_constructor()
85 g->s_avail = 0; in dwarfstring_constructor()
86 g->s_malloc = FALSE; in dwarfstring_constructor()
91 dwarfstring_resize_to(struct dwarfstring_s *g,unsigned long newlen) in dwarfstring_resize_to() argument
95 g->s_size - g->s_avail; in dwarfstring_resize_to()
106 memcpy(b,g->s_data,lastpos); in dwarfstring_resize_to()
108 if (g->s_malloc) { in dwarfstring_resize_to()
109 free(g->s_data); in dwarfstring_resize_to()
[all …]
/illumos-gate/usr/src/uts/common/io/mlxcx/
H A Dmlxcx_ring.c493 mlxcx_quiesce_rx_cqs(mlxcx_t *mlxp, mlxcx_ring_group_t *g) in mlxcx_quiesce_rx_cqs() argument
500 mutex_enter(&g->mlg_mtx); in mlxcx_quiesce_rx_cqs()
502 for (i = 0; i < g->mlg_nwqs; ++i) { in mlxcx_quiesce_rx_cqs()
503 wq = &g->mlg_wqs[i]; in mlxcx_quiesce_rx_cqs()
514 mutex_exit(&g->mlg_mtx); in mlxcx_quiesce_rx_cqs()
518 mlxcx_teardown_rx_group(mlxcx_t *mlxp, mlxcx_ring_group_t *g) in mlxcx_teardown_rx_group() argument
527 mutex_enter(&g->mlg_port->mlp_mtx); in mlxcx_teardown_rx_group()
528 mutex_enter(&g->mlg_mtx); in mlxcx_teardown_rx_group()
530 if (g->mlg_state & MLXCX_GROUP_FLOWS) { in mlxcx_teardown_rx_group()
531 mlxcx_remove_all_umcast_entries(mlxp, g->mlg_port, g); in mlxcx_teardown_rx_group()
[all …]
/illumos-gate/usr/src/tools/smatch/src/gvpr/
H A Dsubg-rev12 for (g1 = fstsubg(g); g1; g1 = nxtsubg(g1))
21 graph_t target, g, g2;
28 for (g = fstsubg($G); g; g = nxtsubg(g)) {
29 if(g.fun == ARGV[0]) {
31 n = node($,g.ep);
34 target = g;
48 calls[sprintf("%s%d", g2.name, ++i)] = g;
57 g = find_owner(head, $G);
59 while(calls[sprintf("%s%d", g.name, ++i)]) {
61 calls[sprintf("%s%d", g.name, i)] = find_owner(tail, $G);
[all …]
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipfcomp.c154 frgroup_t *g; local
176 for (g = groups; g != NULL; g = g->fg_next)
177 if ((strncmp(g->fg_name, f->fr_group, FR_GROUPLEN) == 0) &&
178 (g->fg_flags == (f->fr_flags & FR_INOUT)))
181 if (g == NULL) {
182 g = (frgroup_t *)calloc(1, sizeof(*g));
183 if (g == NULL) {
187 g->fg_next = groups;
188 groups = g;
189 g->fg_head = f;
[all …]
/illumos-gate/usr/src/tools/smatch/src/validation/optim/
H A Dcanonical-fcmp.c1 extern double g;
3 int fcmp_eq(double a) { return (g == a); } in fcmp_eq()
4 int fcmp_ne(double a) { return (g != a); } in fcmp_ne()
6 int fcmp_gt(double a) { return (g > a); } in fcmp_gt()
7 int fcmp_ge(double a) { return (g >= a); } in fcmp_ge()
8 int fcmp_le(double a) { return (g <= a); } in fcmp_le()
9 int fcmp_lt(double a) { return (g < a); } in fcmp_lt()
11 int nfcmp_ne(double a) { return !(g == a); } in nfcmp_ne()
12 int nfcmp_eq(double a) { return !(g != a); } in nfcmp_eq()
14 int nfcmp_le(double a) { return !(g > a); } in nfcmp_le()
[all …]
/illumos-gate/usr/src/common/crypto/sha2/
H A Dsha2.c108 #define SHA256ROUND(a, b, c, d, e, f, g, h, i, w) \ argument
109 T1 = h + BIGSIGMA1_256(e) + Ch(e, f, g) + SHA256_CONST(i) + w; \
119 #define SHA512ROUND(a, b, c, d, e, f, g, h, i, w) \ argument
120 T1 = h + BIGSIGMA1(e) + Ch(e, f, g) + SHA512_CONST(i) + w; \
166 uint32_t g = ctx->state.s32[6]; in SHA256Transform() local
207 SHA256ROUND(a, b, c, d, e, f, g, h, 0, w0); in SHA256Transform()
210 SHA256ROUND(h, a, b, c, d, e, f, g, 1, w1); in SHA256Transform()
213 SHA256ROUND(g, h, a, b, c, d, e, f, 2, w2); in SHA256Transform()
216 SHA256ROUND(f, g, h, a, b, c, d, e, 3, w3); in SHA256Transform()
219 SHA256ROUND(e, f, g, h, a, b, c, d, 4, w4); in SHA256Transform()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Dlog.c382 double F, f, g, q, u, u2, v, zero = 0.0, one = 1.0; local
405 g = ldexp(x, -m);
407 j = logb(g), m += j;
408 g = ldexp(g, -j);
410 j = N*(g-1) + .5;
412 f = g - F;
415 g = 1/(2*F+f);
416 u = 2*f*g;
432 u2 = (2.0*(f - F*u1) - u1*f) * g;
459 double F, f, g, q, u, v, u2, one = 1.0; local
[all …]
/illumos-gate/usr/src/lib/libm/common/C/
H A Datan.c88 static const double g[] = { variable
107 #define one g[0]
108 #define p1 g[1]
109 #define p2 g[2]
110 #define p3 g[3]
111 #define p4 g[4]
112 #define p5 g[5]
113 #define p6 g[6]
114 #define q1 g[7]
115 #define q2 g[8]
[all …]
/illumos-gate/usr/src/lib/libcurses/screen/
H A Dinit_color.c51 init_color(short color, short r, short g, short b) in init_color() argument
65 if (g > 1000) g = 1000; in init_color()
68 if (g < 0) g = 0; in init_color()
76 if (ctp[color].r == r && ctp[color].g == g && ctp[color].b == b) in init_color()
81 ctp[color].r = r; ctp[color].g = g; ctp[color].b = b; in init_color()
92 _rgb_to_hls((float)r, (float)g, (float)b, &h, &l, &s); in init_color()
96 (void) tputs(tparm_p4(initialize_color, color, r, g, b), in init_color()
123 _rgb_to_hls(float r, float g, float b, int *hh, int *ll, int *ss) in _rgb_to_hls() argument
128 r /= 1000; g /= 1000; b /= 1000; in _rgb_to_hls()
130 max = MAX(r, g, b); in _rgb_to_hls()
[all …]

12345678910>>...36