Home
last modified time | relevance | path

Searched refs:hinfo (Results 1 – 25 of 42) sorted by relevance

12

/linux/net/netfilter/
A Dxt_hashlimit.c298 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 Dseg6_hmac.c54 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
268 if (!hinfo) in seg6_hmac_validate_skb()
285 struct seg6_hmac_info *hinfo; in seg6_hmac_info_lookup() local
289 return hinfo; in seg6_hmac_info_lookup()
312 if (!hinfo) in seg6_hmac_info_del()
320 seg6_hinfo_release(hinfo); in seg6_hmac_info_del()
[all …]
A Dseg6.c154 struct seg6_hmac_info *hinfo; in seg6_genl_sethmac() local
197 if (hinfo) { in seg6_genl_sethmac()
205 hinfo = kzalloc(sizeof(*hinfo), GFP_KERNEL); in seg6_genl_sethmac()
206 if (!hinfo) { in seg6_genl_sethmac()
212 hinfo->slen = slen; in seg6_genl_sethmac()
213 hinfo->alg_id = algid; in seg6_genl_sethmac()
218 kfree(hinfo); in seg6_genl_sethmac()
304 nla_put(msg, SEG6_ATTR_SECRET, hinfo->slen, hinfo->secret) || in __seg6_hmac_fill_info()
376 if (IS_ERR(hinfo)) { in seg6_genl_dumphmac()
379 ret = PTR_ERR(hinfo); in seg6_genl_dumphmac()
[all …]
A Dinet6_hashtables.c268 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet6_check_established() local
278 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet6_check_established()
279 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet6_check_established()
/linux/fs/ext4/
A Dhash.c201 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()
280 hinfo->minor_hash = 0; in __ext4fs_dirhash()
283 hinfo->hash_version); in __ext4fs_dirhash()
289 hinfo->hash = hash; in __ext4fs_dirhash()
290 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash()
[all …]
A Dnamei.c850 hinfo = &fname->hinfo; in dx_probe()
865 hash = hinfo->hash; in dx_probe()
1121 hinfo->hash = 0; in htree_dirblock_to_tree()
1142 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1158 hinfo->hash, hinfo->minor_hash, de, in htree_dirblock_to_tree()
1203 hinfo.hash_version = in ext4_htree_fill_tree()
1206 hinfo.hash_version += in ext4_htree_fill_tree()
1226 hinfo.minor_hash = 0; in ext4_htree_fill_tree()
1399 struct dx_hash_info *hinfo = &name->hinfo; in ext4_fname_setup_ci_filename() local
1424 hinfo->seed = NULL; in ext4_fname_setup_ci_filename()
[all …]
/linux/net/ipv4/
A Dtcp_diag.c184 struct inet_hashinfo *hinfo; in tcp_diag_dump() local
186 hinfo = sock_net(cb->skb->sk)->ipv4.tcp_death_row.hashinfo; in tcp_diag_dump()
188 inet_diag_dump_icsk(hinfo, skb, cb, r); in tcp_diag_dump()
194 struct inet_hashinfo *hinfo; in tcp_diag_dump_one() local
196 hinfo = sock_net(cb->skb->sk)->ipv4.tcp_death_row.hashinfo; in tcp_diag_dump_one()
198 return inet_diag_dump_one_icsk(hinfo, cb, req); in tcp_diag_dump_one()
206 struct inet_hashinfo *hinfo; in tcp_diag_destroy() local
210 hinfo = net->ipv4.tcp_death_row.hashinfo; in tcp_diag_destroy()
211 sk = inet_diag_find_one_icsk(net, hinfo, req); in tcp_diag_destroy()
A Dinet_hashtables.c542 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_check_established() local
554 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet_check_established()
874 return &hinfo->bhash2[hash & (hinfo->bhash_size - 1)]; in inet_bhash2_addr_any_hashbucket()
929 bhash = inet_bhashfn(net, port, hinfo->bhash_size); in __inet_bhash2_update_saddr()
930 head = &hinfo->bhash[bhash]; in __inet_bhash2_update_saddr()
931 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in __inet_bhash2_update_saddr()
999 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_hash_connect() local
1049 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
1050 hinfo->bhash_size)]; in __inet_hash_connect()
1122 inet_twsk_bind_unhash(tw, hinfo); in __inet_hash_connect()
[all …]
A Dtcp_ipv4.c2608 ilb2 = &hinfo->lhash2[st->bucket];
2633 struct inet_hashinfo *hinfo; local
2646 ilb2 = &hinfo->lhash2[st->bucket];
2692 if (empty_bucket(hinfo, st))
2770 if (st->bucket > hinfo->lhash2_mask)
2781 if (st->bucket > hinfo->ehash_mask)
3125 st->bucket > hinfo->lhash2_mask) {
3404 struct inet_hashinfo *hinfo; local
3418 if (!hinfo) {
3423 hinfo = &tcp_hashinfo;
[all …]
A Dinet_connection_sock.c335 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_csk_find_open_port() local
377 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port()
378 hinfo->bhash_size)]; in inet_csk_find_open_port()
385 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in inet_csk_find_open_port()
517 struct inet_hashinfo *hinfo = tcp_or_dccp_get_hashinfo(sk); in inet_csk_get_port() local
541 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port()
542 hinfo->bhash_size)]; in inet_csk_get_port()
550 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, net, in inet_csk_get_port()
570 head2 = inet_bhashfn_portaddr(hinfo, sk, net, port); in inet_csk_get_port()
577 tb2 = inet_bind2_bucket_create(hinfo->bind2_bucket_cachep, in inet_csk_get_port()
[all …]
/linux/sound/pci/hda/
A Dhda_controller.c71 if (!hinfo->ops.get_delay) in azx_adjust_codec_delay()
74 codec_frames = hinfo->ops.get_delay(hinfo, apcm->codec, substream); in azx_adjust_codec_delay()
98 if (hinfo->ops.close) in azx_pcm_close()
99 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close()
317 if (hinfo->ops.get_delay) in azx_get_position()
318 delay += hinfo->ops.get_delay(hinfo, apcm->codec, in azx_get_position()
609 runtime->hw.rates = hinfo->rates; in azx_pcm_open()
638 if (hinfo->ops.open) in azx_pcm_open()
639 err = hinfo->ops.open(hinfo, apcm->codec, substream); in azx_pcm_open()
653 if (hinfo->ops.close) in azx_pcm_open()
[all …]
A Dpatch_hdmi.c277 struct hda_pcm_stream *hinfo) in hinfo_to_pcm_index() argument
1212 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open_no_pin()
1222 hinfo->rates = per_cvt->rates; in hdmi_pcm_open_no_pin()
1278 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open()
1305 if (hinfo->channels_min > hinfo->channels_max || in hdmi_pcm_open()
1306 !hinfo->rates || !hinfo->formats) { in hdmi_pcm_open()
1308 hinfo->nid = 0; in hdmi_pcm_open()
1434 struct hda_pcm_stream *hinfo; in hdmi_pcm_setup_pin() local
1448 hinfo = pcm->stream; in hdmi_pcm_setup_pin()
2183 if (hinfo->nid) { in hdmi_pcm_close()
[all …]
A Dhda_eld.c560 struct hda_pcm_stream *hinfo) in snd_hdmi_eld_update_pcm_info() argument
596 hinfo->rates &= rates; in snd_hdmi_eld_update_pcm_info()
597 hinfo->formats &= formats; in snd_hdmi_eld_update_pcm_info()
598 hinfo->maxbps = min(hinfo->maxbps, maxbps); in snd_hdmi_eld_update_pcm_info()
599 hinfo->channels_max = min(hinfo->channels_max, channels_max); in snd_hdmi_eld_update_pcm_info()
A Dpatch_si3054.c135 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 Dhda_generic.c5340 hinfo); in playback_pcm_open()
5343 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_open()
5388 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_close()
5409 call_pcm_capture_hook(hinfo, codec, substream, in capture_pcm_prepare()
5419 call_pcm_capture_hook(hinfo, codec, substream, in capture_pcm_cleanup()
5444 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_open()
5457 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_close()
5470 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_prepare()
5480 call_pcm_playback_hook(hinfo, codec, substream, in alt_playback_pcm_cleanup()
5539 call_pcm_capture_hook(hinfo, codec, substream, in alt_capture_pcm_prepare()
[all …]
A Dhda_codec.c3077 elem = hinfo->chmap ? hinfo->chmap : snd_pcm_std_chmaps; in add_std_chmaps()
3079 hinfo->channels_max, in add_std_chmaps()
3203 struct hda_pcm_stream *hinfo, in snd_hda_codec_prepare() argument
3210 if (hinfo->ops.prepare) in snd_hda_codec_prepare()
3211 ret = hinfo->ops.prepare(hinfo, codec, stream, format, in snd_hda_codec_prepare()
3231 struct hda_pcm_stream *hinfo, in snd_hda_codec_cleanup() argument
3235 if (hinfo->ops.cleanup) in snd_hda_codec_cleanup()
3236 hinfo->ops.cleanup(hinfo, codec, substream); in snd_hda_codec_cleanup()
3741 struct hda_pcm_stream *hinfo) in snd_hda_multi_out_analog_open() argument
3747 mout->analog_rates = hinfo->rates; in snd_hda_multi_out_analog_open()
[all …]
/linux/include/uapi/linux/netfilter/
A Dxt_hashlimit.h49 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 Dmegaraid_mm.c814 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 …]
/linux/tools/testing/selftests/bpf/progs/
A Dsock_iter_batch.c27 struct inet_hashinfo *hinfo; in iter_tcp_soreuse() local
52 hinfo = net->ipv4.tcp_death_row.hashinfo; in iter_tcp_soreuse()
53 bucket[idx] = hash & hinfo->lhash2_mask; in iter_tcp_soreuse()
/linux/net/ipv4/netfilter/
A Dnf_tproxy_ipv4.c84 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v4() local
98 sk = inet_lookup_listener(net, hinfo, skb, in nf_tproxy_get_sock_v4()
112 sk = inet_lookup_established(net, hinfo, saddr, sport, in nf_tproxy_get_sock_v4()
/linux/include/net/
A Dseg6_hmac.h42 extern int seg6_hmac_compute(struct seg6_hmac_info *hinfo,
47 struct seg6_hmac_info *hinfo);
/linux/net/ipv6/netfilter/
A Dnf_tproxy_ipv6.c83 struct inet_hashinfo *hinfo = net->ipv4.tcp_death_row.hashinfo; in nf_tproxy_get_sock_v6() local
97 sk = inet6_lookup_listener(net, hinfo, skb, in nf_tproxy_get_sock_v6()
112 sk = __inet6_lookup_established(net, hinfo, saddr, sport, daddr, in nf_tproxy_get_sock_v6()
/linux/net/mptcp/
A Dmptcp_diag.c83 struct inet_hashinfo *hinfo; in mptcp_diag_dump_listeners() local
86 hinfo = net->ipv4.tcp_death_row.hashinfo; in mptcp_diag_dump_listeners()
88 for (i = diag_ctx->l_slot; i <= hinfo->lhash2_mask; i++) { in mptcp_diag_dump_listeners()
94 ilb = &hinfo->lhash2[i]; in mptcp_diag_dump_listeners()
/linux/fs/ocfs2/
A Ddir.c252 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()
843 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument
850 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument
858 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup()
1484 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_inline_root_insert() argument
2526 struct ocfs2_dx_hinfo hinfo; in ocfs2_fill_new_dir_dx() local
2603 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_block() local
2648 struct ocfs2_dx_hinfo hinfo; in ocfs2_dx_dir_index_root_block() local
[all …]
/linux/drivers/hwmon/
A Dintel-m10-bmc-hwmon.c27 const struct hwmon_channel_info * const *hinfo; member
154 .hinfo = n3000bmc_hinfo,
228 .hinfo = d5005bmc_hinfo,
340 .hinfo = n5010bmc_hinfo,
565 .hinfo = n6000bmc_hinfo,
752 hw->chip.info = hw->bdata->hinfo; in m10bmc_hwmon_probe()

Completed in 884 milliseconds

12