/linux-6.6.21/scripts/ |
D | get_feat.pl | 352 my $desc_size = shift; 369 print $fill x $desc_size; 385 my $desc_size = $max_size_kconfig + 4; 387 $desc_size = $max_size_description if ($max_size_description > $desc_size); 389 $desc_size = $description_size if ($description_size > $desc_size); 391 $desc_size = $max_description_word if ($max_description_word > $desc_size); 393 $desc_size = length($desc_title) if (length($desc_title) > $desc_size); 420 matrix_lines($desc_size, $status_size, 0); 423 printf "|%-${desc_size}s", $desc_title; 426 matrix_lines($desc_size, $status_size, 1); [all …]
|
/linux-6.6.21/arch/x86/platform/efi/ |
D | memmap.c | 64 data->size = num_entries * efi.memmap.desc_size; in efi_memmap_alloc() 66 data->desc_size = efi.memmap.desc_size; in efi_memmap_alloc() 177 old += old_memmap->desc_size, new += old_memmap->desc_size) { in efi_memmap_insert() 180 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() 195 new += old_memmap->desc_size; in efi_memmap_insert() 196 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() 208 new += old_memmap->desc_size; in efi_memmap_insert() 209 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() 216 new += old_memmap->desc_size; in efi_memmap_insert() 217 memcpy(new, old, old_memmap->desc_size); in efi_memmap_insert() [all …]
|
D | efi.c | 217 data.desc_size = e->efi_memdesc_size; in efi_memblock_x86_reserve_range() 235 memblock_reserve(pmap, efi.memmap.nr_map * efi.memmap.desc_size); in efi_memblock_x86_reserve_range() 289 memcpy(out, in, efi.memmap.desc_size); in efi_clean_memmap() 290 out = (void *)out + efi.memmap.desc_size; in efi_clean_memmap() 294 in = (void *)in + efi.memmap.desc_size; in efi_clean_memmap() 301 .desc_size = efi.memmap.desc_size, in efi_clean_memmap() 302 .size = efi.memmap.desc_size * (efi.memmap.nr_map - n_removal), in efi_clean_memmap() 594 return efi.memmap.map_end - efi.memmap.desc_size; in efi_map_next_entry_reverse() 596 entry -= efi.memmap.desc_size; in efi_map_next_entry_reverse() 641 entry += efi.memmap.desc_size; in efi_map_next_entry() [all …]
|
/linux-6.6.21/fs/ext4/ |
D | verity.c | 172 size_t desc_size, u64 merkle_tree_size) in ext4_write_verity_descriptor() argument 176 const u64 desc_end = desc_pos + desc_size; in ext4_write_verity_descriptor() 177 const __le32 desc_size_disk = cpu_to_le32(desc_size); in ext4_write_verity_descriptor() 183 err = pagecache_write(inode, desc, desc_size, desc_pos); in ext4_write_verity_descriptor() 192 size_t desc_size, u64 merkle_tree_size) in ext4_end_enable_verity() argument 208 err = ext4_write_verity_descriptor(inode, desc, desc_size, in ext4_end_enable_verity() 278 u32 desc_size; in ext4_get_verity_descriptor_location() local 316 desc_size = le32_to_cpu(desc_size_disk); in ext4_get_verity_descriptor_location() 323 if (desc_size > INT_MAX || desc_size > desc_size_pos) in ext4_get_verity_descriptor_location() 326 desc_pos = round_down(desc_size_pos - desc_size, i_blocksize(inode)); in ext4_get_verity_descriptor_location() [all …]
|
/linux-6.6.21/drivers/net/ethernet/ti/ |
D | k3-cppi-desc-pool.c | 21 size_t desc_size; member 46 size_t desc_size, in k3_cppi_desc_pool_create_name() argument 58 pool->desc_size = roundup_pow_of_two(desc_size); in k3_cppi_desc_pool_create_name() 60 pool->mem_size = pool->num_desc * pool->desc_size; in k3_cppi_desc_pool_create_name() 67 pool->gen_pool = gen_pool_create(ilog2(pool->desc_size), -1); in k3_cppi_desc_pool_create_name() 119 return (void *)gen_pool_alloc(pool->gen_pool, pool->desc_size); in k3_cppi_desc_pool_alloc() 125 gen_pool_free(pool->gen_pool, (unsigned long)addr, pool->desc_size); in k3_cppi_desc_pool_free() 131 return gen_pool_avail(pool->gen_pool) / pool->desc_size; in k3_cppi_desc_pool_avail()
|
D | k3-cppi-desc-pool.h | 18 size_t desc_size, 20 #define k3_cppi_desc_pool_create(dev, size, desc_size) \ argument 21 k3_cppi_desc_pool_create_name(dev, size, desc_size, NULL)
|
/linux-6.6.21/drivers/greybus/ |
D | manifest.c | 103 size_t desc_size; in identify_descriptor() local 112 desc_size = le16_to_cpu(desc_header->size); in identify_descriptor() 113 if (desc_size > size) { in identify_descriptor() 115 desc_size, size); in identify_descriptor() 146 if (desc_size < expected_size) { in identify_descriptor() 149 desc_size, expected_size); in identify_descriptor() 154 if (desc_size > expected_size) { in identify_descriptor() 157 expected_size, desc_size); in identify_descriptor() 164 descriptor->size = desc_size; in identify_descriptor() 171 return desc_size; in identify_descriptor() [all …]
|
/linux-6.6.21/drivers/firmware/efi/ |
D | memmap.c | 56 efi.memmap.desc_size * efi.memmap.nr_map, in __efi_memmap_init() 60 map.nr_map = data->size / data->desc_size; in __efi_memmap_init() 64 map.desc_size = data->desc_size; in __efi_memmap_init() 98 size = efi.memmap.desc_size * efi.memmap.nr_map; in efi_memmap_unmap() 151 data.desc_size = efi.memmap.desc_size; in efi_memmap_init_late()
|
/linux-6.6.21/drivers/firmware/efi/libstub/ |
D | loongarch.c | 34 efi_get_virtmap(map->map, map->map_size, map->desc_size, in exit_boot_func() 50 unsigned long desc_size; in efi_boot_kernel() local 54 status = efi_alloc_virtmap(&priv.runtime_map, &desc_size, &desc_ver); in efi_boot_kernel() 69 priv.runtime_entry_count * desc_size, desc_size, in efi_boot_kernel()
|
D | efi-stub.c | 201 unsigned long *desc_size, u32 *desc_ver) in efi_alloc_virtmap() argument 212 status = efi_bs_call(get_memory_map, &size, NULL, &mmap_key, desc_size, in efi_alloc_virtmap() 229 unsigned long desc_size, efi_memory_desc_t *runtime_map, in efi_get_virtmap() argument 238 for (l = 0; l < map_size; l += desc_size) { in efi_get_virtmap() 278 memcpy(out, in, desc_size); in efi_get_virtmap() 279 out = (void *)out + desc_size; in efi_get_virtmap()
|
D | fdt.c | 169 fdt_val32 = cpu_to_fdt32(map->desc_size); in update_fdt_memmap() 202 efi_get_virtmap(map->map, map->map_size, map->desc_size, in exit_boot_func() 228 unsigned long desc_size; in allocate_new_fdt_and_exit_boot() local 236 status = efi_alloc_virtmap(&priv.runtime_map, &desc_size, in allocate_new_fdt_and_exit_boot() 302 status = svam(priv.runtime_entry_count * desc_size, desc_size, in allocate_new_fdt_and_exit_boot() 321 l += priv.boot_memmap->desc_size) { in allocate_new_fdt_and_exit_boot()
|
D | mem.c | 32 &tmp.desc_size, &tmp.desc_ver); in efi_get_memory_map() 36 size = tmp.map_size + tmp.desc_size * EFI_MMAP_NR_SLACK_SLOTS; in efi_get_memory_map() 56 &m->desc_size, &m->desc_ver); in efi_get_memory_map()
|
D | relocate.c | 46 for (i = 0; i < map->map_size / map->desc_size; i++) { in efi_low_alloc_above() 51 desc = efi_early_memdesc_ptr(m, map->desc_size, i); in efi_low_alloc_above() 81 if (i == map->map_size / map->desc_size) in efi_low_alloc_above()
|
/linux-6.6.21/drivers/hid/ |
D | hid-uclogic-params.h | 87 unsigned int desc_size; member 126 unsigned int desc_size; member 220 unsigned int desc_size; member 247 unsigned int desc_size; member
|
D | hid-uclogic-params.c | 64 hid_dbg(hdev, "\t.desc_size = %u\n", pen->desc_size); in uclogic_params_pen_hid_dbg() 95 hid_dbg(hdev, "\t\t.desc_size = %u\n", frame->desc_size); in uclogic_params_frame_hid_dbg() 123 hid_dbg(hdev, ".desc_size = %u\n", params->desc_size); in uclogic_params_hid_dbg() 314 pen->desc_size = uclogic_rdesc_v1_pen_template_size; in uclogic_params_pen_init_v1() 474 pen->desc_size = uclogic_rdesc_v2_pen_template_size; in uclogic_params_pen_init_v2() 527 size_t desc_size, in uclogic_params_frame_init_with_desc() argument 532 if (frame == NULL || (desc_ptr == NULL && desc_size != 0)) in uclogic_params_frame_init_with_desc() 535 copy_desc_ptr = kmemdup(desc_ptr, desc_size, GFP_KERNEL); in uclogic_params_frame_init_with_desc() 541 frame->desc_size = desc_size; in uclogic_params_frame_init_with_desc() 716 ADD_DESC(params->desc_ptr, params->desc_size); in uclogic_params_get_desc() [all …]
|
/linux-6.6.21/drivers/net/ethernet/sunplus/ |
D | spl2sw_desc.c | 109 dma_free_coherent(&comm->pdev->dev, comm->desc_size, comm->desc_base, in spl2sw_descs_free() 113 comm->desc_size = 0; in spl2sw_descs_free() 171 s32 desc_size; in spl2sw_descs_alloc() local 175 desc_size = (TX_DESC_NUM + MAC_GUARD_DESC_NUM) * sizeof(struct spl2sw_mac_desc); in spl2sw_descs_alloc() 177 desc_size += comm->rx_desc_num[i] * sizeof(struct spl2sw_mac_desc); in spl2sw_descs_alloc() 179 comm->desc_base = dma_alloc_coherent(&comm->pdev->dev, desc_size, &comm->desc_dma, in spl2sw_descs_alloc() 184 comm->desc_size = desc_size; in spl2sw_descs_alloc()
|
/linux-6.6.21/drivers/scsi/snic/ |
D | vnic_wq.c | 23 unsigned int index, unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc_ring() argument 26 desc_size); in vnic_wq_alloc_ring() 49 wq->ring.desc_size * buf->index; in vnic_wq_alloc_bufs() 86 unsigned int desc_count, unsigned int desc_size) in vnic_wq_devcmd2_alloc() argument 102 err = vnic_wq_alloc_ring(vdev, wq, 0, desc_count, desc_size); in vnic_wq_devcmd2_alloc() 110 unsigned int index, unsigned int desc_count, unsigned int desc_size) in svnic_wq_alloc() argument 126 err = vnic_wq_alloc_ring(vdev, wq, index, desc_count, desc_size); in svnic_wq_alloc()
|
D | vnic_cq.h | 58 cq->ring.desc_size * cq->to_clean); in svnic_cq_service() 75 cq->ring.desc_size * cq->to_clean); in svnic_cq_service() 89 unsigned int index, unsigned int desc_count, unsigned int desc_size);
|
D | vnic_dev.h | 48 unsigned int desc_size; member 63 unsigned int desc_size); 66 unsigned int desc_count, unsigned int desc_size);
|
/linux-6.6.21/drivers/infiniband/hw/mlx5/ |
D | srq.c | 197 size_t desc_size; in mlx5_ib_create_srq() local 221 desc_size = sizeof(struct mlx5_wqe_srq_next_seg) + in mlx5_ib_create_srq() 223 if (desc_size == 0 || srq->msrq.max_gs > desc_size) in mlx5_ib_create_srq() 226 desc_size = roundup_pow_of_two(desc_size); in mlx5_ib_create_srq() 227 desc_size = max_t(size_t, 32, desc_size); in mlx5_ib_create_srq() 228 if (desc_size < sizeof(struct mlx5_wqe_srq_next_seg)) in mlx5_ib_create_srq() 231 srq->msrq.max_avail_gather = (desc_size - sizeof(struct mlx5_wqe_srq_next_seg)) / in mlx5_ib_create_srq() 233 srq->msrq.wqe_shift = ilog2(desc_size); in mlx5_ib_create_srq() 234 buf_size = srq->msrq.max * desc_size; in mlx5_ib_create_srq() 235 if (buf_size < desc_size) in mlx5_ib_create_srq()
|
/linux-6.6.21/drivers/scsi/fnic/ |
D | vnic_wq.c | 29 unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc_ring() argument 31 return vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc_ring() 54 wq->ring.desc_size * buf->index; in vnic_wq_alloc_bufs() 91 unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc() argument 106 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc() 121 unsigned int desc_count, unsigned int desc_size) in vnic_wq_devcmd2_alloc() argument 135 err = vnic_wq_alloc_ring(vdev, wq, desc_count, desc_size); in vnic_wq_devcmd2_alloc()
|
D | vnic_cq.h | 70 cq->ring.desc_size * cq->to_clean); in vnic_cq_service() 87 cq->ring.desc_size * cq->to_clean); in vnic_cq_service() 101 unsigned int desc_count, unsigned int desc_size);
|
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00mmio.c | 69 skbdesc->desc_len = entry->queue->desc_size; in rt2x00mmio_rxdone() 112 queue->limit * queue->desc_size, &dma, in rt2x00mmio_alloc_queue_dma() 122 entry_priv->desc = addr + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma() 123 entry_priv->desc_dma = dma + i * queue->desc_size; in rt2x00mmio_alloc_queue_dma() 137 queue->limit * queue->desc_size, in rt2x00mmio_free_queue_dma()
|
/linux-6.6.21/samples/hidraw/ |
D | hid-example.c | 46 int i, res, desc_size = 0; in main() local 69 res = ioctl(fd, HIDIOCGRDESCSIZE, &desc_size); in main() 73 printf("Report Descriptor Size: %d\n", desc_size); in main() 76 rpt_desc.size = desc_size; in main()
|
/linux-6.6.21/drivers/net/ethernet/cisco/enic/ |
D | vnic_wq.c | 35 wq->ring.desc_size * buf->index; in vnic_wq_alloc_bufs() 76 unsigned int desc_count, unsigned int desc_size) in vnic_wq_alloc() argument 91 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in vnic_wq_alloc() 105 unsigned int desc_count, unsigned int desc_size) in enic_wq_devcmd2_alloc() argument 116 err = vnic_dev_alloc_desc_ring(vdev, &wq->ring, desc_count, desc_size); in enic_wq_devcmd2_alloc()
|