Changeset 723 for GPL/branches/uniaud32-next/include/linux/slab.h
- Timestamp:
- Sep 4, 2022, 11:14:18 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/slab.h
r694 r723 87 87 #endif 88 88 89 void *kzalloc(size_t n, gfp_t gfp_flags); 89 /** 90 * kzalloc - allocate memory. The memory is set to zero. 91 * @size: how many bytes of memory are required. 92 * @flags: the type of memory to allocate (see kmalloc). 93 */ 94 static inline void *kzalloc(size_t size, gfp_t flags) 95 { 96 return kmalloc(size, flags | __GFP_ZERO); 97 } 98 90 99 void *kcalloc(size_t n, size_t size, unsigned int __nocast gfp_flags); 91 100 void *krealloc(const void *, size_t, gfp_t);
Note:
See TracChangeset
for help on using the changeset viewer.