| /freebsd-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_value.c | 297 otype = itype; in bhnd_nvram_val_init_common() 681 switch (otype) { in bhnd_nvram_val_encode_null() 734 switch (otype) { in bhnd_nvram_val_encode_bool() 792 switch (otype) { in bhnd_nvram_val_encode_data() 847 switch (otype) { in bhnd_nvram_val_encode_string() 1171 switch (otype) { in bhnd_nvram_val_encode_int() 1545 otype)); in bhnd_nvram_val_generic_encode() 1558 otype)); in bhnd_nvram_val_generic_encode() 1635 otype)); in bhnd_nvram_val_generic_encode_elem() 1648 otype)); in bhnd_nvram_val_generic_encode_elem() [all …]
|
| H A D | bhnd_nvram_value_fmts.c | 68 bhnd_nvram_type otype); 265 bhnd_nvram_type otype) in bhnd_nvram_val_bcm_int_encode() argument 292 outp, olen, otype)); in bhnd_nvram_val_bcm_hex_encode_elem() 344 outp, olen, otype)); in bhnd_nvram_val_bcm_decimal_encode_elem() 434 if (otype == itype) { in bhnd_nvram_val_bcm_leddc_encode_elem() 436 otype)); in bhnd_nvram_val_bcm_leddc_encode_elem() 511 switch (otype) { in bhnd_nvram_val_bcm_leddc_encode_elem() 566 bhnd_nvram_type otype) in bhnd_nvram_val_bcmstr_encode() argument 583 otype)); in bhnd_nvram_val_bcmstr_encode() 758 bhnd_nvram_type otype) in bhnd_nvram_val_bcm_macaddr_string_encode_elem() argument [all …]
|
| H A D | bhnd_nvram_valuevar.h | 37 void *outp, size_t *olen, bhnd_nvram_type otype); 40 bhnd_nvram_type otype); 68 size_t *olen, bhnd_nvram_type otype); 73 bhnd_nvram_type otype);
|
| H A D | bhnd_nvram_plist.c | 628 void *outp, size_t olen, bhnd_nvram_type otype) in bhnd_nvram_plist_get_encoded() argument 635 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype)); in bhnd_nvram_plist_get_encoded() 943 bhnd_nvram_type *otype) in bhnd_nvram_prop_bytes() argument 947 bytes = bhnd_nvram_val_bytes(prop->val, olen, otype); in bhnd_nvram_prop_bytes() 948 BHND_NV_ASSERT(*otype == bhnd_nvram_prop_type(prop), ("type mismatch")); in bhnd_nvram_prop_bytes() 975 bhnd_nvram_type otype) in bhnd_nvram_prop_encode() argument 977 return (bhnd_nvram_val_encode(prop->val, outp, olen, otype)); in bhnd_nvram_prop_encode()
|
| H A D | bhnd_nvram_subr.c | 710 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_parse_int() argument 720 if (!bhnd_nvram_is_int_type(otype)) in bhnd_nvram_parse_int() 800 switch (otype) { in bhnd_nvram_parse_int() 852 BHND_NV_LOG("unsupported integer type: %d\n", otype); in bhnd_nvram_parse_int() 911 *olen = bhnd_nvram_type_width(otype); in bhnd_nvram_parse_int() 918 switch (otype) { in bhnd_nvram_parse_int() 947 BHND_NV_PANIC("unhandled type %d\n", otype); in bhnd_nvram_parse_int()
|
| H A D | bhnd_nvram_plist.h | 92 bhnd_nvram_type otype); 125 size_t *olen, bhnd_nvram_type *otype); 127 void *outp, size_t *olen, bhnd_nvram_type otype);
|
| H A D | bhnd_nvram_value.h | 80 bhnd_nvram_type otype); 85 bhnd_nvram_type otype); 95 size_t *olen, bhnd_nvram_type *otype);
|
| H A D | bhnd_nvram_datavar.h | 49 void *outp, size_t *olen, bhnd_nvram_type otype); 60 void *outp, size_t *olen, bhnd_nvram_type otype);
|
| H A D | bhnd_nvram_data_bcmvar.h | 71 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
|
| H A D | bhnd_nvram_value_subr.c | 531 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument 543 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
|
| H A D | bhnd_nvram_store.h | 82 void *outp, size_t *olen, bhnd_nvram_type otype);
|
| H A D | bhnd_nvram_data.c | 587 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_data_generic_rp_getvar() argument 611 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_data_generic_rp_getvar()
|
| H A D | bhnd_nvram_data_bcm.c | 165 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_bcm_getvar_direct() argument 167 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype, in bhnd_nvram_bcm_getvar_direct() 176 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) in bhnd_nvram_bcm_getvar_direct_common() argument 360 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_bcm_getvar_direct_common()
|
| H A D | bhnd_nvram_private.h | 218 bhnd_nvram_type otype); 252 bhnd_nvram_type otype);
|
| H A D | bhnd_nvram_store.c | 1101 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_store_getvar() argument 1130 error = bhnd_nvram_prop_encode(prop, outp, olen, otype); in bhnd_nvram_store_getvar() 1140 otype); in bhnd_nvram_store_getvar()
|
| /freebsd-14.2/contrib/less/ |
| H A D | option.c | 88 switch (pendopt->otype & OTYPE) in scan_option() 203 (o->otype & OTYPE) != STRING && in scan_option() 204 (o->otype & OTYPE) != NUMBER) in scan_option() 234 switch (o->otype & OTYPE) in scan_option() 314 if (how_toggle == OPT_TOGGLE && (o->otype & NO_TOGGLE)) in toggle_option() 334 switch (o->otype & OTYPE) in toggle_option() 353 switch (o->otype & OTYPE) in toggle_option() 447 switch (o->otype & OTYPE) in toggle_option() 472 if (how_toggle != OPT_NO_TOGGLE && (o->otype & REPAINT)) in toggle_option() 494 if (o->otype & (BOOL|TRIPLE|NOVAR|NO_TOGGLE)) in opt_has_param() [all …]
|
| H A D | option.h | 60 int otype; /* Type of the option */ member
|
| H A D | opttbl.c | 744 if (o->otype & INIT_HANDLER) in init_option() 760 if ((o->otype & TRIPLE) && ASCII_TO_UPPER(o->oletter) == c) in findopt() 843 if (!(o->otype & TRIPLE)) in findopt_name()
|
| /freebsd-14.2/tests/sys/cddl/zfs/tests/zinject/ |
| H A D | zinject_001_pos.ksh | 81 typeset otype="file" 82 [[ -d $object ]] && otype="dir" 87 trigger_inject $etype $object $otype
|
| H A D | zinject_002_pos.ksh | 82 typeset otype="file" 83 [[ -d $object ]] && otype="dir" 88 trigger_inject $etype $object $otype
|
| H A D | zinject_003_pos.ksh | 77 typeset otype="file" 78 [[ -d $object ]] && otype="dir"
|
| /freebsd-14.2/sys/net/route/ |
| H A D | route_ifaddrs.c | 137 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-14.2/contrib/tcpdump/ |
| H A D | print-pim.c | 756 uint16_t otype, olen; in pimv2_print() local 760 otype = GET_BE_U_2(bp); in pimv2_print() 763 tok2str(pimv2_hello_option_values, "Unknown", otype), in pimv2_print() 764 otype, in pimv2_print() 772 switch (otype) { in pimv2_print()
|
| /freebsd-14.2/cddl/contrib/opensolaris/common/ctf/ |
| H A D | ctf_types.c | 289 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-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | ddt.c | 1010 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()
|