Searched refs:pg2 (Results 1 - 6 of 6) sorted by relevance

/illumos-gate/usr/src/cmd/perl/contrib/Sun/Solaris/Pg/
H A DPg.pm433 my $pg2 = _pg_get($c2, $id) or return;
438 return unless ($pg1->{util_time_running} && $pg2->{util_time_running});
443 return unless $pg1->{generation} eq $pg2->{generation};
445 my $u2 = $pg2->{util};
487 my $pg2 = _pg_get($c2, $id) or return;
490 return unless $pg1->{generation} eq $pg2->{generation};
495 $trun = abs($pg2->{util_time_running} -
497 $tstop = abs($pg2->{util_time_stopped} -
522 my $pg2 = _pg_get($c2, $id) or return;
524 return unless $pg1->{generation} eq $pg2
[all...]
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_internal.c1407 pg_attrs_equal(const pgroup_t *pg1, const pgroup_t *pg2, const char *fmri, argument
1410 if (strcmp(pg1->sc_pgroup_name, pg2->sc_pgroup_name) != 0) {
1415 if (pg1->sc_pgroup_flags != pg2->sc_pgroup_flags) {
1429 if (strcmp(pg1->sc_pgroup_type, pg2->sc_pgroup_type) != 0) {
1447 pg_equal(pgroup_t *pg1, pgroup_t *pg2) argument
1451 if (!pg_attrs_equal(pg1, pg2, NULL, 0))
1455 uu_list_numnodes(pg2->sc_pgroup_props))
1459 p2 = uu_list_first(pg2->sc_pgroup_props);
1468 p2 = uu_list_next(pg2->sc_pgroup_props, p2);
H A Dsvccfg_libscf.c2854 * Report the reasons why we can't upgrade pg2 to pg1.
2857 report_pg_diffs(const pgroup_t *pg1, const pgroup_t *pg2, const char *fmri, argument
2862 assert(strcmp(pg1->sc_pgroup_name, pg2->sc_pgroup_name) == 0);
2864 if (!pg_attrs_equal(pg1, pg2, fmri, new))
2870 p2 = uu_list_find(pg2->sc_pgroup_props, p1, NULL, NULL);
2888 * Since pg1 should be from the manifest, any properties in pg2 which
3201 const char *s2, *i2, *pg2; local
3213 if (scf_parse_svc_fmri(imp_fe2, NULL, &s2, &i2, &pg2, NULL) != 0)
3216 if (s2 == NULL || pg2 != NULL)
/illumos-gate/usr/src/cmd/format/
H A Dmenu_scsi.c436 struct mode_page *pg2; local
475 pg2 = (struct mode_page *)changeable;
476 length = min(MODESENSE_PAGE_LEN(pg), MODESENSE_PAGE_LEN(pg2));
/illumos-gate/usr/src/uts/common/disp/
H A Dcmt.c269 * the pg2 relationship.
272 pg_cmt_hier_rank(pg_cmt_t *pg1, pg_cmt_t *pg2) argument
275 pghw_type_t hw2 = ((pghw_t *)pg2)->pghw_hw;
282 return (pg2);
293 return (pg2);
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c2178 * property groups pg1 & pg2. It is ephemeral: once created & returned for an
2183 * pg1 & pg2 should be held before entering this function. They will be
2187 rc_node_setup_cpg(rc_node_t *cpg, rc_node_t *pg1, rc_node_t *pg2) argument
2189 if (strcmp(pg1->rn_type, pg2->rn_type) != 0)
2198 cpg->rn_cchain[1] = pg2;

Completed in 145 milliseconds