/linux/net/netfilter/ |
A D | xt_dccp.c | 37 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 …]
|
A D | xt_hashlimit.c | 366 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 …]
|
A D | nf_conntrack_proto_dccp.c | 385 const struct dccp_hdr *dh, in dccp_new() argument 426 dhack = (void *)dh + __dccp_basic_hdr_len(dh); in dccp_ack_seq() 431 static bool dccp_error(const struct dccp_hdr *dh, in dccp_error() argument 440 dh->dccph_doff * 4 > dccp_len) { in dccp_error() 446 if (dh->dccph_cscov) { in dccp_error() 447 cscov = (dh->dccph_cscov - 1) * 4; in dccp_error() 462 if (dh->dccph_type >= DCCP_PKT_INVALID) { in dccp_error() 478 struct dccp_hdr _dh, *dh; in nf_conntrack_dccp_packet() local 484 if (!dh) in nf_conntrack_dccp_packet() 487 if (dccp_error(dh, skb, dataoff, state)) in nf_conntrack_dccp_packet() [all …]
|
/linux/net/dccp/ |
A D | input.c | 204 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 …]
|
A D | output.c | 49 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 …]
|
A D | ipv4.c | 241 const struct dccp_hdr *dh; in dccp_v4_err() local 272 seq = dccp_hdr_seq(dh); in dccp_v4_err() 716 const struct dccp_hdr *dh; in dccp_invalid_packet() local 729 dh = dccp_hdr(skb); in dccp_invalid_packet() 740 dccph_doff = dh->dccph_doff; in dccp_invalid_packet() 752 dh = dccp_hdr(skb); in dccp_invalid_packet() 758 dh->dccph_type > DCCP_PKT_DATAACK) && dh->dccph_x == 0) { in dccp_invalid_packet() 786 const struct dccp_hdr *dh; in dccp_v4_rcv() local 804 dh = dccp_hdr(skb); in dccp_v4_rcv() 826 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv() [all …]
|
A D | dccp.h | 202 const struct dccp_hdr* dh = dccp_hdr(skb); in dccp_csum_coverage() local 204 if (dh->dccph_cscov == 0) in dccp_csum_coverage() 206 return (dh->dccph_doff + dh->dccph_cscov - 1) * sizeof(u32); in dccp_csum_coverage() 282 struct dccp_hdr *dh, unsigned int len); 284 const struct dccp_hdr *dh, const unsigned int len); 389 static inline void dccp_hdr_set_seq(struct dccp_hdr *dh, const u64 gss) in dccp_hdr_set_seq() argument 391 struct dccp_hdr_ext *dhx = (struct dccp_hdr_ext *)((void *)dh + in dccp_hdr_set_seq() 392 sizeof(*dh)); in dccp_hdr_set_seq() 393 dh->dccph_seq2 = 0; in dccp_hdr_set_seq() 394 dh->dccph_seq = htons((gss >> 32) & 0xfffff); in dccp_hdr_set_seq()
|
A D | ipv6.c | 59 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() 229 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response() local 699 const struct dccp_hdr *dh; in dccp_v6_rcv() local 716 dh = dccp_hdr(skb); in dccp_v6_rcv() 728 dh->dccph_sport, dh->dccph_dport, in dccp_v6_rcv() 780 if (dh->dccph_cscov && (min_cov == 0 || dh->dccph_cscov < min_cov)) { in dccp_v6_rcv() [all …]
|
/linux/drivers/firmware/ |
A D | dmi-sysfs.c | 35 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)); \ 409 memcpy(&sel, dh, sizeof(sel)); in dmi_sel_raw_read_helper() 597 memcpy(&entry->dh, dh, sizeof(*dh)); in dmi_sysfs_register_handle() [all …]
|
/linux/include/linux/ |
A D | dccp.h | 80 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 …]
|
/linux/drivers/crypto/qat/qat_common/ |
A D | qat_asym_algs.c | 130 struct qat_dh_ctx *dh; member 134 struct kpp_request *dh; member 165 req->out.dh.r); in qat_dh_cb() 167 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb() 236 qat_req->ctx.dh = ctx; in qat_dh_compute_value() 237 qat_req->areq.dh = req; in qat_dh_compute_value() 287 &qat_req->in.dh.in.b, in qat_dh_compute_value() 314 &qat_req->out.dh.r, in qat_dh_compute_value() 360 qat_req->out.dh.r); in qat_dh_compute_value() 369 qat_req->in.dh.in.b); in qat_dh_compute_value() [all …]
|
/linux/fs/quota/ |
A D | quota_tree.c | 112 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk() 113 dh->dqdh_entries = cpu_to_le16(0); in put_free_dqblk() 139 dh->dqdh_prev_free; in remove_free_dqentry() 149 dh->dqdh_next_free; in remove_free_dqentry() 158 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0); in remove_free_dqentry() 180 dh->dqdh_prev_free = cpu_to_le32(0); in insert_free_dqentry() 220 struct qt_disk_dqdbheader *dh; in find_free_dqentry() local 229 dh = (struct qt_disk_dqdbheader *)buf; in find_free_dqentry() 257 le16_add_cpu(&dh->dqdh_entries, 1); in find_free_dqentry() 407 struct qt_disk_dqdbheader *dh; in free_dqentry() local [all …]
|
/linux/include/crypto/ |
A D | dh.h | 34 struct dh { struct 55 unsigned int crypto_dh_key_len(const struct dh *params); argument 70 int crypto_dh_encode_key(char *buf, unsigned int len, const struct dh *params); 84 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params);
|
/linux/Documentation/devicetree/bindings/arm/stm32/ |
A D | stm32.yaml | 21 - dh,stm32mp153c-dhcom-drc02 22 - dh,stm32mp157c-dhcom-pdk2 23 - dh,stm32mp157c-dhcom-picoitx 25 - dh,stm32mp153c-dhcom-som 26 - dh,stm32mp157a-dhcor-som 27 - dh,stm32mp157c-dhcom-som
|
/linux/drivers/md/ |
A D | dm-snap-persistent.c | 306 struct disk_header *dh; in read_header() local 336 dh = ps->header_area; in read_header() 338 if (le32_to_cpu(dh->magic) == 0) { in read_header() 350 ps->valid = le32_to_cpu(dh->valid); in read_header() 351 ps->version = le32_to_cpu(dh->version); in read_header() 352 chunk_size = le32_to_cpu(dh->chunk_size); in read_header() 383 struct disk_header *dh; in write_header() local 387 dh = ps->header_area; in write_header() 388 dh->magic = cpu_to_le32(SNAP_MAGIC); in write_header() 389 dh->valid = cpu_to_le32(ps->valid); in write_header() [all …]
|
/linux/drivers/block/drbd/ |
A D | drbd_nl.c | 3330 if (!dh) in drbd_adm_dump_resources() 3453 if (!dh) in drbd_adm_dump_devices() 3579 if (!dh) in drbd_adm_dump_connections() 3721 if (!dh) in drbd_adm_dump_peer_devices() 3981 if (!dh) in get_one_status() 4642 if (!dh) in notify_resource_state() 4693 if (!dh) in notify_device_state() 4742 if (!dh) in notify_connection_state() 4792 if (!dh) in notify_peer_device_state() 4841 if (!dh) in notify_helper() [all …]
|
/linux/security/ |
A D | lsm_audit.c | 79 struct dccp_hdr *dh = dccp_hdr(skb); in ipv4_skb_to_auditdata() local 80 if (dh == NULL) in ipv4_skb_to_auditdata() 83 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata() 84 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata() 156 struct dccp_hdr _dccph, *dh; in ipv6_skb_to_auditdata() local 158 dh = skb_header_pointer(skb, offset, sizeof(_dccph), &_dccph); in ipv6_skb_to_auditdata() 159 if (dh == NULL) in ipv6_skb_to_auditdata() 162 ad->u.net->sport = dh->dccph_sport; in ipv6_skb_to_auditdata() 163 ad->u.net->dport = dh->dccph_dport; in ipv6_skb_to_auditdata()
|
/linux/crypto/ |
A D | dh.c | 53 static int dh_set_params(struct dh_ctx *ctx, struct dh *params) in dh_set_params() 79 struct dh params; in dh_set_secret() 248 static struct kpp_alg dh = { variable 265 return crypto_register_kpp(&dh); in dh_init() 270 crypto_unregister_kpp(&dh); in dh_exit()
|
A D | dh_helper.c | 29 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() 68 int crypto_dh_decode_key(const char *buf, unsigned int len, struct dh *params) in crypto_dh_decode_key()
|
/linux/drivers/crypto/hisilicon/hpre/ |
A D | hpre_crypto.c | 119 struct hpre_dh_ctx dh; member 425 areq = req->areq.dh; in hpre_dh_cb() 652 if (!ctx->dh.xa_p) in hpre_dh_set_params() 663 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params() 664 if (!ctx->dh.g) { in hpre_dh_set_params() 667 ctx->dh.xa_p = NULL; in hpre_dh_set_params() 684 if (ctx->dh.g) { in hpre_dh_clear_ctx() 685 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx() 686 ctx->dh.g = NULL; in hpre_dh_clear_ctx() 689 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx() [all …]
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
A D | overlay.c | 143 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()
|
/linux/drivers/scsi/ |
A D | scsi_dh.c | 105 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()
|
/linux/Documentation/crypto/ |
A D | api-kpp.rst | 34 .. 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
|
/linux/security/keys/ |
A D | dh.c | 59 static void dh_free_data(struct dh *dh) in dh_free_data() argument 61 kfree_sensitive(dh->key); in dh_free_data() 62 kfree_sensitive(dh->p); in dh_free_data() 63 kfree_sensitive(dh->g); in dh_free_data() 236 struct dh dh_inputs; in __keyctl_dh_compute()
|
/linux/Documentation/ABI/testing/ |
A D | sysfs-driver-hid-wiimote | 7 Contact: David Herrmann <dh.herrmann@googlemail.com> 15 Contact: David Herrmann <dh.herrmann@gmail.com> 32 Contact: David Herrmann <dh.herrmann@gmail.com> 54 Contact: David Herrmann <dh.herrmann@gmail.com> 70 Contact: David Herrmann <dh.herrmann@gmail.com>
|