/osnet-11/usr/src/lib/libuutil/common/ |
H A D | uu_pname.c | 41 static const char *pname; variable 88 if (pname != NULL) 89 (void) fprintf(stderr, PNAME_FMT, pname); 174 pname = getexecname(); 175 if (pname == NULL) 176 pname = "unknown_command"; 177 return (pname); 186 pname = arg0; 194 pname = p + 1; 199 return (pname); [all...] |
/osnet-11/usr/src/lib/libnisdb/yptol/ |
H A D | shim_ancil.c | 206 * <name>.dir. pname is a ptr to the filename. This should be an absolute 220 ypcheck_map_existence_yptol(char *pname) argument 226 if (!pname || ((len = (int)strlen(pname)) == 0) || 235 (void) strcpy(dbfile, pname); 248 (void) strcpy(dbfile, pname); 262 (void) strcpy(dbfile, pname); 276 (void) strcpy(dbfile, pname);
|
/osnet-11/usr/src/lib/libshell/common/bltins/ |
H A D | misc.c | 103 const char *pname; local 142 pname = argv[0]; 153 path_exec(shp,pname,argv,NIL(struct argnod*));
|
/osnet-11/usr/src/lib/libdiskmgt/common/ |
H A D | partition.c | 105 char pname[MAXPATHLEN]; local 111 if (get_parts(desc->p.disk, iparts, pname, sizeof (pname)) != 0) { 125 len = strlen(pname); 126 if (len > 1 && *(pname + (len - 2)) == 'p') { 128 *(pname + (len - 1)) = 0; 164 "%s%d", pname, i+1); 203 "%s%d", pname, i+1); 361 char pname[MAXPATHLEN]; local 363 if (get_parts(dp, iparts, pname, sizeo [all...] |
H A D | disks_private.h | 83 char *pname; member in struct:bus_info
|
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlib.c | 365 dladm_part_persist_conf(dladm_handle_t handle, const char *pname, argument 374 status = dladm_create_conf(handle, pname, pattr->dia_partlinkid, 421 * Create a new IB Partition datalink of name 'pname' over the IB Physical link 431 datalink_id_t physlinkid, ib_pkey_t pkey, uint32_t flags, char *pname, 473 if ((status = dladm_create_datalink_id_zone(handle, pname, 492 status = dladm_part_persist_conf(handle, pname, &pattr); 533 ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, 537 pkey, flags, pname, partlinkid, proplist, B_FALSE)); 430 dladm_part_create_zone(dladm_handle_t handle, zoneid_t zoneid, datalink_id_t physlinkid, ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, dladm_arg_list_t *proplist, boolean_t anet) argument 532 dladm_part_create(dladm_handle_t handle, datalink_id_t physlinkid, ib_pkey_t pkey, uint32_t flags, char *pname, datalink_id_t *partlinkid, dladm_arg_list_t *proplist) argument
|
/osnet-11/usr/src/lib/fm/libasr/common/ |
H A D | asr_scf.c | 258 char *pname = name + pgname_len + 1; local 273 tx, prop->entry, pname)) != 0) { 384 char pname[ASR_NAME_BUFSIZE]; local 393 if (snprintf(pname, sizeof (pname), "%s/%s", pg, name) >= 394 sizeof (pname)) { 404 err = nvlist_add_boolean_value(nvl, pname, *val); 411 err = nvlist_add_uint64(nvl, pname, *val); 418 err = nvlist_add_int64(nvl, pname, *val); 428 err = nvlist_add_hrtime(nvl, pname, tim [all...] |
H A D | asr_nvl.c | 303 char *pname; local 311 pname = asr_buf_data(buf); 313 pname = name; 317 err = asr_nvl_print_prop_path(fp, val, pname);
|
H A D | asr_audit.c | 303 char *gname, *pname; local 314 pname = nvpair_name(nvp); 315 if (pname == NULL) 317 if (strcmp(TOPO_PROP_GROUP_NAME, pname) != 0) 355 edata, prop, &pname, val)) != 0) 357 if ((err = asr_buf_append(buf, "|%s|", pname)) != 0) 360 err = nvlist_add_string(std, pname, 364 out, 3, pname, asr_buf_data(val));
|
/osnet-11/usr/src/lib/fm/topo/modules/i86pc/chip/common/ |
H A D | chip_intel.c | 348 char *pname; local 419 pname = nvpair_name(nvp); 420 if (strcmp(pname, MCINTEL_NVLIST_MC) != 0 && 421 strcmp(pname, MCINTEL_NVLIST_NMEM) != 0 && 422 strcmp(pname, MCINTEL_NVLIST_NRANKS) != 0 && 423 strcmp(pname, MCINTEL_NVLIST_NDIMMS) != 0 && 424 strcmp(pname, MCINTEL_NVLIST_VERSTR) != 0 && 425 strcmp(pname, MCINTEL_NVLIST_MEM) != 0) {
|
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/ |
H A D | name.c | 578 const gss_name_t pname, /* principal */ 586 char *netname = (char *)pname; 589 if (pname == 0) 633 dh_principal pname = (dh_principal)input_name; local 658 + strlen(pname)+1; 722 memcpy(p, pname, strlen(pname) + 1); 576 __dh_pname_to_uid( OM_uint32 *minor, const gss_name_t pname, uid_t *uid ) argument
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/ccache/ |
H A D | ccfns.c | 205 char *pname = NULL; local 214 ret = krb5_unparse_name(context, principal, &pname); 221 conf_name, name, pname, (char *)NULL); 222 free(pname);
|
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | kuserok.c | 374 const gss_name_t pname, 381 if (pname == NULL || user == NULL) 395 if (! kg_validate_name(pname)) { 401 if (krb5_kuserok(ctxt, ((krb5_gss_name_t)pname)->princ, user)) { 373 krb5_gss_userok(OM_uint32 *minor, const gss_name_t pname, const char *user, int *user_ok) argument
|
H A D | an_to_ln.c | 723 char *pname; local 751 if (!(kret = krb5_unparse_name(context, aname, &pname))) { 752 if ((mname = aname_full_to_mapping_name(pname))) { 874 free(pname);
|
/osnet-11/usr/src/grub/grub2/grub-core/term/ |
H A D | serial.c | 160 char pname[40]; 168 grub_snprintf (pname, sizeof (pname), "com%ld", 170 name = pname; 175 grub_snprintf (pname, sizeof (pname), "port%lx", 177 name = pname; 159 char pname[40]; local
|
/osnet-11/usr/src/lib/fm/topo/libtopo/common/ |
H A D | svc.c | 343 char *pgroup, *pname; local 353 err |= nvlist_lookup_string(in, TOPO_PROP_VAL_NAME, &pname); 402 (void) topo_prop_getprop(svc_node, pgroup, pname, args, out, &err);
|
/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-probe.c | 265 char *pname = grub_partition_get_name (dev->disk->partition); local 266 printf ("%s,%s", drive, pname); 267 free (pname);
|
/osnet-11/usr/src/lib/libscf/common/ |
H A D | notify_params.c | 1041 add_prop_to_nvlist(scf_property_t *p, const char *pname, nvlist_t *nvl, argument 1049 if (p == NULL || pname == NULL || *pname == '\0' || nvl == NULL) { 1090 err = nvlist_add_boolean_value(nvl, pname, *v); 1092 err = nvlist_add_boolean_array(nvl, pname, 1104 err = nvlist_add_uint64(nvl, pname, 1107 err = nvlist_add_uint64_array(nvl, pname, 1116 err = nvlist_add_int64(nvl, pname, 1119 err = nvlist_add_int64_array(nvl, pname, 1128 err = nvlist_add_string(nvl, pname, [all...] |
/osnet-11/usr/src/lib/libndmp/common/ |
H A D | libndmp_prop.c | 459 ndmp_smf_get_pg_name(ndmp_scfhandle_t *h, char *pname, char **pgname) argument 481 if ((scf_pg_get_property(h->scf_pg, pname, prop)) != 0) {
|
/osnet-11/usr/src/lib/libntsvcs/common/ |
H A D | svcctl_scm.c | 244 scf_instance_t *inst, const char *pname, char *buf, size_t buf_sz) 246 if (svcctl_scm_inst_get_val(mgr_ctx, inst, SCF_PG_RESTARTER, pname, 243 svcctl_scm_get_restarter_string_prop(svcctl_manager_context_t *mgr_ctx, scf_instance_t *inst, const char *pname, char *buf, size_t buf_sz) argument
|
/osnet-11/usr/src/lib/libparted/common/libparted/arch/ |
H A D | solaris.c | 1298 char *pname; local 1307 pname = dp->d_name + strlen(dp->d_name) - 2; 1308 if (strcmp(pname, "p0") == 0) {
|
/osnet-11/usr/src/lib/libpicl/ |
H A D | picl.c | 812 picl_find_node(picl_nodehdl_t rooth, char *pname, picl_prop_type_t ptype, argument 824 if (strlen(pname) >= PICL_PROPNAMELEN_MAX) 826 (void) strncpy(req->propname, pname, PICL_PROPNAMELEN_MAX);
|
/osnet-11/usr/src/lib/libpicltree/ |
H A D | ptree_impl.h | 106 char *pname; member in struct:prop_list 231 const char *pname, ptree_propinfo_t *pinfo);
|
/osnet-11/usr/src/lib/libipadm/common/ |
H A D | ipadm_cong.c | 291 char pname[MAXPROPNAMELEN]; local 321 if (scf_property_get_name(prop, pname, sizeof (pname)) == -1 || 325 status = i_ipadm_cong_enlist_prop(pname, vstr, prop_list, pool); 543 * Return B_TRUE if 'pname' is one and return algorithm name as 'alg'. 547 ipadm_cong_is_privprop(const char *pname, char **alg) argument 555 if (strncmp(pname, pre, prelen) != 0) 559 palg = pname + prelen; 580 ipadm_cong_get_persist_propval(const char *alg, const char *pname, argument 591 if (pname[ 630 ipadm_cong_smf_set_prop(const char *alg, const char *pname, const char *buf, const char *proto_str) argument 720 ipadm_cong_smf_delete_prop(const char *alg, const char *pname, const char *buf, const char *proto_str) argument 789 ipadm_cong_persist_propval(const char *alg, const char *pname, const char *buf, const char *proto_str, uint_t flags) argument [all...] |
/osnet-11/usr/src/lib/efcode/engine/ |
H A D | properties.c | 224 char *pname; local 234 pname = pop_a_string(env, &plen); 239 prop = find_property(dev, pname); 248 push_a_string(env, pname);
|