Home
last modified time | relevance | path

Searched refs:sinfo (Results 1 – 25 of 121) sorted by relevance

12345

/linux-6.1.9/crypto/asymmetric_keys/
Dpkcs7_verify.c23 struct pkcs7_signed_info *sinfo) in pkcs7_digest() argument
25 struct public_key_signature *sig = sinfo->sig; in pkcs7_digest()
31 kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); in pkcs7_digest()
37 if (!sinfo->sig->hash_algo) in pkcs7_digest()
43 tfm = crypto_alloc_shash(sinfo->sig->hash_algo, 0, 0); in pkcs7_digest()
72 if (sinfo->authattrs) { in pkcs7_digest()
75 if (!sinfo->msgdigest) { in pkcs7_digest()
76 pr_warn("Sig %u: No messageDigest\n", sinfo->index); in pkcs7_digest()
81 if (sinfo->msgdigest_len != sig->digest_size) { in pkcs7_digest()
83 sinfo->index, sinfo->msgdigest_len); in pkcs7_digest()
[all …]
Dpkcs7_parser.c25 struct pkcs7_signed_info *sinfo; /* SignedInfo being constructed */ member
45 static void pkcs7_free_signed_info(struct pkcs7_signed_info *sinfo) in pkcs7_free_signed_info() argument
47 if (sinfo) { in pkcs7_free_signed_info()
48 public_key_signature_free(sinfo->sig); in pkcs7_free_signed_info()
49 kfree(sinfo); in pkcs7_free_signed_info()
60 struct pkcs7_signed_info *sinfo; in pkcs7_free_message() local
74 sinfo = pkcs7->signed_infos; in pkcs7_free_message()
75 pkcs7->signed_infos = sinfo->next; in pkcs7_free_message()
76 pkcs7_free_signed_info(sinfo); in pkcs7_free_message()
88 struct pkcs7_signed_info *sinfo; in pkcs7_check_authattrs() local
[all …]
Dpkcs7_trust.c23 struct pkcs7_signed_info *sinfo, in pkcs7_validate_trust_one() argument
26 struct public_key_signature *sig = sinfo->sig; in pkcs7_validate_trust_one()
31 kenter(",%u,", sinfo->index); in pkcs7_validate_trust_one()
33 if (sinfo->unsupported_crypto) { in pkcs7_validate_trust_one()
38 for (x509 = sinfo->signer; x509; x509 = x509->signer) { in pkcs7_validate_trust_one()
59 sinfo->index, x509->index, key_serial(key)); in pkcs7_validate_trust_one()
89 sinfo->index, x509->index, key_serial(key)); in pkcs7_validate_trust_one()
100 sinfo->sig->auth_ids[0], NULL, NULL, false); in pkcs7_validate_trust_one()
103 sinfo->index, key_serial(key)); in pkcs7_validate_trust_one()
105 sig = sinfo->sig; in pkcs7_validate_trust_one()
[all …]
/linux-6.1.9/drivers/video/fbdev/
Datmel_lcdfb.c70 #define lcdc_readl(sinfo, reg) __raw_readl((sinfo)->mmio+(reg)) argument
71 #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg)) argument
111 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); in atmel_bl_update_status() local
112 int power = sinfo->bl_power; in atmel_bl_update_status()
119 if (bl->props.fb_blank != sinfo->bl_power) in atmel_bl_update_status()
121 else if (bl->props.power != sinfo->bl_power) in atmel_bl_update_status()
125 brightness = lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL); in atmel_bl_update_status()
129 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_VAL, brightness); in atmel_bl_update_status()
131 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, in atmel_bl_update_status()
134 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, contrast_ctr); in atmel_bl_update_status()
[all …]
/linux-6.1.9/net/netfilter/
Dxt_connbytes.c23 const struct xt_connbytes_info *sinfo = par->matchinfo; in connbytes_mt() local
41 switch (sinfo->what) { in connbytes_mt()
43 switch (sinfo->direction) { in connbytes_mt()
57 switch (sinfo->direction) { in connbytes_mt()
71 switch (sinfo->direction) { in connbytes_mt()
92 if (sinfo->count.to >= sinfo->count.from) in connbytes_mt()
93 return what <= sinfo->count.to && what >= sinfo->count.from; in connbytes_mt()
95 return what < sinfo->count.to || what > sinfo->count.from; in connbytes_mt()
100 const struct xt_connbytes_info *sinfo = par->matchinfo; in connbytes_mt_check() local
103 if (sinfo->what != XT_CONNBYTES_PKTS && in connbytes_mt_check()
[all …]
/linux-6.1.9/net/mac80211/
Dethtool.c77 struct station_info sinfo; in ieee80211_get_stats() local
86 data[i++] += sinfo.rx_packets; \ in ieee80211_get_stats()
87 data[i++] += sinfo.rx_bytes; \ in ieee80211_get_stats()
90 data[i++] += sinfo.rx_dropped_misc; \ in ieee80211_get_stats()
92 data[i++] += sinfo.tx_packets; \ in ieee80211_get_stats()
93 data[i++] += sinfo.tx_bytes; \ in ieee80211_get_stats()
95 data[i++] += sinfo.tx_failed; \ in ieee80211_get_stats()
96 data[i++] += sinfo.tx_retries; \ in ieee80211_get_stats()
113 memset(&sinfo, 0, sizeof(sinfo)); in ieee80211_get_stats()
114 sta_set_sinfo(sta, &sinfo, false); in ieee80211_get_stats()
[all …]
Dsta_info.c817 struct station_info *sinfo = NULL; in sta_info_insert_finish() local
828 sinfo = kzalloc(sizeof(struct station_info), GFP_KERNEL); in sta_info_insert_finish()
829 if (!sinfo) { in sta_info_insert_finish()
878 sinfo->generation = local->sta_generation; in sta_info_insert_finish()
879 cfg80211_new_sta(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL); in sta_info_insert_finish()
880 kfree(sinfo); in sta_info_insert_finish()
903 kfree(sinfo); in sta_info_insert_finish()
1258 struct station_info *sinfo; in __sta_info_destroy_part2() local
1301 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in __sta_info_destroy_part2()
1302 if (sinfo) in __sta_info_destroy_part2()
[all …]
/linux-6.1.9/fs/fat/
Dnamei_msdos.c120 struct fat_slot_info *sinfo) in msdos_find() argument
130 err = fat_scan(dir, msdos_name, sinfo); in msdos_find()
133 if (!(sinfo->de->attr & ATTR_HIDDEN)) in msdos_find()
136 if (sinfo->de->attr & ATTR_HIDDEN) in msdos_find()
140 brelse(sinfo->bh); in msdos_find()
205 struct fat_slot_info sinfo; in msdos_lookup() local
210 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup()
216 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_lookup()
217 brelse(sinfo.bh); in msdos_lookup()
229 struct timespec64 *ts, struct fat_slot_info *sinfo) in msdos_add_entry() argument
[all …]
Ddir.c464 int name_len, struct fat_slot_info *sinfo) in fat_search_long() argument
528 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long()
529 sinfo->nr_slots = nr_slots; in fat_search_long()
530 sinfo->de = de; in fat_search_long()
531 sinfo->bh = bh; in fat_search_long()
532 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long()
952 struct fat_slot_info *sinfo) in fat_scan() argument
956 sinfo->slot_off = 0; in fat_scan()
957 sinfo->bh = NULL; in fat_scan()
958 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, in fat_scan()
[all …]
Dnamei_vfat.c238 struct fat_slot_info sinfo; in vfat_find_form() local
239 int err = fat_scan(dir, name, &sinfo); in vfat_find_form()
242 brelse(sinfo.bh); in vfat_find_form()
658 struct fat_slot_info *sinfo) in vfat_add_entry() argument
677 err = fat_add_entries(dir, slots, nr_slots, sinfo); in vfat_add_entry()
693 struct fat_slot_info *sinfo) in vfat_find() argument
698 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find()
705 struct fat_slot_info sinfo; in vfat_lookup() local
712 err = vfat_find(dir, &dentry->d_name, &sinfo); in vfat_lookup()
721 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup()
[all …]
/linux-6.1.9/tools/cgroup/
Dmemcg_slabinfo.py108 sinfo = slub_get_slabinfo(s, cfg)
113 sinfo['active_objs'] = objs
114 sinfo['num_objs'] = objs
119 cache_name(s), sinfo['active_objs'], sinfo['num_objs'],
120 s.size, sinfo['objects_per_slab'], 1 << sinfo['cache_order'],
121 sinfo['limit'], sinfo['batchcount'], sinfo['shared'],
122 sinfo['active_slabs'], sinfo['num_slabs'],
123 sinfo['shared_avail']))
/linux-6.1.9/net/sctp/
Dchunk.c147 struct sctp_sndrcvinfo *sinfo, in sctp_datamsg_from_user() argument
165 if (asoc->peer.prsctp_capable && sinfo->sinfo_timetolive && in sctp_datamsg_from_user()
166 (SCTP_PR_TTL_ENABLED(sinfo->sinfo_flags) || in sctp_datamsg_from_user()
167 !SCTP_PR_POLICY(sinfo->sinfo_flags))) in sctp_datamsg_from_user()
169 msecs_to_jiffies(sinfo->sinfo_timetolive); in sctp_datamsg_from_user()
193 if (sinfo->sinfo_tsn && in sctp_datamsg_from_user()
194 sinfo->sinfo_ssn != asoc->active_key_id) { in sctp_datamsg_from_user()
195 shkey = sctp_auth_get_shkey(asoc, sinfo->sinfo_ssn); in sctp_datamsg_from_user()
257 if ((sinfo->sinfo_flags & SCTP_EOF) || in sctp_datamsg_from_user()
258 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) in sctp_datamsg_from_user()
[all …]
Dulpevent.c509 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo)); in sctp_ulpevent_make_send_failed()
560 ssf->ssfe_info.snd_sid = chunk->sinfo.sinfo_stream; in sctp_ulpevent_make_send_failed_event()
561 ssf->ssfe_info.snd_ppid = chunk->sinfo.sinfo_ppid; in sctp_ulpevent_make_send_failed_event()
562 ssf->ssfe_info.snd_context = chunk->sinfo.sinfo_context; in sctp_ulpevent_make_send_failed_event()
563 ssf->ssfe_info.snd_assoc_id = chunk->sinfo.sinfo_assoc_id; in sctp_ulpevent_make_send_failed_event()
990 struct sctp_sndrcvinfo sinfo; in sctp_ulpevent_read_sndrcvinfo() local
995 memset(&sinfo, 0, sizeof(sinfo)); in sctp_ulpevent_read_sndrcvinfo()
996 sinfo.sinfo_stream = event->stream; in sctp_ulpevent_read_sndrcvinfo()
997 sinfo.sinfo_ssn = event->ssn; in sctp_ulpevent_read_sndrcvinfo()
998 sinfo.sinfo_ppid = event->ppid; in sctp_ulpevent_read_sndrcvinfo()
[all …]
/linux-6.1.9/fs/btrfs/
Dspace-info.h105 struct btrfs_space_info *sinfo, \
109 lockdep_assert_held(&sinfo->lock); \
110 trace_update_##name(fs_info, sinfo, sinfo->name, bytes); \
112 sinfo->flags, abs_bytes, \
114 if (bytes < 0 && sinfo->name < -bytes) { \
116 sinfo->name = 0; \
119 sinfo->name += bytes; \
/linux-6.1.9/drivers/net/wireless/marvell/mwifiex/
Duap_event.c99 struct station_info *sinfo; in mwifiex_process_uap_event() local
108 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in mwifiex_process_uap_event()
109 if (!sinfo) in mwifiex_process_uap_event()
126 sinfo->assoc_req_ies = &event->data[len]; in mwifiex_process_uap_event()
127 len = (u8 *)sinfo->assoc_req_ies - in mwifiex_process_uap_event()
129 sinfo->assoc_req_ies_len = in mwifiex_process_uap_event()
133 cfg80211_new_sta(priv->netdev, event->sta_addr, sinfo, in mwifiex_process_uap_event()
140 kfree(sinfo); in mwifiex_process_uap_event()
145 kfree(sinfo); in mwifiex_process_uap_event()
149 mwifiex_set_sta_ht_cap(priv, sinfo->assoc_req_ies, in mwifiex_process_uap_event()
[all …]
/linux-6.1.9/drivers/net/ethernet/sunplus/
Dspl2sw_int.c23 struct spl2sw_skb_info *sinfo; in spl2sw_rx_poll() local
40 sinfo = comm->rx_skb_info[queue] + rx_pos; in spl2sw_rx_poll()
60 dma_unmap_single(&comm->pdev->dev, sinfo->mapping, in spl2sw_rx_poll()
63 skb = sinfo->skb; in spl2sw_rx_poll()
78 sinfo->skb = NULL; in spl2sw_rx_poll()
79 sinfo->mapping = 0; in spl2sw_rx_poll()
84 sinfo->mapping = dma_map_single(&comm->pdev->dev, new_skb->data, in spl2sw_rx_poll()
87 if (dma_mapping_error(&comm->pdev->dev, sinfo->mapping)) { in spl2sw_rx_poll()
91 sinfo->skb = NULL; in spl2sw_rx_poll()
92 sinfo->mapping = 0; in spl2sw_rx_poll()
[all …]
/linux-6.1.9/net/core/
Dxdp.c410 struct skb_shared_info *sinfo; in xdp_return_frame() local
416 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_return_frame()
417 for (i = 0; i < sinfo->nr_frags; i++) { in xdp_return_frame()
418 struct page *page = skb_frag_page(&sinfo->frags[i]); in xdp_return_frame()
429 struct skb_shared_info *sinfo; in xdp_return_frame_rx_napi() local
435 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_return_frame_rx_napi()
436 for (i = 0; i < sinfo->nr_frags; i++) { in xdp_return_frame_rx_napi()
437 struct page *page = skb_frag_page(&sinfo->frags[i]); in xdp_return_frame_rx_napi()
497 struct skb_shared_info *sinfo; in xdp_return_frame_bulk() local
500 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_return_frame_bulk()
[all …]
/linux-6.1.9/drivers/pcmcia/
Dpxa2xx_base.c267 struct skt_dev_info *sinfo; in pxa2xx_drv_pcmcia_probe() local
289 sinfo = devm_kzalloc(&dev->dev, SKT_DEV_INFO_SIZE(ops->nr), in pxa2xx_drv_pcmcia_probe()
291 if (!sinfo) in pxa2xx_drv_pcmcia_probe()
294 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe()
298 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe()
310 dev_set_drvdata(&dev->dev, sinfo); in pxa2xx_drv_pcmcia_probe()
316 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_probe()
324 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in pxa2xx_drv_pcmcia_remove() local
327 for (i = 0; i < sinfo->nskt; i++) in pxa2xx_drv_pcmcia_remove()
328 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_remove()
Dsa11xx_base.c220 struct skt_dev_info *sinfo; in sa11xx_drv_pcmcia_probe() local
231 sinfo = devm_kzalloc(dev, SKT_DEV_INFO_SIZE(nr), GFP_KERNEL); in sa11xx_drv_pcmcia_probe()
232 if (!sinfo) in sa11xx_drv_pcmcia_probe()
235 sinfo->nskt = nr; in sa11xx_drv_pcmcia_probe()
239 skt = &sinfo->skt[i]; in sa11xx_drv_pcmcia_probe()
252 soc_pcmcia_remove_one(&sinfo->skt[i]); in sa11xx_drv_pcmcia_probe()
254 dev_set_drvdata(dev, sinfo); in sa11xx_drv_pcmcia_probe()
/linux-6.1.9/include/net/
Dxdp.h152 struct skb_shared_info *sinfo; in xdp_get_buff_len() local
157 sinfo = xdp_get_shared_info_from_buff(xdp); in xdp_get_buff_len()
158 len += sinfo->xdp_frags_size; in xdp_get_buff_len()
326 struct skb_shared_info *sinfo; in xdp_release_frame() local
336 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_release_frame()
337 for (i = 0; i < sinfo->nr_frags; i++) { in xdp_release_frame()
338 struct page *page = skb_frag_page(&sinfo->frags[i]); in xdp_release_frame()
348 struct skb_shared_info *sinfo; in xdp_get_frame_len() local
354 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_get_frame_len()
355 len += sinfo->xdp_frags_size; in xdp_get_frame_len()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/en/
Dxdp.c62 struct skb_shared_info *sinfo = NULL; in mlx5e_xmit_xdp_buff() local
123 sinfo = xdp_get_shared_info_from_frame(xdpf); in mlx5e_xmit_xdp_buff()
125 for (i = 0; i < sinfo->nr_frags; i++) { in mlx5e_xmit_xdp_buff()
126 skb_frag_t *frag = &sinfo->frags[i]; in mlx5e_xmit_xdp_buff()
141 mlx5e_xmit_xdp_frame, sq, &xdptxd, sinfo, 0))) in mlx5e_xmit_xdp_buff()
148 for (i = 0; i < sinfo->nr_frags; i++) { in mlx5e_xmit_xdp_buff()
149 skb_frag_t *frag = &sinfo->frags[i]; in mlx5e_xmit_xdp_buff()
297 struct skb_shared_info *sinfo, int check_result);
301 struct skb_shared_info *sinfo, int check_result) in mlx5e_xmit_xdp_frame_mpwqe() argument
306 if (unlikely(sinfo)) { in mlx5e_xmit_xdp_frame_mpwqe()
[all …]
/linux-6.1.9/tools/testing/selftests/powerpc/mm/
Dpkey_exec_prot.c30 static void trap_handler(int signum, siginfo_t *sinfo, void *ctx) in trap_handler() argument
33 if (sinfo->si_addr != (void *) fault_addr) in trap_handler()
39 static void segv_handler(int signum, siginfo_t *sinfo, void *ctx) in segv_handler() argument
43 signal_pkey = siginfo_pkey(sinfo); in segv_handler()
44 fault_code = sinfo->si_code; in segv_handler()
47 if (sinfo->si_addr != (void *) fault_addr) { in segv_handler()
Dexec_prot.c45 static void trap_handler(int signum, siginfo_t *sinfo, void *ctx) in trap_handler() argument
48 if (sinfo->si_addr != (void *)fault_addr) in trap_handler()
54 static void segv_handler(int signum, siginfo_t *sinfo, void *ctx) in segv_handler() argument
56 fault_code = sinfo->si_code; in segv_handler()
59 if (sinfo->si_addr != (void *)fault_addr) { in segv_handler()
/linux-6.1.9/mm/
Dslab_common.c1224 struct slabinfo sinfo; in cache_show() local
1226 memset(&sinfo, 0, sizeof(sinfo)); in cache_show()
1227 get_slabinfo(s, &sinfo); in cache_show()
1230 s->name, sinfo.active_objs, sinfo.num_objs, s->size, in cache_show()
1231 sinfo.objects_per_slab, (1 << sinfo.cache_order)); in cache_show()
1234 sinfo.limit, sinfo.batchcount, sinfo.shared); in cache_show()
1236 sinfo.active_slabs, sinfo.num_slabs, sinfo.shared_avail); in cache_show()
1254 struct slabinfo sinfo; in dump_unreclaimable_slab() local
1275 get_slabinfo(s, &sinfo); in dump_unreclaimable_slab()
1277 if (sinfo.num_objs > 0) in dump_unreclaimable_slab()
[all …]
/linux-6.1.9/include/linux/
Dvirtio_net.h174 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb() local
180 sinfo->gso_size); in virtio_net_hdr_from_skb()
181 if (sinfo->gso_type & SKB_GSO_TCPV4) in virtio_net_hdr_from_skb()
183 else if (sinfo->gso_type & SKB_GSO_TCPV6) in virtio_net_hdr_from_skb()
187 if (sinfo->gso_type & SKB_GSO_TCP_ECN) in virtio_net_hdr_from_skb()

12345