| /linux/net/netfilter/ |
| H 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() 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() argument 92 return dccp_find_option(option, skb, protoff, dh, hotdrop); in match_option() 99 const struct dccp_hdr *dh; in dccp_mt() local 105 dh = skb_header_pointer(skb, par->thoff, sizeof(_dh), &_dh); in dccp_mt() [all …]
|
| H A D | xt_hashlimit.c | 365 struct dsthash_ent *dh; in htable_selective_cleanup() local 372 hlist_for_each_entry_safe(dh, n, head, node) { in htable_selective_cleanup() 373 if (time_after_eq(jiffies, dh->expires) || select_all) in htable_selective_cleanup() 374 dsthash_free(ht, dh); in htable_selective_cleanup() 531 static void rateinfo_recalc(struct dsthash_ent *dh, unsigned long now, in rateinfo_recalc() argument 534 unsigned long delta = now - dh->rateinfo.prev; in rateinfo_recalc() 541 u64 interval = dh->rateinfo.interval * HZ; in rateinfo_recalc() 546 dh->rateinfo.prev = now; in rateinfo_recalc() 547 dh->rateinfo.prev_window = in rateinfo_recalc() 548 ((dh->rateinfo.current_rate * interval) > in rateinfo_recalc() [all …]
|
| /linux/net/dccp/ |
| H A D | input.c | |
| H A D | ipv4.c | |
| H A D | output.c | |
| H A D | ipv6.c | |
| H A D | dccp.h | |
| /linux/drivers/firmware/ |
| H A D | dmi-sysfs.c | 35 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() 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() 187 p += dh->length; in dmi_entry_length() 192 return 2 + p - (const char *)dh; in dmi_entry_length() [all …]
|
| /linux/fs/quota/ |
| H A D | quota_tree.c | 93 struct qt_disk_dqdbheader *dh) in check_dquot_block_header() argument 98 le32_to_cpu(dh->dqdh_next_free), 0, in check_dquot_block_header() 103 le32_to_cpu(dh->dqdh_prev_free), 0, in check_dquot_block_header() 108 le16_to_cpu(dh->dqdh_entries), 0, in check_dquot_block_header() 118 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in get_free_dqblk() local 128 ret = check_dquot_block_header(info, dh); in get_free_dqblk() 131 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk() 151 struct qt_disk_dqdbheader *dh = (struct qt_disk_dqdbheader *)buf; in put_free_dqblk() local 154 dh->dqdh_next_free = cpu_to_le32(info->dqi_free_blk); in put_free_dqblk() 155 dh->dqdh_prev_free = cpu_to_le32(0); in put_free_dqblk() [all …]
|
| /linux/include/crypto/ |
| H 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/include/linux/platform_data/x86/ |
| H 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/ |
| H 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/block/drbd/ |
| H A D | drbd_nl.c | 1410 struct drbd_genlmsghdr *dh = genl_info_userhdr(info); in should_set_defaults() local 1412 return 0 != (dh->flags & DRBD_GENL_F_SET_DEFAULTS); in should_set_defaults() 3255 struct drbd_genlmsghdr *dh; in drbd_adm_dump_resources() local 3280 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in drbd_adm_dump_resources() 3284 if (!dh) in drbd_adm_dump_resources() 3286 dh->minor = -1U; in drbd_adm_dump_resources() 3287 dh->ret_code = NO_ERROR; in drbd_adm_dump_resources() 3303 genlmsg_end(skb, dh); in drbd_adm_dump_resources() 3370 struct drbd_genlmsghdr *dh; in drbd_adm_dump_devices() local 3403 dh = genlmsg_put(skb, NETLINK_CB(cb->skb).portid, in drbd_adm_dump_devices() [all …]
|
| /linux/drivers/md/ |
| H 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() 346 if (le32_to_cpu(dh->magic) != SNAP_MAGIC) { 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() [all …]
|
| /linux/security/keys/ |
| H 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/drivers/video/fbdev/omap2/omapfb/dss/ |
| H 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/drivers/scsi/ |
| H 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/arch/arm/boot/dts/st/ |
| H A D | stm32mp151a-dhcor-testbench.dts | 14 compatible = "dh,stm32mp151a-dhcor-testbench", 15 "dh,stm32mp151a-dhcor-som",
|
| H A D | stm32mp153c-dhcor-drc-compact.dts | 20 compatible = "dh,stm32mp153c-dhcor-drc-compact", 21 "dh,stm32mp153c-dhcor-som",
|
| H A D | stm32mp157c-dhcom-pdk2.dts | 19 compatible = "dh,stm32mp157c-dhcom-pdk2", "dh,stm32mp157c-dhcom-som",
|
| H A D | stm32mp157c-dhcom-picoitx.dts | 19 compatible = "dh,stm32mp157c-dhcom-picoitx", "dh,stm32mp157c-dhcom-som",
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-driver-hid-wiimote | 7 Contact: David Herrmann <dh.herrmann@googlemail.com> 15 Contact: David Herrmann <dh.herrmann@gmail.com> 32 Contact: David Herrmann <dh.herrmann@gmail.com> 54 Contact: David Herrmann <dh.herrmann@gmail.com> 70 Contact: David Herrmann <dh.herrmann@gmail.com>
|
| /linux/arch/arm/boot/dts/nxp/imx/ |
| H A D | imx6ull-dhcom-picoitx.dts | 18 compatible = "dh,imx6ull-dhcom-picoitx", "dh,imx6ull-dhcom-som", 19 "dh,imx6ull-dhcor-som", "fsl,imx6ull";
|
| /linux/include/drm/ |
| H A D | drm_rect.h | 122 static inline void drm_rect_adjust_size(struct drm_rect *r, int dw, int dh) in drm_rect_adjust_size() argument 125 r->y1 -= dh >> 1; in drm_rect_adjust_size() 127 r->y2 += (dh + 1) >> 1; in drm_rect_adjust_size()
|
| /linux/drivers/fsi/ |
| H A D | fsi-sbefifo.c | 224 u32 dh, s0, s1; in sbefifo_parse_status() local 232 dh = be32_to_cpu(response[resp_len - 1]); in sbefifo_parse_status() 233 if (dh > resp_len || dh < 3) { in sbefifo_parse_status() 235 cmd >> 8, cmd & 0xff, dh, resp_len); in sbefifo_parse_status() 238 s0 = be32_to_cpu(response[resp_len - dh]); in sbefifo_parse_status() 239 s1 = be32_to_cpu(response[resp_len - dh + 1]); in sbefifo_parse_status() 246 ffdc_sz = dh - 3; in sbefifo_parse_status() 250 sbefifo_dump_ffdc(dev, &response[resp_len - dh + 2], in sbefifo_parse_status() 254 *data_len = resp_len - dh; in sbefifo_parse_status()
|