Home
last modified time | relevance | path

Searched refs:ptype (Results 1 – 25 of 88) sorted by relevance

1234

/freebsd-14.2/sbin/ipf/libipf/
H A Dprintpoolfield.c35 printpoolfield(p, ptype, i); in printpoolfield()
43 if (ptype == IPLT_POOL) { in printpoolfield()
51 } else if (ptype == IPLT_HASH) { in printpoolfield()
67 if (ptype == IPLT_POOL) { in printpoolfield()
73 } else if (ptype == IPLT_HASH) { in printpoolfield()
85 if (ptype == IPLT_POOL) { in printpoolfield()
87 } else if (ptype == IPLT_HASH) { in printpoolfield()
102 if (ptype == IPLT_POOL) { in printpoolfield()
110 } else if (ptype == IPLT_HASH) { in printpoolfield()
124 if (ptype == IPLT_POOL) { in printpoolfield()
[all …]
/freebsd-14.2/contrib/ntp/include/
H A Dsafecast.h30 #define UA_PTR(ptype,pval) ((ptype *)(void*)(pval)) argument
31 #define UAC_PTR(ptype,pval) ((const ptype *)(const void*)(pval)) argument
32 #define UAV_PTR(ptype,pval) ((volatile ptype *)(volatile void*)(pval)) argument
/freebsd-14.2/contrib/smbfs/lib/smb/
H A Drap.c170 switch (ptype) { in smb_rap_rqparam()
237 char ptype = *p; in smb_rap_setNparam() local
243 switch (ptype) { in smb_rap_setNparam()
263 char ptype = *p; in smb_rap_setPparam() local
269 switch (ptype) { in smb_rap_setPparam()
284 char ptype = *p; in smb_rap_getNparam() local
290 switch (ptype) { in smb_rap_getNparam()
308 char ptype; in smb_rap_request() local
328 ptype = *p; in smb_rap_request()
329 switch (ptype) { in smb_rap_request()
[all …]
/freebsd-14.2/crypto/openssl/crypto/dsa/
H A Ddsa_ameth.c33 int ptype; in dsa_pub_decode() local
43 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dsa_pub_decode()
45 if (ptype == V_ASN1_SEQUENCE) { in dsa_pub_decode()
55 } else if ((ptype == V_ASN1_NULL) || (ptype == V_ASN1_UNDEF)) { in dsa_pub_decode()
90 int ptype; in dsa_pub_encode() local
112 ptype = V_ASN1_SEQUENCE; in dsa_pub_encode()
114 ptype = V_ASN1_UNDEF; in dsa_pub_encode()
282 if (ptype == 2) in do_dsa_print()
287 if (ptype > 0) in do_dsa_print()
292 if (ptype == 2) in do_dsa_print()
[all …]
H A Ddsa_backend.c128 int ptype; in ossl_dsa_key_from_pkcs8() local
141 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_dsa_key_from_pkcs8()
145 if (privkey->type == V_ASN1_NEG_INTEGER || ptype != V_ASN1_SEQUENCE) in ossl_dsa_key_from_pkcs8()
/freebsd-14.2/crypto/openssl/crypto/dh/
H A Ddh_ameth.c64 int ptype; in dh_pub_decode() local
74 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in dh_pub_decode()
76 if (ptype != V_ASN1_SEQUENCE) { in dh_pub_decode()
114 int ptype; in dh_pub_encode() local
132 ptype = V_ASN1_SEQUENCE; in dh_pub_encode()
148 ptype, str, penc, penclen)) in dh_pub_encode()
250 if (ptype == 2) in do_dh_print()
255 if (ptype > 0) in do_dh_print()
261 || (ptype > 0 && pub_key == NULL)) { in do_dh_print()
266 if (ptype == 2) in do_dh_print()
[all …]
/freebsd-14.2/sys/dev/iavf/
H A Diavf_txrx_common.h44 static inline int iavf_ptype_to_hash(u8 ptype);
55 iavf_ptype_to_hash(u8 ptype) in iavf_ptype_to_hash() argument
59 decoded = decode_rx_desc_ptype(ptype); in iavf_ptype_to_hash()
H A Diavf_txrx_iflib.c47 static void iavf_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype);
674 u8 ptype; in iavf_isc_rxd_pkt_get() local
692 ptype = (qword & IAVF_RXD_QW1_PTYPE_MASK) in iavf_isc_rxd_pkt_get()
726 iavf_rx_checksum(ri, status, error, ptype); in iavf_isc_rxd_pkt_get()
728 ri->iri_rsstype = iavf_ptype_to_hash(ptype); in iavf_isc_rxd_pkt_get()
749 iavf_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype) in iavf_rx_checksum() argument
759 decoded = decode_rx_desc_ptype(ptype); in iavf_rx_checksum()
/freebsd-14.2/lib/libc/gen/
H A Ddisklabel.c69 pfsize[3], poffset[3], ptype[3]; in getdiskbyname() local
123 strcpy(ptype, "tx"); in getdiskbyname()
128 psize[1] = pbsize[1] = pfsize[1] = poffset[1] = ptype[1] = p; in getdiskbyname()
144 getnumdflt(pp->p_fstype, ptype, 0); in getdiskbyname()
146 if (cgetstr(buf, ptype, &cq) >= 0) { in getdiskbyname()
/freebsd-14.2/usr.bin/rpcgen/
H A Drpc_clntout.c86 ptype(proc->res_prefix, proc->res_type, 1); in write_program()
122 ptype(proc->args.decls->decl.prefix, in printarglist()
127 ptype(proc->res_prefix, proc->res_type, 1); in printarglist()
136 ptype(proc->res_prefix, proc->res_type, 1); in printarglist()
148 ptype(proc->res_prefix, proc->res_type, 1); in printarglist()
189 ptype(proc->res_prefix, proc->res_type, 0); in printbody()
H A Drpc_sample.c95 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
98 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
105 ptype(proc->args.decls->decl.prefix, in write_sample_client()
115 ptype(l->decl.prefix, l->decl.type, 1); in write_sample_client()
176 ptype(proc->res_prefix, proc->res_type, 1); in write_sample_client()
250 ptype(plist->res_prefix, plist->res_type, 1); in return_type()
/freebsd-14.2/crypto/openssl/crypto/asn1/
H A Dx_algor.c31 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval)
36 if (ptype != V_ASN1_UNDEF) {
46 if (ptype == 0)
48 if (ptype == V_ASN1_UNDEF) {
52 ASN1_TYPE_set(alg->parameter, ptype, pval);
H A Dp8_pkey.c40 int ptype, void *pval, unsigned char *penc, int penclen)
46 if (!X509_ALGOR_set0(priv->pkeyalg, aobj, ptype, pval))
/freebsd-14.2/contrib/tcpdump/
H A Dprint-ppp.c1749 uint16_t ptype; in ppp_bsdos_if_print() local
1778 ptype = GET_U_1(p); in ppp_bsdos_if_print()
1785 ptype = GET_BE_U_2(p); in ppp_bsdos_if_print()
1792 ptype = 0; /*XXX*/ in ppp_bsdos_if_print()
1808 if (ndo->ndo_eflag && (ptype == PPP_VJC || ptype == PPP_VJNC)) { in ppp_bsdos_if_print()
1826 switch (ptype) { in ppp_bsdos_if_print()
1828 ptype = vjc_print(ndo, q, ptype); in ppp_bsdos_if_print()
1831 switch (ptype) { in ppp_bsdos_if_print()
1845 ptype = vjc_print(ndo, q, ptype); in ppp_bsdos_if_print()
1848 switch (ptype) { in ppp_bsdos_if_print()
[all …]
/freebsd-14.2/crypto/openssl/crypto/pem/
H A Dpem_info.c65 unsigned int i, raw, ptype; in STACK_OF() local
80 ptype = 0; in STACK_OF()
131 ptype = EVP_PKEY_NONE; in STACK_OF()
135 ptype = evp_pkey_name2type(name); in STACK_OF()
162 if (ptype) { in STACK_OF()
163 if (d2i_PrivateKey_ex(ptype, pp, &p, len, in STACK_OF()
/freebsd-14.2/sys/sys/
H A Dlinker_set.h88 #define SET_DECLARE(set, ptype) \ argument
89 extern ptype __weak_symbol *__CONCAT(__start_set_,set); \
90 extern ptype __weak_symbol *__CONCAT(__stop_set_,set)
/freebsd-14.2/sys/dev/ice/
H A Dice_common_txrx.h273 u16 status0, u16 ptype) in ice_rx_checksum() argument
289 decoded = ice_decode_rx_desc_ptype(ptype); in ice_rx_checksum()
383 ice_ptype_to_hash(u16 ptype) in ice_ptype_to_hash() argument
387 if (ptype >= ARRAY_SIZE(ice_ptype_lkup)) in ice_ptype_to_hash()
390 decoded = ice_decode_rx_desc_ptype(ptype); in ice_ptype_to_hash()
/freebsd-14.2/crypto/openssl/doc/man3/
H A DX509_ALGOR_dup.pod12 int X509_ALGOR_set0(X509_ALGOR *alg, ASN1_OBJECT *aobj, int ptype, void *pval);
24 associated parameter type to B<ptype> with value B<pval>. If B<ptype> is
25 B<V_ASN1_UNDEF> the parameter is omitted, otherwise B<ptype> and B<pval> have
/freebsd-14.2/crypto/openssl/crypto/ec/
H A Dec_ameth.c72 int ptype; in eckey_pub_encode() local
76 if (!eckey_param2type(&ptype, &pval, ec_key)) { in eckey_pub_encode()
91 ptype, pval, penc, penclen)) in eckey_pub_encode()
94 if (ptype == V_ASN1_SEQUENCE) in eckey_pub_encode()
166 int eplen, ptype; in eckey_priv_encode() local
170 if (!eckey_param2type(&ptype, &pval, &ec_key)) { in eckey_priv_encode()
191 ptype, pval, ep, eplen)) { in eckey_priv_encode()
200 if (ptype == V_ASN1_SEQUENCE) in eckey_priv_encode()
H A Dec_backend.c733 int ptype = 0; in ossl_x509_algor_is_sm2() local
736 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_x509_algor_is_sm2()
738 if (ptype == V_ASN1_OBJECT) in ossl_x509_algor_is_sm2()
741 if (ptype == V_ASN1_SEQUENCE) { in ossl_x509_algor_is_sm2()
763 int ptype = 0; in ossl_ec_key_param_from_x509_algor() local
768 X509_ALGOR_get0(NULL, &ptype, &pval, palg); in ossl_ec_key_param_from_x509_algor()
774 if (ptype == V_ASN1_SEQUENCE) { in ossl_ec_key_param_from_x509_algor()
784 } else if (ptype == V_ASN1_OBJECT) { in ossl_ec_key_param_from_x509_algor()
/freebsd-14.2/sbin/nvmecontrol/
H A Didentify.c67 uint8_t thin_prov, ptype; in print_namespace() local
107 ptype = NVMEV(NVME_NS_DATA_DPS_PIT, nsdata->dps); in print_namespace()
108 if (ptype != 0) { in print_namespace()
109 printf("Type %d, %s Bytes\n", ptype, in print_namespace()
/freebsd-14.2/sys/dev/ixgbe/
H A Dix_txrx.c401 uint32_t ptype; in ixgbe_isc_rxd_pkt_get() local
416 ptype = le32toh(rxd->wb.lower.lo_dword.data) & in ixgbe_isc_rxd_pkt_get()
448 ixgbe_rx_checksum(staterr, ri, ptype); in ixgbe_isc_rxd_pkt_get()
475 ixgbe_rx_checksum(uint32_t staterr, if_rxd_info_t ri, uint32_t ptype) in ixgbe_rx_checksum() argument
491 if (__predict_false((ptype & IXGBE_RXDADV_PKTTYPE_ETQF) == 0 && in ixgbe_rx_checksum()
492 (ptype & IXGBE_RXDADV_PKTTYPE_SCTP) != 0)) { in ixgbe_rx_checksum()
/freebsd-14.2/usr.sbin/mfiutil/
H A Dmfiutil.h60 #define SET_DECLARE(set, ptype) \ argument
61 extern ptype *__CONCAT(__start_set_,set); \
62 extern ptype *__CONCAT(__stop_set_,set)
/freebsd-14.2/sys/dev/ixl/
H A Dixl_txrx.c53 static u8 ixl_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype);
611 ixl_ptype_to_hash(u8 ptype) in ixl_ptype_to_hash() argument
615 decoded = decode_rx_desc_ptype(ptype); in ixl_ptype_to_hash()
667 u8 ptype; in ixl_isc_rxd_pkt_get() local
685 ptype = (qword & I40E_RXD_QW1_PTYPE_MASK) in ixl_isc_rxd_pkt_get()
719 rxr->csum_errs += ixl_rx_checksum(ri, status, error, ptype); in ixl_isc_rxd_pkt_get()
721 ri->iri_rsstype = ixl_ptype_to_hash(ptype); in ixl_isc_rxd_pkt_get()
738 ixl_rx_checksum(if_rxd_info_t ri, u32 status, u32 error, u8 ptype) in ixl_rx_checksum() argument
748 decoded = decode_rx_desc_ptype(ptype); in ixl_rx_checksum()
/freebsd-14.2/sys/dev/ath/
H A Dah_osdep.h61 #define OS_SET_DECLARE(set, ptype) SET_DECLARE(set, ptype) argument

1234