xserver/hw/xfree86/drivers/modesetting
Enrico Weigelt, metux IT consult ea618f9bff xfree86: replace xallocarray() by calloc()
Only key difference that calloc(), in contrast to rellocarray(),
is zero-initializing. The overhead is hard to measure on today's
machines, and it's safer programming practise to always allocate
zero-initialized, so one can't forget to do it explicitly.

Cocci rule:

    @@
    expression COUNT;
    expression LEN;
    @@
    - xallocarray(COUNT,LEN)
    + calloc(COUNT,LEN)

Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
2025-04-02 17:37:14 +00:00
..
dri2.c xfree86: use dixDestroyPixmap() instead of direct driver call 2025-02-12 17:48:30 +01:00
driver.c xfree86: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
driver.h modesetting: Use a more optimal hw cursor size 2023-12-16 08:03:26 +02:00
drmmode_display.c xfree86: replace xallocarray() by calloc() 2025-04-02 17:37:14 +00:00
drmmode_display.h modesetting: Use a more optimal hw cursor size 2023-12-16 08:03:26 +02:00
dumb_bo.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
dumb_bo.h modesetting: Drop dumb_bo::map_count field and dead unmap code. 2014-12-11 11:26:19 -08:00
meson.build modsetting: also add libglx to library symbol test 2025-02-17 18:42:52 +00:00
modesetting.man man pages: use .BR to mark up man page references 2025-03-29 13:36:54 -07:00
pageflip.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00
present.c modesetting: avoid memory leak when ms_present_check_unflip() returns FALSE 2024-10-28 05:38:25 +00:00
vblank.c drop obsolete HAVE_DIX_CONFIG_H 2024-10-10 13:38:31 +00:00