Changeset 772 for GPL/trunk/include/linux/slab.h
- Timestamp:
- Apr 19, 2025, 8:08:37 PM (4 months ago)
- Location:
- GPL/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/trunk
- Property svn:mergeinfo changed
/GPL/branches/uniaud32-6.6-LTS (added) merged: 765,768-769 /GPL/branches/uniaud32-exp (added) merged: 735-741,743-744,748-751,753-760,762-764 /GPL/branches/uniaud32-next merged: 718-734
- Property svn:mergeinfo changed
-
GPL/trunk/include/linux/slab.h
r695 r772 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); … … 140 149 }; 141 150 142 #define kvzalloc kzalloc143 151 size_t ksize(const void *); 144 152
Note:
See TracChangeset
for help on using the changeset viewer.