malloc() flags cleanup and fixes. Get rid of M_NOWAIT in places where the
authorMatthew Dillon <dillon@dragonflybsd.org>
Thu, 13 May 2004 19:44:33 +0000 (19:44 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Thu, 13 May 2004 19:44:33 +0000 (19:44 +0000)
commitbf22d4c1f95f57623b2b3030738e116d3a547284
treec9f6710c972d812d8b5c083f5664606c05323cad
parent06ecca5a02c2946b0e2287481933f74e3cf670b5
malloc() flags cleanup and fixes.  Get rid of M_NOWAIT in places where the
malloc must succeed for proper device operation to occur, replacing with
M_WAITOK or M_INTWAIT as appropriate.  Use M_ZERO instead of bzero().
21 files changed:
sys/dev/atm/hea/eni_buffer.c
sys/dev/crypto/hifn/hifn7751.c
sys/dev/crypto/rndtest/rndtest.c
sys/dev/crypto/ubsec/ubsec.c
sys/dev/disk/advansys/adwcam.c
sys/dev/disk/aha/aha.c
sys/dev/disk/ahb/ahb.c
sys/dev/disk/aic7xxx/aic79xx.c
sys/dev/disk/aic7xxx/aic79xx_osm.c
sys/dev/disk/aic7xxx/aic7xxx.c
sys/dev/disk/aic7xxx/aic7xxx_osm.c
sys/dev/drm/drm_memory.h
sys/dev/misc/atkbdc_layer/atkbdc_isa.c
sys/dev/misc/kbd/atkbd.c
sys/dev/misc/kbd/atkbdc.c
sys/dev/misc/kbd/kbd.c
sys/dev/misc/labpc/labpc.c
sys/dev/misc/puc/puc.c
sys/dev/misc/syscons/schistory.c
sys/dev/misc/syscons/scmouse.c
sys/dev/misc/syscons/scvtb.c