Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/net/netfilter/
Dxt_hashlimit.c281 struct xt_hashlimit_htable *hinfo; in htable_create() local
298 hinfo = vmalloc(struct_size(hinfo, hash, size)); in htable_create()
299 if (hinfo == NULL) in htable_create()
301 *out_hinfo = hinfo; in htable_create()
304 ret = cfg_copy(&hinfo->cfg, (void *)cfg, 3); in htable_create()
306 vfree(hinfo); in htable_create()
310 hinfo->cfg.size = size; in htable_create()
311 if (hinfo->cfg.max == 0) 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()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dseg6_hmac.c48 const struct seg6_hmac_info *hinfo = obj; in seg6_hmac_cmpfn() local
50 return (hinfo->hmackeyid != *(__u32 *)arg->key); in seg6_hmac_cmpfn()
53 static inline void seg6_hinfo_release(struct seg6_hmac_info *hinfo) in seg6_hinfo_release() argument
55 kfree_rcu(hinfo, rcu); in seg6_hinfo_release()
60 struct seg6_hmac_info *hinfo = (struct seg6_hmac_info *)ptr; in seg6_free_hi() local
62 if (hinfo) in seg6_free_hi()
63 seg6_hinfo_release(hinfo); in seg6_free_hi()
119 static int __do_hmac(struct seg6_hmac_info *hinfo, const char *text, u8 psize, in __do_hmac() argument
127 algo = __hmac_get_algo(hinfo->alg_id); in __do_hmac()
140 ret = crypto_shash_setkey(tfm, hinfo->secret, hinfo->slen); in __do_hmac()
[all …]
Dseg6.c97 struct seg6_hmac_info *hinfo; in seg6_genl_sethmac() local
122 hinfo = seg6_hmac_info_lookup(net, hmackeyid); in seg6_genl_sethmac()
125 if (!hinfo) in seg6_genl_sethmac()
143 if (hinfo) { in seg6_genl_sethmac()
151 hinfo = kzalloc(sizeof(*hinfo), GFP_KERNEL); in seg6_genl_sethmac()
152 if (!hinfo) { in seg6_genl_sethmac()
157 memcpy(hinfo->secret, secret, slen); in seg6_genl_sethmac()
158 hinfo->slen = slen; in seg6_genl_sethmac()
159 hinfo->alg_id = algid; in seg6_genl_sethmac()
160 hinfo->hmackeyid = hmackeyid; in seg6_genl_sethmac()
[all …]
Dinet6_hashtables.c250 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()
/kernel/linux/linux-5.10/fs/ext4/
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()
263 hinfo->hash = 0; in __ext4fs_dirhash()
269 hinfo->hash = hash; in __ext4fs_dirhash()
270 hinfo->minor_hash = minor_hash; in __ext4fs_dirhash()
275 struct dx_hash_info *hinfo) in ext4fs_dirhash() argument
294 r = __ext4fs_dirhash(buff, dlen, hinfo); in ext4fs_dirhash()
[all …]
Dnamei.c303 struct dx_hash_info *hinfo,
307 struct dx_hash_info *hinfo,
645 struct dx_hash_info *hinfo, in dx_show_leaf() argument
651 struct dx_hash_info h = *hinfo; in dx_show_leaf()
734 struct stats dx_show_entries(struct dx_hash_info *hinfo, struct inode *dir, in dx_show_entries() argument
753 dx_show_entries(hinfo, dir, ((struct dx_node *) bh->b_data)->entries, levels - 1): in dx_show_entries()
754 dx_show_leaf(dir, hinfo, (struct ext4_dir_entry_2 *) in dx_show_entries()
780 struct dx_hash_info *hinfo, struct dx_frame *frame_in) in dx_probe() argument
805 hinfo = &fname->hinfo; in dx_probe()
806 hinfo->hash_version = root->info.hash_version; in dx_probe()
[all …]
Dinline.c1359 struct dx_hash_info *hinfo, in ext4_inlinedir_to_tree() argument
1437 ext4fs_dirhash(dir, de->name, de->name_len, hinfo); in ext4_inlinedir_to_tree()
1438 if ((hinfo->hash < start_hash) || in ext4_inlinedir_to_tree()
1439 ((hinfo->hash == start_hash) && in ext4_inlinedir_to_tree()
1440 (hinfo->minor_hash < start_minor_hash))) in ext4_inlinedir_to_tree()
1446 err = ext4_htree_store_dirent(dir_file, hinfo->hash, in ext4_inlinedir_to_tree()
1447 hinfo->minor_hash, de, &tmp_str); in ext4_inlinedir_to_tree()
/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_controller.c67 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_adjust_codec_delay() local
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()
90 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_close() local
97 if (hinfo->ops.close) in azx_pcm_close()
98 hinfo->ops.close(hinfo, apcm->codec, substream); in azx_pcm_close()
133 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_hw_free() local
140 snd_hda_codec_cleanup(apcm->codec, hinfo, substream); in azx_pcm_hw_free()
152 struct hda_pcm_stream *hinfo = to_hda_pcm_stream(substream); in azx_pcm_prepare() local
157 snd_hda_spdif_out_of_nid(apcm->codec, hinfo->nid); in azx_pcm_prepare()
[all …]
Dpatch_hdmi.c264 struct hda_pcm_stream *hinfo) in hinfo_to_pcm_index() argument
270 if (get_pcm_rec(spec, pcm_idx)->stream == hinfo) in hinfo_to_pcm_index()
273 codec_warn(codec, "HDMI: hinfo %p not tied to a PCM\n", hinfo); in hinfo_to_pcm_index()
278 struct hda_pcm_stream *hinfo) in hinfo_to_pin_index() argument
287 per_pin->pcm->pcm->stream == hinfo) in hinfo_to_pin_index()
291 codec_dbg(codec, "HDMI: hinfo %p (pcm %d) not registered\n", hinfo, in hinfo_to_pin_index()
292 hinfo_to_pcm_index(codec, hinfo)); in hinfo_to_pin_index()
1179 static int hdmi_pcm_open_no_pin(struct hda_pcm_stream *hinfo, in hdmi_pcm_open_no_pin() argument
1189 pcm_idx = hinfo_to_pcm_index(codec, hinfo); in hdmi_pcm_open_no_pin()
1199 hinfo->nid = per_cvt->cvt_nid; in hdmi_pcm_open_no_pin()
[all …]
Dhda_eld.c556 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()
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
Dhda_generic.c5352 static void call_pcm_playback_hook(struct hda_pcm_stream *hinfo, in call_pcm_playback_hook() argument
5359 spec->pcm_playback_hook(hinfo, codec, substream, action); in call_pcm_playback_hook()
5362 static void call_pcm_capture_hook(struct hda_pcm_stream *hinfo, in call_pcm_capture_hook() argument
5369 spec->pcm_capture_hook(hinfo, codec, substream, action); in call_pcm_capture_hook()
5375 static int playback_pcm_open(struct hda_pcm_stream *hinfo, in playback_pcm_open() argument
5385 hinfo); in playback_pcm_open()
5388 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_open()
5395 static int playback_pcm_prepare(struct hda_pcm_stream *hinfo, in playback_pcm_prepare() argument
5407 call_pcm_playback_hook(hinfo, codec, substream, in playback_pcm_prepare()
5412 static int playback_pcm_cleanup(struct hda_pcm_stream *hinfo, in playback_pcm_cleanup() argument
[all …]
Dhda_codec.c3053 struct hda_pcm_stream *hinfo = &pcm->stream[str]; in add_std_chmaps() local
3057 if (!pcm->pcm || pcm->own_chmap || !hinfo->substreams) in add_std_chmaps()
3059 elem = hinfo->chmap ? hinfo->chmap : snd_pcm_std_chmaps; in add_std_chmaps()
3061 hinfo->channels_max, in add_std_chmaps()
3113 static int hda_pcm_default_open_close(struct hda_pcm_stream *hinfo, in hda_pcm_default_open_close() argument
3120 static int hda_pcm_default_prepare(struct hda_pcm_stream *hinfo, in hda_pcm_default_prepare() argument
3126 snd_hda_codec_setup_stream(codec, hinfo->nid, stream_tag, 0, format); in hda_pcm_default_prepare()
3130 static int hda_pcm_default_cleanup(struct hda_pcm_stream *hinfo, in hda_pcm_default_cleanup() argument
3134 snd_hda_codec_cleanup_stream(codec, hinfo->nid); in hda_pcm_default_cleanup()
3184 struct hda_pcm_stream *hinfo, in snd_hda_codec_prepare() argument
[all …]
Dhda_generic.h292 void (*pcm_playback_hook)(struct hda_pcm_stream *hinfo,
296 void (*pcm_capture_hook)(struct hda_pcm_stream *hinfo,
/kernel/linux/linux-5.10/include/uapi/linux/netfilter/
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
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/netfilter/
Dxt_hashlimit.h49 struct xt_hashlimit_htable * hinfo; member
89 struct xt_hashlimit_htable * hinfo __attribute__((aligned(8))); member
94 struct xt_hashlimit_htable * hinfo __attribute__((aligned(8))); member
99 struct xt_hashlimit_htable * hinfo __attribute__((aligned(8))); member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/netfilter/
Dxt_hashlimit.h38 struct xt_hashlimit_htable *hinfo; member
82 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member
88 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member
94 struct xt_hashlimit_htable *hinfo __attribute__((aligned(8))); member
/kernel/linux/linux-5.10/drivers/scsi/megaraid/
Dmegaraid_mm.c814 mraid_hba_info_t *hinfo; in kioc_to_mimd() local
828 hinfo = (mraid_hba_info_t *)(unsigned long) in kioc_to_mimd()
831 hinfo_to_cinfo(hinfo, &cinfo); in kioc_to_mimd()
881 hinfo_to_cinfo(mraid_hba_info_t *hinfo, mcontroller_t *cinfo) in hinfo_to_cinfo() argument
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()
[all …]
Dmegaraid_mbox.c3729 gather_hbainfo(adapter_t *adapter, mraid_hba_info_t *hinfo) in gather_hbainfo() argument
3731 hinfo->pci_vendor_id = adapter->pdev->vendor; in gather_hbainfo()
3732 hinfo->pci_device_id = adapter->pdev->device; in gather_hbainfo()
3733 hinfo->subsys_vendor_id = adapter->pdev->subsystem_vendor; in gather_hbainfo()
3734 hinfo->subsys_device_id = adapter->pdev->subsystem_device; in gather_hbainfo()
3736 hinfo->pci_bus = adapter->pdev->bus->number; in gather_hbainfo()
3737 hinfo->pci_dev_fn = adapter->pdev->devfn; in gather_hbainfo()
3738 hinfo->pci_slot = PCI_SLOT(adapter->pdev->devfn); in gather_hbainfo()
3739 hinfo->irq = adapter->host->irq; in gather_hbainfo()
3740 hinfo->baseport = ADAP2RAIDDEV(adapter)->baseport; in gather_hbainfo()
[all …]
/kernel/linux/linux-5.10/include/net/
Dseg6_hmac.h42 extern int seg6_hmac_compute(struct seg6_hmac_info *hinfo,
47 struct seg6_hmac_info *hinfo);
/kernel/linux/linux-5.10/fs/ocfs2/
Ddir.c254 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_name_hash() argument
291 hinfo->major_hash = buf[0]; in ocfs2_dx_dir_name_hash()
292 hinfo->minor_hash = buf[1]; in ocfs2_dx_dir_name_hash()
839 struct ocfs2_dx_hinfo *hinfo) in ocfs2_dx_dir_hash_idx() argument
841 return __ocfs2_dx_dir_hash_idx(osb, hinfo->minor_hash); in ocfs2_dx_dir_hash_idx()
846 struct ocfs2_dx_hinfo *hinfo, in ocfs2_dx_dir_lookup() argument
854 u32 name_hash = hinfo->major_hash; in ocfs2_dx_dir_lookup()
879 blkno += ocfs2_dx_dir_hash_idx(OCFS2_SB(inode->i_sb), hinfo); in ocfs2_dx_dir_lookup()
903 struct ocfs2_dx_hinfo *hinfo = &res->dl_hinfo; in ocfs2_dx_dir_search() local
916 ret = ocfs2_dx_dir_lookup(dir, dr_el, hinfo, NULL, &phys); in ocfs2_dx_dir_search()
[all …]
/kernel/linux/linux-5.10/drivers/hwmon/
Dintel-m10-bmc-hwmon.c27 const struct hwmon_channel_info **hinfo; member
110 .hinfo = n3000bmc_hinfo,
298 hw->chip.info = hw->bdata->hinfo; in m10bmc_hwmon_probe()
/kernel/linux/linux-5.10/net/ipv4/
Dinet_hashtables.c452 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_check_established() local
463 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __inet_check_established()
464 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __inet_check_established()
760 struct inet_hashinfo *hinfo = death_row->hashinfo; in __inet_hash_connect() local
803 head = &hinfo->bhash[inet_bhashfn(net, port, in __inet_hash_connect()
804 hinfo->bhash_size)]; in __inet_hash_connect()
824 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, in __inet_hash_connect()
860 inet_twsk_bind_unhash(tw, hinfo); in __inet_hash_connect()
Dinet_connection_sock.c189 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_find_open_port() local
232 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_find_open_port()
233 hinfo->bhash_size)]; in inet_csk_find_open_port()
362 struct inet_hashinfo *hinfo = sk->sk_prot->h.hashinfo; in inet_csk_get_port() local
379 head = &hinfo->bhash[inet_bhashfn(net, port, in inet_csk_get_port()
380 hinfo->bhash_size)]; in inet_csk_get_port()
387 tb = inet_bind_bucket_create(hinfo->bind_bucket_cachep, in inet_csk_get_port()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_hashtables.c450 struct inet_hashinfo *hinfo = death_row->hashinfo; in __ninet_check_established() local
458 struct inet_ehash_bucket *head = inet_ehash_bucket(hinfo, hash); in __ninet_check_established()
459 spinlock_t *lock = inet_ehash_lockp(hinfo, hash); in __ninet_check_established()

12