Home
last modified time | relevance | path

Searched refs:prop (Results 126 – 150 of 554) sorted by relevance

12345678910>>...23

/illumos-gate/usr/src/lib/fm/libfmnotify/common/
H A Dlibfmnotify.c178 scf_property_t *prop = NULL; in nd_get_astring_prop() local
191 prop = scf_property_create(handle); in nd_get_astring_prop()
193 if (prop == NULL || value == NULL) { in nd_get_astring_prop()
197 if (scf_pg_get_property(pg, propname, prop) == -1 || in nd_get_astring_prop()
198 scf_property_get_value(prop, value) == -1 || in nd_get_astring_prop()
209 scf_property_destroy(prop); in nd_get_astring_prop()
222 scf_property_t *prop = NULL; in nd_get_boolean_prop() local
234 prop = scf_property_create(handle); in nd_get_boolean_prop()
236 if (prop == NULL || value == NULL) { in nd_get_boolean_prop()
241 scf_property_get_value(prop, value) == -1 || in nd_get_boolean_prop()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzcp_synctask.c309 zfs_prop_t prop = zfs_name_to_prop(args->zipa_prop); in zcp_synctask_inherit_prop_check() local
311 if (prop == ZPROP_INVAL) { in zcp_synctask_inherit_prop_check()
318 if (zfs_prop_readonly(prop)) in zcp_synctask_inherit_prop_check()
321 if (!zfs_prop_inheritable(prop)) in zcp_synctask_inherit_prop_check()
345 const char *prop = lua_tostring(state, 2); in zcp_synctask_inherit_prop() local
348 zipa.zipa_prop = prop; in zcp_synctask_inherit_prop()
352 fnvlist_add_boolean(dpsa->dpsa_props, prop); in zcp_synctask_inherit_prop()
390 const char *prop = lua_tostring(state, 2); in zcp_synctask_set_prop() local
395 args.prop = prop; in zcp_synctask_set_prop()
H A Dzcp_set.c58 const char *prop_name = args->prop; in zcp_set_prop_check()
76 fnvlist_add_string(nvl, args->prop, args->val); in zcp_set_prop_check()
93 const char *prop_name = args->prop; in zcp_set_prop_sync()
/illumos-gate/usr/src/lib/libc/amd64/sys/
H A Duadmin.c120 scf_simple_prop_t *prop = NULL; in check_archive_update() local
137 prop = real_scf_simple_prop_get(NULL, fmri, "config", in check_archive_update()
139 if (prop) { in check_archive_update()
140 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != in check_archive_update()
144 real_scf_simple_prop_free(prop); in check_archive_update()
/illumos-gate/usr/src/lib/libc/i386/sys/
H A Duadmin.c119 scf_simple_prop_t *prop = NULL; in check_archive_update() local
136 prop = real_scf_simple_prop_get(NULL, fmri, "config", in check_archive_update()
138 if (prop) { in check_archive_update()
139 if ((ret_val = real_scf_simple_prop_next_boolean(prop)) != in check_archive_update()
143 real_scf_simple_prop_free(prop); in check_archive_update()
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dsun4u_memlist.c54 struct memlist *fill_memlists(char *name, char *prop, struct memlist *);
75 fill_memlists(char *name, char *prop, struct memlist *old) in fill_memlists() argument
110 if ((links = prom_getproplen(node, prop)) == -1) in fill_memlists()
114 name, prop); in fill_memlists()
120 (void) prom_getprop(node, prop, (caddr_t)pm); in fill_memlists()
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_set/
H A Duser_property_002_pos.ksh73 typeset prop=$1
78 typeset inherited_value=$(get_prop $prop $inherited_dtst)
80 typeset value=$(get_prop $prop $dtst)
81 typeset source=$(get_source $prop $dtst)
/illumos-gate/usr/src/lib/libslp/javalib/com/sun/slp/
H A DSLPConfig.java116 String prop = tk.nextToken().trim(); in load() local
130 this.setProperty(prop, def); in load()
310 int i = Integer.getInteger(prop, df).intValue(); in getIntProperty()
364 if (prop > 0 && prop < iMinDisc) { in getActiveDiscoveryInterval()
371 return prop; in getActiveDiscoveryInterval()
483 private Vector getAttributes(String prop, in getAttributes() argument
487 System.getProperty(prop); in getAttributes()
536 new Object[] {prop, attrs}); in getAttributes()
552 new Object[] {prop, attrList}); in getAttributes()
898 String sScopes = System.getProperty(prop); in initializeScopes()
[all …]
/illumos-gate/usr/src/cmd/make/bin/
H A Dfiles.cc103 (get_prop(target->prop, member_prop) != NULL)) { in exists()
158 (get_prop(target->prop, time_prop) == NULL)) { in exists()
517 if(plain_file->prop) { in read_dir()
518 Property sprop = get_prop(plain_file->prop,sccs_prop); in read_dir()
574 Property prop; in enter_file_name() local
591 prop = maybe_append_prop(name, member_prop); in enter_file_name()
592 prop->body.member.library = GETNAME(library, FIND_LENGTH); in enter_file_name()
593 prop->body.member.library->stat.is_file = true; in enter_file_name()
594 prop->body.member.entry = NULL; in enter_file_name()
595 prop->body.member.member = GETNAME(name_string, FIND_LENGTH); in enter_file_name()
[all …]
H A Dnse_printdep.cc125 line = get_prop(name->prop, line_prop); in print_more_deps()
134 get_prop(dependencies->name->prop, line_prop)); in print_more_deps()
185 get_prop(dep->name->prop, line_prop)); in print_deps()
205 line2 = get_prop(dep->name->prop, line_prop); in is_out_of_date()
292 line = get_prop(np->prop, line_prop); in print_forest()
331 if (((line= get_prop(target->prop, line_prop)) == NULL) || in print_rule()
/illumos-gate/usr/src/psm/promif/ieee1275/sun4/
H A Dprom_mem.c194 prom_phys_installed(caddr_t prop) in prom_phys_installed() argument
196 return (prom_getprop(prom_mem_phandle(), "reg", prop)); in prom_phys_installed()
200 prom_phys_avail(caddr_t prop) in prom_phys_avail() argument
202 return (prom_getprop(prom_mem_phandle(), "available", prop)); in prom_phys_avail()
/illumos-gate/usr/src/cmd/make/lib/mksh/
H A Dmisc.cc551 Property *insert = &target->prop; in append_prop()
552 Property prop = *insert; in append_prop() local
601 for (; prop != NULL; insert = &prop->next, prop = *insert); in append_prop()
603 *insert = prop = (Property) getmem(size); in append_prop()
604 memset((char *) prop, 0, size); in append_prop()
605 prop->type = type; in append_prop()
606 prop->next = NULL; in append_prop()
607 return prop; in append_prop()
628 Property prop; in maybe_append_prop() local
630 if ((prop = get_prop(target->prop, type)) != NULL) { in maybe_append_prop()
[all …]
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c452 scf_property_t *prop; in aconf_get_string() local
464 if ((prop = scf_property_create(handle)) == NULL || in aconf_get_string()
466 scf_pg_get_property(pg, propname, prop) == -1 || in aconf_get_string()
467 scf_property_get_value(prop, value) == -1 || in aconf_get_string()
472 scf_property_destroy(prop); in aconf_get_string()
481 scf_property_t *prop; in aconf_get_bool() local
493 if ((prop = scf_property_create(handle)) == NULL || in aconf_get_bool()
495 scf_pg_get_property(pg, propname, prop) == -1 || in aconf_get_bool()
496 scf_property_get_value(prop, value) == -1 || in aconf_get_bool()
501 scf_property_destroy(prop); in aconf_get_bool()
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c828 #define GETPROP(prop) scf_simple_prop_next_astring(prop) argument
2543 if (prop == NULL) in sa_get_property()
3632 if (prop == NULL) in sa_get_protocol_property()
4206 sa_property_t prop; in get_protocol_list() local
4223 if (prop != NULL) in get_protocol_list()
4227 if (prop == NULL) { in get_protocol_list()
4324 sa_property_t prop; in sa_enable_resource() local
4333 prop != NULL; in sa_enable_resource()
4334 prop = sa_get_next_property(prop)) { in sa_enable_resource()
4393 prop != NULL; in sa_disable_resource()
[all …]
/illumos-gate/usr/src/uts/common/inet/
H A Dtunables.c293 mod_prop_info_t *ptbl, *prop; in mod_get_allprop() local
322 for (prop = ptbl; prop->mpi_name != NULL; prop++) { in mod_get_allprop()
323 if (prop->mpi_name[0] == '\0' || in mod_get_allprop()
324 strcmp(prop->mpi_name, "?") == 0) { in mod_get_allprop()
327 nbytes = snprintf(pval, size, "%s %d %d", prop->mpi_name, in mod_get_allprop()
328 prop->mpi_proto, prop_perm2const(prop)); in mod_get_allprop()
/illumos-gate/usr/src/lib/fm/topo/modules/common/dimm/
H A Dtopo_dimm.c710 const char *prop, const char *const *keys, uint_t nents) in dimm_comp_mfg_common_ids() argument
718 "array: %s", prop, topo_strerror(EMOD_NOMEM)); in dimm_comp_mfg_common_ids()
755 topo_mod_dprintf(mod, "failed to set property %s: %s", prop, in dimm_comp_mfg_common_ids()
780 "array: %s", prop, topo_strerror(EMOD_NOMEM)); in dimm_comp_mfg_common_strings()
821 char prop[64]; in dimm_comp_mfg_common_type() local
830 (void) snprintf(prop, sizeof (prop), "%s-type", comp->dc_comp); in dimm_comp_mfg_common_type()
833 "array: %s", prop, topo_strerror(EMOD_NOMEM)); in dimm_comp_mfg_common_type()
1114 char prop[64]; in topo_dimm_add_comps() local
1125 (void) snprintf(prop, sizeof (prop), "%s-count", in topo_dimm_add_comps()
1127 if (count != 0 && topo_prop_set_uint32(dimm, pg, prop, in topo_dimm_add_comps()
[all …]
/illumos-gate/usr/src/lib/libfcoe/common/
H A Dlibfcoe.c184 scf_property_t *prop = NULL; in fcoe_add_remove_scf_entry() local
211 ((prop = scf_property_create(handle)) == NULL) || in fcoe_add_remove_scf_entry()
240 if (scf_pg_get_property(pg, FCOE_PORT_LIST, prop) == -1) { in fcoe_add_remove_scf_entry()
305 if (scf_iter_property_values(valueIter, prop) == -1) { in fcoe_add_remove_scf_entry()
445 if (prop != NULL) { in fcoe_add_remove_scf_entry()
446 scf_property_destroy(prop); in fcoe_add_remove_scf_entry()
841 scf_property_t *prop = NULL; in FCOE_LoadConfig() local
859 ((prop = scf_property_create(handle)) == NULL) || in FCOE_LoadConfig()
884 if (scf_iter_property_values(valueIter, prop) == -1) { in FCOE_LoadConfig()
960 if (prop != NULL) { in FCOE_LoadConfig()
[all …]
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/
H A Dpiclfrudr.c941 ptree_propinfo_t prop; in create_table_entry() local
949 prop.read = NULL; in create_table_entry()
950 prop.write = NULL; in create_table_entry()
952 sizeof (prop.piclinfo.name)); in create_table_entry()
964 prop.read = NULL; in create_table_entry()
965 prop.write = NULL; in create_table_entry()
985 ptree_propinfo_t prop; in create_table() local
997 prop.read = NULL; in create_table()
998 prop.write = NULL; in create_table()
1000 sizeof (prop.piclinfo.name)); in create_table()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_get/
H A Dzfs_get_002_pos.ksh80 for prop in $(gen_option_str "${props[*]}" "" "," $prop_numb)
82 zfs get $opt $prop $dst > /dev/null 2>&1
85 log_fail "zfs get $opt $prop $dst (Code: $ret)"
H A Dzfs_get_009_pos.ksh78 for prop in $(gen_option_str "${all_props[*]}" "" "," $prop_numb); do
79 log_must eval "zfs get -H -d $dp -o name $prop $DEPTH_FS > $DEPTH_OUTPUT"
80 log_must eval "zfs get -rH -o name $prop $DEPTH_FS | egrep -e '$eg_opt' > $EXPECT_OUTPUT"
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c123 scf_property_t *prop; in mhash_retrieve_entry() local
140 (prop = scf_property_create(hndl)) == NULL || in mhash_retrieve_entry()
161 if (scf_pg_get_property(pg, MHASH_PROP, prop) != SCF_SUCCESS) { in mhash_retrieve_entry()
166 if (scf_property_get_value(prop, val) != SCF_SUCCESS) { in mhash_retrieve_entry()
197 if (scf_pg_get_property(pg, MHASH_APPLY_PROP, prop) != in mhash_retrieve_entry()
206 if (scf_property_get_value(prop, val) != SCF_SUCCESS) { in mhash_retrieve_entry()
224 scf_property_destroy(prop); in mhash_retrieve_entry()
239 scf_property_t *prop = NULL; in mhash_store_entry() local
257 (prop = scf_property_create(hndl)) == NULL) { in mhash_store_entry()
519 scf_property_destroy(prop); in mhash_store_entry()
/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c199 scf_property_t *prop = NULL; in get_start_pg() local
257 if ((prop = scf_property_create(h)) == NULL) { in get_start_pg()
275 if (scf_pg_get_property(pg, SCF_LEGACY_PROPERTY_NAME, prop) == 0) { in get_start_pg()
291 scf_property_destroy(prop); in get_start_pg()
301 scf_property_t *prop = NULL; in pg_match() local
314 if ((prop = scf_property_create(h)) == NULL) { in pg_match()
337 prop) != 0) in pg_match()
340 if (scf_property_get_value(prop, val) != 0) in pg_match()
358 prop) != 0) in pg_match()
361 if (scf_property_get_value(prop, val) != 0) in pg_match()
[all …]
/illumos-gate/usr/src/cmd/fcinfo/
H A Dfcadm-list.c146 scf_property_t *prop = NULL; in npivAddRemoveNPIVEntry() local
174 ((prop = scf_property_create(handle)) == NULL) || in npivAddRemoveNPIVEntry()
242 if (scf_pg_get_property(pg, NPIV_PORT_LIST, prop) == -1) { in npivAddRemoveNPIVEntry()
257 if (scf_iter_property_values(valueIter, prop) == -1) { in npivAddRemoveNPIVEntry()
394 if (prop != NULL) { in npivAddRemoveNPIVEntry()
395 scf_property_destroy(prop); in npivAddRemoveNPIVEntry()
849 scf_property_t *prop = NULL; in fc_util_create_portlist() local
863 ((prop = scf_property_create(handle)) == NULL) || in fc_util_create_portlist()
886 if (scf_iter_property_values(valueIter, prop) == -1) { in fc_util_create_portlist()
934 if (prop != NULL) { in fc_util_create_portlist()
[all …]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c314 get_intprop(pnode_t node, caddr_t prop, void *dst) in get_intprop() argument
319 glen = prom_getprop(node, prop, dst); in get_intprop()
397 for (cbp = cpu_data; cbp->prop; cbp++) { in cb_get_props()
398 if (get_intprop(node, cbp->prop, cbp->datap)) { in cb_get_props()
401 prog, node, cbp->prop); in cb_get_props()
405 cbp->prop, *cbp->datap)); in cb_get_props()
/illumos-gate/usr/src/common/lzma/
H A DLzmaDec.c154 unsigned pbMask = ((unsigned)1 << (p->prop.pb)) - 1; in LzmaDec_DecodeReal()
155 unsigned lpMask = ((unsigned)1 << (p->prop.lp)) - 1; in LzmaDec_DecodeReal()
156 unsigned lc = p->prop.lc; in LzmaDec_DecodeReal()
460 p->checkDicSize = p->prop.dicSize; in LzmaDec_WriteRem()
480 UInt32 rem = p->prop.dicSize - p->processedPos; in LzmaDec_DecodeReal2()
485 if (p->processedPos >= p->prop.dicSize) in LzmaDec_DecodeReal2()
486 p->checkDicSize = p->prop.dicSize; in LzmaDec_DecodeReal2()
531 ((((p->processedPos) & ((1 << (p->prop.lp)) - 1)) << p->prop.lc) + in LzmaDec_TryDummy()
728 UInt32 numProbs = Literal + ((UInt32)LZMA_LIT_SIZE << (p->prop.lc + p->prop.lp)); in LzmaDec_InitStateReal()
966 p->prop = propNew; in LzmaDec_AllocateProbs()
[all …]

12345678910>>...23