freebsd-dev/sys/dev/drm2
Pedro F. Giffuni 7d81f67b88 drm2: Basic use of mallocarray(9).
These functions deal the same type of overflows we do with mallocarray(9).
Using our mallocarray will panic, which different from the previous
behavior (returning NULL), but neither behavior is more correct.

As a sidenote, drm_calloc_large() is not currently used at all.

Reviewed by:	dumbbell
Differential Revision:	https://reviews.freebsd.org/D13835
2018-01-22 15:55:51 +00:00
..
i915 These drivers have a sentinel at the end of the device list. Exclude 2017-12-23 05:32:20 +00:00
radeon These drivers have a sentinel at the end of the device list. Exclude 2017-12-23 05:32:20 +00:00
ttm Don't bother enqueuing a page immediately before freeing it. 2017-05-18 18:37:19 +00:00
ati_pcigart.c
drm_agpsupport.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_atomic.h
drm_auth.c
drm_buffer.c
drm_buffer.h
drm_bufs.c Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
drm_context.c
drm_core.h
drm_crtc_helper.c
drm_crtc_helper.h
drm_crtc.c
drm_crtc.h
drm_dma.c Revert crap accidentally committed 2017-01-28 16:31:23 +00:00
drm_dp_helper.c
drm_dp_helper.h
drm_dp_iic_helper.c
drm_drv.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_edid_modes.h
drm_edid.c
drm_edid.h
drm_fb_helper.c
drm_fb_helper.h
drm_fixed.h
drm_fops.c
drm_fourcc.h
drm_gem_names.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_gem_names.h sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_gem.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_global.c
drm_global.h
drm_hashtab.c
drm_hashtab.h
drm_ioc32.c
drm_ioctl.c
drm_irq.c
drm_linux_list_sort.c sys/dev: further adoption of SPDX licensing ID tags. 2017-11-27 14:52:40 +00:00
drm_linux_list.h
drm_lock.c
drm_mem_util.h drm2: Basic use of mallocarray(9). 2018-01-22 15:55:51 +00:00
drm_memory.c
drm_mm.c
drm_mm.h
drm_mode.h
drm_modes.c
drm_os_freebsd.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_os_freebsd.h Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_pci.c
drm_pciids.h drm2: Add some missing PCIIDs for some Haswell systems 2017-04-13 01:56:15 +00:00
drm_platform.c
drm_sarea.h
drm_scatter.c Use atop() instead of OFF_TO_IDX() for convertion of addresses or 2017-03-14 19:39:17 +00:00
drm_stub.c Really revert 312923 this time 2017-01-28 16:40:51 +00:00
drm_sysctl.c
drm_vm.c
drm.h
drmP.h All these files need sys/vmmeter.h, but now they got it implicitly 2017-04-17 17:07:00 +00:00