| /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 | 387 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 …]
|
| /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 | ipv4.c | 249 const struct dccp_hdr *dh; in dccp_v4_err() local 279 seq = dccp_hdr_seq(dh); in dccp_v4_err() 729 const struct dccp_hdr *dh; in dccp_invalid_packet() local 742 dh = dccp_hdr(skb); in dccp_invalid_packet() 753 dccph_doff = dh->dccph_doff; in dccp_invalid_packet() 765 dh = dccp_hdr(skb); in dccp_invalid_packet() 771 dh->dccph_type > DCCP_PKT_DATAACK) && dh->dccph_x == 0) { in dccp_invalid_packet() 799 const struct dccp_hdr *dh; in dccp_v4_rcv() local 817 dh = dccp_hdr(skb); in dccp_v4_rcv() 839 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_rcv() [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 | ipv6.c | 60 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_check() local 79 const struct dccp_hdr *dh; in dccp_v6_err() local 96 &hdr->daddr, dh->dccph_dport, in dccp_v6_err() 97 &hdr->saddr, ntohs(dh->dccph_sport), in dccp_v6_err() 110 seq = dccp_hdr_seq(dh); in dccp_v6_err() 231 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v6_send_response() local 702 const struct dccp_hdr *dh; in dccp_v6_rcv() local 719 dh = dccp_hdr(skb); in dccp_v6_rcv() 731 dh->dccph_sport, dh->dccph_dport, in dccp_v6_rcv() 783 if (dh->dccph_cscov && (min_cov == 0 || dh->dccph_cscov < min_cov)) { in dccp_v6_rcv() [all …]
|
| A D | dccp.h | 197 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()
|
| /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/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)); \ 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 …]
|
| /linux/include/crypto/ |
| A D | dh.h | 32 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);
|
| /linux/fs/quota/ |
| A D | quota_tree.c | 93 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 …]
|
| /linux/Documentation/devicetree/bindings/arm/stm32/ |
| A D | stm32.yaml | 66 - const: dh,stm32mp135f-dhcor-dhsbc 67 - const: dh,stm32mp135f-dhcor-som 72 - const: dh,stm32mp151a-dhcor-testbench 73 - const: dh,stm32mp151a-dhcor-som 84 - const: dh,stm32mp153c-dhcom-drc02 85 - const: dh,stm32mp153c-dhcom-som 91 - const: dh,stm32mp153c-dhcor-som 119 - const: dh,stm32mp157a-dhcor-som 125 - dh,stm32mp157c-dhcom-pdk2 126 - dh,stm32mp157c-dhcom-picoitx [all …]
|
| /linux/drivers/crypto/intel/qat/qat_common/ |
| A D | qat_asym_algs.c | 120 struct qat_dh_input_params dh; member 124 struct qat_dh_output_params dh; member 133 struct qat_dh_ctx *dh; member 137 struct kpp_request *dh; member 169 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb() 175 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb() 254 qat_req->ctx.dh = ctx; in qat_dh_compute_value() 255 qat_req->areq.dh = req; in qat_dh_compute_value() 480 struct dh params; in qat_dh_set_secret() 1319 static struct kpp_alg dh = { variable [all …]
|
| /linux/include/linux/platform_data/x86/ |
| A D | simatic-ipc.h | 69 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()
|
| /linux/crypto/ |
| 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() 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()
|
| /linux/drivers/md/ |
| A D | dm-snap-persistent.c | 309 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 …]
|
| /linux/drivers/block/drbd/ |
| A D | drbd_nl.c | 3265 if (!dh) in drbd_adm_dump_resources() 3388 if (!dh) in drbd_adm_dump_devices() 3514 if (!dh) in drbd_adm_dump_connections() 3656 if (!dh) in drbd_adm_dump_peer_devices() 3916 if (!dh) in get_one_status() 4577 if (!dh) in notify_resource_state() 4629 if (!dh) in notify_device_state() 4679 if (!dh) in notify_connection_state() 4730 if (!dh) in notify_peer_device_state() 4780 if (!dh) in notify_helper() [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/security/keys/ |
| A D | dh.c | 60 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()
|
| /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/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/security/ |
| A D | lsm_audit.c | 72 struct dccp_hdr *dh = dccp_hdr(skb); in ipv4_skb_to_auditdata() local 74 ad->u.net->sport = dh->dccph_sport; in ipv4_skb_to_auditdata() 75 ad->u.net->dport = dh->dccph_dport; in ipv4_skb_to_auditdata() 144 struct dccp_hdr _dccph, *dh; in ipv6_skb_to_auditdata() local 146 dh = skb_header_pointer(skb, offset, sizeof(_dccph), &_dccph); in ipv6_skb_to_auditdata() 147 if (dh == NULL) in ipv6_skb_to_auditdata() 150 ad->u.net->sport = dh->dccph_sport; in ipv6_skb_to_auditdata() 151 ad->u.net->dport = dh->dccph_dport; in ipv6_skb_to_auditdata()
|
| /linux/drivers/crypto/hisilicon/hpre/ |
| A D | hpre_crypto.c | 128 struct hpre_dh_ctx dh; member 444 areq = req->areq.dh; in hpre_dh_cb() 673 if (!ctx->dh.xa_p) in hpre_dh_set_params() 684 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params() 685 if (!ctx->dh.g) { in hpre_dh_set_params() 688 ctx->dh.xa_p = NULL; in hpre_dh_set_params() 705 if (ctx->dh.g) { in hpre_dh_clear_ctx() 706 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx() 707 ctx->dh.g = NULL; in hpre_dh_clear_ctx() 710 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx() [all …]
|
| /linux/arch/arm/boot/dts/st/ |
| A D | stm32mp151a-dhcor-testbench.dts | 14 compatible = "dh,stm32mp151a-dhcor-testbench", 15 "dh,stm32mp151a-dhcor-som",
|