/linux-6.12.1/lib/ |
D | buildid.c | 168 u32 build_id_off, new_off, note_end, name_sz, desc_sz; in parse_build_id() local 181 desc_sz = READ_ONCE(nhdr->n_descsz); in parse_build_id() 185 check_add_overflow(new_off, ALIGN(desc_sz, 4), &new_off) || in parse_build_id() 192 desc_sz > 0 && desc_sz <= BUILD_ID_SIZE_MAX) { in parse_build_id() 196 data = freader_fetch(r, build_id_off, desc_sz); in parse_build_id() 200 memcpy(build_id, data, desc_sz); in parse_build_id() 201 memset(build_id + desc_sz, 0, BUILD_ID_SIZE_MAX - desc_sz); in parse_build_id() 203 *size = desc_sz; in parse_build_id()
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | ce.c | 544 ath12k_ce_alloc_ring(struct ath12k_base *ab, int nentries, int desc_sz) in ath12k_ce_alloc_ring() argument 561 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath12k_ce_alloc_ring() 586 int desc_sz; in ath12k_ce_alloc_pipe() local 593 desc_sz = ath12k_hal_ce_get_desc_size(HAL_CE_DESC_SRC); in ath12k_ce_alloc_pipe() 594 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe() 603 desc_sz = ath12k_hal_ce_get_desc_size(HAL_CE_DESC_DST); in ath12k_ce_alloc_pipe() 604 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe() 609 desc_sz = ath12k_hal_ce_get_desc_size(HAL_CE_DESC_DST_STATUS); in ath12k_ce_alloc_pipe() 610 ring = ath12k_ce_alloc_ring(ab, nentries, desc_sz); in ath12k_ce_alloc_pipe() 889 int desc_sz; in ath12k_ce_free_pipes() local [all …]
|
D | dp.c | 698 int desc_sz = DP_LINK_DESC_ALLOC_SIZE_THRESH; in ath12k_dp_link_desc_bank_alloc() local 702 desc_sz = last_bank_sz; in ath12k_dp_link_desc_bank_alloc() 705 dma_alloc_coherent(ab->dev, desc_sz, in ath12k_dp_link_desc_bank_alloc() 718 desc_bank[i].size = desc_sz; in ath12k_dp_link_desc_bank_alloc()
|
D | dp_rx.c | 641 unsigned long tot_desc_sz, desc_sz; in ath12k_dp_reo_cache_flush() local 645 desc_sz = ath12k_hal_reo_qdesc_size(0, HAL_DESC_REO_NON_QOS_TID); in ath12k_dp_reo_cache_flush() 647 while (tot_desc_sz > desc_sz) { in ath12k_dp_reo_cache_flush() 648 tot_desc_sz -= desc_sz; in ath12k_dp_reo_cache_flush()
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | ce.c | 614 ath11k_ce_alloc_ring(struct ath11k_base *ab, int nentries, int desc_sz) in ath11k_ce_alloc_ring() argument 631 nentries * desc_sz + CE_DESC_RING_ALIGN, in ath11k_ce_alloc_ring() 656 int desc_sz; in ath11k_ce_alloc_pipe() local 663 desc_sz = ath11k_hal_ce_get_desc_size(HAL_CE_DESC_SRC); in ath11k_ce_alloc_pipe() 664 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe() 673 desc_sz = ath11k_hal_ce_get_desc_size(HAL_CE_DESC_DST); in ath11k_ce_alloc_pipe() 674 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe() 679 desc_sz = ath11k_hal_ce_get_desc_size(HAL_CE_DESC_DST_STATUS); in ath11k_ce_alloc_pipe() 680 ring = ath11k_ce_alloc_ring(ab, nentries, desc_sz); in ath11k_ce_alloc_pipe() 978 int desc_sz; in ath11k_ce_free_pipes() local [all …]
|
D | dp.c | 617 int desc_sz = DP_LINK_DESC_ALLOC_SIZE_THRESH; in ath11k_dp_link_desc_bank_alloc() local 621 desc_sz = last_bank_sz; in ath11k_dp_link_desc_bank_alloc() 624 dma_alloc_coherent(ab->dev, desc_sz, in ath11k_dp_link_desc_bank_alloc() 637 desc_bank[i].size = desc_sz; in ath11k_dp_link_desc_bank_alloc()
|
/linux-6.12.1/scripts/gdb/linux/ |
D | dmesg.py | 49 desc_sz = prb_desc_type.get_type().sizeof 96 desc_off = desc_sz * ind 99 desc = utils.read_memoryview(inf, desc_addr + desc_off, desc_sz).tobytes()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp.c | 511 size_t desc_sz; in nfp_nsp_command_buf_dma_sg() local 566 desc_sz = struct_size(desc, descs, nseg); in nfp_nsp_command_buf_dma_sg() 567 desc = kmalloc(desc_sz, GFP_KERNEL); in nfp_nsp_command_buf_dma_sg() 579 dma_desc = dma_map_single(dev, desc, desc_sz, DMA_TO_DEVICE); in nfp_nsp_command_buf_dma_sg() 602 dma_unmap_single(dev, dma_desc, desc_sz, DMA_TO_DEVICE); in nfp_nsp_command_buf_dma_sg()
|
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_lif.c | 973 unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; in ionic_lif_create_hwstamp_txq() local 985 desc_sz = sizeof(struct ionic_txq_desc); in ionic_lif_create_hwstamp_txq() 998 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_lif_create_hwstamp_txq() 1038 unsigned int num_desc, desc_sz, comp_sz, sg_desc_sz; in ionic_lif_create_hwstamp_rxq() local 1050 desc_sz = sizeof(struct ionic_rxq_desc); in ionic_lif_create_hwstamp_rxq() 1058 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_lif_create_hwstamp_rxq() 2059 unsigned int comp_sz, desc_sz, num_desc, sg_desc_sz; in ionic_txrx_alloc() local 2064 desc_sz = sizeof(struct ionic_txq_desc); in ionic_txrx_alloc() 2084 num_desc, desc_sz, comp_sz, sg_desc_sz, in ionic_txrx_alloc() 2107 desc_sz = sizeof(struct ionic_rxq_desc); in ionic_txrx_alloc() [all …]
|
D | ionic_lif.h | 173 u16 desc_sz; member
|
/linux-6.12.1/tools/testing/selftests/bpf/ |
D | xsk.c | 748 size_t desc_sz = sizeof(struct xdp_desc); in xsk_socket__delete() local 766 off.rx.desc + xsk->config.rx_size * desc_sz); in xsk_socket__delete() 770 off.tx.desc + xsk->config.tx_size * desc_sz); in xsk_socket__delete()
|
/linux-6.12.1/drivers/net/wireless/realtek/rtw88/ |
D | pci.c | 210 u32 idx, u32 desc_sz) in rtw_pci_reset_rx_desc() argument 226 idx * desc_sz); in rtw_pci_reset_rx_desc() 236 u32 idx, u32 desc_sz) in rtw_pci_sync_rx_desc_device() argument 245 idx * desc_sz); in rtw_pci_sync_rx_desc_device() 689 u32 desc_sz = chip->rx_buf_desc_sz; in rtw_pci_dma_check() local 693 idx * desc_sz); in rtw_pci_dma_check()
|
D | rtw8703b.c | 1040 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8703b_query_rx_desc() local 1064 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8703b_query_rx_desc() 1070 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8703b_query_rx_desc()
|
D | rtw8821c.c | 687 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8821c_query_rx_desc() local 713 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8821c_query_rx_desc() 716 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8821c_query_rx_desc()
|
D | rtw8723d.c | 235 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8723d_query_rx_desc() local 261 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8723d_query_rx_desc() 264 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8723d_query_rx_desc()
|
D | rtw8822b.c | 942 u32 desc_sz = rtwdev->chip->rx_pkt_desc_sz; in rtw8822b_query_rx_desc() local 968 hdr = (struct ieee80211_hdr *)(rx_desc + desc_sz + pkt_stat->shift + in rtw8822b_query_rx_desc() 971 phy_status = rx_desc + desc_sz + pkt_stat->shift; in rtw8822b_query_rx_desc()
|
/linux-6.12.1/drivers/soc/ti/ |
D | knav_qmss_queue.c | 959 unsigned desc_sz; in knav_pool_desc_unmap() local 962 desc_sz = min(dma_sz, pool->region->desc_size); in knav_pool_desc_unmap() 964 dma_sync_single_for_cpu(pool->dev, dma, desc_sz, DMA_FROM_DEVICE); in knav_pool_desc_unmap()
|
/linux-6.12.1/include/linux/pds/ |
D | pds_adminq.h | 499 __le16 desc_sz; member
|
/linux-6.12.1/drivers/dma/lgm/ |
D | lgm-dma.c | 1274 size_t desc_sz; in ldma_alloc_chan_resources() local 1284 desc_sz = c->desc_num * sizeof(struct dw2_desc); in ldma_alloc_chan_resources() 1285 c->desc_pool = dma_pool_create(c->name, dev, desc_sz, in ldma_alloc_chan_resources()
|
/linux-6.12.1/drivers/mmc/host/ |
D | sdhci.h | 567 unsigned int desc_sz; /* ADMA current descriptor size */ member
|
D | sdhci.c | 727 *desc += host->desc_sz; in sdhci_adma_write_desc() 831 desc -= host->desc_sz; in sdhci_adma_table_pre() 3347 desc += host->desc_sz; in sdhci_adma_show_error() 3348 dma += host->desc_sz; in sdhci_adma_show_error() 4330 host->desc_sz = host->alloc_desc_sz; in sdhci_setup_host() 4331 host->adma_table_sz = host->adma_table_cnt * host->desc_sz; in sdhci_setup_host()
|
D | sdhci-msm.c | 1950 host->desc_sz = 16; in sdhci_msm_cqe_disable() 2051 host->desc_sz = 12; in sdhci_msm_cqe_add_host()
|
/linux-6.12.1/drivers/ata/ |
D | libata-core.c | 2302 char *desc, size_t desc_sz) in ata_dev_config_ncq() argument 2316 snprintf(desc, desc_sz, "NCQ (not used)"); in ata_dev_config_ncq() 2322 snprintf(desc, desc_sz, "NCQ (not used)"); in ata_dev_config_ncq() 2349 snprintf(desc, desc_sz, "NCQ (depth %d)%s", ddepth, aa_desc); in ata_dev_config_ncq() 2351 snprintf(desc, desc_sz, "NCQ (depth %d/%d)%s", hdepth, in ata_dev_config_ncq()
|
/linux-6.12.1/drivers/net/ethernet/ti/ |
D | netcp_core.c | 974 unsigned int desc_sz) in netcp_free_tx_desc_chain() argument 994 desc_sz); in netcp_free_tx_desc_chain()
|
/linux-6.12.1/drivers/infiniband/hw/mthca/ |
D | mthca_qp.c | 931 static int mthca_max_data_size(struct mthca_dev *dev, struct mthca_qp *qp, int desc_sz) in mthca_max_data_size() argument 937 int max_data_size = desc_sz - sizeof (struct mthca_next_seg); in mthca_max_data_size()
|