Lines Matching refs:prop_id
1824 export_prop(FILE *of, int prop_num, char *prop_id) in export_prop() argument
1826 if (strlen(prop_id) == 0) in export_prop()
1835 pt_to_str(prop_num), prop_id); in export_prop()
2433 char *prop_id; in add_property() local
2476 prop_id = pp->pv_simple; in add_property()
2478 prop_id); in add_property()
2486 prop_id = list->lp_simple; in add_property()
2487 if (prop_id == NULL) in add_property()
2490 &in_progress_fstab, prop_id); in add_property()
3549 char *prop_id; in remove_property() local
3592 prop_id = pp->pv_simple; in remove_property()
3594 prop_id); in remove_property()
3602 prop_id = list->lp_simple; in remove_property()
3603 if (prop_id == NULL) in remove_property()
3606 &in_progress_fstab, prop_id); in remove_property()
4262 set_in_progress_nwiftab_address(char *prop_id, int prop_type) in set_in_progress_nwiftab_address() argument
4265 (void) strlcpy(in_progress_nwiftab.zone_nwif_address, prop_id, in set_in_progress_nwiftab_address()
4270 prop_id, in set_in_progress_nwiftab_address()
4278 char *prop_id; in set_func() local
4393 (prop_id = pp->pv_simple) == NULL)) { in set_func()
4411 if ((err = zonecfg_validate_zonename(prop_id)) != Z_OK) { in set_func()
4412 zone_perror(prop_id, err, B_TRUE); in set_func()
4416 (void) strlcpy(zone, prop_id, sizeof (zone)); in set_func()
4425 if ((err = zonecfg_set_name(handle, prop_id)) != Z_OK) { in set_func()
4430 zone_perror(prop_id, err, B_TRUE); in set_func()
4434 (void) strlcpy(zone, prop_id, sizeof (zone)); in set_func()
4444 if (validate_zonepath_syntax(prop_id) != Z_OK) { in set_func()
4448 if ((err = zonecfg_set_zonepath(handle, prop_id)) != Z_OK) in set_func()
4460 if ((err = zonecfg_set_brand(handle, prop_id)) != Z_OK) in set_func()
4466 if (strcmp(prop_id, "true") == 0) { in set_func()
4468 } else if (strcmp(prop_id, "false") == 0) { in set_func()
4483 if (strncmp("SUNW", prop_id, 4) == 0) { in set_func()
4500 if ((err = zonecfg_set_pool(handle, prop_id)) != Z_OK) in set_func()
4506 if ((err = zonecfg_set_limitpriv(handle, prop_id)) != Z_OK) in set_func()
4512 if ((err = zonecfg_set_bootargs(handle, prop_id)) != Z_OK) in set_func()
4518 if ((err = zonecfg_set_sched(handle, prop_id)) != Z_OK) in set_func()
4524 if (strcmp(prop_id, "shared") == 0) { in set_func()
4526 } else if (strcmp(prop_id, "exclusive") == 0) { in set_func()
4544 set_aliased_rctl(ALIAS_MAXLWPS, prop_type, prop_id); in set_func()
4547 set_aliased_rctl(ALIAS_MAXPROCS, prop_type, prop_id); in set_func()
4550 set_aliased_rctl(ALIAS_MAXSHMMEM, prop_type, prop_id); in set_func()
4553 set_aliased_rctl(ALIAS_MAXSHMIDS, prop_type, prop_id); in set_func()
4556 set_aliased_rctl(ALIAS_MAXMSGIDS, prop_type, prop_id); in set_func()
4559 set_aliased_rctl(ALIAS_MAXSEMIDS, prop_type, prop_id); in set_func()
4562 set_aliased_rctl(ALIAS_SHARES, prop_type, prop_id); in set_func()
4565 if ((err = zonecfg_set_hostid(handle, prop_id)) != Z_OK) { in set_func()
4568 prop_id); in set_func()
4578 if ((err = zonecfg_set_fs_allowed(handle, prop_id)) != Z_OK) in set_func()
4586 (void) strlcpy(in_progress_fstab.zone_fs_dir, prop_id, in set_func()
4591 prop_id, in set_func()
4596 prop_id, sizeof (in_progress_fstab.zone_fs_raw)); in set_func()
4599 if (!valid_fs_type(prop_id)) { in set_func()
4601 prop_id, pt_to_str(PT_TYPE)); in set_func()
4605 (void) strlcpy(in_progress_fstab.zone_fs_type, prop_id, in set_func()
4635 if (validate_net_address_syntax(prop_id, B_FALSE) in set_func()
4640 set_in_progress_nwiftab_address(prop_id, prop_type); in set_func()
4643 if (validate_net_physical_syntax(prop_id) != Z_OK) { in set_func()
4648 prop_id, in set_func()
4652 if (validate_net_address_syntax(prop_id, B_TRUE) in set_func()
4658 prop_id, in set_func()
4673 prop_id, in set_func()
4687 if (!zonecfg_valid_rctlname(prop_id)) { in set_func()
4689 "name."), prop_id, rt_to_str(RT_RCTL)); in set_func()
4693 prop_id, in set_func()
4724 prop_id, in set_func()
4729 prop_id, in set_func()
4734 prop_id, in set_func()
4749 prop_id, in set_func()
4764 lowp = prop_id; in set_func()
4765 if ((highp = strchr(prop_id, '-')) != NULL) in set_func()
4787 if (!zonecfg_valid_importance(prop_id)) { in set_func()
4795 prop_id, in set_func()
4819 if ((cap = strtof(prop_id, &unitp)) <= 0 || *unitp != '\0' || in set_func()
4836 if (!zonecfg_valid_memlimit(prop_id, &mem_cap)) { in set_func()
4868 if (!zonecfg_valid_memlimit(prop_id, &mem_cap)) { in set_func()
4905 if (!zonecfg_valid_memlimit(prop_id, &mem_cap)) { in set_func()
4930 prop_id, in set_func()
4935 prop_id, in set_func()
4965 (void) strlcpy(propstr, prop_id, ZONECFG_SECFLAGS_MAX); in set_func()