/linux/net/netfilter/ |
A D | xt_hashlimit.c | 298 hinfo = vmalloc(struct_size(hinfo, hash, size)); in htable_create() 306 vfree(hinfo); in htable_create() 312 hinfo->cfg.max = 8 * hinfo->cfg.size; in htable_create() 313 else if (hinfo->cfg.max < hinfo->cfg.size) in htable_create() 314 hinfo->cfg.max = hinfo->cfg.size; in htable_create() 325 vfree(hinfo); in htable_create() 344 ops, hinfo); in htable_create() 347 vfree(hinfo); in htable_create() 801 struct xt_hashlimit_htable *hinfo = info->hinfo; in hashlimit_mt_v1() local 816 struct xt_hashlimit_htable *hinfo = info->hinfo; in hashlimit_mt_v2() local [all …]
|
/linux/net/ipv6/ |
A D | seg6_hmac.c | 54 kfree_rcu(hinfo, rcu); in seg6_hinfo_release() 61 if (hinfo) in seg6_free_hi() 62 seg6_hinfo_release(hinfo); in seg6_free_hi() 139 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac() 240 struct seg6_hmac_info *hinfo; in seg6_hmac_validate_skb() local 266 if (!hinfo) in seg6_hmac_validate_skb() 283 struct seg6_hmac_info *hinfo; in seg6_hmac_info_lookup() local 287 return hinfo; in seg6_hmac_info_lookup() 310 if (!hinfo) in seg6_hmac_info_del() 318 seg6_hinfo_release(hinfo); in seg6_hmac_info_del() [all …]
|
A D | seg6.c | 156 struct seg6_hmac_info *hinfo; in seg6_genl_sethmac() local 194 if (hinfo) { in seg6_genl_sethmac() 202 hinfo = kzalloc(sizeof(*hinfo), GFP_KERNEL); in seg6_genl_sethmac() 203 if (!hinfo) { in seg6_genl_sethmac() 209 hinfo->slen = slen; in seg6_genl_sethmac() 210 hinfo->alg_id = algid; in seg6_genl_sethmac() 215 kfree(hinfo); in seg6_genl_sethmac() 301 nla_put(msg, SEG6_ATTR_SECRET, hinfo->slen, hinfo->secret) || in __seg6_hmac_fill_info() 373 if (IS_ERR(hinfo)) { in seg6_genl_dumphmac() 376 ret = PTR_ERR(hinfo); in seg6_genl_dumphmac() [all …]
|
A D | inet6_hashtables.c | 250 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet6_check_established() local 260 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet6_check_established() 261 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet6_check_established()
|
/linux/fs/ext4/ |
A D | hash.c | 201 struct dx_hash_info *hinfo) in __ext4fs_dirhash() argument 218 if (hinfo->seed) { in __ext4fs_dirhash() 220 if (hinfo->seed[i]) { in __ext4fs_dirhash() 221 memcpy(buf, hinfo->seed, sizeof(buf)); in __ext4fs_dirhash() 227 switch (hinfo->hash_version) { in __ext4fs_dirhash() 279 hinfo->hash = 0; in __ext4fs_dirhash() 285 hinfo->hash = hash; in __ext4fs_dirhash() 286 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash() 291 struct dx_hash_info *hinfo) in ext4fs_dirhash() argument 311 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash() [all …]
|
A D | namei.c | 815 hinfo = &fname->hinfo; in dx_probe() 824 hash = hinfo->hash; in dx_probe() 1066 hinfo->hash = 0; in htree_dirblock_to_tree() 1082 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree() 1098 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree() 1143 hinfo.hash_version = in ext4_htree_fill_tree() 1146 hinfo.hash_version += in ext4_htree_fill_tree() 1166 hinfo.minor_hash = 0; in ext4_htree_fill_tree() 1377 struct dx_hash_info *hinfo = &name->hinfo; in ext4_fname_setup_ci_filename() local 1402 hinfo->seed = NULL; in ext4_fname_setup_ci_filename() [all …]
|
A D | inline.c | 1346 struct dx_hash_info *hinfo, in ext4_inlinedir_to_tree() argument 1425 hinfo->hash = EXT4_DIRENT_HASH(de); in ext4_inlinedir_to_tree() 1426 hinfo->minor_hash = EXT4_DIRENT_MINOR_HASH(de); in ext4_inlinedir_to_tree() 1428 ext4fs_dirhash(dir, de->name, de->name_len, hinfo); in ext4_inlinedir_to_tree() 1430 if ((hinfo->hash < start_hash) || in ext4_inlinedir_to_tree() 1431 ((hinfo->hash == start_hash) && in ext4_inlinedir_to_tree() 1432 (hinfo->minor_hash < start_minor_hash))) in ext4_inlinedir_to_tree() 1438 err = ext4_htree_store_dirent(dir_file, hinfo->hash, in ext4_inlinedir_to_tree() 1439 hinfo->minor_hash, de, &tmp_str); in ext4_inlinedir_to_tree()
|
A D | ialloc.c | 440 struct dx_hash_info hinfo; in find_group_orlov() local 463 hinfo.hash_version = DX_HASH_HALF_MD4; in find_group_orlov() 464 hinfo.seed = sbi->s_hash_seed; in find_group_orlov() 465 ext4fs_dirhash(parent, qstr->name, qstr->len, &hinfo); in find_group_orlov() 466 grp = hinfo.hash; in find_group_orlov()
|
/linux/sound/pci/hda/ |
A D | hda_controller.c | 70 if (!hinfo->ops.get_delay) in azx_adjust_codec_delay() 73 codec_frames = hinfo->ops.get_delay(hinfo, apcm->codec, substream); in azx_adjust_codec_delay() 97 if (hinfo->ops.close) in azx_pcm_close() 98 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close() 171 hinfo->maxbps, in azx_pcm_prepare() 312 if (hinfo->ops.get_delay) in azx_get_position() 313 delay += hinfo->ops.get_delay(hinfo, apcm->codec, in azx_get_position() 633 if (hinfo->ops.open) in azx_pcm_open() 634 err = hinfo->ops.open(hinfo, apcm->codec, substream); in azx_pcm_open() 648 if (hinfo->ops.close) in azx_pcm_open() [all …]
|
A D | patch_hdmi.c | 266 struct hda_pcm_stream *hinfo) in hinfo_to_pcm_index() argument 1189 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open_no_pin() 1199 hinfo->rates = per_cvt->rates; in hdmi_pcm_open_no_pin() 1262 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open() 1289 if (hinfo->channels_min > hinfo->channels_max || in hdmi_pcm_open() 1290 !hinfo->rates || !hinfo->formats) { in hdmi_pcm_open() 1292 hinfo->nid = 0; in hdmi_pcm_open() 1446 struct hda_pcm_stream *hinfo; in hdmi_pcm_setup_pin() local 1461 hinfo = pcm->stream; in hdmi_pcm_setup_pin() 2134 if (hinfo->nid) { in hdmi_pcm_close() [all …]
|
A D | hda_eld.c | 556 struct hda_pcm_stream *hinfo) in snd_hdmi_eld_update_pcm_info() argument 592 hinfo->rates &= rates; in snd_hdmi_eld_update_pcm_info() 593 hinfo->formats &= formats; in snd_hdmi_eld_update_pcm_info() 594 hinfo->maxbps = min(hinfo->maxbps, maxbps); in snd_hdmi_eld_update_pcm_info() 595 hinfo->channels_max = min(hinfo->channels_max, channels_max); in snd_hdmi_eld_update_pcm_info()
|
A D | patch_si3054.c | 135 static int si3054_pcm_prepare(struct hda_pcm_stream *hinfo, in si3054_pcm_prepare() argument 149 snd_hda_codec_setup_stream(codec, hinfo->nid, in si3054_pcm_prepare() 154 static int si3054_pcm_open(struct hda_pcm_stream *hinfo, in si3054_pcm_open() argument
|
A D | hda_generic.c | 5260 hinfo); in playback_pcm_open() 5263 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_open() 5308 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_close() 5329 call_pcm_capture_hook(hinfo, codec, substream, in capture_pcm_prepare() 5339 call_pcm_capture_hook(hinfo, codec, substream, in capture_pcm_cleanup() 5364 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_open() 5377 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_close() 5390 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_prepare() 5400 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_cleanup() 5459 call_pcm_capture_hook(hinfo, codec, substream, in alt_capture_pcm_prepare() [all …]
|
A D | hda_codec.c | 3013 elem = hinfo->chmap ? hinfo->chmap : snd_pcm_std_chmaps; in add_std_chmaps() 3015 hinfo->channels_max, in add_std_chmaps() 3138 struct hda_pcm_stream *hinfo, in snd_hda_codec_prepare() argument 3145 if (hinfo->ops.prepare) in snd_hda_codec_prepare() 3146 ret = hinfo->ops.prepare(hinfo, codec, stream, format, in snd_hda_codec_prepare() 3166 struct hda_pcm_stream *hinfo, in snd_hda_codec_cleanup() argument 3170 if (hinfo->ops.cleanup) in snd_hda_codec_cleanup() 3171 hinfo->ops.cleanup(hinfo, codec, substream); in snd_hda_codec_cleanup() 3665 struct hda_pcm_stream *hinfo) in snd_hda_multi_out_analog_open() argument 3671 mout->analog_rates = hinfo->rates; in snd_hda_multi_out_analog_open() [all …]
|
A D | hda_generic.h | 281 void (*pcm_playback_hook)(struct hda_pcm_stream *hinfo, 285 void (*pcm_capture_hook)(struct hda_pcm_stream *hinfo,
|
A D | hda_local.h | 241 struct hda_pcm_stream *hinfo); 707 struct hda_pcm_stream *hinfo);
|
/linux/include/uapi/linux/netfilter/ |
A D | xt_hashlimit.h | 49 struct xt_hashlimit_htable *hinfo; member 104 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member 112 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member 120 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member
|
/linux/drivers/scsi/megaraid/ |
A D | megaraid_mm.c | 814 mraid_hba_info_t *hinfo; in kioc_to_mimd() local 831 hinfo_to_cinfo(hinfo, &cinfo); in kioc_to_mimd() 883 if (!hinfo || !cinfo) in hinfo_to_cinfo() 886 cinfo->base = hinfo->baseport; in hinfo_to_cinfo() 887 cinfo->irq = hinfo->irq; in hinfo_to_cinfo() 888 cinfo->numldrv = hinfo->num_ldrv; in hinfo_to_cinfo() 889 cinfo->pcibus = hinfo->pci_bus; in hinfo_to_cinfo() 890 cinfo->pcidev = hinfo->pci_slot; in hinfo_to_cinfo() 892 cinfo->pciid = hinfo->pci_device_id; in hinfo_to_cinfo() 894 cinfo->pcislot = hinfo->pci_slot; in hinfo_to_cinfo() [all …]
|
A D | megaraid_mbox.c | 3721 gather_hbainfo(adapter_t *adapter, mraid_hba_info_t *hinfo) in gather_hbainfo() argument 3723 hinfo->pci_vendor_id = adapter->pdev->vendor; in gather_hbainfo() 3724 hinfo->pci_device_id = adapter->pdev->device; in gather_hbainfo() 3725 hinfo->subsys_vendor_id = adapter->pdev->subsystem_vendor; in gather_hbainfo() 3728 hinfo->pci_bus = adapter->pdev->bus->number; in gather_hbainfo() 3729 hinfo->pci_dev_fn = adapter->pdev->devfn; in gather_hbainfo() 3730 hinfo->pci_slot = PCI_SLOT(adapter->pdev->devfn); in gather_hbainfo() 3731 hinfo->irq = adapter->host->irq; in gather_hbainfo() 3732 hinfo->baseport = ADAP2RAIDDEV(adapter)->baseport; in gather_hbainfo() 3734 hinfo->unique_id = (hinfo->pci_bus << 8) | adapter->pdev->devfn; in gather_hbainfo() [all …]
|
/linux/include/net/ |
A D | seg6_hmac.h | 42 extern int seg6_hmac_compute(struct seg6_hmac_info *hinfo, 47 struct seg6_hmac_info *hinfo);
|
/linux/fs/ocfs2/ |
A D | dir.c | 252 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_name_hash() argument 289 hinfo->major_hash = buf[0]; in ocfs2_dx_dir_name_hash() 290 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash() 837 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument 844 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument 852 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup() 1478 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_inline_root_insert() argument 2518 struct ocfs2_dx_hinfo hinfo; in ocfs2_fill_new_dir_dx() local 2595 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_block() local 2640 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_root_block() local [all …]
|
/linux/drivers/hwmon/ |
A D | intel-m10-bmc-hwmon.c | 27 const struct hwmon_channel_info **hinfo; member 154 .hinfo = n3000bmc_hinfo, 228 .hinfo = d5005bmc_hinfo, 340 .hinfo = n5010bmc_hinfo, 528 hw->chip.info = hw->bdata->hinfo; in m10bmc_hwmon_probe()
|
/linux/net/ipv4/ |
A D | inet_hashtables.c | 445 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_check_established() local 456 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet_check_established() 457 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet_check_established() 730 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_hash_connect() local 742 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect() 743 hinfo->bhash_size)]; in __inet_hash_connect() 781 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect() 782 hinfo->bhash_size)]; in __inet_hash_connect() 802 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, in __inet_hash_connect() 837 inet_twsk_bind_unhash(tw, hinfo); in __inet_hash_connect()
|
A D | inet_connection_sock.c | 192 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_find_open_port() local 235 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port() 236 hinfo->bhash_size)]; in inet_csk_find_open_port() 365 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_get_port() local 382 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port() 383 hinfo->bhash_size)]; in inet_csk_get_port() 390 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, in inet_csk_get_port()
|
/linux/include/sound/ |
A D | hda_codec.h | 428 struct hda_pcm_stream *hinfo, 433 struct hda_pcm_stream *hinfo,
|