Home
last modified time | relevance | path

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

/dragonfly/sys/dev/drm/amd/display/dc/basics/
HDvector.c33 uint32_t struct_size) in dal_vector_construct() argument
37 if (!struct_size || !capacity) { in dal_vector_construct()
43 vector->container = kcalloc(capacity, struct_size, GFP_KERNEL); in dal_vector_construct()
47 vector->struct_size = struct_size; in dal_vector_construct()
59 uint32_t struct_size) in dal_vector_presized_costruct() argument
65 if (!struct_size || !count) { in dal_vector_presized_costruct()
71 vector->container = kcalloc(count, struct_size, GFP_KERNEL); in dal_vector_presized_costruct()
82 vector->container + i * struct_size, in dal_vector_presized_costruct()
84 struct_size); in dal_vector_presized_costruct()
88 vector->struct_size = struct_size; in dal_vector_presized_costruct()
[all …]
/dragonfly/sys/dev/drm/amd/display/include/
HDvector.h31 uint32_t struct_size; member
41 uint32_t struct_size);
46 uint32_t struct_size);
54 uint32_t struct_size);
/dragonfly/sys/dev/drm/include/drm/ttm/
HDttm_bo_api.h480 unsigned struct_size);
483 unsigned struct_size);
/dragonfly/sys/dev/drm/ttm/
HDttm_bo.c1259 unsigned struct_size) in ttm_bo_acc_size() argument
1264 size += ttm_round_pot(struct_size); in ttm_bo_acc_size()
1273 unsigned struct_size) in ttm_bo_dma_acc_size() argument
1278 size += ttm_round_pot(struct_size); in ttm_bo_dma_acc_size()