Home
last modified time | relevance | path

Searched refs:v (Results 1 – 25 of 1692) sorted by relevance

12345678910>>...68

/titanic_41/usr/src/cmd/stat/arcstat/
H A Darcstat.pl97 my %v=();
261 $v{$col}), $sep);
263 printf("%d%s", $v{$col} || 0, $sep);
284 %v = ();
287 $v{"time"} = strftime("%s", localtime);
289 $v{"time"} = strftime("%H:%M:%S", localtime);
292 $v{"hits"} = $d{"hits"}/$int;
293 $v{"miss"} = $d{"misses"}/$int;
294 $v{"read"} = $v{"hits"} + $v{"miss"};
295 $v{"hit%"} = 100 * ($v{"hits"} / $v{"read"}) if $v{"read"} > 0;
[all …]
/titanic_41/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nv.c37 #define NV_NAME(v) \ argument
38 (((v)->v_flags & MDB_NV_EXTNAME) ? (v)->v_ename : (v)->v_lname)
40 #define NV_SIZE(v) \ argument
41 (((v)->v_flags & MDB_NV_EXTNAME) ? sizeof (mdb_var_t) : \
42 sizeof (mdb_var_t) + strlen((v)->v_lname))
71 mdb_var_t *v; in nv_var_alloc() local
78 v = mdb_alloc(nbytes, um_flags); in nv_var_alloc()
80 if (v == NULL) in nv_var_alloc()
84 v->v_ename = name; in nv_var_alloc()
85 v->v_lname[0] = '\0'; in nv_var_alloc()
[all …]
/titanic_41/usr/src/cmd/svc/startd/
H A Dtransition.c60 gt_enter_uninit(scf_handle_t *h, graph_vertex_t *v, in gt_enter_uninit() argument
68 err = libscf_fmri_get_instance(h, v->gv_name, &inst); in gt_enter_uninit()
85 err = refresh_vertex(v, inst); in gt_enter_uninit()
87 graph_enable_by_vertex(v, v->gv_flags & GV_ENABLED, 0); in gt_enter_uninit()
94 v->gv_name); in gt_enter_uninit()
96 graph_transition_propagate(v, PROPAGATE_STOP, rerr); in gt_enter_uninit()
105 gt_enter_maint(scf_handle_t *h, graph_vertex_t *v, in gt_enter_maint() argument
108 int to_offline = v->gv_flags & GV_TOOFFLINE; in gt_enter_maint()
121 v->gv_flags &= ~GV_TODISABLE; in gt_enter_maint()
122 v->gv_flags &= ~GV_TOOFFLINE; in gt_enter_maint()
[all …]
H A Dgraph.c178 #define IS_ENABLED(v) ((v)->gv_flags & (GV_ENABLED | GV_ENBLD_NOOVR)) argument
208 #define is_depgrp_bypassed(v) ((v->gv_type == GVT_GROUP) && \ argument
209 ((v->gv_depgroup == DEPGRP_EXCLUDE_ALL) || \
210 (v->gv_depgroup == DEPGRP_OPTIONAL_ALL) || \
211 (v->gv_restart < RERR_RESTART)))
306 static boolean_t should_be_in_subgraph(graph_vertex_t *v);
387 graph_vertex_t *v; in graph_add_vertex() local
395 v = startd_zalloc(sizeof (*v)); in graph_add_vertex()
397 v->gv_id = id; in graph_add_vertex()
399 v->gv_name = startd_alloc(strlen(name) + 1); in graph_add_vertex()
[all …]
/titanic_41/usr/src/lib/libcpc/sparc/
H A Dconf_ultra.c88 #define USall_EVENTS_0(v) \ argument
89 {v, 0x0, "Cycle_cnt"}, \
90 {v, 0x1, "Instr_cnt"}, \
91 {v, 0x2, "Dispatch0_IC_miss"}, \
92 {v, 0x8, "IC_ref"}, \
93 {v, 0x9, "DC_rd"}, \
94 {v, 0xa, "DC_wr"}, \
95 {v, 0xc, "EC_ref"}, \
96 {v, 0xe, "EC_snoop_inv"}
107 #define US3all_EVENTS_0(v) \ argument
[all …]
/titanic_41/usr/src/tools/protocmp/
H A Dproto_list.c76 check_line(char *v[], int lc) in check_line() argument
78 if ((!v[NAME]) || ((int)strlen(v[NAME]) < 1)) in check_line()
81 if ((!v[SRC]) || ((int)strlen(v[SRC])) < 1) in check_line()
84 if ((!v[PERM]) || ((int)strlen(v[PERM]) < 3) || (!is_num(v[PERM]))) in check_line()
87 if ((!v[OWNR]) || ((int)strlen(v[OWNR]) < 2)) in check_line()
90 if ((!v[GRP]) || ((int)strlen(v[GRP]) < 2)) in check_line()
93 if ((!v[INO]) || (!is_num(v[INO]))) in check_line()
96 if ((!v[LCNT]) || (!is_num(v[LCNT]))) in check_line()
99 if ((!v[CODE]) || ((*v[CODE] != 'f') && (*v[CODE] != 'c') && in check_line()
100 (*v[CODE] != 'd') && (*v[CODE] != 'b') && in check_line()
[all …]
/titanic_41/usr/src/lib/libsqlite/src/
H A Dinsert.c101 Vdbe *v; /* Generate code into this virtual machine */ in sqliteInsert() local
163 v = sqliteGetVdbe(pParse); in sqliteInsert()
164 if( v==0 ) goto insert_cleanup; in sqliteInsert()
184 iInitCode = sqliteVdbeAddOp(v, OP_Goto, 0, 0); in sqliteInsert()
185 iSelectLoop = sqliteVdbeCurrentAddr(v); in sqliteInsert()
186 iInsertBlock = sqliteVdbeMakeLabel(v); in sqliteInsert()
189 iCleanup = sqliteVdbeMakeLabel(v); in sqliteInsert()
190 sqliteVdbeAddOp(v, OP_Goto, 0, iCleanup); in sqliteInsert()
205 int addr = sqliteVdbeFindOp(v, OP_OpenRead, pTab->tnum); in sqliteInsert()
208 VdbeOp *pOp = sqliteVdbeGetOp(v, addr-2); in sqliteInsert()
[all …]
H A Dpragma.c133 Vdbe *v; in flagPragma() local
134 if( strcmp(zLeft,zRight)==0 && (v = sqliteGetVdbe(pParse))!=0 ){ in flagPragma()
135 sqliteVdbeOp3(v, OP_ColumnName, 0, 1, aPragma[i].zName, P3_STATIC); in flagPragma()
136 sqliteVdbeOp3(v, OP_ColumnName, 1, 0, "boolean", P3_STATIC); in flagPragma()
137 sqliteVdbeCode(v, OP_Integer, (db->flags & aPragma[i].mask)!=0, 0, in flagPragma()
166 Vdbe *v = sqliteGetVdbe(pParse); in sqlitePragma() local
167 if( v==0 ) return; in sqlitePragma()
213 addr = sqliteVdbeAddOpList(v, ArraySize(getCacheSize), getCacheSize); in sqlitePragma()
214 sqliteVdbeChangeP1(v, addr+5, MAX_PAGES); in sqlitePragma()
219 sqliteVdbeAddOp(v, OP_Integer, size, 0); in sqlitePragma()
[all …]
H A Ddelete.c64 Vdbe *v; /* The virtual database engine */ in sqliteDeleteFrom() local
144 v = sqliteGetVdbe(pParse); in sqliteDeleteFrom()
145 if( v==0 ){ in sqliteDeleteFrom()
163 sqliteVdbeAddOp(v, OP_Integer, 0, 0); in sqliteDeleteFrom()
174 int endOfLoop = sqliteVdbeMakeLabel(v); in sqliteDeleteFrom()
177 sqliteVdbeAddOp(v, OP_Integer, pTab->iDb, 0); in sqliteDeleteFrom()
178 sqliteVdbeAddOp(v, OP_OpenRead, iCur, pTab->tnum); in sqliteDeleteFrom()
180 sqliteVdbeAddOp(v, OP_Rewind, iCur, sqliteVdbeCurrentAddr(v)+2); in sqliteDeleteFrom()
181 addr = sqliteVdbeAddOp(v, OP_AddImm, 1, 0); in sqliteDeleteFrom()
182 sqliteVdbeAddOp(v, OP_Next, iCur, addr); in sqliteDeleteFrom()
[all …]
H A Dupdate.c41 Vdbe *v; /* The virtual database engine */ in sqliteUpdate() local
215 v = sqliteGetVdbe(pParse); in sqliteUpdate()
216 if( v==0 ) goto update_cleanup; in sqliteUpdate()
236 sqliteVdbeAddOp(v, OP_ListWrite, 0, 0); in sqliteUpdate()
245 sqliteVdbeAddOp(v, OP_Integer, 0, 0); in sqliteUpdate()
251 sqliteVdbeAddOp(v, OP_OpenPseudo, oldIdx, 0); in sqliteUpdate()
252 sqliteVdbeAddOp(v, OP_OpenPseudo, newIdx, 0); in sqliteUpdate()
256 sqliteVdbeAddOp(v, OP_ListRewind, 0, 0); in sqliteUpdate()
257 sqliteVdbeAddOp(v, OP_StackDepth, 0, 0); in sqliteUpdate()
258 sqliteVdbeAddOp(v, OP_MemStore, iStackDepth, 1); in sqliteUpdate()
[all …]
/titanic_41/usr/src/cmd/fm/fminject/common/
H A Dinj_hash.c58 inj_var_t *v = inj_alloc(sizeof (inj_var_t)); in inj_var_alloc() local
60 v->v_next = next; in inj_var_alloc()
61 v->v_key = key; in inj_var_alloc()
62 v->v_uvalue = value; in inj_var_alloc()
64 return (v); in inj_var_alloc()
68 inj_var_free(inj_var_t *v, void (*freefn)(inj_var_t *, void *), void *arg) in inj_var_free() argument
71 freefn(v, arg); in inj_var_free()
73 inj_free(v, sizeof (inj_var_t)); in inj_var_free()
79 inj_var_t *v, *w; in inj_hash_destroy() local
83 for (v = h->h_hash[i]; v != NULL; v = w) { in inj_hash_destroy()
[all …]
/titanic_41/usr/src/common/crypto/aes/amd64/
H A Daeskey.c239 #define v(n, i) ((n) - (i) + 2 * ((i) & 3)) macro
241 #define v(n, i) (i) macro
255 { k[v(40, (4 * (i)) + 4)] = ss[0] ^= ls_box(ss[3], 3) ^ t_use(r, c)[i]; \
256 k[v(40, (4 * (i)) + 5)] = ss[1] ^= ss[0]; \
257 k[v(40, (4 * (i)) + 6)] = ss[2] ^= ss[1]; \
258 k[v(40, (4 * (i)) + 7)] = ss[3] ^= ss[2]; \
269 ss[4] ^= k[v(40, (4 * (i)))]; k[v(40, (4 * (i)) + 4)] = ff(ss[4]); \
270 ss[4] ^= k[v(40, (4 * (i)) + 1)]; k[v(40, (4 * (i)) + 5)] = ff(ss[4]); \
271 ss[4] ^= k[v(40, (4 * (i)) + 2)]; k[v(40, (4 * (i)) + 6)] = ff(ss[4]); \
272 ss[4] ^= k[v(40, (4 * (i)) + 3)]; k[v(40, (4 * (i)) + 7)] = ff(ss[4]); \
[all …]
/titanic_41/usr/src/cmd/eqn/eqnchar.d/
H A Deqnchar2 tdefine ciplus % "\(pl\h'-\w'\(pl\^'u'\v'.3n'\(ci\v'-.3n'" %
4 tdefine citimes % "\(mu\h'-\w'\(mu\^'u'\v'.3n'\(ci\v'-.3n'" %
8 tdefine bigstar %{ roman "\v'.5n'\s+4*\s-4\v'-.5n'"}%
10 tdefine =dot % "\z\s+2\(eq\s-2\v'-.6m'\h'.2m'\s+2.\s-2\v'.6m'\h'.1m'" %
16 tdefine =del % "\v'.3m'\z=\v'-.6m'\h'.3n'\s-2\(*D\s+2\v'.3m'" %
18 tdefine oppA % "\v'-.3n'\z\(mi\v'.3n'\e\s+1\(sl\s-1" %
20 tdefine oppE %"\s-3\v'.2m'\z\(em\v'-.5m'\z\(em\v'-.5m'\z\(em\v'.55m'\h'.9m'\z\(br\z\(br\v'.25m'\s+3…
22 tdefine incl % "\s-2\(or\v'-.4m'\z\(em\v'.75m'\z\(em\v'.2m'\(em\v'-.55m'\s+2" %
26 tdefine angstrom % "\fR\zA\v'-.3m'\h'.2m'\(de\v'.3m'\fP\h'.2m'" %
28 tdefine star %{ roman "\v'.5n'\s+2*\s-2\v'-.5n'"}%
[all …]
/titanic_41/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_varian.c222 struct variant *v; in __m_setinvariant() local
235 if ((v = getsyntx()) == NULL) in __m_setinvariant()
242 __m_invariant[v->backslash] = '\\'; in __m_setinvariant()
243 __m_invariant[v->right_bracket] = ']'; in __m_setinvariant()
244 __m_invariant[v->left_bracket] = '['; in __m_setinvariant()
245 __m_invariant[v->right_brace] = '}'; in __m_setinvariant()
246 __m_invariant[v->left_brace] = '{'; in __m_setinvariant()
247 __m_invariant[v->circumflex] = '^'; in __m_setinvariant()
248 __m_invariant[v->tilde] = '~'; in __m_setinvariant()
249 __m_invariant[v->exclamation_mark] = '!'; in __m_setinvariant()
[all …]
/titanic_41/usr/src/cmd/sgs/elfdump/common/
H A Dstruct_layout.c86 sl_data_t v; in sl_extract_as_word() local
89 sl_extract_num_field(data, do_swap, fdesc, &v); in sl_extract_as_word()
94 return ((Word) v.sld_i8); in sl_extract_as_word()
96 return ((Word) v.sld_i16); in sl_extract_as_word()
98 return ((Word) v.sld_i32); in sl_extract_as_word()
100 return ((Word) v.sld_i64); in sl_extract_as_word()
105 return ((Word) v.sld_ui8); in sl_extract_as_word()
107 return ((Word) v.sld_ui16); in sl_extract_as_word()
109 return ((Word) v.sld_ui32); in sl_extract_as_word()
111 return ((Word) v.sld_ui64); in sl_extract_as_word()
[all …]
/titanic_41/usr/src/lib/libpcidb/common/
H A Dpcidb.c114 pcihdl_add_vendor(pcidb_hdl_t *hdl, pcidb_vendor_t *v) in pcihdl_add_vendor() argument
117 hdl->ph_vstart = v; in pcihdl_add_vendor()
118 hdl->ph_vend = v; in pcihdl_add_vendor()
119 v->pv_prev = NULL; in pcihdl_add_vendor()
120 v->pv_next = NULL; in pcihdl_add_vendor()
122 v->pv_prev = hdl->ph_vend; in pcihdl_add_vendor()
123 v->pv_next = NULL; in pcihdl_add_vendor()
124 hdl->ph_vend->pv_next = v; in pcihdl_add_vendor()
125 hdl->ph_vend = v; in pcihdl_add_vendor()
132 pcidb_vendor_t *v; in parse_vendor() local
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dvtoc.h151 #define extvtoctovtoc(extv, v) \ argument
154 v.v_bootinfo[0] = (unsigned long)extv.v_bootinfo[0]; \
155 v.v_bootinfo[1] = (unsigned long)extv.v_bootinfo[1]; \
156 v.v_bootinfo[2] = (unsigned long)extv.v_bootinfo[2]; \
157 v.v_sanity = (unsigned long)extv.v_sanity; \
158 v.v_version = (unsigned long)extv.v_version; \
159 bcopy(extv.v_volume, v.v_volume, LEN_DKL_VVOL); \
160 v.v_sectorsz = extv.v_sectorsz; \
161 v.v_nparts = extv.v_nparts; \
163 v.v_reserved[i] = (unsigned long)extv.v_reserved[i]; \
[all …]
/titanic_41/usr/src/cmd/stat/kstat/
H A Dkstat.h69 ks_value_t v; \
70 v.ui64 = S->N; \
71 nvpair_insert(I, #N, &v, KSTAT_DATA_UINT64); \
76 ks_value_t v; \
77 v.i32 = S->N; \
78 nvpair_insert(I, #N, &v, KSTAT_DATA_INT32); \
83 ks_value_t v; \
84 v.ui32 = S->N; \
85 nvpair_insert(I, #N, &v, KSTAT_DATA_UINT32); \
90 ks_value_t v; \
[all …]
/titanic_41/usr/src/lib/libast/common/string/
H A Dstropt.c60 register char* v; in stropt() local
93 for (v = s; *t && *t++ == *v; v++); in stropt()
94 if (!*t || isspace(*v) || *v == ',' || *v == '=') in stropt()
96 if (*v == ':' && *(v + 1) == '=') in stropt()
98 v++; in stropt()
105 u = v = s; in stropt()
111 p = (char**)(v = s); in stropt()
114 while (*v && !isspace(*v) && *v != '=' && *v != ',') in stropt()
115 if (*v++ == ':' && *v == '=') in stropt()
118 *(v - 1) = 0; in stropt()
[all …]
H A Dstrelapsed.c41 register unsigned long v; in strelapsed() local
64 v = 0; in strelapsed()
66 v = v * 10 + c - '0'; in strelapsed()
67 v *= n; in strelapsed()
87 v += f; in strelapsed()
91 v *= 20 * 12 * 4 * 7 * 24 * 60 * 60; in strelapsed()
95 v *= 12 * 4 * 7 * 24 * 60 * 60; in strelapsed()
99 v *= 60; in strelapsed()
101 v *= 4 * 7 * 24 * 60 * 60; in strelapsed()
104 v *= 7 * 24 * 60 * 60; in strelapsed()
[all …]
/titanic_41/usr/src/cmd/csh/
H A Dsh.func.c54 static int getval(struct limits *lp, tchar **v, rlim_t *);
62 void echo(tchar sep, tchar **v);
153 doonintr(tchar **v) in doonintr() argument
156 tchar *vv = v[1]; in doonintr()
219 doalias(tchar **v) in doalias() argument
227 v++; in doalias()
228 p = *v++; in doalias()
231 } else if (*v == 0) { in doalias()
242 set1(strip(p), saveblk(v), &aliases); in doalias()
247 unalias(tchar **v) in unalias() argument
[all …]
/titanic_41/usr/src/lib/libcpc/i386/
H A Dconf_pentium.c74 #define P5_EVENTS(v) \ argument
75 {v, 0x0, "data_read"}, \
76 {v, 0x1, "data_write"}, \
77 {v, 0x2, "data_tlb_miss"}, \
78 {v, 0x3, "data_read_miss"}, \
79 {v, 0x4, "data_write_miss"}, \
80 {v, 0x5, "write_hit_to_M_or_E"}, \
81 {v, 0x6, "dcache_lines_wrback"}, \
82 {v, 0x7, "external_snoops"}, \
83 {v, 0x8, "external_dcache_snoop_hits"}, \
[all …]
/titanic_41/usr/src/lib/libscf/common/
H A Dscf_type.c85 #define UTF8_VALUE_UPDATE(v, c) \ argument
86 (((v) << 6) | ((c) & UTF8_BOTTOM_N(6)))
107 uint32_t v; in valid_utf8() local
121 v = UTF8_HEAD_VALUE(c, n); in valid_utf8()
128 v = UTF8_VALUE_UPDATE(v, c); in valid_utf8()
135 if ((v >> (UTF8_BITS(n - 1))) == 0) in valid_utf8()
355 valid_encoded_value(rep_protocol_value_type_t t, const char *v) in valid_encoded_value() argument
362 return ((*v == '0' || *v == '1') && v[1] == 0); in valid_encoded_value()
366 if (strtoull(v, &p, 10) != 0 && *v == '0') in valid_encoded_value()
368 return (errno == 0 && p != v && *p == 0); in valid_encoded_value()
[all …]
/titanic_41/usr/src/cmd/rmvolmgr/
H A Drmvolmgr.c300 managed_volume_t *v; in rmm_managed_alloc() local
302 if ((v = calloc(1, sizeof (managed_volume_t))) == NULL) { in rmm_managed_alloc()
305 if ((v->udi = strdup(udi)) == NULL) { in rmm_managed_alloc()
306 free(v); in rmm_managed_alloc()
309 if (!rmm_volume_aa_from_prop(ctx, udi, NULL, &v->aa)) { in rmm_managed_alloc()
310 free(v->udi); in rmm_managed_alloc()
311 free(v); in rmm_managed_alloc()
315 return (v); in rmm_managed_alloc()
319 rmm_managed_free(managed_volume_t *v) in rmm_managed_free() argument
321 rmm_volume_aa_free(&v->aa); in rmm_managed_free()
[all …]
/titanic_41/usr/src/lib/libeti/form/common/
H A Dty_enum.c88 char ** v; in make_enum() local
94 for (v = n -> list; *v; ++v) in make_enum()
96 n -> count = (int) (v - n -> list); in make_enum()
122 cmp(char *x, char *v, int checkcase) in cmp() argument
124 while (*v && *v == ' ') /* remove leading blanks */ in cmp()
125 ++v; in cmp()
129 if (*v == '\0') in cmp()
133 while (*x++ == *v) in cmp()
134 if (*v++ == '\0') in cmp()
137 while (toupper (*x++) == toupper (*v)) in cmp()
[all …]

12345678910>>...68