/titanic_51/usr/src/common/ctf/ |
H A D | ctf_types.c | 203 * Format an integer type; if a vname is specified, we need to insert it prior 208 ctf_format_int(ctf_decl_t *cd, const char *vname, const char *qname, in ctf_format_int() argument 213 if (vname == NULL) { in ctf_format_int() 223 return (vname); in ctf_format_int() 227 ctf_decl_sprintf(cd, "%.*s %s%s", c - name, name, vname, c); in ctf_format_int() 233 const char *vname, ctf_id_t id, int want_func_args) in ctf_format_func() argument 239 ctf_decl_sprintf(cd, "%s(", vname == NULL ? "" : vname); in ctf_format_func() 280 * "vname" is an optional variable name or similar, so array suffix formatting, 286 const char *vname, cons in ctf_type_qlname() argument [all...] |
/titanic_51/usr/src/cmd/dtrace/test/tst/common/privs/ |
H A D | tst.procpriv.ksh | 53 #define CANREADVAR(vname) \ 54 BEGIN { errmsg = "can't read vname"; printf("vname: "); \ 55 trace(vname); printf("\n"); } 57 #define CANTREADVAR(vname) \ 58 BEGIN { errmsg = ""; trace(vname); \ 59 printf("\nable to successfully read vname!"); exit(1); } 61 #define MIGHTREADVAR(vname) \ 62 BEGIN { errmsg = ""; printf("vname: "); trace(vname); print [all...] |
/titanic_51/usr/src/lib/libdtrace/common/ |
H A D | dt_dis.c | 134 const char *vname; in dt_dis_lda() local 139 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL) in dt_dis_lda() 140 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname); in dt_dis_lda() 147 const char *vname; in dt_dis_ldv() local 152 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL) in dt_dis_ldv() 153 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname); in dt_dis_ldv() 160 const char *vname; in dt_dis_stv() local 165 if ((vname = dt_dis_varname(dp, var, dt_dis_scope(name))) != NULL) in dt_dis_stv() 166 (void) fprintf(fp, "\t\t! DT_VAR(%u) = \"%s\"", var, vname); in dt_dis_stv()
|
H A D | dt_printf.c | 1058 char vname[64]; in dt_printf_validate() local 1110 (void) strlcpy(vname, "aggregating action", in dt_printf_validate() 1111 sizeof (vname)); in dt_printf_validate() 1119 (void) snprintf(vname, sizeof (vname), in dt_printf_validate() 1155 vname, i + 1, pfc->pfc_name, pfc->pfc_tstr, in dt_printf_validate()
|
/titanic_51/usr/src/cmd/mdb/common/modules/svc.startd/ |
H A D | startd.c | 257 char *vname; in pr_vertex() local 286 vname = mdb_alloc(1024, UM_SLEEP | UM_GC); in pr_vertex() 288 if (mdb_readstr(vname, 1024, (uintptr_t)gv.gv_name) == -1) { in pr_vertex() 290 strcpy(vname, "-"); in pr_vertex() 330 mdb_printf("%-10a %3x %c %c %s\n", addr, id, typechr, statechr, vname); in pr_vertex()
|
/titanic_51/usr/src/lib/libbe/common/ |
H A D | be_activate.c | 883 char *vname; in be_do_installboot_helper() local 928 vname = zpool_vdev_name(g_zfs, zphp, child, B_FALSE); in be_do_installboot_helper() 929 if (vname == NULL) { in be_do_installboot_helper() 984 "failed for device %s.\n"), vname); in be_do_installboot_helper() 998 free(vname); in be_do_installboot_helper() 1224 char *vname; in be_do_installboot() local 1336 vname = zpool_vdev_name(g_zfs, zphp, child[c], verbose); in be_do_installboot() 1337 if (vname == NULL) { in be_do_installboot() 1346 "device %s\n"), vname); in be_do_installboot() 1348 free(vname); in be_do_installboot() [all...] |
/titanic_51/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 364 char *vname; in print_vdev_tree() local 381 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_FALSE); in print_vdev_tree() 382 print_vdev_tree(zhp, vname, child[c], indent + 2, in print_vdev_tree() 384 free(vname); in print_vdev_tree() 423 const char *vname = zpool_prop_to_name(ZPOOL_PROP_VERSION); in add_prop_list() local 437 nvlist_exists(proplist, vname)) || in add_prop_list() 1180 char *vname; in print_status_config() local 1309 vname = zpool_vdev_name(g_zfs, zhp, child[c], B_TRUE); in print_status_config() 1310 print_status_config(zhp, vname, child[c], in print_status_config() 1312 free(vname); in print_status_config() 1327 char *type, *vname; print_import_config() local 2203 char *vname; print_vdev_stats() local 2798 char *vname; print_list_stats() local [all...] |
/titanic_51/usr/src/cmd/fmthard/ |
H A D | fmthard.c | 44 * -n <vname> Change volume name to <vname> 139 char *vname; in main() local 152 vname = NULL; in main() 182 vname = optarg; in main() 291 if (!dfile && !vname) in main() 331 if (vname) { in main() 332 n = MIN(strlen(vname) + 1, LEN_DKL_VVOL); in main() 334 (void) memcpy(disk_vtoc.v_volume, vname, n); in main() 340 vname, in main() [all...] |
/titanic_51/usr/src/cmd/mdb/common/modules/dtrace/ |
H A D | dof.c | 156 const char *vname; in dis_lda() local 161 if ((vname = dis_varname(dp, var, dis_scope(name))) != NULL) in dis_lda() 162 mdb_printf("\t\t! %s", vname); in dis_lda() 169 const char *vname; in dis_ldv() local 173 if ((vname = dis_varname(dp, var, dis_scope(name))) != NULL) in dis_ldv() 174 mdb_printf("\t\t! %s", vname); in dis_ldv() 181 const char *vname; in dis_stv() local 185 if ((vname = dis_varname(dp, var, dis_scope(name))) != NULL) in dis_stv() 186 mdb_printf("\t\t! %s", vname); in dis_stv()
|
/titanic_51/usr/src/cmd/rpcgen/ |
H A D | rpc_util.c | 412 make_argname(char *pname, char *vname) in make_argname() argument 417 nlen = strlen(pname) + strlen(vname) + strlen(ARGEXT) + 3; in make_argname() 423 (void) snprintf(name, nlen, "%s_%s_%s", locase(pname), vname, ARGEXT); in make_argname()
|
/titanic_51/usr/src/cmd/power/ |
H A D | handlers.c | 1010 char *vname; in ztop() local 1047 vname = zpool_vdev_name(lzfs, zpool_handle, child[0], B_FALSE); in ztop() 1048 if (vname == NULL) { in ztop() 1055 (void) strcat(diskname, vname); in ztop() 1056 free(vname); in ztop()
|
/titanic_51/usr/src/cmd/cdrw/ |
H A D | device.c | 408 vol_name_to_dev_node(char *vname, char *found) in vol_name_to_dev_node() argument 414 if (vname == NULL) in vol_name_to_dev_node() 417 p1 = hald_findname(vname); in vol_name_to_dev_node()
|
/titanic_51/usr/src/cmd/rmformat/ |
H A D | rmf_misc.c | 91 static int vol_name_to_dev_node(char *vname, char *found); 1558 vol_name_to_dev_node(char *vname, char *found) in vol_name_to_dev_node() argument 1564 if (vname == NULL) in vol_name_to_dev_node() 1567 (void) volmgt_check(vname); in vol_name_to_dev_node() 1568 p1 = media_findname(vname); in vol_name_to_dev_node()
|
/titanic_51/usr/src/lib/libshell/common/sh/ |
H A D | nvtree.c | 646 static void outval(char *name, const char *vname, struct Walk *wp) in outval() argument 651 if(*name!='.' || vname[strlen(vname)-1]==']') in outval() 653 if(!(np=nv_open(vname,wp->root,mode|NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_NOFAIL|wp->noscope))) in outval()
|
/titanic_51/usr/src/lib/libsqlite/test/ |
H A D | where.test | 718 proc tclvar_func {vname} {return [set ::$vname]} 733 proc tclvar_func {vname} { 734 upvar #0 $vname v
|
/titanic_51/usr/src/cmd/prtconf/ |
H A D | pdevinfo.c | 1954 const char *vname, *dname, *sname; in dump_pciid() local 1967 vname = unov; in dump_pciid() 2007 vname = pcidb_vendor_name(pciv); in dump_pciid() 2033 (void) printf(" value='%s'\n", vname); in dump_pciid()
|
/titanic_51/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | nvtree.c | 696 static void outval(char *name, const char *vname, struct Walk *wp) in outval() argument 701 if(*name!='.' || vname[strlen(vname)-1]==']') in outval() 703 if(!(np=nv_open(vname,wp->root,mode|NV_VARNAME|NV_NOADD|NV_NOASSIGN|NV_NOFAIL|wp->noscope))) in outval()
|
/titanic_51/usr/src/cmd/sa/ |
H A D | sadp.c | 175 #define FETCH_AAL(addr, var, len, vname)\ argument 177 (char *) var, len, vname)
|
/titanic_51/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 1559 char *vname; in print_vdev_tree() local 1574 vname = zpool_vdev_name(hdl, NULL, child[c], B_TRUE); in print_vdev_tree() 1575 print_vdev_tree(hdl, vname, child[c], indent + 2); in print_vdev_tree() 1576 free(vname); in print_vdev_tree()
|
/titanic_51/usr/src/boot/sys/boot/forth/ |
H A D | support.4th | 441 \ <vname> ::= <letter>{<letter>|<digit>|'_'|'-'|','} 442 \ <value> ::= '"'{<character_set>|'\'<anything>}'"' | <vname>
|