Home
last modified time | relevance | path

Searched refs:struct_size (Results 1 – 22 of 22) sorted by relevance

/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/dc/basics/
H A Damdgpu_vector.c40 uint32_t struct_size) in dal_vector_construct() argument
54 vector->struct_size = struct_size; in dal_vector_construct()
65 uint32_t struct_size) in dal_vector_presized_costruct() argument
90 struct_size); in dal_vector_presized_costruct()
94 vector->struct_size = struct_size; in dal_vector_presized_costruct()
103 uint32_t struct_size) in dal_vector_presized_create() argument
122 uint32_t struct_size) in dal_vector_create() argument
201 vector->struct_size); in dal_vector_set_at_index()
235 vector->struct_size); in dal_vector_insert_at()
264 vector->struct_size); in dal_vector_clone()
[all …]
/netbsd/sys/external/bsd/libfdt/dist/
H A Dfdt_rw.c16 int mem_rsv_size, int struct_size) in fdt_blocks_misordered_() argument
22 (fdt_off_dt_struct(fdt) + struct_size)) in fdt_blocks_misordered_()
381 int mem_rsv_size, int struct_size) in fdt_packblocks_() argument
387 strings_off = struct_off + struct_size; in fdt_packblocks_()
394 fdt_set_size_dt_struct(new, struct_size); in fdt_packblocks_()
405 int mem_rsv_size, struct_size; in fdt_open_into() local
417 struct_size = fdt_size_dt_struct(fdt); in fdt_open_into()
419 struct_size = 0; in fdt_open_into()
420 while (fdt_next_tag(fdt, struct_size, &struct_size) != FDT_END) in fdt_open_into()
422 if (struct_size < 0) in fdt_open_into()
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/amd/display/include/
H A Dvector.h33 uint32_t struct_size; member
43 uint32_t struct_size);
48 uint32_t struct_size);
56 uint32_t struct_size);
/netbsd/external/gpl3/gdb/dist/gdb/
H A Dfbsd-nat.c780 uint32_t struct_size; in xfer_partial() local
785 struct_size = sizeof (struct kinfo_vmentry); in xfer_partial()
789 struct_size = sizeof (void *); in xfer_partial()
803 buflen += sizeof (struct_size); in xfer_partial()
814 memcpy (buf, &struct_size, sizeof (struct_size)); in xfer_partial()
815 buflen -= sizeof (struct_size); in xfer_partial()
816 if (sysctl (mib, 4, buf + sizeof (struct_size), &buflen, NULL, 0) != 0) in xfer_partial()
818 buflen += sizeof (struct_size); in xfer_partial()
/netbsd/external/gpl3/gdb.old/dist/gdb/
H A Dfbsd-nat.c780 uint32_t struct_size; in xfer_partial() local
785 struct_size = sizeof (struct kinfo_vmentry); in xfer_partial()
789 struct_size = sizeof (void *); in xfer_partial()
803 buflen += sizeof (struct_size); in xfer_partial()
814 memcpy (buf, &struct_size, sizeof (struct_size)); in xfer_partial()
815 buflen -= sizeof (struct_size); in xfer_partial()
816 if (sysctl (mib, 4, buf + sizeof (struct_size), &buflen, NULL, 0) != 0) in xfer_partial()
818 buflen += sizeof (struct_size); in xfer_partial()
/netbsd/sys/external/bsd/drm2/dist/include/drm/ttm/
H A Dttm_bo_api.h454 unsigned struct_size);
457 unsigned struct_size);
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_bo.c438 static size_t struct_size, user_struct_size; in vmw_bo_acc_size() local
442 if (unlikely(struct_size == 0)) { in vmw_bo_acc_size()
445 struct_size = backend_size + in vmw_bo_acc_size()
456 return ((user) ? user_struct_size : struct_size) + in vmw_bo_acc_size()
/netbsd/sys/external/bsd/common/include/linux/
H A Doverflow.h80 #define struct_size(p, member, n) \ macro
/netbsd/sys/arch/rs6000/include/
H A Diplcb.h170 uint32_t struct_size; /* in bytes */ member
203 uint32_t struct_size; member
/netbsd/sys/arch/rs6000/rs6000/
H A Dmachdep.c352 printf("i=%d ssize=%x\n", i, bi->struct_size); in initppc()
356 bi->struct_size); in initppc()
/netbsd/sys/external/bsd/drm2/linux/
H A Dlinux_dma_fence_array.c164 A = kzalloc(struct_size(A, dfa_cb, num_fences), GFP_KERNEL); in dma_fence_array_create()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvif/
H A Dnouveau_nvif_mmu.c118 size_t argc = struct_size(kind, data, mmu->kind_nr); in nvif_mmu_init()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/core/
H A Dnouveau_nvkm_core_ramht.c152 if (!(ramht = *pramht = vzalloc(struct_size(ramht, data, (size >> 3))))) in nvkm_ramht_new()
/netbsd/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo.c1444 unsigned struct_size) in ttm_bo_acc_size() argument
1449 size += ttm_round_pot(struct_size); in ttm_bo_acc_size()
1458 unsigned struct_size) in ttm_bo_dma_acc_size() argument
1463 size += ttm_round_pot(struct_size); in ttm_bo_dma_acc_size()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gem/
H A Di915_gem_context.c280 e = kzalloc(struct_size(e, engines, I915_NUM_ENGINES), GFP_KERNEL); in default_engines()
1703 set.engines = kmalloc(struct_size(set.engines, engines, num_engines), in set_engines()
1778 copy = kmalloc(struct_size(e, engines, e->num_engines), GFP_KERNEL); in __copy_engines()
2022 clone = kmalloc(struct_size(e, engines, e->num_engines), GFP_KERNEL); in clone_engines()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/subdev/instmem/
H A Dnouveau_nvkm_subdev_instmem_gk20a.c493 node = kzalloc(struct_size(node, segs, npages), GFP_KERNEL); in gk20a_instobj_ctor_iommu()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gvt/
H A Dkvmgt.c1356 sparse = kzalloc(struct_size(sparse, areas, nr_areas), in intel_vgpu_ioctl()
1423 struct_size(sparse, areas, in intel_vgpu_ioctl()
/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/pm/
H A Dnouveau_nvkm_engine_pm_base.c787 dom = kzalloc(struct_size(dom, signal, sdom->signal_nr), in nvkm_perfdom_new()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/powerplay/hwmgr/
H A Damdgpu_smu10_hwmgr.c147 table_clk_vlt = kzalloc(struct_size(table_clk_vlt, entries, 7), in smu10_init_dynamic_state_adjustment_rule_settings()
H A Damdgpu_smu8_hwmgr.c284 table_clk_vlt = kzalloc(struct_size(table_clk_vlt, entries, 7), in smu8_init_dynamic_state_adjustment_rule_settings()
/netbsd/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_display.c59 struct_size(qdev->client_monitors_config, in qxl_alloc_client_monitors_config()
/netbsd/sys/external/bsd/drm2/dist/drm/i915/gt/
H A Dintel_lrc.c5043 ve = kzalloc(struct_size(ve, siblings, count), GFP_KERNEL); in intel_execlists_create_virtual()