/Linux-v5.15/drivers/video/fbdev/ |
D | atmel_lcdfb.c | 70 #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-v5.15/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, 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-v5.15/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-v5.15/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 | 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 …]
|
D | dir.c | 464 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 …]
|
/Linux-v5.15/net/mac80211/ |
D | sta_info.c | 636 struct station_info *sinfo = NULL; in sta_info_insert_finish() local 647 sinfo = kzalloc(sizeof(struct station_info), GFP_KERNEL); in sta_info_insert_finish() 648 if (!sinfo) { in sta_info_insert_finish() 686 sinfo->generation = local->sta_generation; in sta_info_insert_finish() 687 cfg80211_new_sta(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL); in sta_info_insert_finish() 688 kfree(sinfo); in sta_info_insert_finish() 709 kfree(sinfo); in sta_info_insert_finish() 1052 struct station_info *sinfo; in __sta_info_destroy_part2() local 1095 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in __sta_info_destroy_part2() 1096 if (sinfo) in __sta_info_destroy_part2() [all …]
|
D | ethtool.c | 73 struct station_info sinfo; in ieee80211_get_stats() local 88 data[i++] += sinfo.tx_packets; \ in ieee80211_get_stats() 89 data[i++] += sinfo.tx_bytes; \ in ieee80211_get_stats() 109 memset(&sinfo, 0, sizeof(sinfo)); in ieee80211_get_stats() 110 sta_set_sinfo(sta, &sinfo, false); in ieee80211_get_stats() 118 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_TX_BITRATE)) in ieee80211_get_stats() 120 cfg80211_calculate_bitrate(&sinfo.txrate); in ieee80211_get_stats() 122 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_RX_BITRATE)) in ieee80211_get_stats() 124 cfg80211_calculate_bitrate(&sinfo.rxrate); in ieee80211_get_stats() 127 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_SIGNAL_AVG)) in ieee80211_get_stats() [all …]
|
/Linux-v5.15/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-v5.15/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-v5.15/fs/btrfs/ |
D | space-info.h | 93 struct btrfs_space_info *sinfo, \ 97 lockdep_assert_held(&sinfo->lock); \ 98 trace_update_##name(fs_info, sinfo, sinfo->name, bytes); \ 100 sinfo->flags, abs_bytes, \ 102 if (bytes < 0 && sinfo->name < -bytes) { \ 104 sinfo->name = 0; \ 107 sinfo->name += bytes; \
|
D | block-rsv.c | 353 struct btrfs_space_info *sinfo = block_rsv->space_info; in btrfs_update_global_block_rsv() local 386 spin_lock(&sinfo->lock); in btrfs_update_global_block_rsv() 393 btrfs_space_info_update_bytes_may_use(fs_info, sinfo, in btrfs_update_global_block_rsv() 398 btrfs_space_info_update_bytes_may_use(fs_info, sinfo, in btrfs_update_global_block_rsv() 401 btrfs_try_granting_tickets(fs_info, sinfo); in btrfs_update_global_block_rsv() 409 if (block_rsv->size >= sinfo->total_bytes) in btrfs_update_global_block_rsv() 410 sinfo->force_alloc = CHUNK_ALLOC_FORCE; in btrfs_update_global_block_rsv() 412 spin_unlock(&sinfo->lock); in btrfs_update_global_block_rsv()
|
/Linux-v5.15/drivers/net/wireless/marvell/mwifiex/ |
D | uap_event.c | 111 struct station_info *sinfo; in mwifiex_process_uap_event() local 120 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in mwifiex_process_uap_event() 121 if (!sinfo) in mwifiex_process_uap_event() 138 sinfo->assoc_req_ies = &event->data[len]; in mwifiex_process_uap_event() 139 len = (u8 *)sinfo->assoc_req_ies - in mwifiex_process_uap_event() 141 sinfo->assoc_req_ies_len = in mwifiex_process_uap_event() 145 cfg80211_new_sta(priv->netdev, event->sta_addr, sinfo, in mwifiex_process_uap_event() 152 kfree(sinfo); in mwifiex_process_uap_event() 157 kfree(sinfo); in mwifiex_process_uap_event() 161 mwifiex_set_sta_ht_cap(priv, sinfo->assoc_req_ies, in mwifiex_process_uap_event() [all …]
|
/Linux-v5.15/drivers/pcmcia/ |
D | pxa2xx_base.c | 281 struct skt_dev_info *sinfo; in pxa2xx_drv_pcmcia_probe() local 303 sinfo = devm_kzalloc(&dev->dev, SKT_DEV_INFO_SIZE(ops->nr), in pxa2xx_drv_pcmcia_probe() 305 if (!sinfo) in pxa2xx_drv_pcmcia_probe() 308 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe() 312 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe() 324 dev_set_drvdata(&dev->dev, sinfo); in pxa2xx_drv_pcmcia_probe() 330 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_probe() 338 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in pxa2xx_drv_pcmcia_remove() local 341 for (i = 0; i < sinfo->nskt; i++) in pxa2xx_drv_pcmcia_remove() 342 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-v5.15/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()
|
/Linux-v5.15/mm/ |
D | slab_common.c | 1073 struct slabinfo sinfo; in cache_show() local 1075 memset(&sinfo, 0, sizeof(sinfo)); in cache_show() 1076 get_slabinfo(s, &sinfo); in cache_show() 1079 s->name, sinfo.active_objs, sinfo.num_objs, s->size, in cache_show() 1080 sinfo.objects_per_slab, (1 << sinfo.cache_order)); in cache_show() 1083 sinfo.limit, sinfo.batchcount, sinfo.shared); in cache_show() 1085 sinfo.active_slabs, sinfo.num_slabs, sinfo.shared_avail); in cache_show() 1103 struct slabinfo sinfo; in dump_unreclaimable_slab() local 1124 get_slabinfo(s, &sinfo); in dump_unreclaimable_slab() 1126 if (sinfo.num_objs > 0) in dump_unreclaimable_slab() [all …]
|
/Linux-v5.15/include/linux/ |
D | virtio_net.h | 148 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb() local 154 sinfo->gso_size); in virtio_net_hdr_from_skb() 155 if (sinfo->gso_type & SKB_GSO_TCPV4) in virtio_net_hdr_from_skb() 157 else if (sinfo->gso_type & SKB_GSO_TCPV6) in virtio_net_hdr_from_skb() 161 if (sinfo->gso_type & SKB_GSO_TCP_ECN) in virtio_net_hdr_from_skb()
|
/Linux-v5.15/net/batman-adv/ |
D | bat_v_elp.c | 72 struct station_info sinfo; in batadv_v_elp_get_throughput() local 95 ret = cfg80211_get_station(real_netdev, neigh->addr, &sinfo); in batadv_v_elp_get_throughput() 99 cfg80211_sinfo_release_content(&sinfo); in batadv_v_elp_get_throughput() 113 if (sinfo.filled & BIT(NL80211_STA_INFO_EXPECTED_THROUGHPUT)) in batadv_v_elp_get_throughput() 114 return sinfo.expected_throughput / 100; in batadv_v_elp_get_throughput() 119 if (sinfo.filled & BIT(NL80211_STA_INFO_TX_BITRATE)) in batadv_v_elp_get_throughput() 120 return cfg80211_calculate_bitrate(&sinfo.txrate) / 3; in batadv_v_elp_get_throughput()
|
/Linux-v5.15/drivers/firmware/arm_scmi/ |
D | sensors.c | 895 struct sensors_info *sinfo = ph->get_priv(ph); in scmi_sensor_fill_custom_report() local 899 if (r->sensor_id >= sinfo->num_sensors) in scmi_sensor_fill_custom_report() 903 s = &sinfo->sensors[r->sensor_id]; in scmi_sensor_fill_custom_report() 967 struct sensors_info *sinfo; in scmi_sensors_protocol_init() local 974 sinfo = devm_kzalloc(ph->dev, sizeof(*sinfo), GFP_KERNEL); in scmi_sensors_protocol_init() 975 if (!sinfo) in scmi_sensors_protocol_init() 977 sinfo->version = version; in scmi_sensors_protocol_init() 979 ret = scmi_sensor_attributes_get(ph, sinfo); in scmi_sensors_protocol_init() 982 sinfo->sensors = devm_kcalloc(ph->dev, sinfo->num_sensors, in scmi_sensors_protocol_init() 983 sizeof(*sinfo->sensors), GFP_KERNEL); in scmi_sensors_protocol_init() [all …]
|
D | driver.c | 1376 static int __scmi_xfer_info_init(struct scmi_info *sinfo, in __scmi_xfer_info_init() argument 1381 struct device *dev = sinfo->dev; in __scmi_xfer_info_init() 1382 const struct scmi_desc *desc = sinfo->desc; in __scmi_xfer_info_init() 1429 static int scmi_channels_max_msg_configure(struct scmi_info *sinfo) in scmi_channels_max_msg_configure() argument 1431 const struct scmi_desc *desc = sinfo->desc; in scmi_channels_max_msg_configure() 1434 sinfo->tx_minfo.max_msg = desc->max_msg; in scmi_channels_max_msg_configure() 1435 sinfo->rx_minfo.max_msg = desc->max_msg; in scmi_channels_max_msg_configure() 1439 base_cinfo = idr_find(&sinfo->tx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure() 1442 sinfo->tx_minfo.max_msg = desc->ops->get_max_msg(base_cinfo); in scmi_channels_max_msg_configure() 1445 base_cinfo = idr_find(&sinfo->rx_idr, SCMI_PROTOCOL_BASE); in scmi_channels_max_msg_configure() [all …]
|
/Linux-v5.15/drivers/net/wireless/quantenna/qtnfmac/ |
D | event.c | 25 struct station_info *sinfo; in qtnf_event_handle_sta_assoc() local 44 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in qtnf_event_handle_sta_assoc() 45 if (!sinfo) in qtnf_event_handle_sta_assoc() 56 sinfo->assoc_req_ies = NULL; in qtnf_event_handle_sta_assoc() 57 sinfo->assoc_req_ies_len = 0; in qtnf_event_handle_sta_assoc() 58 sinfo->generation = vif->generation; in qtnf_event_handle_sta_assoc() 81 sinfo->assoc_req_ies = ie_set->ie_data; in qtnf_event_handle_sta_assoc() 82 sinfo->assoc_req_ies_len = ie_len; in qtnf_event_handle_sta_assoc() 93 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, in qtnf_event_handle_sta_assoc() 97 kfree(sinfo); in qtnf_event_handle_sta_assoc()
|