/linux-6.12.1/crypto/asymmetric_keys/ |
D | pkcs7_verify.c | 23 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 …]
|
D | pkcs7_parser.c | 25 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 …]
|
D | pkcs7_trust.c | 23 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.12.1/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 69 #define lcdc_readl(sinfo, reg) __raw_readl((sinfo)->mmio+(reg)) argument 70 #define lcdc_writel(sinfo, reg, val) __raw_writel((val), (sinfo)->mmio+(reg)) argument 110 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); in atmel_bl_update_status() local 113 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_VAL, brightness); in atmel_bl_update_status() 115 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, in atmel_bl_update_status() 118 lcdc_writel(sinfo, ATMEL_LCDC_CONTRAST_CTR, contrast_ctr); in atmel_bl_update_status() 125 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); in atmel_bl_get_brightness() local 127 return lcdc_readl(sinfo, ATMEL_LCDC_CONTRAST_VAL); in atmel_bl_get_brightness() 135 static void init_backlight(struct atmel_lcdfb_info *sinfo) in init_backlight() argument 140 if (sinfo->backlight) in init_backlight() [all …]
|
/linux-6.12.1/net/netfilter/ |
D | xt_connbytes.c | 23 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.12.1/fs/fat/ |
D | namei_msdos.c | 120 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 …]
|
D | dir.c | 476 int name_len, struct fat_slot_info *sinfo) in fat_search_long() argument 540 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long() 541 sinfo->nr_slots = nr_slots; in fat_search_long() 542 sinfo->de = de; in fat_search_long() 543 sinfo->bh = bh; in fat_search_long() 544 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long() 964 struct fat_slot_info *sinfo) in fat_scan() argument 968 sinfo->slot_off = 0; in fat_scan() 969 sinfo->bh = NULL; in fat_scan() 970 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, in fat_scan() [all …]
|
D | namei_vfat.c | 238 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.12.1/net/mac80211/ |
D | ethtool.c | 84 struct station_info sinfo; in ieee80211_get_stats() local 93 data[i++] += sinfo.rx_packets; \ in ieee80211_get_stats() 94 data[i++] += sinfo.rx_bytes; \ in ieee80211_get_stats() 97 data[i++] += sinfo.rx_dropped_misc; \ in ieee80211_get_stats() 99 data[i++] += sinfo.tx_packets; \ in ieee80211_get_stats() 100 data[i++] += sinfo.tx_bytes; \ in ieee80211_get_stats() 102 data[i++] += sinfo.tx_failed; \ in ieee80211_get_stats() 103 data[i++] += sinfo.tx_retries; \ in ieee80211_get_stats() 120 memset(&sinfo, 0, sizeof(sinfo)); in ieee80211_get_stats() 121 sta_set_sinfo(sta, &sinfo, false); in ieee80211_get_stats() [all …]
|
D | sta_info.c | 823 struct station_info *sinfo = NULL; in sta_info_insert_finish() local 834 sinfo = kzalloc(sizeof(struct station_info), GFP_KERNEL); in sta_info_insert_finish() 835 if (!sinfo) { in sta_info_insert_finish() 904 sinfo->generation = local->sta_generation; in sta_info_insert_finish() 905 cfg80211_new_sta(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL); in sta_info_insert_finish() 906 kfree(sinfo); in sta_info_insert_finish() 929 kfree(sinfo); in sta_info_insert_finish() 1413 struct station_info *sinfo; in __sta_info_destroy_part2() local 1470 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in __sta_info_destroy_part2() 1471 if (sinfo) in __sta_info_destroy_part2() [all …]
|
/linux-6.12.1/tools/cgroup/ |
D | memcg_slabinfo.py | 108 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.12.1/net/sctp/ |
D | chunk.c | 147 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 …]
|
D | ulpevent.c | 509 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.12.1/fs/btrfs/ |
D | space-info.h | 233 struct btrfs_space_info *sinfo, \ 237 lockdep_assert_held(&sinfo->lock); \ 238 trace_update_##name(fs_info, sinfo, sinfo->name, bytes); \ 240 sinfo->flags, abs_bytes, \ 242 if (bytes < 0 && sinfo->name < -bytes) { \ 244 sinfo->name = 0; \ 247 sinfo->name += bytes; \ 291 u64 btrfs_account_ro_block_groups_free_space(struct btrfs_space_info *sinfo);
|
/linux-6.12.1/drivers/net/wireless/marvell/mwifiex/ |
D | uap_event.c | 99 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.12.1/drivers/net/ethernet/sunplus/ |
D | spl2sw_int.c | 23 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.12.1/net/core/ |
D | xdp.c | 409 struct skb_shared_info *sinfo; in xdp_return_frame() local 415 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_return_frame() 416 for (i = 0; i < sinfo->nr_frags; i++) { in xdp_return_frame() 417 struct page *page = skb_frag_page(&sinfo->frags[i]); in xdp_return_frame() 428 struct skb_shared_info *sinfo; in xdp_return_frame_rx_napi() local 434 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_return_frame_rx_napi() 435 for (i = 0; i < sinfo->nr_frags; i++) { in xdp_return_frame_rx_napi() 436 struct page *page = skb_frag_page(&sinfo->frags[i]); in xdp_return_frame_rx_napi() 496 struct skb_shared_info *sinfo; in xdp_return_frame_bulk() local 499 sinfo = xdp_get_shared_info_from_frame(xdpf); in xdp_return_frame_bulk() [all …]
|
/linux-6.12.1/drivers/pcmcia/ |
D | pxa2xx_base.c | 261 struct skt_dev_info *sinfo; in pxa2xx_drv_pcmcia_probe() local 283 sinfo = devm_kzalloc(&dev->dev, SKT_DEV_INFO_SIZE(ops->nr), in pxa2xx_drv_pcmcia_probe() 285 if (!sinfo) in pxa2xx_drv_pcmcia_probe() 288 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe() 292 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe() 304 dev_set_drvdata(&dev->dev, sinfo); in pxa2xx_drv_pcmcia_probe() 310 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_probe() 318 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in pxa2xx_drv_pcmcia_remove() local 321 for (i = 0; i < sinfo->nskt; i++) in pxa2xx_drv_pcmcia_remove() 322 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_remove()
|
D | sa11xx_base.c | 220 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.12.1/drivers/net/ethernet/mellanox/mlx5/core/en/ |
D | xdp.c | 129 xdptxdf.sinfo = xdp_get_shared_info_from_frame(xdpf); in mlx5e_xmit_xdp_buff() 132 for (i = 0; i < xdptxdf.sinfo->nr_frags; i++) { in mlx5e_xmit_xdp_buff() 133 skb_frag_t *frag = &xdptxdf.sinfo->frags[i]; in mlx5e_xmit_xdp_buff() 158 { .page.num = 1 + xdptxdf.sinfo->nr_frags }); in mlx5e_xmit_xdp_buff() 161 for (i = 0; i < xdptxdf.sinfo->nr_frags; i++) { in mlx5e_xmit_xdp_buff() 162 skb_frag_t *frag = &xdptxdf.sinfo->frags[i]; in mlx5e_xmit_xdp_buff() 462 if (!!xdptxd->len + xdptxdf->sinfo->nr_frags > 1) { in mlx5e_xmit_xdp_frame_mpwqe() 472 skb_frag_t *frag = &xdptxdf->sinfo->frags[0]; in mlx5e_xmit_xdp_frame_mpwqe() 554 frags_size = xdptxd->has_frags ? xdptxdf->sinfo->xdp_frags_size : 0; in mlx5e_xmit_xdp_frame() 573 ds_cnt += xdptxdf->sinfo->nr_frags; in mlx5e_xmit_xdp_frame() [all …]
|
/linux-6.12.1/tools/testing/selftests/powerpc/mm/ |
D | pkey_exec_prot.c | 30 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()
|
D | exec_prot.c | 45 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.12.1/mm/ |
D | slab_common.c | 1100 struct slabinfo sinfo; in cache_show() local 1102 memset(&sinfo, 0, sizeof(sinfo)); in cache_show() 1103 get_slabinfo(s, &sinfo); in cache_show() 1106 s->name, sinfo.active_objs, sinfo.num_objs, s->size, in cache_show() 1107 sinfo.objects_per_slab, (1 << sinfo.cache_order)); in cache_show() 1110 sinfo.limit, sinfo.batchcount, sinfo.shared); in cache_show() 1112 sinfo.active_slabs, sinfo.num_slabs, sinfo.shared_avail); in cache_show() 1129 struct slabinfo sinfo; in dump_unreclaimable_slab() local 1150 get_slabinfo(s, &sinfo); in dump_unreclaimable_slab() 1152 if (sinfo.num_objs > 0) in dump_unreclaimable_slab() [all …]
|
/linux-6.12.1/include/linux/ |
D | virtio_net.h | 211 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb() local 217 sinfo->gso_size); in virtio_net_hdr_from_skb() 218 if (sinfo->gso_type & SKB_GSO_TCPV4) in virtio_net_hdr_from_skb() 220 else if (sinfo->gso_type & SKB_GSO_TCPV6) in virtio_net_hdr_from_skb() 222 else if (sinfo->gso_type & SKB_GSO_UDP_L4) in virtio_net_hdr_from_skb() 226 if (sinfo->gso_type & SKB_GSO_TCP_ECN) in virtio_net_hdr_from_skb()
|
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt7996/ |
D | main.c | 997 struct station_info *sinfo) in mt7996_sta_statistics() argument 1005 sinfo->txrate.legacy = txrate->legacy; in mt7996_sta_statistics() 1007 sinfo->txrate.mcs = txrate->mcs; in mt7996_sta_statistics() 1008 sinfo->txrate.nss = txrate->nss; in mt7996_sta_statistics() 1009 sinfo->txrate.bw = txrate->bw; in mt7996_sta_statistics() 1010 sinfo->txrate.he_gi = txrate->he_gi; in mt7996_sta_statistics() 1011 sinfo->txrate.he_dcm = txrate->he_dcm; in mt7996_sta_statistics() 1012 sinfo->txrate.he_ru_alloc = txrate->he_ru_alloc; in mt7996_sta_statistics() 1013 sinfo->txrate.eht_gi = txrate->eht_gi; in mt7996_sta_statistics() 1015 sinfo->txrate.flags = txrate->flags; in mt7996_sta_statistics() [all …]
|