Home
last modified time | relevance | path

Searched refs:itype (Results 1 – 25 of 35) sorted by relevance

12

/freebsd/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_value_subr.c62 bhnd_nvram_type itype) in bhnd_nvram_value_check_aligned() argument
68 if (itype == BHND_NVRAM_TYPE_NULL) { in bhnd_nvram_value_check_aligned()
76 align = bhnd_nvram_type_host_align(itype); in bhnd_nvram_value_check_aligned()
82 width = bhnd_nvram_type_width(itype); in bhnd_nvram_value_check_aligned()
127 switch (itype) { in bhnd_nvram_value_nelem()
190 size_t width = bhnd_nvram_type_width(itype); in bhnd_nvram_value_nelem()
210 if (ilen != bhnd_nvram_type_width(itype)) in bhnd_nvram_value_nelem()
217 BHND_NV_PANIC("bhnd nvram type %u unknown", itype); in bhnd_nvram_value_nelem()
249 if (!bhnd_nvram_is_array_type(itype) && nelem != 1) in bhnd_nvram_value_size()
252 switch (itype) { in bhnd_nvram_value_size()
[all …]
H A Dbhnd_nvram_value_fmts.c281 bhnd_nvram_type itype; in bhnd_nvram_val_bcm_hex_encode_elem() local
335 bhnd_nvram_type itype; in bhnd_nvram_val_bcm_decimal_encode_elem() local
359 switch (itype) { in bhnd_nvram_val_bcm_leddc_filter()
387 bhnd_nvram_type itype; in bhnd_nvram_val_bcm_leddc_encode_elem() local
433 if (otype == itype) { in bhnd_nvram_val_bcm_leddc_encode_elem()
470 switch (itype) { in bhnd_nvram_val_bcm_leddc_encode_elem()
619 switch (itype) { in bhnd_nvram_val_bcmstr_csv_filter()
637 bhnd_nvram_type itype; in bhnd_nvram_val_bcmstr_csv_next() local
645 switch (itype) { in bhnd_nvram_val_bcmstr_csv_next()
695 switch (itype) { in bhnd_nvram_val_bcm_macaddr_filter()
[all …]
H A Dbhnd_nvram_value.c296 otype = itype; in bhnd_nvram_val_init_common()
303 if (otype == itype) { in bhnd_nvram_val_init_common()
447 ilen, itype, flags)); in bhnd_nvram_val_convert_common()
1074 switch (itype) { in bhnd_nvram_val_encode_int()
1513 bhnd_nvram_type itype; in bhnd_nvram_val_generic_encode() local
1628 bhnd_nvram_type itype; in bhnd_nvram_val_generic_encode_elem() local
1631 switch (itype) { in bhnd_nvram_val_generic_encode_elem()
1673 bhnd_nvram_type itype; in bhnd_nvram_val_generic_next() local
1757 bhnd_nvram_type itype) in bhnd_nvram_val_set_inline() argument
1794 switch (itype) { in bhnd_nvram_val_set_inline()
[all …]
H A Dbhnd_nvram_private.h216 size_t ilen, bhnd_nvram_type itype,
221 size_t ilen, bhnd_nvram_type itype);
224 size_t ilen, bhnd_nvram_type itype,
228 size_t ilen, bhnd_nvram_type itype,
233 bhnd_nvram_type itype, char *outp,
237 bhnd_nvram_type itype, char *outp,
241 size_t ilen, bhnd_nvram_type itype,
H A Dbhnd_nvram_plist.h64 bhnd_nvram_type itype);
74 bhnd_nvram_type itype);
113 bhnd_nvram_type itype);
H A Dbhnd_nvram_plist.c280 const void *inp, size_t ilen, bhnd_nvram_type itype) in bhnd_nvram_plist_replace_bytes() argument
285 if ((prop = bhnd_nvram_prop_bytes_new(name, inp, ilen, itype)) == NULL) in bhnd_nvram_plist_replace_bytes()
489 const void *inp, size_t ilen, bhnd_nvram_type itype) in bhnd_nvram_plist_append_bytes() argument
494 if ((prop = bhnd_nvram_prop_bytes_new(name, inp, ilen, itype)) == NULL) in bhnd_nvram_plist_append_bytes()
823 bhnd_nvram_type itype) in bhnd_nvram_prop_bytes_new() argument
830 error = bhnd_nvram_val_new(&val, NULL, inp, ilen, itype, in bhnd_nvram_prop_bytes_new()
H A Dbhnd_nvram_value.h56 bhnd_nvram_type itype, uint32_t flags);
66 bhnd_nvram_type itype, uint32_t flags);
H A Dbhnd_nvram_data_sprom.c406 bhnd_nvram_type itype, var_base_type; in bhnd_nvram_sprom_write_var() local
426 itype = BHND_NVRAM_TYPE_INT32_ARRAY; in bhnd_nvram_sprom_write_var()
428 itype = BHND_NVRAM_TYPE_UINT32_ARRAY; in bhnd_nvram_sprom_write_var()
431 if ((ilen = bhnd_nvram_value_size(NULL, 0, itype, nelem)) == 0) { in bhnd_nvram_sprom_write_var()
490 u32, &ilen, itype); in bhnd_nvram_sprom_write_var()
499 bhnd_nvram_type_name(itype), error); in bhnd_nvram_sprom_write_var()
504 error = bhnd_nvram_value_nelem(u32, ilen, itype, &enc_nelem); in bhnd_nvram_sprom_write_var()
H A Dbhnd_nvram_store.h84 const void *inp, size_t ilen, bhnd_nvram_type itype);
H A Dbhnd_nvram_valuevar.h64 const void *inp, size_t ilen, bhnd_nvram_type itype);
H A Dbhnd_nvram_data_btxt.c922 bhnd_nvram_type itype; in bhnd_nvram_btxt_filter_setvar() local
938 inp = bhnd_nvram_val_bytes(str, &ilen, &itype); in bhnd_nvram_btxt_filter_setvar()
939 BHND_NV_ASSERT(itype == BHND_NVRAM_TYPE_STRING, ("non-string value")); in bhnd_nvram_btxt_filter_setvar()
/freebsd/contrib/smbfs/smbutil/
H A Ddumptree.c110 int *itype; in cmd_dumptree() local
124 itype = p; in cmd_dumptree()
125 if (*itype == SMB_INFO_NONE) in cmd_dumptree()
127 switch (*itype) { in cmd_dumptree()
/freebsd/crypto/openssl/crypto/asn1/
H A Da_int.c327 static int asn1_string_get_int64(int64_t *pr, const ASN1_STRING *a, int itype) in asn1_string_get_int64() argument
333 if ((a->type & ~V_ASN1_NEG) != itype) { in asn1_string_get_int64()
340 static int asn1_string_set_int64(ASN1_STRING *a, int64_t r, int itype) in asn1_string_set_int64() argument
345 a->type = itype; in asn1_string_set_int64()
362 int itype) in asn1_string_get_uint64() argument
368 if ((a->type & ~V_ASN1_NEG) != itype) { in asn1_string_get_uint64()
379 static int asn1_string_set_uint64(ASN1_STRING *a, uint64_t r, int itype) in asn1_string_set_uint64() argument
384 a->type = itype; in asn1_string_set_uint64()
506 int itype) in asn1_string_to_bn() argument
510 if ((ai->type & ~V_ASN1_NEG) != itype) { in asn1_string_to_bn()
H A Da_dup.c65 if (it->itype == ASN1_ITYPE_SEQUENCE || it->itype == ASN1_ITYPE_CHOICE in ASN1_item_dup()
66 || it->itype == ASN1_ITYPE_NDEF_SEQUENCE) { in ASN1_item_dup()
H A Dtasn_new.c74 switch (it->itype) { in asn1_item_embed_new()
178 switch (it->itype) { in asn1_item_clear()
283 if (it->itype == ASN1_ITYPE_MSTRING) in asn1_primitive_new()
320 if (it->itype == ASN1_ITYPE_MSTRING && str) in asn1_primitive_new()
340 if (!it || (it->itype == ASN1_ITYPE_MSTRING)) in asn1_primitive_clear()
H A Dtasn_fre.c38 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) in ossl_asn1_item_embed_free()
45 switch (it->itype) { in ossl_asn1_item_embed_free()
173 } else if (it->itype == ASN1_ITYPE_MSTRING) { in ossl_asn1_primitive_free()
H A Dtasn_prn.c154 if (((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_item_print_ctx()
165 switch (it->itype) { in asn1_item_print_ctx()
257 BIO_printf(out, "Unprocessed type %d\n", it->itype); in asn1_item_print_ctx()
448 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_primitive_print()
H A Dtasn_enc.c92 if ((it->itype != ASN1_ITYPE_PRIMITIVE) && *pval == NULL) in ASN1_item_ex_i2d()
100 switch (it->itype) { in ASN1_item_ex_i2d()
544 if ((it->itype != ASN1_ITYPE_PRIMITIVE) in asn1_ex_i2c()
550 if (it->itype == ASN1_ITYPE_MSTRING) { in asn1_ex_i2c()
H A Dtasn_utl.c75 if ((it->itype != ASN1_ITYPE_SEQUENCE) in ossl_asn1_do_lock()
76 && (it->itype != ASN1_ITYPE_NDEF_SEQUENCE)) in ossl_asn1_do_lock()
/freebsd/sys/dev/cxgbe/
H A Dt4_vf.c322 int itype, iq_avail, navail, rc; in cfg_itype_and_nqueues() local
332 for (itype = INTR_MSIX; itype != 0; itype >>= 1) { in cfg_itype_and_nqueues()
333 if (itype == INTR_INTX) in cfg_itype_and_nqueues()
336 if (itype == INTR_MSIX) in cfg_itype_and_nqueues()
344 iaq->intr_type = itype; in cfg_itype_and_nqueues()
439 (itype != INTR_MSI || powerof2(iaq->nirq))) { in cfg_itype_and_nqueues()
441 if (itype == INTR_MSIX) in cfg_itype_and_nqueues()
448 itype, r in cfg_itype_and_nqueues()
[all...]
/freebsd/contrib/llvm-project/lld/ELF/Arch/
H A DRISCV.cpp87 static uint32_t itype(uint32_t op, uint32_t rd, uint32_t rs1, uint32_t imm) { in itype() function
237 write32le(buf + 8, itype(load, X_T3, X_T2, lo12(offset))); in writePltHeader()
238 write32le(buf + 12, itype(ADDI, X_T1, X_T1, -target->pltHeaderSize - 12)); in writePltHeader()
239 write32le(buf + 16, itype(ADDI, X_T0, X_T2, lo12(offset))); in writePltHeader()
240 write32le(buf + 20, itype(SRLI, X_T1, X_T1, config->is64 ? 1 : 2)); in writePltHeader()
241 write32le(buf + 24, itype(load, X_T0, X_T0, config->wordsize)); in writePltHeader()
242 write32le(buf + 28, itype(JALR, 0, X_T3, 0)); in writePltHeader()
254 write32le(buf + 8, itype(JALR, X_T1, X_T3, 0)); in writePlt()
255 write32le(buf + 12, itype(ADDI, 0, 0, 0)); in writePlt()
561 write32le(loc, itype(LD, X_A0, X_A0, lo12(val))); // ld a0,<lo12>(a0) in tlsdescToIe()
[all …]
/freebsd/crypto/heimdal/lib/asn1/
H A Dgen_template.c489 char *itype = NULL; in template_members() local
492 itype = "IMEMBER"; in template_members()
494 itype = "HEIM_INTEGER"; in template_members()
496 itype = "INTEGER64"; in template_members()
498 itype = "UNSIGNED64"; in template_members()
500 itype = "INTEGER"; in template_members()
502 itype = "UNSIGNED"; in template_members()
507 add_line(temp, "{ A1_PARSE_T(A1T_%s), %s, NULL }", itype, poffset); in template_members()
/freebsd/sys/netsmb/
H A Dsmb_conn.c708 vip->itype = SMB_INFO_VC; in smb_vc_getinfo()
905 sip->itype = SMB_INFO_SHARE; in smb_share_getinfo()
928 int error, itype; in smb_sysctl_treedump() local
965 itype = SMB_INFO_NONE; in smb_sysctl_treedump()
966 error = SYSCTL_OUT(req, &itype, sizeof(itype)); in smb_sysctl_treedump()
H A Dsmb_conn.h133 int itype; member
146 int itype; member
/freebsd/crypto/openssl/test/
H A Dendecode_test.c588 int itype = NID_undef; in check_params_DER() local
592 itype = EVP_PKEY_DH; in check_params_DER()
594 itype = EVP_PKEY_DHX; in check_params_DER()
596 itype = EVP_PKEY_DSA; in check_params_DER()
598 itype = EVP_PKEY_EC; in check_params_DER()
600 if (itype != NID_undef) { in check_params_DER()
601 pkey = d2i_KeyParams(itype, NULL, &datap, data_len); in check_params_DER()

12