Home
last modified time | relevance | path

Searched refs:cpg (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/cmd/svc/svccfg/
H A Dsvccfg_tmpl.c226 #define CPG2PG(cpg) (cpg->cpg_instance_pg ? cpg->cpg_instance_pg : \ argument
227 cpg->cpg_service_pg)
576 composed_pg_t *cpg; in composed_pg_create() local
578 cpg = safe_malloc(sizeof (*cpg)); in composed_pg_create()
579 uu_avl_node_init(cpg, &cpg->cpg_node, composed_pg_pool); in composed_pg_create()
580 return (cpg); in composed_pg_create()
584 composed_pg_destroy(composed_pg_t *cpg) in composed_pg_destroy() argument
589 if (cpg == NULL) in composed_pg_destroy()
592 if ((cpg->cpg_composed_props != NULL)) { in composed_pg_destroy()
593 while (uu_avl_teardown(cpg->cpg_composed_props, &marker) != in composed_pg_destroy()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/newfs/
H A Dnewfs.c120 static int cpg; /* cylinders/cylinder group */ variable
270 cpg = number("cpg", optarg, NR_NONE, 16); in main()
272 if (cpg < 1) in main()
476 cpg = 16; in main()
511 cpg = -1; /* says make cyl groups as big as possible */ in main()
565 if (cpg == 0) { in main()
578 cpg = (fssize / GBSEC) * 32; in main()
579 if (cpg > maxcpg) in main()
580 cpg = maxcpg; in main()
581 if (cpg <= 0) in main()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c499 long cpg; /* cylinders/cylinder group */ variable
691 cpg = number(DESCPG, "cgsize", 0); in main()
974 cpg = number(DESCPG, "cgsize", 0); in main()
1031 cpg = DESCPG; in main()
1033 dprintf(("DeBuG cpg : %ld\n", cpg)); in main()
1228 geom_cpg = cpg; in main()
1239 cpg = DESCPG; in main()
1244 cpg = geom_cpg; in main()
1357 dprintf(("DeBuG cpg : %ld\n", cpg)); in main()
1363 if (cpg == -1 || (mtb == 'y' && cpg_flag == RC_DEFAULT)) in main()
[all …]
/titanic_41/usr/src/cmd/svc/configd/
H A Drc_node.c2187 rc_node_setup_cpg(rc_node_t *cpg, rc_node_t *pg1, rc_node_t *pg2) in rc_node_setup_cpg() argument
2192 cpg->rn_id.rl_type = REP_PROTOCOL_ENTITY_CPROPERTYGRP; in rc_node_setup_cpg()
2193 cpg->rn_name = strdup(pg1->rn_name); in rc_node_setup_cpg()
2194 if (cpg->rn_name == NULL) in rc_node_setup_cpg()
2197 cpg->rn_cchain[0] = pg1; in rc_node_setup_cpg()
2198 cpg->rn_cchain[1] = pg2; in rc_node_setup_cpg()
3273 rc_node_t *cpg = NULL; in rc_node_update() local
3282 cpg = np; in rc_node_update()
3320 if (nnp != np && cpg == NULL) in rc_node_update()
3329 if (nnp != np && cpg == NULL) in rc_node_update()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c2074 scf_propertygroup_t *instpg = NULL, *cpg = NULL; in ra_set_prop_from_string() local
2114 if (ra_get_pg(h, inst, pgname, B_TRUE, B_FALSE, &cpg) == -1) in ra_set_prop_from_string()
2118 if ((typelen = scf_pg_get_type(cpg, NULL, 0) + 1) == 0) in ra_set_prop_from_string()
2125 (void) scf_pg_get_type(cpg, pgtype, typelen); in ra_set_prop_from_string()
2211 if (cpg != NULL) in ra_set_prop_from_string()
2212 scf_pg_destroy(cpg); in ra_set_prop_from_string()