Searched refs:otype (Results 1 - 25 of 40) sorted by relevance

12

/freebsd-13-stable/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_valuevar.h38 void *outp, size_t *olen, bhnd_nvram_type otype);
41 bhnd_nvram_type otype);
69 size_t *olen, bhnd_nvram_type otype);
74 bhnd_nvram_type otype);
H A Dbhnd_nvram_value.c72 bhnd_nvram_type otype);
75 bhnd_nvram_type otype);
78 bhnd_nvram_type otype);
81 bhnd_nvram_type otype);
84 bhnd_nvram_type otype);
281 bhnd_nvram_type otype; local
296 otype = fmt->native_type;
299 otype = itype;
306 if (otype == itype) {
315 error = bhnd_nvram_value_coerce(inp, ilen, itype, NULL, &olen, otype);
423 bhnd_nvram_type itype, otype; local
666 bhnd_nvram_val_encode_null(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument
709 bhnd_nvram_val_encode_bool(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument
787 bhnd_nvram_val_encode_data(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument
820 bhnd_nvram_val_encode_string(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1050 bhnd_nvram_val_encode_int(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1331 bhnd_nvram_val_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1366 bhnd_nvram_val_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1388 bhnd_nvram_val_bytes(bhnd_nvram_val *value, size_t *olen, bhnd_nvram_type *otype) argument
1512 bhnd_nvram_val_generic_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
1628 bhnd_nvram_val_generic_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument
[all...]
H A Dbhnd_nvram_value_fmts.c70 bhnd_nvram_type otype);
78 bhnd_nvram_type otype);
87 void *outp, size_t *olen, bhnd_nvram_type otype);
92 bhnd_nvram_type otype);
96 bhnd_nvram_type otype);
104 bhnd_nvram_type otype);
107 void *outp, size_t *olen, bhnd_nvram_type otype);
267 bhnd_nvram_type otype)
271 if (otype == BHND_NVRAM_TYPE_STRING)
274 return (bhnd_nvram_val_generic_encode(value, outp, olen, otype));
266 bhnd_nvram_val_bcm_int_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
281 bhnd_nvram_val_bcm_hex_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument
334 bhnd_nvram_val_bcm_decimal_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument
387 bhnd_nvram_val_bcm_leddc_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument
567 bhnd_nvram_val_bcmstr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
714 bhnd_nvram_val_bcm_macaddr_encode(bhnd_nvram_val *value, void *outp, size_t *olen, bhnd_nvram_type otype) argument
758 bhnd_nvram_val_bcm_macaddr_string_encode_elem(bhnd_nvram_val *value, const void *inp, size_t ilen, void *outp, size_t *olen, bhnd_nvram_type otype) argument
[all...]
H A Dbhnd_nvram_data_bcmvar.h73 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
H A Dbhnd_nvram_plist.h93 bhnd_nvram_type otype);
126 size_t *olen, bhnd_nvram_type *otype);
128 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_value.h81 bhnd_nvram_type otype);
86 bhnd_nvram_type otype);
96 size_t *olen, bhnd_nvram_type *otype);
H A Dbhnd_nvram_store.h83 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_plist.c607 * Attempt to encode a named property's value as @p otype, writing the result
617 * @param otype The data type to be written to @p outp.
623 * @retval EFTYPE If value coercion from @p prop to @p otype is
626 * a @p otype representation.
630 void *outp, size_t olen, bhnd_nvram_type otype)
637 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype));
941 * @param[out] otype The returned data's type.
945 bhnd_nvram_type *otype)
949 bytes = bhnd_nvram_val_bytes(prop->val, olen, otype);
950 BHND_NV_ASSERT(*otype
629 bhnd_nvram_plist_get_encoded(bhnd_nvram_plist *plist, const char *name, void *outp, size_t olen, bhnd_nvram_type otype) argument
944 bhnd_nvram_prop_bytes(bhnd_nvram_prop *prop, size_t *olen, bhnd_nvram_type *otype) argument
976 bhnd_nvram_prop_encode(bhnd_nvram_prop *prop, void *outp, size_t *olen, bhnd_nvram_type otype) argument
[all...]
H A Dbhnd_nvram_datavar.h50 void *outp, size_t *olen, bhnd_nvram_type otype);
61 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_subr.c666 * value of @p otype, accepting any integer format supported by the standard
698 * @param otype The integer type to be parsed.
702 * @retval EINVAL if an unsupported (or non-integer) @p otype is
708 * represented as a value of @p otype.
712 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype)
722 if (!bhnd_nvram_is_int_type(otype))
802 switch (otype) {
854 BHND_NV_LOG("unsupported integer type: %d\n", otype);
913 *olen = bhnd_nvram_type_width(otype);
920 switch (otype) {
711 bhnd_nvram_parse_int(const char *str, size_t maxlen, u_int base, size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) argument
[all...]
H A Dbhnd_nvram_value_subr.c512 * Coerce value @p inp of type @p itype to @p otype, writing the
523 * @param otype The data type to be written to @p outp.
528 * @retval EFTYPE If the variable data cannot be coerced to @p otype.
529 * @retval ERANGE If value coercion would overflow @p otype.
533 void *outp, size_t *olen, bhnd_nvram_type otype)
545 error = bhnd_nvram_val_encode(&val, outp, olen, otype);
532 bhnd_nvram_value_coerce(const void *inp, size_t ilen, bhnd_nvram_type itype, void *outp, size_t *olen, bhnd_nvram_type otype) argument
H A Dbhnd_nvram_data.c589 void *outp, size_t *olen, bhnd_nvram_type otype)
613 error = bhnd_nvram_val_encode(&val, outp, olen, otype);
588 bhnd_nvram_data_generic_rp_getvar(struct bhnd_nvram_data *nv, void *cookiep, void *outp, size_t *olen, bhnd_nvram_type otype) argument
H A Dbhnd_nvram_private.h219 bhnd_nvram_type otype);
253 bhnd_nvram_type otype);
H A Dbhnd_nvram_data_bcm.c167 void *outp, size_t *olen, bhnd_nvram_type otype)
169 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype,
178 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header)
362 BHND_NVRAM_TYPE_STRING, outp, olen, otype));
166 bhnd_nvram_bcm_getvar_direct(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype) argument
177 bhnd_nvram_bcm_getvar_direct_common(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) argument
H A Dbhnd_nvram_data_btxt.c141 void *outp, size_t *olen, bhnd_nvram_type otype)
337 BHND_NVRAM_TYPE_STRING, outp, olen, otype));
140 bhnd_nvram_btxt_getvar_direct(struct bhnd_nvram_io *io, const char *name, void *outp, size_t *olen, bhnd_nvram_type otype) argument
/freebsd-13-stable/tests/sys/cddl/zfs/tests/zinject/
H A Dzinject_001_pos.ksh83 typeset otype="file"
84 [[ -d $object ]] && otype="dir"
89 trigger_inject $etype $object $otype
H A Dzinject_002_pos.ksh84 typeset otype="file"
85 [[ -d $object ]] && otype="dir"
90 trigger_inject $etype $object $otype
H A Dzinject_003_pos.ksh79 typeset otype="file"
80 [[ -d $object ]] && otype="dir"
/freebsd-13-stable/contrib/less/
H A Doption.c94 switch (pendopt->otype & OTYPE)
209 (o->otype & OTYPE) != STRING &&
210 (o->otype & OTYPE) != NUMBER)
240 switch (o->otype & OTYPE)
325 if (how_toggle == OPT_TOGGLE && (o->otype & NO_TOGGLE))
332 if (how_toggle == OPT_NO_TOGGLE && (o->otype & NO_QUERY))
345 switch (o->otype & OTYPE)
355 if (how_toggle != OPT_NO_TOGGLE && (o->otype & HL_REPAINT))
364 switch (o->otype & OTYPE)
449 if (how_toggle != OPT_NO_TOGGLE && (o->otype
[all...]
H A Doption.h60 int otype; /* Type of the option */ member in struct:loption
H A Dopttbl.c588 if (o->otype & INIT_HANDLER)
606 if ((o->otype & TRIPLE) && ASCII_TO_UPPER(o->oletter) == c)
695 if (!(o->otype & TRIPLE))
/freebsd-13-stable/sys/net/route/
H A Droute_ifaddrs.c137 ifa_maintain_loopback_route(int cmd, const char *otype, struct ifaddr *ifa, argument
180 __func__, otype, if_name(ifp), error);
/freebsd-13-stable/contrib/tcpdump/
H A Dprint-pim.c758 uint16_t otype, olen; local
763 otype = EXTRACT_16BITS(&bp[0]);
766 tok2str(pimv2_hello_option_values, "Unknown", otype),
767 otype,
775 switch (otype) {
/freebsd-13-stable/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c170 ctf_id_t prev = type, otype = type; local
180 if (tp->ctt_type == type || tp->ctt_type == otype ||
182 ctf_dprintf("type %ld cycle detected\n", otype);
830 ctf_id_t otype = type; local
842 if ((rc = func(name, otype, offset, depth, arg)) != 0)
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dddt.c1010 enum ddt_type otype = dde->dde_type; local
1045 if (otype != DDT_TYPES &&
1046 (otype != ntype || oclass != nclass || total_refcnt == 0)) {
1047 VERIFY(ddt_object_remove(ddt, otype, oclass, dde, tx) == 0);
1048 ASSERT(ddt_object_lookup(ddt, otype, oclass, dde) == ENOENT);

Completed in 225 milliseconds

12