Home
last modified time | relevance | path

Searched refs:dh (Results 1 – 25 of 118) sorted by relevance

12345

/openbmc/linux/net/netfilter/
H A Dxt_dccp.c37 const struct dccp_hdr *dh, in dccp_find_option() argument
42 unsigned int optoff = __dccp_hdr_len(dh); in dccp_find_option()
43 unsigned int optlen = dh->dccph_doff*4 - __dccp_hdr_len(dh); in dccp_find_option()
46 if (dh->dccph_doff * 4 < __dccp_hdr_len(dh)) in dccp_find_option()
85 return typemask & (1 << dh->dccph_type); in match_types()
90 const struct dccp_hdr *dh, bool *hotdrop) in match_option() argument
99 const struct dccp_hdr *dh; in dccp_mt() local
106 if (dh == NULL) { in dccp_mt()
112 && ntohs(dh->dccph_sport) <= info->spts[1], in dccp_mt()
115 && ntohs(dh->dccph_dport) <= info->dpts[1], in dccp_mt()
[all …]
H A Dxt_hashlimit.c366 struct dsthash_ent *dh; in htable_selective_cleanup() local
372 dsthash_free(ht, dh); in htable_selective_cleanup()
581 dh->rateinfo.rate = in rateinfo_init()
584 dh->rateinfo.burst = in rateinfo_init()
587 dh->rateinfo.burst = dh->rateinfo.rate; in rateinfo_init()
590 dh->rateinfo.burst = in rateinfo_init()
602 dh->rateinfo.credit_cap = dh->rateinfo.credit; in rateinfo_init()
717 if (dh->rateinfo.credit < tmp && dh->rateinfo.credit_cap) { in hashlimit_byte_cost()
740 if (dh == NULL) { in hashlimit_mt_common()
742 if (dh == NULL) { in hashlimit_mt_common()
[all …]
H A Dnf_conntrack_proto_dccp.c387 const struct dccp_hdr *dh, in dccp_new() argument
428 dhack = (void *)dh + __dccp_basic_hdr_len(dh); in dccp_ack_seq()
458 if (dh->dccph_cscov) { in dccp_error()
459 cscov = (dh->dccph_cscov - 1) * 4; in dccp_error()
474 type = dh->dccph_type; in dccp_error()
524 struct dccp_hdr *dh; in nf_conntrack_dccp_packet() local
526 dh = skb_header_pointer(skb, dataoff, sizeof(*dh), &_dh.dh); in nf_conntrack_dccp_packet()
527 if (!dh) in nf_conntrack_dccp_packet()
534 dh = dccp_header_pointer(skb, dataoff, dh, &_dh); in nf_conntrack_dccp_packet()
535 if (!dh) in nf_conntrack_dccp_packet()
[all …]
/openbmc/linux/net/dccp/
H A Dinput.c204 if (dh->dccph_type == DCCP_PKT_SYNC || in dccp_check_seqno()
228 dh->dccph_type == DCCP_PKT_CLOSE || in dccp_check_seqno()
229 dh->dccph_type == DCCP_PKT_RESET) { in dccp_check_seqno()
239 if (dh->dccph_type != DCCP_PKT_SYNC && in dccp_check_seqno()
274 if (dh->dccph_type == DCCP_PKT_RESET) in dccp_check_seqno()
386 const struct dccp_hdr *dh, in dccp_rcv_request_sent_state_process() argument
519 const struct dccp_hdr *dh, in dccp_rcv_respond_partopen_state_process() argument
526 switch (dh->dccph_type) { in dccp_rcv_respond_partopen_state_process()
617 if (dh->dccph_type == DCCP_PKT_RESET) in dccp_rcv_state_process()
690 dh, len); in dccp_rcv_state_process()
[all …]
H A Doutput.c49 struct dccp_hdr *dh; in dccp_transmit_skb() local
101 dh->dccph_type = dcb->dccpd_type; in dccp_transmit_skb()
102 dh->dccph_sport = inet->inet_sport; in dccp_transmit_skb()
103 dh->dccph_dport = inet->inet_dport; in dccp_transmit_skb()
105 dh->dccph_ccval = dcb->dccpd_ccval; in dccp_transmit_skb()
106 dh->dccph_cscov = dp->dccps_pcslen; in dccp_transmit_skb()
108 dh->dccph_x = 1; in dccp_transmit_skb()
402 struct dccp_hdr *dh; in dccp_make_response() local
443 dh->dccph_x = 1; in dccp_make_response()
480 dh->dccph_type = DCCP_PKT_RESET; in dccp_ctl_make_reset()
[all …]
H A Dipv4.c248 const struct dccp_hdr *dh; in dccp_v4_err() local
278 seq = dccp_hdr_seq(dh); in dccp_v4_err()
727 const struct dccp_hdr *dh; in dccp_invalid_packet() local
740 dh = dccp_hdr(skb); in dccp_invalid_packet()
751 dccph_doff = dh->dccph_doff; in dccp_invalid_packet()
763 dh = dccp_hdr(skb); in dccp_invalid_packet()
769 dh->dccph_type > DCCP_PKT_DATAACK) && dh->dccph_x == 0) { in dccp_invalid_packet()
797 const struct dccp_hdr *dh; in dccp_v4_rcv() local
815 dh = dccp_hdr(skb); in dccp_v4_rcv()
837 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv()
[all …]
H A Dipv6.c59 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_check() local
78 const struct dccp_hdr *dh; in dccp_v6_err() local
95 &hdr->daddr, dh->dccph_dport, in dccp_v6_err()
96 &hdr->saddr, ntohs(dh->dccph_sport), in dccp_v6_err()
109 seq = dccp_hdr_seq(dh); in dccp_v6_err()
230 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response() local
700 const struct dccp_hdr *dh; in dccp_v6_rcv() local
717 dh = dccp_hdr(skb); in dccp_v6_rcv()
729 dh->dccph_sport, dh->dccph_dport, in dccp_v6_rcv()
781 if (dh->dccph_cscov && (min_cov == 0 || dh->dccph_cscov < min_cov)) { in dccp_v6_rcv()
[all …]
H A Ddccp.h197 const struct dccp_hdr* dh = dccp_hdr(skb); in dccp_csum_coverage() local
199 if (dh->dccph_cscov == 0) in dccp_csum_coverage()
201 return (dh->dccph_doff + dh->dccph_cscov - 1) * sizeof(u32); in dccp_csum_coverage()
277 struct dccp_hdr *dh, unsigned int len);
279 const struct dccp_hdr *dh, const unsigned int len);
385 static inline void dccp_hdr_set_seq(struct dccp_hdr *dh, const u64 gss) in dccp_hdr_set_seq() argument
387 struct dccp_hdr_ext *dhx = (struct dccp_hdr_ext *)((void *)dh + in dccp_hdr_set_seq()
388 sizeof(*dh)); in dccp_hdr_set_seq()
389 dh->dccph_seq2 = 0; in dccp_hdr_set_seq()
390 dh->dccph_seq = htons((gss >> 32) & 0xfffff); in dccp_hdr_set_seq()
/openbmc/linux/include/linux/
H A Ddccp.h80 return (struct dccp_hdr_ext *)((unsigned char *)dh + sizeof(*dh)); in dccp_hdrx()
85 return sizeof(*dh) + (dh->dccph_x ? sizeof(struct dccp_hdr_ext) : 0); in __dccp_basic_hdr_len()
90 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_basic_hdr_len() local
91 return __dccp_basic_hdr_len(dh); in dccp_basic_hdr_len()
94 static inline __u64 dccp_hdr_seq(const struct dccp_hdr *dh) in dccp_hdr_seq() argument
96 __u64 seq_nr = ntohs(dh->dccph_seq); in dccp_hdr_seq()
98 if (dh->dccph_x != 0) in dccp_hdr_seq()
99 seq_nr = (seq_nr << 32) + ntohl(dccp_hdrx(dh)->dccph_seq_low); in dccp_hdr_seq()
101 seq_nr += (u32)dh->dccph_seq2 << 16; in dccp_hdr_seq()
138 return __dccp_basic_hdr_len(dh) + in __dccp_hdr_len()
[all …]
/openbmc/linux/drivers/firmware/
H A Ddmi-sysfs.c35 struct dmi_header dh; member
70 const struct dmi_header *dh,
133 if (dh->type != entry->dh.type) in find_dmi_entry_helper()
185 const char *p = (const char *)dh; in dmi_entry_length()
187 p += dh->length; in dmi_entry_length()
192 return 2 + p - (const char *)dh; in dmi_entry_length()
204 const struct dmi_header *dh, in dmi_entry_attr_show_helper() argument
276 memcpy(&sel, dh, sizeof(sel)); \
411 memcpy(&sel, dh, sizeof(sel)); in dmi_sel_raw_read_helper()
602 memcpy(&entry->dh, dh, sizeof(*dh)); in dmi_sysfs_register_handle()
[all …]
/openbmc/linux/include/crypto/
H A Ddh.h32 struct dh { struct
51 unsigned int crypto_dh_key_len(const struct dh *params); argument
66 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params);
80 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params);
96 struct dh *params);
/openbmc/linux/fs/quota/
H A Dquota_tree.c93 struct qt_disk_dqdbheader *dh) in check_dquot_block_header() argument
155 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk()
156 dh->dqdh_entries = cpu_to_le16(0); in put_free_dqblk()
182 dh->dqdh_prev_free; in remove_free_dqentry()
192 dh->dqdh_next_free; in remove_free_dqentry()
201 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0); in remove_free_dqentry()
223 dh->dqdh_prev_free = cpu_to_le32(0); in insert_free_dqentry()
263 struct qt_disk_dqdbheader *dh; in find_free_dqentry() local
303 le16_add_cpu(&dh->dqdh_entries, 1); in find_free_dqentry()
482 struct qt_disk_dqdbheader *dh; in free_dqentry() local
[all …]
/openbmc/linux/Documentation/devicetree/bindings/arm/stm32/
H A Dstm32.yaml64 - const: dh,stm32mp151a-dhcor-testbench
65 - const: dh,stm32mp151a-dhcor-som
70 - const: dh,stm32mp153c-dhcom-drc02
71 - const: dh,stm32mp153c-dhcom-som
76 - const: dh,stm32mp153c-dhcor-drc-compact
77 - const: dh,stm32mp153c-dhcor-som
115 - const: dh,stm32mp157a-dhcor-som
121 - dh,stm32mp157c-dhcom-pdk2
122 - dh,stm32mp157c-dhcom-picoitx
123 - const: dh,stm32mp157c-dhcom-som
/openbmc/linux/include/linux/platform_data/x86/
H A Dsimatic-ipc.h69 simatic_ipc_find_dmi_entry_helper(const struct dmi_header *dh, void *_data) in simatic_ipc_find_dmi_entry_helper() argument
73 if (dh->type != SIMATIC_IPC_DMI_ENTRY_OEM) in simatic_ipc_find_dmi_entry_helper()
76 *id = simatic_ipc_get_station_id((u8 *)dh, dh->length); in simatic_ipc_find_dmi_entry_helper()
/openbmc/linux/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c118 struct qat_dh_input_params dh; member
122 struct qat_dh_output_params dh; member
131 struct qat_dh_ctx *dh; member
135 struct kpp_request *dh; member
167 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb()
173 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb()
252 qat_req->ctx.dh = ctx; in qat_dh_compute_value()
253 qat_req->areq.dh = req; in qat_dh_compute_value()
451 struct dh params; in qat_dh_set_secret()
1266 static struct kpp_alg dh = { variable
[all …]
/openbmc/linux/crypto/
H A Ddh_helper.c29 static inline unsigned int dh_data_size(const struct dh *p) in dh_data_size()
34 unsigned int crypto_dh_key_len(const struct dh *p) in crypto_dh_key_len()
40 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params) in crypto_dh_encode_key()
66 int __crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in __crypto_dh_decode_key()
94 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in crypto_dh_decode_key()
/openbmc/qemu/hw/usb/
H A Dhost-libusb.c960 if (s->dh != NULL) { in usb_host_open()
1061 if (s->dh != NULL) { in usb_host_open()
1065 libusb_close(s->dh); in usb_host_open()
1066 s->dh = NULL; in usb_host_open()
1106 if (s->dh == NULL) { in usb_host_close()
1122 libusb_close(s->dh); in usb_host_close()
1123 s->dh = NULL; in usb_host_close()
1154 if (s->dh) { in usb_host_exit_notifier()
1473 if (s->dh == NULL) { in usb_host_handle_control()
1554 if (s->dh == NULL) { in usb_host_handle_data()
[all …]
/openbmc/u-boot/lib/libavb/
H A Davb_descriptor.c72 const AvbDescriptor* dh = (const AvbDescriptor*)p; in avb_descriptor_foreach() local
73 avb_assert_aligned(dh); in avb_descriptor_foreach()
74 uint64_t nb_following = avb_be64toh(dh->num_bytes_following); in avb_descriptor_foreach()
87 if (foreach_func(dh, user_data) == 0) { in avb_descriptor_foreach()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Doverlay.c143 u16 dw, dh; in dss_ovl_check() local
146 dh = mgr_timings->y_res; in dss_ovl_check()
170 if (dh < info->pos_y + outh) { in dss_ovl_check()
173 ovl->id, info->pos_y, outh, dh); in dss_ovl_check()
/openbmc/linux/Documentation/crypto/
H A Dapi-kpp.rst34 .. kernel-doc:: include/crypto/dh.h
37 .. kernel-doc:: include/crypto/dh.h
38 :functions: dh crypto_dh_key_len crypto_dh_encode_key crypto_dh_decode_key
/openbmc/linux/drivers/md/
H A Ddm-snap-persistent.c309 struct disk_header *dh; in read_header() local
339 dh = ps->header_area; in read_header()
341 if (le32_to_cpu(dh->magic) == 0) { in read_header()
353 ps->valid = le32_to_cpu(dh->valid); in read_header()
354 ps->version = le32_to_cpu(dh->version); in read_header()
355 chunk_size = le32_to_cpu(dh->chunk_size); in read_header()
385 struct disk_header *dh; in write_header() local
389 dh = ps->header_area; in write_header()
390 dh->magic = cpu_to_le32(SNAP_MAGIC); in write_header()
391 dh->valid = cpu_to_le32(ps->valid); in write_header()
[all …]
/openbmc/linux/security/keys/
H A Ddh.c60 static void dh_free_data(struct dh *dh) in dh_free_data() argument
62 kfree_sensitive(dh->key); in dh_free_data()
63 kfree_sensitive(dh->p); in dh_free_data()
64 kfree_sensitive(dh->g); in dh_free_data()
131 struct dh dh_inputs; in __keyctl_dh_compute()
/openbmc/linux/drivers/block/drbd/
H A Ddrbd_nl.c3274 if (!dh) in drbd_adm_dump_resources()
3397 if (!dh) in drbd_adm_dump_devices()
3523 if (!dh) in drbd_adm_dump_connections()
3665 if (!dh) in drbd_adm_dump_peer_devices()
3925 if (!dh) in get_one_status()
4586 if (!dh) in notify_resource_state()
4638 if (!dh) in notify_device_state()
4688 if (!dh) in notify_connection_state()
4739 if (!dh) in notify_peer_device_state()
4789 if (!dh) in notify_helper()
[all …]
/openbmc/u-boot/board/dhelectronics/dh_imx6/
H A DMAINTAINERS2 M: Andreas Geisreiter <ageisreiter@dh-electronics.de>
3 M: Ludwig Zenz <lzenz@dh-electronics.de>
/openbmc/linux/drivers/scsi/
H A Dscsi_dh.c105 struct scsi_device_handler *dh; in scsi_dh_lookup() local
110 dh = __scsi_dh_lookup(name); in scsi_dh_lookup()
111 if (!dh) { in scsi_dh_lookup()
113 dh = __scsi_dh_lookup(name); in scsi_dh_lookup()
116 return dh; in scsi_dh_lookup()

12345