Lines Matching refs:sz

163 void rtw_mstat_update(const enum mstat_f flags, const MSTAT_STATUS status, u32 sz);
166 void *dbg_rtw_vmalloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
167 void *dbg_rtw_zvmalloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
168 void dbg_rtw_vmfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
169 void *dbg_rtw_malloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
170 void *dbg_rtw_zmalloc(u32 sz, const enum mstat_f flags, const char *func, const int line);
171 void dbg_rtw_mfree(void *pbuf, const enum mstat_f flags, u32 sz, const char *func, const int line);
191 #define rtw_vmalloc(sz) dbg_rtw_vmalloc((sz), MSTAT_TYPE_VIR, __FUNCTION__, __LINE__) argument
192 #define rtw_zvmalloc(sz) dbg_rtw_zvmalloc((sz), MSTAT_TYPE_VIR, __FUNCTION__, __LINE__) argument
193 #define rtw_vmfree(pbuf, sz) dbg_rtw_vmfree((pbuf), (sz), MSTAT_TYPE_VIR, __FUNCTION__, __LINE__) argument
194 #define rtw_vmalloc_f(sz, mstat_f) dbg_rtw_vmalloc((sz), ((mstat_f) & 0xff00) | MSTAT_TYPE_VIR, _… argument
195 #define rtw_zvmalloc_f(sz, mstat_f) dbg_rtw_zvmalloc((sz), ((mstat_f) & 0xff00) | MSTAT_TYPE_VIR, … argument
196 #define rtw_vmfree_f(pbuf, sz, mstat_f) dbg_rtw_vmfree((pbuf), (sz), ((mstat_f) & 0xff00) | MSTAT_T… argument
198 #define rtw_vmalloc(sz) dbg_rtw_malloc((sz), MSTAT_TYPE_PHY, __FUNCTION__, __LINE__) argument
199 #define rtw_zvmalloc(sz) dbg_rtw_zmalloc((sz), MSTAT_TYPE_PHY, __FUNCTION__, __LINE__) argument
200 #define rtw_vmfree(pbuf, sz) dbg_rtw_mfree((pbuf), (sz), MSTAT_TYPE_PHY, __FUNCTION__, __LINE__) argument
201 #define rtw_vmalloc_f(sz, mstat_f) dbg_rtw_malloc((sz), ((mstat_f) & 0xff00) | MSTAT_TYPE_PHY, __… argument
202 #define rtw_zvmalloc_f(sz, mstat_f) dbg_rtw_zmalloc((sz), ((mstat_f) & 0xff00) | MSTAT_TYPE_PHY, _… argument
203 #define rtw_vmfree_f(pbuf, sz, mstat_f) dbg_rtw_mfree((pbuf), (sz), ((mstat_f) & 0xff00) | MSTAT_TY… argument
205 #define rtw_malloc(sz) dbg_rtw_malloc((sz), MSTAT_TYPE_PHY, __FUNCTION__, __LINE__) argument
206 #define rtw_zmalloc(sz) dbg_rtw_zmalloc((sz), MSTAT_TYPE_PHY, __FUNCTION__, __LINE__) argument
207 #define rtw_mfree(pbuf, sz) dbg_rtw_mfree((pbuf), (sz), MSTAT_TYPE_PHY, __FUNCTION__, __LINE__) argument
208 #define rtw_malloc_f(sz, mstat_f) dbg_rtw_malloc((sz), ((mstat_f) & 0xff00) | MSTAT_TYPE_PHY, __F… argument
209 #define rtw_zmalloc_f(sz, mstat_f) dbg_rtw_zmalloc((sz), ((mstat_f) & 0xff00) | MSTAT_TYPE_PHY, _… argument
210 #define rtw_mfree_f(pbuf, sz, mstat_f) dbg_rtw_mfree((pbuf), (sz), ((mstat_f) & 0xff00) | MSTAT_TY… argument
236 #define rtw_mstat_update(flag, status, sz) do {} while (0) argument
239 void *_rtw_vmalloc(u32 sz);
240 void *_rtw_zvmalloc(u32 sz);
241 void _rtw_vmfree(void *pbuf, u32 sz);
242 void *_rtw_zmalloc(u32 sz);
243 void *_rtw_malloc(u32 sz);
244 void _rtw_mfree(void *pbuf, u32 sz);
246 struct sk_buff *_rtw_skb_alloc(u32 sz);
265 #define rtw_vmalloc(sz) _rtw_vmalloc((sz)) argument
266 #define rtw_zvmalloc(sz) _rtw_zvmalloc((sz)) argument
267 #define rtw_vmfree(pbuf, sz) _rtw_vmfree((pbuf), (sz)) argument
268 #define rtw_vmalloc_f(sz, mstat_f) _rtw_vmalloc((sz)) argument
269 #define rtw_zvmalloc_f(sz, mstat_f) _rtw_zvmalloc((sz)) argument
270 #define rtw_vmfree_f(pbuf, sz, mstat_f) _rtw_vmfree((pbuf), (sz)) argument
272 #define rtw_vmalloc(sz) _rtw_malloc((sz)) argument
273 #define rtw_zvmalloc(sz) _rtw_zmalloc((sz)) argument
274 #define rtw_vmfree(pbuf, sz) _rtw_mfree((pbuf), (sz)) argument
275 #define rtw_vmalloc_f(sz, mstat_f) _rtw_malloc((sz)) argument
276 #define rtw_zvmalloc_f(sz, mstat_f) _rtw_zmalloc((sz)) argument
277 #define rtw_vmfree_f(pbuf, sz, mstat_f) _rtw_mfree((pbuf), (sz)) argument
279 #define rtw_malloc(sz) _rtw_malloc((sz)) argument
280 #define rtw_zmalloc(sz) _rtw_zmalloc((sz)) argument
281 #define rtw_mfree(pbuf, sz) _rtw_mfree((pbuf), (sz)) argument
282 #define rtw_malloc_f(sz, mstat_f) _rtw_malloc((sz)) argument
283 #define rtw_zmalloc_f(sz, mstat_f) _rtw_zmalloc((sz)) argument
284 #define rtw_mfree_f(pbuf, sz, mstat_f) _rtw_mfree((pbuf), (sz)) argument
318 extern void _rtw_memcpy(void *dec, const void *sour, u32 sz);
319 extern void _rtw_memmove(void *dst, const void *src, u32 sz);
320 extern int _rtw_memcmp(const void *dst, const void *src, u32 sz);
321 extern int _rtw_memcmp2(const void *dst, const void *src, u32 sz);
322 extern void _rtw_memset(void *pbuf, int c, u32 sz);
581 #define _RND(sz, r) ((((sz)+((r)-1))/(r))*(r)) argument
584 __inline static u32 _RND4(u32 sz) in _RND4() argument
589 val = ((sz >> 2) + ((sz & 3) ? 1 : 0)) << 2; in _RND4()
595 __inline static u32 _RND8(u32 sz) in _RND8() argument
600 val = ((sz >> 3) + ((sz & 7) ? 1 : 0)) << 3; in _RND8()
606 __inline static u32 _RND128(u32 sz) in _RND128() argument
611 val = ((sz >> 7) + ((sz & 127) ? 1 : 0)) << 7; in _RND128()
617 __inline static u32 _RND256(u32 sz) in _RND256() argument
622 val = ((sz >> 8) + ((sz & 255) ? 1 : 0)) << 8; in _RND256()
628 __inline static u32 _RND512(u32 sz) in _RND512() argument
633 val = ((sz >> 9) + ((sz & 511) ? 1 : 0)) << 9; in _RND512()
719 extern int rtw_store_to_file(const char *path, u8 *buf, u32 sz);
722 extern int rtw_is_file_readable_with_size(const char *path, u32 *sz);
723 extern int rtw_readable_file_sz_chk(const char *path, u32 sz);
724 extern int rtw_retrieve_from_file(const char *path, u8 *buf, u32 sz);