Home
last modified time | relevance | path

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

/include/crypto/
Ddh.h34 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);
/include/linux/
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->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()
[all …]
/include/drm/
Ddrm_rect.h106 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() argument
109 r->y1 -= dh >> 1; in drm_rect_adjust_size()
111 r->y2 += (dh + 1) >> 1; in drm_rect_adjust_size()