Searched refs:prop (Results 1 - 25 of 119) sorted by relevance

12345

/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dspa_boot.h39 extern char *spa_get_bootprop(char *prop);
40 extern void spa_free_bootprop(char *prop);
/freebsd-10-stable/usr.sbin/eeprom/
H A Dofw_options.h32 int ofwo_action(const char *prop, const char *val);
H A Dofw_options.c77 ofwo_printprop(const char *prop, const char* buf, int buflen) argument
80 printf("%s: %.*s\n", prop, buflen, buf);
201 ofwo_setstr(int fd, const void *buf, int buflen, const char *prop, argument
213 ofw_setprop(fd, optnode, prop, val, strlen(val) + 1);
214 len = ofw_getprop_alloc(fd, optnode, prop, &pbuf, &pblen, 1);
228 len = ofw_setprop(fd, optnode, prop, oval, buflen + 1);
234 printf("%s: %.*s%s->%s%.*s\n", prop, buflen, (const char *)buf,
248 char prop[OFWO_MAXPROP + 1]; local
255 for (nlen = ofw_firstprop(fd, optnode, prop, sizeof(prop)); nle
276 ofwo_action(const char *prop, const char *val) argument
[all...]
/freebsd-10-stable/sys/cddl/contrib/opensolaris/common/zfs/
H A Dzprop_common.c71 zprop_register_impl(int prop, const char *name, zprop_type_t type, argument
79 pd = &prop_tbl[prop];
86 pd->pd_propnum = prop;
103 zprop_register_string(int prop, const char *name, const char *def, argument
107 zprop_register_impl(prop, name, PROP_TYPE_STRING, 0, def, attr,
113 zprop_register_number(int prop, const char *name, uint64_t def, argument
117 zprop_register_impl(prop, name, PROP_TYPE_NUMBER, def, NULL, attr,
122 zprop_register_index(int prop, const char *name, uint64_t def, argument
126 zprop_register_impl(prop, name, PROP_TYPE_INDEX, def, NULL, attr,
131 zprop_register_hidden(int prop, cons argument
169 int i, j, num_props, size, prop; local
242 zprop_name_to_prop_cb(int prop, void *cb_data) argument
256 int prop; local
269 zprop_string_to_index(int prop, const char *string, uint64_t *index, zfs_type_t type) argument
295 zprop_index_to_string(int prop, uint64_t index, const char **string, zfs_type_t type) argument
324 zprop_random_value(int prop, uint64_t seed, zfs_type_t type) argument
340 zprop_values(int prop, zfs_type_t type) argument
356 zprop_valid_for_type(int prop, zfs_type_t type) argument
375 zprop_width(int prop, boolean_t *fixed, zfs_type_t type) argument
[all...]
H A Dzpool_prop.c151 zpool_prop_to_name(zpool_prop_t prop) argument
153 return (zpool_prop_table[prop].pd_name);
157 zpool_prop_get_type(zpool_prop_t prop) argument
159 return (zpool_prop_table[prop].pd_proptype);
163 zpool_prop_readonly(zpool_prop_t prop) argument
165 return (zpool_prop_table[prop].pd_attr == PROP_READONLY);
169 zpool_prop_default_string(zpool_prop_t prop) argument
171 return (zpool_prop_table[prop].pd_strdefault);
175 zpool_prop_default_numeric(zpool_prop_t prop) argument
177 return (zpool_prop_table[prop]
201 zpool_prop_string_to_index(zpool_prop_t prop, const char *string, uint64_t *index) argument
208 zpool_prop_index_to_string(zpool_prop_t prop, uint64_t index, const char **string) argument
215 zpool_prop_random_value(zpool_prop_t prop, uint64_t seed) argument
223 zpool_prop_values(zpool_prop_t prop) argument
229 zpool_prop_column_name(zpool_prop_t prop) argument
235 zpool_prop_align_right(zpool_prop_t prop) argument
[all...]
H A Dzfs_prop.c468 zfs_prop_delegatable(zfs_prop_t prop) argument
470 zprop_desc_t *pd = &zfs_prop_table[prop];
473 if (prop == ZFS_PROP_MLSLABEL)
532 zfs_userquota_prop_t prop; local
534 for (prop = 0; prop < ZFS_NUM_USERQUOTA_PROPS; prop++) {
535 if (strncmp(name, zfs_userquota_prop_prefixes[prop],
536 strlen(zfs_userquota_prop_prefixes[prop])) == 0) {
561 zfs_prop_string_to_index(zfs_prop_t prop, cons argument
567 zfs_prop_index_to_string(zfs_prop_t prop, uint64_t index, const char **string) argument
573 zfs_prop_random_value(zfs_prop_t prop, uint64_t seed) argument
582 zfs_prop_valid_for_type(int prop, zfs_type_t types) argument
588 zfs_prop_get_type(zfs_prop_t prop) argument
597 zfs_prop_readonly(zfs_prop_t prop) argument
607 zfs_prop_setonce(zfs_prop_t prop) argument
613 zfs_prop_default_string(zfs_prop_t prop) argument
619 zfs_prop_default_numeric(zfs_prop_t prop) argument
629 zfs_prop_to_name(zfs_prop_t prop) argument
638 zfs_prop_inheritable(zfs_prop_t prop) argument
651 zfs_prop_values(zfs_prop_t prop) argument
662 zfs_prop_is_string(zfs_prop_t prop) argument
673 zfs_prop_column_name(zfs_prop_t prop) argument
683 zfs_prop_align_right(zfs_prop_t prop) argument
[all...]
H A Dzfs_deleg.c84 zfs_prop_t prop; local
91 prop = zfs_name_to_prop(perm);
92 if (prop != ZPROP_INVAL && zfs_prop_delegatable(prop))
93 return (zfs_prop_to_name(prop));
/freebsd-10-stable/sys/dev/drm2/i915/
H A Dintel_modes.c101 struct drm_property *prop; local
103 prop = dev_priv->force_audio_property;
104 if (prop == NULL) {
105 prop = drm_property_create_enum(dev, 0,
109 if (prop == NULL)
112 dev_priv->force_audio_property = prop;
114 drm_object_attach_property(&connector->base, prop, 0);
127 struct drm_property *prop; local
129 prop = dev_priv->broadcast_rgb_property;
130 if (prop
[all...]
/freebsd-10-stable/contrib/dtc/
H A Dchecks.c46 struct node *node, struct property *prop);
128 struct property *prop; local
135 for_each_property(node, prop) {
136 TRACE(c, "%s\t'%s'", node->fullpath, prop->name);
137 c->prop_fn(c, dt, node, prop);
200 struct property *prop; local
203 prop = get_property(node, propname);
204 if (!prop)
207 if (!data_is_one_string(prop->val))
219 struct property *prop; local
257 struct property *prop, *prop2; local
296 check_property_name_chars(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
314 check_duplicate_label(struct check *c, struct node *dt, const char *label, struct node *node, struct property *prop, struct marker *mark) argument
348 check_duplicate_label_prop(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
363 check_explicit_phandles(struct check *c, struct node *root, struct node *node, struct property *prop) argument
425 struct property **pp, *prop = NULL; local
456 fixup_phandle_references(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
480 fixup_path_references(struct check *c, struct node *dt, struct node *node, struct property *prop) argument
519 struct property *prop; local
543 struct property *prop; local
572 struct property *prop; local
641 struct property *prop; local
[all...]
H A Dlivetree.c227 void add_property(struct node *node, struct property *prop) argument
231 prop->next = NULL;
237 *p = prop;
242 struct property *prop = node->proplist; local
244 while (prop) {
245 if (!strcmp(prop->name, name)) {
246 delete_property(prop);
249 prop = prop->next;
253 void delete_property(struct property *prop) argument
288 struct property *prop; local
365 struct property *prop; local
374 propval_cell(struct property *prop) argument
383 struct property *prop; local
406 get_marker_label(struct node *tree, const char *label, struct node **node, struct property **prop) argument
636 struct property *prop, **tbl; local
[all...]
H A Dtreesource.c195 static void write_propval(FILE *f, struct property *prop) argument
197 int len = prop->val.len;
198 const char *p = prop->val.val;
199 struct marker *m = prop->val.markers;
217 if ((m->offset > 0) && (prop->val.val[m->offset - 1] != '\0'))
226 write_propval_string(f, prop->val);
228 write_propval_cells(f, prop->val);
230 write_propval_bytes(f, prop->val);
238 struct property *prop; local
250 for_each_property(tree, prop) {
[all...]
H A Dfstree.c52 struct property *prop; local
61 prop = build_property(xstrdup(de->d_name),
64 add_property(tree, prop);
H A Dfdtget.c126 int prop; local
128 prop = fdt_first_property_offset(blob, node);
131 if (prop < 0)
132 return prop == -FDT_ERR_NOTFOUND ? 0 : prop;
133 data = fdt_get_property_by_offset(blob, prop, NULL);
137 prop = fdt_next_property_offset(blob, prop);
254 const char *prop; local
272 prop
[all...]
/freebsd-10-stable/usr.sbin/mfiutil/
H A Dmfi_patrol.c64 patrol_get_props(int fd, struct mfi_pr_properties *prop) argument
68 if (mfi_dcmd_command(fd, MFI_DCMD_PR_GET_PROPERTIES, prop,
69 sizeof(*prop), NULL, 0, NULL) < 0) {
80 struct mfi_pr_properties prop; local
99 error = patrol_get_props(fd, &prop);
105 switch (prop.op_mode) {
116 printf("??? (%02x)\n", prop.op_mode);
119 if (prop.op_mode == MFI_PR_OPMODE_AUTO) {
120 if (at != 0 && prop.next_exec)
122 prop
250 struct mfi_pr_properties prop; local
[all...]
/freebsd-10-stable/contrib/dtc/libfdt/
H A Dfdt_wip.c85 struct fdt_property *prop; local
88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
89 if (! prop)
92 _fdt_nop_region(prop, len + sizeof(*prop));
H A Dfdt_rw.c206 int len, struct fdt_property **prop)
211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
212 if (! (*prop))
215 if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
219 (*prop)->len = cpu_to_fdt32(len);
224 int len, struct fdt_property **prop)
238 *prop = _fdt_offset_ptr_w(fdt, nextoffset);
239 proplen = sizeof(**prop) + FDT_TAGALIGN(len);
241 err = _fdt_splice_struct(fdt, *prop, 0, proplen);
245 (*prop)
205 _fdt_resize_property(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument
223 _fdt_add_property(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument
277 struct fdt_property *prop; local
295 struct fdt_property *prop; local
321 struct fdt_property *prop; local
[all...]
H A Dfdt_ro.c244 const struct fdt_property *prop; local
252 prop = _fdt_offset_ptr(fdt, offset);
255 *lenp = fdt32_to_cpu(prop->len);
257 return prop;
268 const struct fdt_property *prop; local
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
274 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff),
276 return prop;
295 const struct fdt_property *prop; local
297 prop
307 const struct fdt_property *prop; local
538 const void *prop; local
[all...]
H A Dfdt_sw.c225 struct fdt_property *prop; local
234 prop = _fdt_grab_space(fdt, sizeof(*prop) + FDT_TAGALIGN(len));
235 if (! prop)
238 prop->tag = cpu_to_fdt32(FDT_PROP);
239 prop->nameoff = cpu_to_fdt32(nameoff);
240 prop->len = cpu_to_fdt32(len);
241 memcpy(prop->data, val, len);
271 struct fdt_property *prop = local
275 nameoff = fdt32_to_cpu(prop
[all...]
/freebsd-10-stable/sys/contrib/libfdt/
H A Dfdt_wip.c85 struct fdt_property *prop; local
88 prop = fdt_get_property_w(fdt, nodeoffset, name, &len);
89 if (! prop)
92 _fdt_nop_region(prop, len + sizeof(*prop));
H A Dfdt_rw.c206 int len, struct fdt_property **prop)
211 *prop = fdt_get_property_w(fdt, nodeoffset, name, &oldlen);
212 if (! (*prop))
215 if ((err = _fdt_splice_struct(fdt, (*prop)->data, FDT_TAGALIGN(oldlen),
219 (*prop)->len = cpu_to_fdt32(len);
224 int len, struct fdt_property **prop)
238 *prop = _fdt_offset_ptr_w(fdt, nextoffset);
239 proplen = sizeof(**prop) + FDT_TAGALIGN(len);
241 err = _fdt_splice_struct(fdt, *prop, 0, proplen);
245 (*prop)
205 _fdt_resize_property(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument
223 _fdt_add_property(void *fdt, int nodeoffset, const char *name, int len, struct fdt_property **prop) argument
277 struct fdt_property *prop; local
295 struct fdt_property *prop; local
321 struct fdt_property *prop; local
[all...]
H A Dfdt_ro.c244 const struct fdt_property *prop; local
252 prop = _fdt_offset_ptr(fdt, offset);
255 *lenp = fdt32_to_cpu(prop->len);
257 return prop;
268 const struct fdt_property *prop; local
270 if (!(prop = fdt_get_property_by_offset(fdt, offset, lenp))) {
274 if (_fdt_string_eq(fdt, fdt32_to_cpu(prop->nameoff),
276 return prop;
295 const struct fdt_property *prop; local
297 prop
307 const struct fdt_property *prop; local
539 const void *prop; local
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_subr/
H A Dproperties.c208 svn_prop_t *prop, *newprop;
211 prop = &APR_ARRAY_IDX(proplist, i, svn_prop_t);
212 kind = svn_property_kind2(prop->name);
235 prop->name);
239 newprop->name = prop->name;
240 newprop->value = prop->value;
345 svn_prop__members_dup(svn_prop_t *prop, apr_pool_t *pool)
347 if (prop->name)
348 prop->name = apr_pstrdup(pool, prop
207 svn_prop_t *prop, *newprop; local
344 svn_prop__members_dup(svn_prop_t *prop, apr_pool_t *pool) argument
353 svn_prop_dup(const svn_prop_t *prop, apr_pool_t *pool) argument
391 svn_prop_t prop; local
414 void *prop; local
432 const svn_prop_t *prop = &APR_ARRAY_IDX(properties, i, svn_prop_t); local
[all...]
/freebsd-10-stable/sys/dev/ofw/
H A Dopenpromio.c100 char *prop; local
107 prop = buf = NULL;
153 prop = malloc(len, M_TEMP, M_WAITOK | M_ZERO);
154 if (prop == NULL) {
158 error = copyinstr(&oprom->oprom_array, prop, len, &done);
169 proplen = OF_getproplen(node, prop);
174 error = OF_getprop(node, prop, buf, proplen);
177 error = OF_nextprop(node, prop, buf, OPROMMAXPARAM);
195 if (prop != NULL)
196 free(prop, M_TEM
[all...]
/freebsd-10-stable/usr.sbin/ofwdump/
H A Dofwdump.c150 char prop[32]; local
153 for (nlen = ofw_firstprop(fd, n, prop, sizeof(prop)); nlen != 0;
154 nlen = ofw_nextprop(fd, n, prop, prop, sizeof(prop))) {
155 if (pmatch != NULL && strcmp(pmatch, prop) != 0)
157 len = ofw_getprop_alloc(fd, n, prop, &pbuf, &pblen, 1);
166 printf("%s:\n", prop);
205 ofw_dump_node(int fd, phandle_t n, int level, int rec, int prop, argument
233 ofw_dump(int fd, const char *start, int rec, int prop, const char *pmatch, int raw, int str) argument
[all...]
/freebsd-10-stable/contrib/subversion/subversion/libsvn_ra_serf/
H A Dstat.c217 svn_ra_serf__dav_props_t *prop;
226 prop = apr_array_push(props);
227 prop->xmlns = "DAV:";
228 prop->name = "resourcetype";
233 prop = apr_array_push(props);
234 prop->xmlns = "DAV:";
235 prop->name = "getcontentlength";
240 prop = apr_array_push(props);
241 prop->xmlns = SVN_DAV_PROP_NS_DAV;
242 prop
215 svn_ra_serf__dav_props_t *prop; local
[all...]

Completed in 310 milliseconds

12345