Searched refs:dh (Results 1 – 4 of 4) sorted by relevance
7 static inline struct dccp_hdr_ext *dccp_hdrx(const struct dccp_hdr *dh) in dccp_hdrx() argument9 return (struct dccp_hdr_ext *)((unsigned char *)dh + sizeof(*dh)); in dccp_hdrx()14 return sizeof(*dh) + (dh->dccph_x ? sizeof(struct dccp_hdr_ext) : 0); in __dccp_basic_hdr_len()17 static inline __u64 dccp_hdr_seq(const struct dccp_hdr *dh) in dccp_hdr_seq() argument19 __u64 seq_nr = ntohs(dh->dccph_seq); in dccp_hdr_seq()21 if (dh->dccph_x != 0) in dccp_hdr_seq()22 seq_nr = (seq_nr << 32) + ntohl(dccp_hdrx(dh)->dccph_seq_low); in dccp_hdr_seq()24 seq_nr += (u32)dh->dccph_seq2 << 16; in dccp_hdr_seq()29 static inline unsigned int __dccp_hdr_len(const struct dccp_hdr *dh) in __dccp_hdr_len() argument31 return __dccp_basic_hdr_len(dh) + in __dccp_hdr_len()[all …]
32 struct dh { struct51 unsigned int crypto_dh_key_len(const struct dh *params); argument66 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);
69 simatic_ipc_find_dmi_entry_helper(const struct dmi_header *dh, void *_data) in simatic_ipc_find_dmi_entry_helper() argument73 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()
122 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() argument125 r->y1 -= dh >> 1; in drm_rect_adjust_size()127 r->y2 += (dh + 1) >> 1; in drm_rect_adjust_size()
Completed in 4 milliseconds