Lines Matching refs:h_ty
402 #define IONew_3(h_ty, e_ty, count) ({ \ argument
403 static KALLOC_TYPE_VAR_DEFINE(kt_view_var, h_ty, e_ty, KT_SHARED_ACCT); \
404 (h_ty *) IOMallocTypeVarImpl(kt_view_var, \
405 IOMallocArraySize(sizeof(h_ty), sizeof(e_ty), count)); \
411 #define IONewZero_3(h_ty, e_ty, count) \ argument
412 IONew_3(h_ty, e_ty, count)
418 #define IONew_3(h_ty, e_ty, count) \ argument
419 ((h_ty *)IOMalloc(IOMallocArraySize(sizeof(h_ty), sizeof(e_ty), count)))
424 #define IONewZero_3(h_ty, e_ty, count) \ argument
425 ((h_ty *)IOMallocZero(IOMallocArraySize(sizeof(h_ty), sizeof(e_ty), count)))
436 #define IODelete_4(ptr, h_ty, e_ty, count) ({ \ argument
437 vm_size_t __s = IOMallocArraySize(sizeof(h_ty), sizeof(e_ty), count); \
438 KALLOC_TYPE_ASSERT_COMPATIBLE_POINTER(ptr, h_ty); \
439 static KALLOC_TYPE_VAR_DEFINE(kt_view_var, h_ty, e_ty, KT_SHARED_ACCT); \
447 #define IODelete_4(ptr, h_ty, e_ty, count) \ argument
448 IOFree(ptr, IOMallocArraySize(sizeof(h_ty), sizeof(e_ty), count));
455 #define IOSafeDeleteNULL_4(ptr, h_ty, e_ty, count) ({ \ argument
456 vm_size_t __s = IOMallocArraySize(sizeof(h_ty), sizeof(e_ty), count); \