Enrico Weigelt, metux IT consult
a8f0e2801e
os: 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-06-12 17:21:43 +02:00
..
2025-06-12 16:49:45 +02:00
2025-06-12 16:49:45 +02:00
2024-04-15 19:54:34 +00:00
2025-06-12 16:52:59 +02:00
2025-06-12 16:52:56 +02:00
2025-02-07 16:58:02 +02:00
2025-02-17 19:32:48 +00:00
2024-10-10 13:38:31 +00:00
2024-04-16 14:19:59 +02:00
2025-02-23 17:39:18 +00:00
2025-06-12 16:49:45 +02:00
2024-04-15 21:21:40 +00:00
2025-06-12 17:21:43 +02:00
2024-05-08 09:37:35 +02:00
2024-03-09 17:34:51 +00:00
2025-02-18 11:17:40 +00:00
2025-06-12 16:49:45 +02:00
2025-06-12 16:49:45 +02:00
2025-06-12 16:49:45 +02:00
2024-07-26 22:26:07 +00:00
2025-06-12 16:53:06 +02:00
2025-06-12 16:52:56 +02:00
2025-06-12 17:21:43 +02:00
2025-06-12 16:32:00 +02:00
2025-06-12 16:35:42 +02:00
2024-10-10 13:38:31 +00:00
2024-09-01 20:23:10 +00:00
2024-07-26 22:26:07 +00:00
2024-07-26 22:26:07 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2024-10-10 13:38:31 +00:00
2025-06-12 16:49:45 +02:00
2025-06-12 16:49:45 +02:00
2025-02-23 17:46:13 +00:00
2025-06-12 16:53:06 +02:00
2025-06-12 16:52:56 +02:00
2025-06-12 16:53:03 +02:00
2025-06-12 16:52:41 +02:00
2025-06-12 16:54:27 +02:00
2024-10-10 13:38:31 +00:00
2024-06-21 00:53:39 +00:00
2025-06-12 16:49:45 +02:00
2024-03-03 23:11:05 +00:00
2024-10-10 13:38:31 +00:00