Home
last modified time | relevance | path

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

/illumos-gate/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 …]
/illumos-gate/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 …]
/illumos-gate/usr/src/cmd/fs.d/ufs/mkfs/
H A Dmkfs.c504 long cpg; /* cylinders/cylinder group */ variable
692 cpg = number(DESCPG, "cgsize", 0); in main()
975 cpg = number(DESCPG, "cgsize", 0); in main()
1032 cpg = DESCPG; in main()
1034 dprintf(("DeBuG cpg : %ld\n", cpg)); in main()
1229 geom_cpg = cpg; in main()
1240 cpg = DESCPG; in main()
1245 cpg = geom_cpg; in main()
1358 dprintf(("DeBuG cpg : %ld\n", cpg)); in main()
1364 if (cpg == -1 || (mtb == 'y' && cpg_flag == RC_DEFAULT)) in main()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c2177 rc_node_setup_cpg(rc_node_t *cpg, rc_node_t *pg1, rc_node_t *pg2) in rc_node_setup_cpg() argument
2182 cpg->rn_id.rl_type = REP_PROTOCOL_ENTITY_CPROPERTYGRP; in rc_node_setup_cpg()
2183 cpg->rn_name = strdup(pg1->rn_name); in rc_node_setup_cpg()
2184 if (cpg->rn_name == NULL) in rc_node_setup_cpg()
2187 cpg->rn_cchain[0] = pg1; in rc_node_setup_cpg()
2188 cpg->rn_cchain[1] = pg2; in rc_node_setup_cpg()
3263 rc_node_t *cpg = NULL; in rc_node_update() local
3272 cpg = np; in rc_node_update()
3310 if (nnp != np && cpg == NULL) in rc_node_update()
3319 if (nnp != np && cpg == NULL) in rc_node_update()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/
H A Drouteadm.c2072 scf_propertygroup_t *instpg = NULL, *cpg = NULL; in ra_set_prop_from_string() local
2112 if (ra_get_pg(h, inst, pgname, B_TRUE, B_FALSE, &cpg) == -1) in ra_set_prop_from_string()
2116 if ((typelen = scf_pg_get_type(cpg, NULL, 0) + 1) == 0) in ra_set_prop_from_string()
2123 (void) scf_pg_get_type(cpg, pgtype, typelen); in ra_set_prop_from_string()
2209 if (cpg != NULL) in ra_set_prop_from_string()
2210 scf_pg_destroy(cpg); in ra_set_prop_from_string()