Home
last modified time | relevance | path

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

12

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value.c69 bhnd_nvram_type otype);
72 bhnd_nvram_type otype);
75 bhnd_nvram_type otype);
78 bhnd_nvram_type otype);
81 bhnd_nvram_type otype);
278 bhnd_nvram_type otype; in bhnd_nvram_val_init_common() local
293 otype = fmt->native_type; in bhnd_nvram_val_init_common()
296 otype = itype; in bhnd_nvram_val_init_common()
303 if (otype == itype) { in bhnd_nvram_val_init_common()
312 error = bhnd_nvram_value_coerce(inp, ilen, itype, NULL, &olen, otype); in bhnd_nvram_val_init_common()
[all …]
H A Dbhnd_nvram_value_fmts.c67 bhnd_nvram_type otype);
75 bhnd_nvram_type otype);
84 void *outp, size_t *olen, bhnd_nvram_type otype);
89 bhnd_nvram_type otype);
93 bhnd_nvram_type otype);
101 bhnd_nvram_type otype);
104 void *outp, size_t *olen, bhnd_nvram_type otype);
264 bhnd_nvram_type otype) in bhnd_nvram_val_bcm_int_encode() argument
268 if (otype == BHND_NVRAM_TYPE_STRING) in bhnd_nvram_val_bcm_int_encode()
271 return (bhnd_nvram_val_generic_encode(value, outp, olen, otype)); in bhnd_nvram_val_bcm_int_encode()
[all …]
H A Dbhnd_nvram_valuevar.h37 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 Dbhnd_nvram_plist.c627 void *outp, size_t olen, bhnd_nvram_type otype) in bhnd_nvram_plist_get_encoded() argument
634 return (bhnd_nvram_prop_encode(prop, outp, &olen, otype)); in bhnd_nvram_plist_get_encoded()
942 bhnd_nvram_type *otype) in bhnd_nvram_prop_bytes() argument
946 bytes = bhnd_nvram_val_bytes(prop->val, olen, otype); in bhnd_nvram_prop_bytes()
947 BHND_NV_ASSERT(*otype == bhnd_nvram_prop_type(prop), ("type mismatch")); in bhnd_nvram_prop_bytes()
974 bhnd_nvram_type otype) in bhnd_nvram_prop_encode() argument
976 return (bhnd_nvram_val_encode(prop->val, outp, olen, otype)); in bhnd_nvram_prop_encode()
H A Dbhnd_nvram_subr.c709 size_t *nbytes, void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_parse_int() argument
719 if (!bhnd_nvram_is_int_type(otype)) in bhnd_nvram_parse_int()
799 switch (otype) { in bhnd_nvram_parse_int()
851 BHND_NV_LOG("unsupported integer type: %d\n", otype); in bhnd_nvram_parse_int()
910 *olen = bhnd_nvram_type_width(otype); in bhnd_nvram_parse_int()
917 switch (otype) { in bhnd_nvram_parse_int()
946 BHND_NV_PANIC("unhandled type %d\n", otype); in bhnd_nvram_parse_int()
H A Dbhnd_nvram_plist.h92 bhnd_nvram_type otype);
125 size_t *olen, bhnd_nvram_type *otype);
127 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_value.h80 bhnd_nvram_type otype);
85 bhnd_nvram_type otype);
95 size_t *olen, bhnd_nvram_type *otype);
H A Dbhnd_nvram_datavar.h49 void *outp, size_t *olen, bhnd_nvram_type otype);
60 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_data_bcmvar.h71 const char *name, void *outp, size_t *olen, bhnd_nvram_type otype,
H A Dbhnd_nvram_value_subr.c530 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_value_coerce() argument
542 error = bhnd_nvram_val_encode(&val, outp, olen, otype); in bhnd_nvram_value_coerce()
H A Dbhnd_nvram_store.h82 void *outp, size_t *olen, bhnd_nvram_type otype);
H A Dbhnd_nvram_data.c587 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 Dbhnd_nvram_data_bcm.c164 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_bcm_getvar_direct() argument
166 return (bhnd_nvram_bcm_getvar_direct_common(io, name, outp, olen, otype, in bhnd_nvram_bcm_getvar_direct()
175 void *outp, size_t *olen, bhnd_nvram_type otype, bool have_header) in bhnd_nvram_bcm_getvar_direct_common() argument
359 BHND_NVRAM_TYPE_STRING, outp, olen, otype)); in bhnd_nvram_bcm_getvar_direct_common()
H A Dbhnd_nvram_private.h218 bhnd_nvram_type otype);
252 bhnd_nvram_type otype);
H A Dbhnd_nvram_store.c1100 void *outp, size_t *olen, bhnd_nvram_type otype) in bhnd_nvram_store_getvar() argument
1129 error = bhnd_nvram_prop_encode(prop, outp, olen, otype); in bhnd_nvram_store_getvar()
1139 otype); in bhnd_nvram_store_getvar()
/freebsd/contrib/less/
H A Doption.c88 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()
321 if (how_toggle == OPT_NO_TOGGLE && (o->otype & NO_QUERY)) in toggle_option()
334 switch (o->otype & OTYPE) in toggle_option()
344 if (how_toggle != OPT_NO_TOGGLE && (o->otype & HL_REPAINT)) in toggle_option()
353 switch (o->otype & OTYPE) in toggle_option()
438 if (how_toggle != OPT_NO_TOGGLE && (o->otype & HL_REPAINT)) in toggle_option()
[all …]
H A Doption.h60 int otype; /* Type of the option */ member
H A Dopttbl.c744 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/tests/sys/cddl/zfs/tests/zinject/
H A Dzinject_001_pos.ksh78 typeset otype="file"
79 [[ -d $object ]] && otype="dir"
84 trigger_inject $etype $object $otype
H A Dzinject_002_pos.ksh79 typeset otype="file"
80 [[ -d $object ]] && otype="dir"
85 trigger_inject $etype $object $otype
H A Dzinject_003_pos.ksh74 typeset otype="file"
75 [[ -d $object ]] && otype="dir"
/freebsd/sys/net/route/
H A Droute_ifaddrs.c135 ifa_maintain_loopback_route(int cmd, const char *otype, struct ifaddr *ifa, in ifa_maintain_loopback_route() argument
170 __func__, otype, if_name(ifp), error); in ifa_maintain_loopback_route()
/freebsd/contrib/tcpdump/
H A Dprint-pim.c756 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/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/crypto/openssh/
H A Dmoduli.c153 qfileout(FILE * ofile, u_int32_t otype, u_int32_t otests, u_int32_t otries, in qfileout() argument
168 otype, otests, otries, osize, ogenerator); in qfileout()

12