Searched refs:nr_areas (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/arch/s390/kernel/ |
D | debug.c | 76 int nr_areas, int buf_size, umode_t mode); 179 static debug_entry_t ***debug_areas_alloc(int pages_per_area, int nr_areas) in debug_areas_alloc() argument 184 areas = kmalloc_array(nr_areas, sizeof(debug_entry_t **), GFP_KERNEL); in debug_areas_alloc() 187 for (i = 0; i < nr_areas; i++) { in debug_areas_alloc() 222 int nr_areas, int buf_size, int level, in debug_info_alloc() argument 231 rc->active_entries = kcalloc(nr_areas, sizeof(int), GFP_KERNEL); in debug_info_alloc() 234 rc->active_pages = kcalloc(nr_areas, sizeof(int), GFP_KERNEL); in debug_info_alloc() 238 rc->areas = debug_areas_alloc(pages_per_area, nr_areas); in debug_info_alloc() 248 rc->nr_areas = nr_areas; in debug_info_alloc() 280 for (i = 0; i < db_info->nr_areas; i++) { in debug_areas_free() [all …]
|
/linux-6.1.9/arch/s390/include/asm/ |
D | debug.h | 50 int nr_areas; member 108 debug_info_t *debug_register(const char *name, int pages, int nr_areas, 111 debug_info_t *debug_register_mode(const char *name, int pages, int nr_areas, 436 .nr_areas = EARLY_AREAS, \ 480 #define DEFINE_STATIC_DEBUG_INFO(var, name, pages, nr_areas, buf_size, view) \ argument 484 __REGISTER_STATIC_DEBUG_INFO(var, name, pages, nr_areas, view) 486 void debug_register_static(debug_info_t *id, int pages_per_area, int nr_areas);
|
/linux-6.1.9/drivers/gpu/drm/i915/gvt/ |
D | kvmgt.c | 1180 int nr_areas = 1; in intel_vgpu_ioctl() local 1222 sparse = kzalloc(struct_size(sparse, areas, nr_areas), in intel_vgpu_ioctl() 1229 sparse->nr_areas = nr_areas; in intel_vgpu_ioctl() 1290 sparse->nr_areas)); in intel_vgpu_ioctl()
|
/linux-6.1.9/include/uapi/linux/ |
D | vfio.h | 283 __u32 nr_areas; member
|