/linux-6.3-rc2/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-6.3-rc2/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 | 248 const struct dccp_hdr *dh; in dccp_v4_err() local 279 seq = dccp_hdr_seq(dh); in dccp_v4_err() 723 const struct dccp_hdr *dh; in dccp_invalid_packet() local 736 dh = dccp_hdr(skb); in dccp_invalid_packet() 747 dccph_doff = dh->dccph_doff; in dccp_invalid_packet() 759 dh = dccp_hdr(skb); in dccp_invalid_packet() 765 dh->dccph_type > DCCP_PKT_DATAACK) && dh->dccph_x == 0) { in dccp_invalid_packet() 793 const struct dccp_hdr *dh; in dccp_v4_rcv() local 811 dh = dccp_hdr(skb); in dccp_v4_rcv() 833 dh->dccph_sport, dh->dccph_dport, 0, &refcounted); in dccp_v4_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()
|
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 696 const struct dccp_hdr *dh; in dccp_v6_rcv() local 713 dh = dccp_hdr(skb); in dccp_v6_rcv() 725 dh->dccph_sport, dh->dccph_dport, in dccp_v6_rcv() 777 if (dh->dccph_cscov && (min_cov == 0 || dh->dccph_cscov < min_cov)) { in dccp_v6_rcv() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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() 598 memcpy(&entry->dh, dh, sizeof(*dh)); in dmi_sysfs_register_handle() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/fs/quota/ |
A D | quota_tree.c | 87 struct qt_disk_dqdbheader *dh) in check_dquot_block_header() argument 149 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk() 150 dh->dqdh_entries = cpu_to_le16(0); in put_free_dqblk() 176 dh->dqdh_prev_free; in remove_free_dqentry() 186 dh->dqdh_next_free; in remove_free_dqentry() 195 dh->dqdh_next_free = dh->dqdh_prev_free = cpu_to_le32(0); in remove_free_dqentry() 217 dh->dqdh_prev_free = cpu_to_le32(0); in insert_free_dqentry() 257 struct qt_disk_dqdbheader *dh; in find_free_dqentry() local 297 le16_add_cpu(&dh->dqdh_entries, 1); in find_free_dqentry() 451 struct qt_disk_dqdbheader *dh; in free_dqentry() local [all …]
|
/linux-6.3-rc2/Documentation/devicetree/bindings/arm/stm32/ |
A D | stm32.yaml | 64 - 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
|
/linux-6.3-rc2/drivers/crypto/qat/qat_common/ |
A D | qat_asym_algs.c | 118 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() 179 dma_unmap_single(dev, req->out.dh.r, req->ctx.dh->p_size, in qat_dh_cb() 253 qat_req->ctx.dh = ctx; in qat_dh_compute_value() 254 qat_req->areq.dh = req; in qat_dh_compute_value() 452 struct dh params; in qat_dh_set_secret() 1268 static struct kpp_alg dh = { variable [all …]
|
/linux-6.3-rc2/include/linux/platform_data/x86/ |
A D | simatic-ipc.h | 65 simatic_ipc_find_dmi_entry_helper(const struct dmi_header *dh, void *_data) in simatic_ipc_find_dmi_entry_helper() argument 69 if (dh->type != SIMATIC_IPC_DMI_ENTRY_OEM) in simatic_ipc_find_dmi_entry_helper() 72 *id = simatic_ipc_get_station_id((u8 *)dh, dh->length); in simatic_ipc_find_dmi_entry_helper()
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/block/drbd/ |
A D | drbd_nl.c | 3264 if (!dh) in drbd_adm_dump_resources() 3387 if (!dh) in drbd_adm_dump_devices() 3513 if (!dh) in drbd_adm_dump_connections() 3655 if (!dh) in drbd_adm_dump_peer_devices() 3915 if (!dh) in get_one_status() 4576 if (!dh) in notify_resource_state() 4628 if (!dh) in notify_device_state() 4678 if (!dh) in notify_connection_state() 4729 if (!dh) in notify_peer_device_state() 4779 if (!dh) in notify_helper() [all …]
|
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/drivers/crypto/hisilicon/hpre/ |
A D | hpre_crypto.c | 125 struct hpre_dh_ctx dh; member 441 areq = req->areq.dh; in hpre_dh_cb() 668 if (!ctx->dh.xa_p) in hpre_dh_set_params() 679 ctx->dh.g = dma_alloc_coherent(dev, sz, &ctx->dh.dma_g, GFP_KERNEL); in hpre_dh_set_params() 680 if (!ctx->dh.g) { in hpre_dh_set_params() 683 ctx->dh.xa_p = NULL; in hpre_dh_set_params() 700 if (ctx->dh.g) { in hpre_dh_clear_ctx() 701 dma_free_coherent(dev, sz, ctx->dh.g, ctx->dh.dma_g); in hpre_dh_clear_ctx() 702 ctx->dh.g = NULL; in hpre_dh_clear_ctx() 705 if (ctx->dh.xa_p) { in hpre_dh_clear_ctx() [all …]
|
/linux-6.3-rc2/arch/arm/boot/dts/ |
A D | stm32mp151a-dhcor-testbench.dts | 14 compatible = "dh,stm32mp151a-dhcor-testbench", 15 "dh,stm32mp151a-dhcor-som",
|