Home
last modified time | relevance | path

Searched refs:otype (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-13.1/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c299 otype = itype; in bhnd_nvram_val_init_common()
683 switch (otype) { in bhnd_nvram_val_encode_null()
736 switch (otype) { in bhnd_nvram_val_encode_bool()
794 switch (otype) { in bhnd_nvram_val_encode_data()
849 switch (otype) { in bhnd_nvram_val_encode_string()
1173 switch (otype) { in bhnd_nvram_val_encode_int()
1547 otype)); in bhnd_nvram_val_generic_encode()
1560 otype)); in bhnd_nvram_val_generic_encode()
1637 otype)); in bhnd_nvram_val_generic_encode_elem()
1650 otype)); in bhnd_nvram_val_generic_encode_elem()
[all …]
H A Dbhnd_nvram_value_fmts.c70 bhnd_nvram_type otype);
267 bhnd_nvram_type otype) in bhnd_nvram_val_bcm_int_encode() argument
294 outp, olen, otype)); in bhnd_nvram_val_bcm_hex_encode_elem()
346 outp, olen, otype)); in bhnd_nvram_val_bcm_decimal_encode_elem()
436 if (otype == itype) { in bhnd_nvram_val_bcm_leddc_encode_elem()
438 otype)); in bhnd_nvram_val_bcm_leddc_encode_elem()
513 switch (otype) { in bhnd_nvram_val_bcm_leddc_encode_elem()
568 bhnd_nvram_type otype) in bhnd_nvram_val_bcmstr_encode() argument
585 otype)); in bhnd_nvram_val_bcmstr_encode()
760 bhnd_nvram_type otype) in bhnd_nvram_val_bcm_macaddr_string_encode_elem() argument
[all …]
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_plist.c630 void *outp, size_t olen, bhnd_nvram_type otype) in bhnd_nvram_plist_get_encoded() argument
637 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype)); in bhnd_nvram_plist_get_encoded()
945 bhnd_nvram_type *otype) in bhnd_nvram_prop_bytes() argument
949 bytes = bhnd_nvram_val_bytes(prop->val, olen, otype); in bhnd_nvram_prop_bytes()
950 BHND_NV_ASSERT(*otype == bhnd_nvram_prop_type(prop), ("type mismatch")); in bhnd_nvram_prop_bytes()
977 bhnd_nvram_type otype) in bhnd_nvram_prop_encode() argument
979 return (bhnd_nvram_val_encode(prop->val, outp, olen, otype)); in bhnd_nvram_prop_encode()
H A Dbhnd_nvram_subr.c712 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_parse_int() argument
722 if (!bhnd_nvram_is_int_type(otype)) in bhnd_nvram_parse_int()
802 switch (otype) { in bhnd_nvram_parse_int()
854 BHND_NV_LOG("unsupported integer type: %d\n", otype); in bhnd_nvram_parse_int()
913 *olen = bhnd_nvram_type_width(otype); in bhnd_nvram_parse_int()
920 switch (otype) { in bhnd_nvram_parse_int()
949 BHND_NV_PANIC("unhandled type %d\n", otype); in bhnd_nvram_parse_int()
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_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_data_bcmvar.h73 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
H A Dbhnd_nvram_value_subr.c533 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument
545 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
H A Dbhnd_nvram_store.h83 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_data.c589 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_data_generic_rp_getvar() argument
613 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_data_generic_rp_getvar()
H A Dbhnd_nvram_data_bcm.c167 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_bcm_getvar_direct() argument
169 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype, in bhnd_nvram_bcm_getvar_direct()
178 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) in bhnd_nvram_bcm_getvar_direct_common() argument
362 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_bcm_getvar_direct_common()
H A Dbhnd_nvram_private.h219 bhnd_nvram_type otype);
253 bhnd_nvram_type otype);
H A Dbhnd_nvram_store.c1104 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_store_getvar() argument
1133 error = bhnd_nvram_prop_encode(prop, outp, olen, otype); in bhnd_nvram_store_getvar()
1143 otype); in bhnd_nvram_store_getvar()
/freebsd-13.1/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))
345 switch (o->otype & OTYPE)
364 switch (o->otype & OTYPE)
458 switch (o->otype & OTYPE)
483 if (how_toggle != OPT_NO_TOGGLE && (o->otype & REPAINT))
510 if (o->otype & (BOOL|TRIPLE|NOVAR|NO_TOGGLE))
[all …]
H A Doption.h60 int otype; /* Type of the option */ member
H A Dopttbl.c607 if (o->otype & INIT_HANDLER) in init_option()
625 if ((o->otype & TRIPLE) && ASCII_TO_UPPER(o->oletter) == c)
714 if (!(o->otype & TRIPLE))
/freebsd-13.1/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.1/sys/net/route/
H A Droute_ifaddrs.c137 ifa_maintain_loopback_route(int cmd, const char *otype, struct ifaddr *ifa, in ifa_maintain_loopback_route() argument
172 __func__, otype, if_name(ifp), error); in ifa_maintain_loopback_route()
/freebsd-13.1/contrib/tcpdump/
H A Dprint-pim.c758 uint16_t otype, olen; in pimv2_print() local
763 otype = EXTRACT_16BITS(&bp[0]); in pimv2_print()
766 tok2str(pimv2_hello_option_values, "Unknown", otype), in pimv2_print()
767 otype, in pimv2_print()
775 switch (otype) { in pimv2_print()
/freebsd-13.1/cddl/contrib/opensolaris/common/ctf/
H A Dctf_types.c289 ctf_id_t prev = type, otype = type; in ctf_type_resolve() local
302 if (ctype == type || ctype == otype || ctype == prev) { in ctf_type_resolve()
303 ctf_dprintf("type %ld cycle detected\n", otype); in ctf_type_resolve()
976 ctf_id_t otype = type; in ctf_type_rvisit() local
988 if ((rc = func(name, otype, offset, depth, arg)) != 0) in ctf_type_rvisit()
/freebsd-13.1/sys/contrib/openzfs/module/zfs/
H A Dddt.c1010 enum ddt_type otype = dde->dde_type; in ddt_sync_entry() local
1045 if (otype != DDT_TYPES && in ddt_sync_entry()
1046 (otype != ntype || oclass != nclass || total_refcnt == 0)) { in ddt_sync_entry()
1047 VERIFY(ddt_object_remove(ddt, otype, oclass, dde, tx) == 0); in ddt_sync_entry()
1048 ASSERT(ddt_object_lookup(ddt, otype, oclass, dde) == ENOENT); in ddt_sync_entry()

12