/Linux-v4.19/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 148 static inline void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, in atmel_lcdfb_update_dma2d() argument 160 static void atmel_lcdfb_update_dma2d(struct atmel_lcdfb_info *sinfo, in atmel_lcdfb_update_dma2d() argument 172 lcdc_writel(sinfo, ATMEL_LCDC_DMA2DCFG, dma2dcfg); in atmel_lcdfb_update_dma2d() 175 lcdc_writel(sinfo, ATMEL_LCDC_DMACON, in atmel_lcdfb_update_dma2d() 176 lcdc_readl(sinfo, ATMEL_LCDC_DMACON) in atmel_lcdfb_update_dma2d() 190 struct atmel_lcdfb_info *sinfo = bl_get_data(bl); in atmel_bl_update_status() local 191 int power = sinfo->bl_power; in atmel_bl_update_status() 198 if (bl->props.fb_blank != sinfo->bl_power) in atmel_bl_update_status() [all …]
|
/Linux-v4.19/crypto/asymmetric_keys/ |
D | pkcs7_verify.c | 26 struct pkcs7_signed_info *sinfo) in pkcs7_digest() argument 28 struct public_key_signature *sig = sinfo->sig; in pkcs7_digest() 34 kenter(",%u,%s", sinfo->index, sinfo->sig->hash_algo); in pkcs7_digest() 36 if (!sinfo->sig->hash_algo) in pkcs7_digest() 42 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 | 29 struct pkcs7_signed_info *sinfo; /* SignedInfo being constructed */ member 49 static void pkcs7_free_signed_info(struct pkcs7_signed_info *sinfo) in pkcs7_free_signed_info() argument 51 if (sinfo) { in pkcs7_free_signed_info() 52 public_key_signature_free(sinfo->sig); in pkcs7_free_signed_info() 53 kfree(sinfo); in pkcs7_free_signed_info() 64 struct pkcs7_signed_info *sinfo; in pkcs7_free_message() local 78 sinfo = pkcs7->signed_infos; in pkcs7_free_message() 79 pkcs7->signed_infos = sinfo->next; in pkcs7_free_message() 80 pkcs7_free_signed_info(sinfo); in pkcs7_free_message() 92 struct pkcs7_signed_info *sinfo; in pkcs7_check_authattrs() local [all …]
|
D | pkcs7_trust.c | 27 struct pkcs7_signed_info *sinfo, in pkcs7_validate_trust_one() argument 30 struct public_key_signature *sig = sinfo->sig; in pkcs7_validate_trust_one() 35 kenter(",%u,", sinfo->index); in pkcs7_validate_trust_one() 37 if (sinfo->unsupported_crypto) { in pkcs7_validate_trust_one() 42 for (x509 = sinfo->signer; x509; x509 = x509->signer) { in pkcs7_validate_trust_one() 63 sinfo->index, x509->index, key_serial(key)); in pkcs7_validate_trust_one() 93 sinfo->index, x509->index, key_serial(key)); in pkcs7_validate_trust_one() 104 sinfo->sig->auth_ids[0], NULL, false); in pkcs7_validate_trust_one() 107 sinfo->index, key_serial(key)); in pkcs7_validate_trust_one() 109 sig = sinfo->sig; in pkcs7_validate_trust_one() [all …]
|
/Linux-v4.19/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 …]
|
D | xt_state.c | 26 const struct xt_state_info *sinfo = par->matchinfo; in state_mt() local 38 return (sinfo->statemask & statebit); in state_mt()
|
/Linux-v4.19/fs/fat/ |
D | namei_msdos.c | 119 struct fat_slot_info *sinfo) in msdos_find() argument 129 err = fat_scan(dir, msdos_name, sinfo); in msdos_find() 132 if (!(sinfo->de->attr & ATTR_HIDDEN)) in msdos_find() 135 if (sinfo->de->attr & ATTR_HIDDEN) in msdos_find() 139 brelse(sinfo->bh); in msdos_find() 204 struct fat_slot_info sinfo; in msdos_lookup() local 209 err = msdos_find(dir, dentry->d_name.name, dentry->d_name.len, &sinfo); in msdos_lookup() 215 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in msdos_lookup() 216 brelse(sinfo.bh); in msdos_lookup() 228 struct timespec64 *ts, struct fat_slot_info *sinfo) in msdos_add_entry() argument [all …]
|
D | namei_vfat.c | 237 struct fat_slot_info sinfo; in vfat_find_form() local 238 int err = fat_scan(dir, name, &sinfo); in vfat_find_form() 241 brelse(sinfo.bh); in vfat_find_form() 657 struct fat_slot_info *sinfo) in vfat_add_entry() argument 676 err = fat_add_entries(dir, slots, nr_slots, sinfo); in vfat_add_entry() 692 struct fat_slot_info *sinfo) in vfat_find() argument 697 return fat_search_long(dir, qname->name, len, sinfo); in vfat_find() 704 struct fat_slot_info sinfo; in vfat_lookup() local 711 err = vfat_find(dir, &dentry->d_name, &sinfo); in vfat_lookup() 720 inode = fat_build_inode(sb, sinfo.de, sinfo.i_pos); in vfat_lookup() [all …]
|
D | dir.c | 463 int name_len, struct fat_slot_info *sinfo) in fat_search_long() argument 527 sinfo->slot_off = cpos - nr_slots * sizeof(*de); in fat_search_long() 528 sinfo->nr_slots = nr_slots; in fat_search_long() 529 sinfo->de = de; in fat_search_long() 530 sinfo->bh = bh; in fat_search_long() 531 sinfo->i_pos = fat_make_i_pos(sb, sinfo->bh, sinfo->de); in fat_search_long() 955 struct fat_slot_info *sinfo) in fat_scan() argument 959 sinfo->slot_off = 0; in fat_scan() 960 sinfo->bh = NULL; in fat_scan() 961 while (fat_get_short_entry(dir, &sinfo->slot_off, &sinfo->bh, in fat_scan() [all …]
|
/Linux-v4.19/net/mac80211/ |
D | sta_info.c | 549 struct station_info *sinfo = NULL; in sta_info_insert_finish() local 560 sinfo = kzalloc(sizeof(struct station_info), GFP_KERNEL); in sta_info_insert_finish() 561 if (!sinfo) { in sta_info_insert_finish() 599 sinfo->generation = local->sta_generation; in sta_info_insert_finish() 600 cfg80211_new_sta(sdata->dev, sta->sta.addr, sinfo, GFP_KERNEL); in sta_info_insert_finish() 601 kfree(sinfo); in sta_info_insert_finish() 622 kfree(sinfo); in sta_info_insert_finish() 971 struct station_info *sinfo; in __sta_info_destroy_part2() local 1009 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in __sta_info_destroy_part2() 1010 if (sinfo) in __sta_info_destroy_part2() [all …]
|
D | ethtool.c | 74 struct station_info sinfo; in ieee80211_get_stats() local 89 data[i++] += sinfo.tx_packets; \ in ieee80211_get_stats() 90 data[i++] += sinfo.tx_bytes; \ in ieee80211_get_stats() 110 memset(&sinfo, 0, sizeof(sinfo)); in ieee80211_get_stats() 111 sta_set_sinfo(sta, &sinfo, false); in ieee80211_get_stats() 119 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_TX_BITRATE)) in ieee80211_get_stats() 121 cfg80211_calculate_bitrate(&sinfo.txrate); in ieee80211_get_stats() 123 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_RX_BITRATE)) in ieee80211_get_stats() 125 cfg80211_calculate_bitrate(&sinfo.rxrate); in ieee80211_get_stats() 128 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_SIGNAL_AVG)) in ieee80211_get_stats() [all …]
|
/Linux-v4.19/net/sctp/ |
D | chunk.c | 166 struct sctp_sndrcvinfo *sinfo, in sctp_datamsg_from_user() argument 184 if (asoc->peer.prsctp_capable && sinfo->sinfo_timetolive && in sctp_datamsg_from_user() 185 (SCTP_PR_TTL_ENABLED(sinfo->sinfo_flags) || in sctp_datamsg_from_user() 186 !SCTP_PR_POLICY(sinfo->sinfo_flags))) in sctp_datamsg_from_user() 188 msecs_to_jiffies(sinfo->sinfo_timetolive); in sctp_datamsg_from_user() 206 if (sinfo->sinfo_tsn && in sctp_datamsg_from_user() 207 sinfo->sinfo_ssn != asoc->active_key_id) { in sctp_datamsg_from_user() 208 shkey = sctp_auth_get_shkey(asoc, sinfo->sinfo_ssn); in sctp_datamsg_from_user() 270 if ((sinfo->sinfo_flags & SCTP_EOF) || in sctp_datamsg_from_user() 271 (sinfo->sinfo_flags & SCTP_SACK_IMMEDIATELY)) in sctp_datamsg_from_user() [all …]
|
D | ulpevent.c | 505 memcpy(&ssf->ssf_info, &chunk->sinfo, sizeof(struct sctp_sndrcvinfo)); in sctp_ulpevent_make_send_failed() 950 struct sctp_sndrcvinfo sinfo; in sctp_ulpevent_read_sndrcvinfo() local 955 memset(&sinfo, 0, sizeof(sinfo)); in sctp_ulpevent_read_sndrcvinfo() 956 sinfo.sinfo_stream = event->stream; in sctp_ulpevent_read_sndrcvinfo() 957 sinfo.sinfo_ssn = event->ssn; in sctp_ulpevent_read_sndrcvinfo() 958 sinfo.sinfo_ppid = event->ppid; in sctp_ulpevent_read_sndrcvinfo() 959 sinfo.sinfo_flags = event->flags; in sctp_ulpevent_read_sndrcvinfo() 960 sinfo.sinfo_tsn = event->tsn; in sctp_ulpevent_read_sndrcvinfo() 961 sinfo.sinfo_cumtsn = event->cumtsn; in sctp_ulpevent_read_sndrcvinfo() 962 sinfo.sinfo_assoc_id = sctp_assoc2id(event->asoc); in sctp_ulpevent_read_sndrcvinfo() [all …]
|
D | outqueue.c | 315 SCTP_PR_PRIO_ENABLED(chunk->sinfo.sinfo_flags)) in sctp_outq_tail() 357 struct sctp_sndrcvinfo *sinfo, in sctp_prsctp_prune_sent() argument 366 (!SCTP_PR_PRIO_ENABLED(chk->sinfo.sinfo_flags) || in sctp_prsctp_prune_sent() 367 chk->sinfo.sinfo_timetolive <= sinfo->sinfo_timetolive)) in sctp_prsctp_prune_sent() 375 streamout = SCTP_SO(&asoc->stream, chk->sinfo.sinfo_stream); in sctp_prsctp_prune_sent() 399 struct sctp_sndrcvinfo *sinfo, int msg_len) in sctp_prsctp_prune_unsent() argument 409 !SCTP_PR_PRIO_ENABLED(chk->sinfo.sinfo_flags) || in sctp_prsctp_prune_unsent() 410 chk->sinfo.sinfo_timetolive <= sinfo->sinfo_timetolive)) in sctp_prsctp_prune_unsent() 417 if (chk->sinfo.sinfo_stream < asoc->stream.outcnt) { in sctp_prsctp_prune_unsent() 419 SCTP_SO(&asoc->stream, chk->sinfo.sinfo_stream); in sctp_prsctp_prune_unsent() [all …]
|
/Linux-v4.19/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-v4.19/drivers/firmware/arm_scmi/ |
D | sensors.c | 260 struct sensors_info *sinfo; in scmi_sensors_protocol_init() local 267 sinfo = devm_kzalloc(handle->dev, sizeof(*sinfo), GFP_KERNEL); in scmi_sensors_protocol_init() 268 if (!sinfo) in scmi_sensors_protocol_init() 271 scmi_sensor_attributes_get(handle, sinfo); in scmi_sensors_protocol_init() 273 sinfo->sensors = devm_kcalloc(handle->dev, sinfo->num_sensors, in scmi_sensors_protocol_init() 274 sizeof(*sinfo->sensors), GFP_KERNEL); in scmi_sensors_protocol_init() 275 if (!sinfo->sensors) in scmi_sensors_protocol_init() 278 scmi_sensor_description_get(handle, sinfo); in scmi_sensors_protocol_init() 281 handle->sensor_priv = sinfo; in scmi_sensors_protocol_init()
|
/Linux-v4.19/mm/ |
D | slab_common.c | 1296 struct slabinfo sinfo; in memcg_accumulate_slabinfo() local 1302 memset(&sinfo, 0, sizeof(sinfo)); in memcg_accumulate_slabinfo() 1303 get_slabinfo(c, &sinfo); in memcg_accumulate_slabinfo() 1305 info->active_slabs += sinfo.active_slabs; in memcg_accumulate_slabinfo() 1306 info->num_slabs += sinfo.num_slabs; in memcg_accumulate_slabinfo() 1307 info->shared_avail += sinfo.shared_avail; in memcg_accumulate_slabinfo() 1308 info->active_objs += sinfo.active_objs; in memcg_accumulate_slabinfo() 1309 info->num_objs += sinfo.num_objs; in memcg_accumulate_slabinfo() 1315 struct slabinfo sinfo; in cache_show() local 1317 memset(&sinfo, 0, sizeof(sinfo)); in cache_show() [all …]
|
/Linux-v4.19/drivers/pcmcia/ |
D | pxa2xx_base.c | 282 struct skt_dev_info *sinfo; in pxa2xx_drv_pcmcia_probe() local 304 sinfo = devm_kzalloc(&dev->dev, SKT_DEV_INFO_SIZE(ops->nr), in pxa2xx_drv_pcmcia_probe() 306 if (!sinfo) in pxa2xx_drv_pcmcia_probe() 309 sinfo->nskt = ops->nr; in pxa2xx_drv_pcmcia_probe() 313 skt = &sinfo->skt[i]; in pxa2xx_drv_pcmcia_probe() 325 dev_set_drvdata(&dev->dev, sinfo); in pxa2xx_drv_pcmcia_probe() 331 soc_pcmcia_remove_one(&sinfo->skt[i]); in pxa2xx_drv_pcmcia_probe() 339 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in pxa2xx_drv_pcmcia_remove() local 342 for (i = 0; i < sinfo->nskt; i++) in pxa2xx_drv_pcmcia_remove() 343 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()
|
D | sa1100_generic.c | 130 struct skt_dev_info *sinfo = platform_get_drvdata(dev); in sa11x0_drv_pcmcia_legacy_remove() local 135 for (i = 0; i < sinfo->nskt; i++) in sa11x0_drv_pcmcia_legacy_remove() 136 soc_pcmcia_remove_one(&sinfo->skt[i]); in sa11x0_drv_pcmcia_legacy_remove()
|
/Linux-v4.19/include/linux/ |
D | virtio_net.h | 85 struct skb_shared_info *sinfo = skb_shinfo(skb); in virtio_net_hdr_from_skb() local 91 sinfo->gso_size); in virtio_net_hdr_from_skb() 92 if (sinfo->gso_type & SKB_GSO_TCPV4) in virtio_net_hdr_from_skb() 94 else if (sinfo->gso_type & SKB_GSO_TCPV6) in virtio_net_hdr_from_skb() 98 if (sinfo->gso_type & SKB_GSO_TCP_ECN) in virtio_net_hdr_from_skb()
|
/Linux-v4.19/drivers/net/wireless/quantenna/qtnfmac/ |
D | event.c | 37 struct station_info *sinfo; in qtnf_event_handle_sta_assoc() local 57 sinfo = kzalloc(sizeof(*sinfo), GFP_KERNEL); in qtnf_event_handle_sta_assoc() 58 if (!sinfo) in qtnf_event_handle_sta_assoc() 69 sinfo->assoc_req_ies = NULL; in qtnf_event_handle_sta_assoc() 70 sinfo->assoc_req_ies_len = 0; in qtnf_event_handle_sta_assoc() 71 sinfo->generation = vif->generation; in qtnf_event_handle_sta_assoc() 100 sinfo->assoc_req_ies = ie_set->ie_data; in qtnf_event_handle_sta_assoc() 101 sinfo->assoc_req_ies_len = ie_len; in qtnf_event_handle_sta_assoc() 114 cfg80211_new_sta(vif->netdev, sta_assoc->sta_addr, sinfo, in qtnf_event_handle_sta_assoc() 118 kfree(sinfo); in qtnf_event_handle_sta_assoc()
|
/Linux-v4.19/fs/btrfs/ |
D | sysfs.c | 288 struct btrfs_space_info *sinfo = to_space_info(kobj->parent); in raid_bytes_show() local 293 down_read(&sinfo->groups_sem); in raid_bytes_show() 294 list_for_each_entry(block_group, &sinfo->block_groups[index], list) { in raid_bytes_show() 300 up_read(&sinfo->groups_sem); in raid_bytes_show() 326 struct btrfs_space_info *sinfo = to_space_info(kobj); \ 327 return btrfs_show_u64(&sinfo->field, &sinfo->lock, buf); \ 335 struct btrfs_space_info *sinfo = to_space_info(kobj); in btrfs_space_info_show_total_bytes_pinned() local 336 s64 val = percpu_counter_sum(&sinfo->total_bytes_pinned); in btrfs_space_info_show_total_bytes_pinned() 368 struct btrfs_space_info *sinfo = to_space_info(kobj); in space_info_release() local 369 percpu_counter_destroy(&sinfo->total_bytes_pinned); in space_info_release() [all …]
|
/Linux-v4.19/net/rds/ |
D | af_rds.c | 727 struct rds_info_socket sinfo; in rds_sock_info() local 738 sinfo.sndbuf = rds_sk_sndbuf(rs); in rds_sock_info() 739 sinfo.rcvbuf = rds_sk_rcvbuf(rs); in rds_sock_info() 740 sinfo.bound_addr = rs->rs_bound_addr_v4; in rds_sock_info() 741 sinfo.connected_addr = rs->rs_conn_addr_v4; in rds_sock_info() 742 sinfo.bound_port = rs->rs_bound_port; in rds_sock_info() 743 sinfo.connected_port = rs->rs_conn_port; in rds_sock_info() 744 sinfo.inum = sock_i_ino(rds_rs_to_sk(rs)); in rds_sock_info() 746 rds_info_copy(iter, &sinfo, sizeof(sinfo)); in rds_sock_info()
|
/Linux-v4.19/net/wireless/ |
D | wext-compat.c | 1257 struct station_info sinfo = {}; in cfg80211_wext_giwrate() local 1277 err = rdev_get_station(rdev, dev, addr, &sinfo); in cfg80211_wext_giwrate() 1281 if (!(sinfo.filled & BIT_ULL(NL80211_STA_INFO_TX_BITRATE))) { in cfg80211_wext_giwrate() 1286 rate->value = 100000 * cfg80211_calculate_bitrate(&sinfo.txrate); in cfg80211_wext_giwrate() 1289 cfg80211_sinfo_release_content(&sinfo); in cfg80211_wext_giwrate() 1300 static struct station_info sinfo = {}; in cfg80211_wireless_stats() local 1318 memset(&sinfo, 0, sizeof(sinfo)); in cfg80211_wireless_stats() 1320 if (rdev_get_station(rdev, dev, bssid, &sinfo)) in cfg80211_wireless_stats() 1327 if (sinfo.filled & BIT_ULL(NL80211_STA_INFO_SIGNAL)) { in cfg80211_wireless_stats() 1328 int sig = sinfo.signal; in cfg80211_wireless_stats() [all …]
|