Home
last modified time | relevance | path

Searched refs:dh (Results 1 - 25 of 124) sorted by relevance

12345

/kernel/linux/linux-5.10/net/netfilter/
H A Dxt_dccp.c37 const struct dccp_hdr *dh, in dccp_find_option()
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()
83 match_types(const struct dccp_hdr *dh, u_int16_t typemask) in match_types() argument
85 return typemask & (1 << dh->dccph_type); in match_types()
90 const struct dccp_hdr *dh, bool *hotdrop) in match_option()
92 return dccp_find_option(option, skb, protoff, dh, hotdro in match_option()
34 dccp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, bool *hotdrop) dccp_find_option() argument
89 match_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, bool *hotdrop) match_option() argument
99 const struct dccp_hdr *dh; dccp_mt() local
[all...]
H A Dxt_hashlimit.c366 struct dsthash_ent *dh; in htable_selective_cleanup() local
370 hlist_for_each_entry_safe(dh, n, &ht->hash[i], node) { in htable_selective_cleanup()
371 if (time_after_eq(jiffies, dh->expires) || select_all) in htable_selective_cleanup()
372 dsthash_free(ht, dh); in htable_selective_cleanup()
529 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, in rateinfo_recalc() argument
532 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc()
539 u64 interval = dh->rateinfo.interval * HZ; in rateinfo_recalc()
544 dh->rateinfo.prev = now; in rateinfo_recalc()
545 dh->rateinfo.prev_window = in rateinfo_recalc()
546 ((dh in rateinfo_recalc()
573 rateinfo_init(struct dsthash_ent *dh, struct xt_hashlimit_htable *hinfo, int revision) rateinfo_init() argument
709 hashlimit_byte_cost(unsigned int len, struct dsthash_ent *dh) hashlimit_byte_cost() argument
730 struct dsthash_ent *dh; hashlimit_mt_common() local
[all...]
H A Dnf_conntrack_proto_dccp.c385 const struct dccp_hdr *dh) in dccp_new()
392 state = dccp_state_table[CT_DCCP_ROLE_CLIENT][dh->dccph_type][CT_DCCP_NONE]; in dccp_new()
421 static u64 dccp_ack_seq(const struct dccp_hdr *dh) in dccp_ack_seq() argument
425 dhack = (void *)dh + __dccp_basic_hdr_len(dh); in dccp_ack_seq()
430 static bool dccp_error(const struct dccp_hdr *dh, in dccp_error() argument
448 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) || in dccp_error()
449 dh->dccph_doff * 4 > dccp_len) { in dccp_error()
455 if (dh->dccph_cscov) { in dccp_error()
456 cscov = (dh in dccp_error()
384 dccp_new(struct nf_conn *ct, const struct sk_buff *skb, const struct dccp_hdr *dh) dccp_new() argument
490 struct dccp_hdr dh; /* generic header part */ global() member
501 dccp_header_pointer(const struct sk_buff *skb, int offset, const struct dccp_hdr *dh, struct nf_conntrack_dccp_buf *buf) dccp_header_pointer() argument
522 struct dccp_hdr *dh; nf_conntrack_dccp_packet() local
[all...]
/kernel/linux/linux-6.6/net/netfilter/
H A Dxt_dccp.c37 const struct dccp_hdr *dh, in dccp_find_option()
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()
83 match_types(const struct dccp_hdr *dh, u_int16_t typemask) in match_types() argument
85 return typemask & (1 << dh->dccph_type); in match_types()
90 const struct dccp_hdr *dh, bool *hotdrop) in match_option()
92 return dccp_find_option(option, skb, protoff, dh, hotdro in match_option()
34 dccp_find_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, bool *hotdrop) dccp_find_option() argument
89 match_option(u_int8_t option, const struct sk_buff *skb, unsigned int protoff, const struct dccp_hdr *dh, bool *hotdrop) match_option() argument
99 const struct dccp_hdr *dh; dccp_mt() local
[all...]
H A Dxt_hashlimit.c366 struct dsthash_ent *dh; in htable_selective_cleanup() local
370 hlist_for_each_entry_safe(dh, n, &ht->hash[i], node) { in htable_selective_cleanup()
371 if (time_after_eq(jiffies, dh->expires) || select_all) in htable_selective_cleanup()
372 dsthash_free(ht, dh); in htable_selective_cleanup()
529 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, in rateinfo_recalc() argument
532 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc()
539 u64 interval = dh->rateinfo.interval * HZ; in rateinfo_recalc()
544 dh->rateinfo.prev = now; in rateinfo_recalc()
545 dh->rateinfo.prev_window = in rateinfo_recalc()
546 ((dh in rateinfo_recalc()
573 rateinfo_init(struct dsthash_ent *dh, struct xt_hashlimit_htable *hinfo, int revision) rateinfo_init() argument
709 hashlimit_byte_cost(unsigned int len, struct dsthash_ent *dh) hashlimit_byte_cost() argument
730 struct dsthash_ent *dh; hashlimit_mt_common() local
[all...]
H A Dnf_conntrack_proto_dccp.c387 const struct dccp_hdr *dh, in dccp_new()
395 state = dccp_state_table[CT_DCCP_ROLE_CLIENT][dh->dccph_type][CT_DCCP_NONE]; in dccp_new()
424 static u64 dccp_ack_seq(const struct dccp_hdr *dh) in dccp_ack_seq() argument
428 dhack = (void *)dh + __dccp_basic_hdr_len(dh); in dccp_ack_seq()
433 static bool dccp_error(const struct dccp_hdr *dh, in dccp_error() argument
451 if (dh->dccph_doff * 4 < sizeof(struct dccp_hdr) || in dccp_error()
452 dh->dccph_doff * 4 > dccp_len) { in dccp_error()
458 if (dh->dccph_cscov) { in dccp_error()
459 cscov = (dh in dccp_error()
386 dccp_new(struct nf_conn *ct, const struct sk_buff *skb, const struct dccp_hdr *dh, const struct nf_hook_state *hook_state) dccp_new() argument
492 struct dccp_hdr dh; /* generic header part */ global() member
503 dccp_header_pointer(const struct sk_buff *skb, int offset, const struct dccp_hdr *dh, struct nf_conntrack_dccp_buf *buf) dccp_header_pointer() argument
524 struct dccp_hdr *dh; nf_conntrack_dccp_packet() local
[all...]
/kernel/linux/linux-5.10/net/dccp/
H A Dinput.c187 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_check_seqno() local
204 if (dh->dccph_type == DCCP_PKT_SYNC || in dccp_check_seqno()
205 dh->dccph_type == DCCP_PKT_SYNCACK) { in dccp_check_seqno()
227 if (dh->dccph_type == DCCP_PKT_CLOSEREQ || 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()
264 "sending SYNC...\n", dccp_packet_name(dh->dccph_type), in dccp_check_seqno()
274 if (dh->dccph_type == DCCP_PKT_RESET) in dccp_check_seqno()
284 const struct dccp_hdr *dh, cons in __dccp_rcv_established()
283 __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) __dccp_rcv_established() argument
364 dccp_rcv_established(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) dccp_rcv_established() argument
384 dccp_rcv_request_sent_state_process(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) dccp_rcv_request_sent_state_process() argument
517 dccp_rcv_respond_partopen_state_process(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) dccp_rcv_respond_partopen_state_process() argument
571 dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, struct dccp_hdr *dh, unsigned int len) dccp_rcv_state_process() argument
[all...]
H A Doutput.c49 struct dccp_hdr *dh; in dccp_transmit_skb() local
51 const u32 dccp_header_size = sizeof(*dh) + in dccp_transmit_skb()
100 dh = dccp_zeroed_hdr(skb, dccp_header_size); in dccp_transmit_skb()
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()
104 dh->dccph_doff = (dccp_header_size + dcb->dccpd_opt_len) / 4; 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 in dccp_transmit_skb()
393 struct dccp_hdr *dh; dccp_make_response() local
455 struct dccp_hdr *rxdh = dccp_hdr(rcv_skb), *dh; dccp_ctl_make_reset() local
[all...]
H A Dipv4.c236 const struct dccp_hdr *dh; in dccp_v4_err() local
246 if (!pskb_may_pull(skb, offset + sizeof(*dh))) in dccp_v4_err()
248 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
249 if (!pskb_may_pull(skb, offset + __dccp_basic_hdr_len(dh))) in dccp_v4_err()
252 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
255 iph->daddr, dh->dccph_dport, in dccp_v4_err()
256 iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_err()
267 seq = dccp_hdr_seq(dh); in dccp_v4_err()
372 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check() local
375 dh in dccp_v4_send_check()
493 struct dccp_hdr *dh = dccp_hdr(skb); dccp_v4_send_response() local
656 struct dccp_hdr *dh = dccp_hdr(skb); dccp_v4_do_rcv() local
708 const struct dccp_hdr *dh; dccp_invalid_packet() local
778 const struct dccp_hdr *dh; dccp_v4_rcv() local
[all...]
/kernel/linux/linux-6.6/net/dccp/
H A Dinput.c187 const struct dccp_hdr *dh = dccp_hdr(skb); in dccp_check_seqno() local
204 if (dh->dccph_type == DCCP_PKT_SYNC || in dccp_check_seqno()
205 dh->dccph_type == DCCP_PKT_SYNCACK) { in dccp_check_seqno()
227 if (dh->dccph_type == DCCP_PKT_CLOSEREQ || 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()
264 "sending SYNC...\n", dccp_packet_name(dh->dccph_type), in dccp_check_seqno()
274 if (dh->dccph_type == DCCP_PKT_RESET) in dccp_check_seqno()
284 const struct dccp_hdr *dh, cons in __dccp_rcv_established()
283 __dccp_rcv_established(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) __dccp_rcv_established() argument
364 dccp_rcv_established(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) dccp_rcv_established() argument
384 dccp_rcv_request_sent_state_process(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) dccp_rcv_request_sent_state_process() argument
517 dccp_rcv_respond_partopen_state_process(struct sock *sk, struct sk_buff *skb, const struct dccp_hdr *dh, const unsigned int len) dccp_rcv_respond_partopen_state_process() argument
571 dccp_rcv_state_process(struct sock *sk, struct sk_buff *skb, struct dccp_hdr *dh, unsigned int len) dccp_rcv_state_process() argument
[all...]
H A Doutput.c49 struct dccp_hdr *dh; in dccp_transmit_skb() local
51 const u32 dccp_header_size = sizeof(*dh) + in dccp_transmit_skb()
100 dh = dccp_zeroed_hdr(skb, dccp_header_size); in dccp_transmit_skb()
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()
104 dh->dccph_doff = (dccp_header_size + dcb->dccpd_opt_len) / 4; 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 in dccp_transmit_skb()
402 struct dccp_hdr *dh; dccp_make_response() local
464 struct dccp_hdr *rxdh = dccp_hdr(rcv_skb), *dh; dccp_ctl_make_reset() local
[all...]
H A Dipv4.c248 const struct dccp_hdr *dh; in dccp_v4_err() local
257 if (!pskb_may_pull(skb, offset + sizeof(*dh))) in dccp_v4_err()
259 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
260 if (!pskb_may_pull(skb, offset + __dccp_basic_hdr_len(dh))) in dccp_v4_err()
263 dh = (struct dccp_hdr *)(skb->data + offset); in dccp_v4_err()
266 iph->daddr, dh->dccph_dport, in dccp_v4_err()
267 iph->saddr, ntohs(dh->dccph_sport), in dccp_v4_err()
278 seq = dccp_hdr_seq(dh); in dccp_v4_err()
384 struct dccp_hdr *dh = dccp_hdr(skb); in dccp_v4_send_check() local
387 dh in dccp_v4_send_check()
506 struct dccp_hdr *dh = dccp_hdr(skb); dccp_v4_send_response() local
672 struct dccp_hdr *dh = dccp_hdr(skb); dccp_v4_do_rcv() local
724 const struct dccp_hdr *dh; dccp_invalid_packet() local
794 const struct dccp_hdr *dh; dccp_v4_rcv() local
[all...]
/kernel/linux/linux-5.10/drivers/firmware/
H A Ddmi-sysfs.c35 struct dmi_header dh; member
70 const struct dmi_header *dh,
116 const struct dmi_header *dh, void *);
126 static void find_dmi_entry_helper(const struct dmi_header *dh, in find_dmi_entry_helper() argument
133 if (dh->type != entry->dh.type) in find_dmi_entry_helper()
149 data->ret = data->callback(entry, dh, data->private); in find_dmi_entry_helper()
180 * dh. This includes both the formatted portion as well as the
183 static size_t dmi_entry_length(const struct dmi_header *dh) in dmi_entry_length() argument
185 const char *p = (const char *)dh; in dmi_entry_length()
203 dmi_entry_attr_show_helper(struct dmi_sysfs_entry *entry, const struct dmi_header *dh, void *_data) dmi_entry_attr_show_helper() argument
399 dmi_sel_raw_read_helper(struct dmi_sysfs_entry *entry, const struct dmi_header *dh, void *_state) dmi_sel_raw_read_helper() argument
522 dmi_entry_raw_read_helper(struct dmi_sysfs_entry *entry, const struct dmi_header *dh, void *_state) dmi_entry_raw_read_helper() argument
579 dmi_sysfs_register_handle(const struct dmi_header *dh, void *_ret) dmi_sysfs_register_handle() argument
[all...]
/kernel/linux/linux-6.6/drivers/firmware/
H A Ddmi-sysfs.c35 struct dmi_header dh; member
70 const struct dmi_header *dh,
116 const struct dmi_header *dh, void *);
126 static void find_dmi_entry_helper(const struct dmi_header *dh, in find_dmi_entry_helper() argument
133 if (dh->type != entry->dh.type) in find_dmi_entry_helper()
149 data->ret = data->callback(entry, dh, data->private); in find_dmi_entry_helper()
180 * dh. This includes both the formatted portion as well as the
183 static size_t dmi_entry_length(const struct dmi_header *dh) in dmi_entry_length() argument
185 const char *p = (const char *)dh; in dmi_entry_length()
203 dmi_entry_attr_show_helper(struct dmi_sysfs_entry *entry, const struct dmi_header *dh, void *_data) dmi_entry_attr_show_helper() argument
401 dmi_sel_raw_read_helper(struct dmi_sysfs_entry *entry, const struct dmi_header *dh, void *_state) dmi_sel_raw_read_helper() argument
527 dmi_entry_raw_read_helper(struct dmi_sysfs_entry *entry, const struct dmi_header *dh, void *_state) dmi_entry_raw_read_helper() argument
584 dmi_sysfs_register_handle(const struct dmi_header *dh, void *_ret) dmi_sysfs_register_handle() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddccp.h78 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx() argument
80 return (struct dccp_hdr_ext *)((unsigned char *)dh + sizeof(*dh)); in dccp_hdrx()
83 static inline unsigned int __dccp_basic_hdr_len(const struct dccp_hdr *dh) in __dccp_basic_hdr_len() argument
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 in dccp_hdr_seq()
136 __dccp_hdr_len(const struct dccp_hdr *dh) __dccp_hdr_len() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddccp.h78 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx() argument
80 return (struct dccp_hdr_ext *)((unsigned char *)dh + sizeof(*dh)); in dccp_hdrx()
83 static inline unsigned int __dccp_basic_hdr_len(const struct dccp_hdr *dh) in __dccp_basic_hdr_len() argument
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 in dccp_hdr_seq()
136 __dccp_hdr_len(const struct dccp_hdr *dh) __dccp_hdr_len() argument
[all...]
/kernel/linux/linux-6.6/include/crypto/
H A Ddh.h23 * struct dh - define a DH private key
32 struct dh { struct
51 unsigned int crypto_dh_key_len(const struct dh *params);
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);
/kernel/linux/linux-6.6/fs/quota/
H A Dquota_tree.c87 struct qt_disk_dqdbheader *dh) in check_dquot_block_header()
92 le32_to_cpu(dh->dqdh_next_free), 0, in check_dquot_block_header()
97 le32_to_cpu(dh->dqdh_prev_free), 0, in check_dquot_block_header()
102 le16_to_cpu(dh->dqdh_entries), 0, in check_dquot_block_header()
112 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local
122 ret = check_dquot_block_header(info, dh); in get_free_dqblk()
125 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk()
145 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local
148 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk); in put_free_dqblk()
149 dh in put_free_dqblk()
86 check_dquot_block_header(struct qtree_mem_dqinfo *info, struct qt_disk_dqdbheader *dh) check_dquot_block_header() argument
164 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; remove_free_dqentry() local
211 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; insert_free_dqentry() local
257 struct qt_disk_dqdbheader *dh; find_free_dqentry() local
451 struct qt_disk_dqdbheader *dh; free_dqentry() local
[all...]
/kernel/linux/linux-5.10/fs/quota/
H A Dquota_tree.c96 struct qt_disk_dqdbheader *dh) in check_dquot_block_header()
101 le32_to_cpu(dh->dqdh_next_free), 0, in check_dquot_block_header()
106 le32_to_cpu(dh->dqdh_prev_free), 0, in check_dquot_block_header()
116 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local
126 ret = check_dquot_block_header(info, dh); in get_free_dqblk()
129 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk()
149 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local
152 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk); in put_free_dqblk()
153 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk()
154 dh in put_free_dqblk()
95 check_dquot_block_header(struct qtree_mem_dqinfo *info, struct qt_disk_dqdbheader *dh) check_dquot_block_header() argument
168 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; remove_free_dqentry() local
215 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; insert_free_dqentry() local
261 struct qt_disk_dqdbheader *dh; find_free_dqentry() local
451 struct qt_disk_dqdbheader *dh; free_dqentry() local
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Ddh.h23 * struct dh - define a DH private key
34 struct dh { struct
55 unsigned int crypto_dh_key_len(const struct dh *params);
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);
/kernel/linux/linux-6.6/crypto/
H A Ddh_helper.c10 #include <crypto/dh.h>
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()
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/hpre/
H A Dhpre_crypto.c4 #include <crypto/dh.h>
82 struct hpre_dh_ctx dh; member
93 struct kpp_request *dh; member
236 /* when the data is dh's source, we should format it */ in hpre_hw_data_init()
376 areq = req->areq.dh; in hpre_dh_cb()
471 h_req->areq.dh = kreq; in hpre_msg_request_set()
474 msg->key = cpu_to_le64(ctx->dh.dma_xa_p); in hpre_msg_request_set()
532 msg->in = cpu_to_le64(ctx->dh.dma_g); in hpre_dh_compute_value()
577 static int hpre_dh_set_params(struct hpre_ctx *ctx, struct dh *params) in hpre_dh_set_params()
590 ctx->dh in hpre_dh_set_params()
1139 static struct kpp_alg dh = { global() variable
[all...]
/kernel/linux/linux-5.10/drivers/crypto/qat/qat_common/
H A Dqat_asym_algs.c9 #include <crypto/dh.h>
117 struct qat_dh_input_params dh; member
121 struct qat_dh_output_params dh; member
130 struct qat_dh_ctx *dh; member
134 struct kpp_request *dh; member
143 struct kpp_request *areq = req->areq.dh; in qat_dh_cb()
144 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb()
152 dma_free_coherent(dev, req->ctx.dh->p_size, in qat_dh_cb()
153 req->src_align, req->in.dh.in.b); in qat_dh_cb()
155 dma_unmap_single(dev, req->in.dh in qat_dh_cb()
1273 static struct kpp_alg dh = { global() variable
[all...]
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/crypto/intel/qat/qat_common/
H A Dqat_asym_algs.c9 #include <crypto/dh.h>
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
159 struct kpp_request *areq = req->areq.dh; in qat_dh_cb()
160 struct device *dev = &GET_DEV(req->ctx.dh->inst->accel_dev); in qat_dh_cb()
167 dma_unmap_single(dev, req->in.dh.in.b, req->ctx.dh->p_size, in qat_dh_cb()
172 areq->dst_len = req->ctx.dh in qat_dh_cb()
1266 static struct kpp_alg dh = { global() variable
[all...]

Completed in 23 milliseconds

12345