/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | debug_alloc.h | 71 #define free(a) my_free(a, __FILE__, __LINE__) 72 #define malloc(a) my_malloc(a, __FILE__, __LINE__) 73 #define realloc(a, s) my_realloc(a, s, __FILE__, __LINE__) 74 #define strdup(a) my_strdup(a, __FILE__, __LINE__) 76 #define sethostent(s) my_sethostent(s, __FILE__, __LINE__) 77 #define endhostent() my_endhostent(__FILE__, __LINE__) 79 #define setnetconfig() my_setnetconfig(__FILE__, __LINE__) 82 #define setnetpath() my_setnetpath(__FILE__, __LINE__) 83 #define endnetpath(v) my_endnetpath(v, __FILE__, __LINE__) 86 my_netdir_getbyname(t, s, a, __FILE__, __LINE__) [all …]
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.h | 47 #define MALLOC(nbytes) alloc_malloc(nbytes, __FILE__, __LINE__) 48 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, __FILE__, __LINE__) 49 #define FREE(ptr) alloc_free(ptr, __FILE__, __LINE__) 50 #define STRDUP(ptr) alloc_strdup(ptr, __FILE__, __LINE__) 54 #define MALLOC(nbytes) alloc_malloc(nbytes, "???", __LINE__) 55 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, "???", __LINE__) 56 #define FREE(ptr) alloc_free(ptr, "???", __LINE__) 57 #define STRDUP(ptr) alloc_strdup(ptr, "???", __LINE__)
|
H A D | out.h | 73 ((void)((cnd) || (outfl(O_ABORT, __FILE__, __LINE__, \ 77 ((void)((cnd) || (outfl(O_ABORT, __FILE__, __LINE__, \ 81 ((void)(((lhs) == (rhs)) || (outfl(O_ABORT, __FILE__, __LINE__, \ 86 ((void)(((lhs) != (rhs)) || (outfl(O_ABORT, __FILE__, __LINE__, \
|
/illumos-gate/usr/src/lib/libresolv2/include/isc/ |
H A D | assertions.h | 70 ((__assertion_failed)(__FILE__, __LINE__, assert_require, \ 74 ((__assertion_failed)(__FILE__, __LINE__, assert_require, \ 84 ((__assertion_failed)(__FILE__, __LINE__, assert_ensure, \ 88 ((__assertion_failed)(__FILE__, __LINE__, assert_ensure, \ 98 ((__assertion_failed)(__FILE__, __LINE__, assert_insist, \ 102 ((__assertion_failed)(__FILE__, __LINE__, assert_insist, \ 112 ((__assertion_failed)(__FILE__, __LINE__, assert_invariant, \ 116 ((__assertion_failed)(__FILE__, __LINE__, assert_invariant, \
|
H A D | memcluster.h | 25 #define memget(s) __memget_debug(s, __FILE__, __LINE__) 26 #define memput(p, s) __memput_debug(p, s, __FILE__, __LINE__) 29 #define memget(s) __memget_record(s, __FILE__, __LINE__) 30 #define memput(p, s) __memput_record(p, s, __FILE__, __LINE__)
|
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/ |
H A D | debug.h | 326 __LINE__); \ 368 debug_execute_loggers( __WFILE_STRIPPED__ , __LINE__, WIDEN(#_cond##) ); \ 535 log_message("DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \ 598 debug_message("DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \ 599 log_message("DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \ 669 debug_msgx(FATAL, "DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \ 670 log_message("DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \ 806 debug_msg(NULL, FATAL, __FILE__, __LINE__, "if("#_c##")\n"); \ 807 debug_execute_loggers( __WFILE_STRIPPED__ , __LINE__, WIDEN(#_c##) );\ 813 #define DbgBreakMsg(_m) debug_msg(NULL, FATAL, __FILE__, __LINE__, _m); \ [all …]
|
/illumos-gate/usr/src/cmd/rmvolmgr/ |
H A D | vold.c | 585 __FILE__, __LINE__, action); in vold_action() 765 __FILE__, __LINE__); in create_one_notify_file() 835 __LINE__, in create_one_notify_file() 846 __LINE__, in create_one_notify_file() 853 __FILE__, __LINE__, in create_one_notify_file() 910 __FILE__, __LINE__); in notify_clients() 936 __FILE__, __LINE__, namebuf); in notify_clients() 1010 __FILE__, __LINE__, dir); in pushdir() 1016 __FILE__, __LINE__, dir); in pushdir() 1022 __FILE__, __LINE__, dir); in pushdir() [all …]
|
/illumos-gate/usr/src/uts/sun4/sys/ |
H A D | prom_debug.h | 43 prom_printf("%s:%d: HERE\n", __FILE__, __LINE__) 46 prom_printf("%s:%d: '%s' is 0x%lx\n", __FILE__, __LINE__, #q, \ 51 (prom_printf("%s:%d: ", __FILE__, __LINE__), \ 55 (prom_printf("%s:%d: ", __FILE__, __LINE__), \ 59 (prom_printf("%s:%d: ", __FILE__, __LINE__), \ 63 (prom_printf("%s:%d: ", __FILE__, __LINE__), \
|
/illumos-gate/usr/src/uts/common/io/bnxe/ |
H A D | bnxe_debug.h | 76 __LINE__, \ 83 __LINE__) 87 __LINE__) 94 __LINE__); \ 113 __LINE__) 118 __LINE__) 126 __LINE__); \
|
/illumos-gate/usr/src/cmd/hal/hald/ |
H A D | logger.h | 67 #define HAL_TRACE(expr) do {logger_setup(HAL_LOGPRI_TRACE, __FILE__, __LINE__, __FUNCTION__); l… 70 #define HAL_DEBUG(expr) do {logger_setup(HAL_LOGPRI_DEBUG, __FILE__, __LINE__, __FUNCTION__); l… 73 #define HAL_INFO(expr) do {logger_setup(HAL_LOGPRI_INFO, __FILE__, __LINE__, __FUNCTION__); l… 76 #define HAL_WARNING(expr) do {logger_setup(HAL_LOGPRI_WARNING, __FILE__, __LINE__, __FUNCTION__); l… 79 #define HAL_ERROR(expr) do {logger_setup(HAL_LOGPRI_ERROR, __FILE__, __LINE__, __FUNCTION__); l… 82 #define DIE(expr) do {printf("*** [DIE] %s:%s():%d : ", __FILE__, __FUNCTION__, __LINE__); printf e…
|
/illumos-gate/usr/src/cmd/sendmail/include/sm/ |
H A D | assert.h | 67 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 71 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 84 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 88 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 98 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \ 102 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
|
H A D | heap.h | 31 # define sm_malloc_x(sz) sm_malloc_tagged_x(sz, __FILE__, __LINE__, SmHeapGroup) 32 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup) 33 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__) 59 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__) 87 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0) 88 # define sm_pmalloc_x(size) sm_malloc_tagged_x(size, __FILE__, __LINE__, 0)
|
/illumos-gate/usr/src/cmd/idmap/idmap/ |
H A D | idmap_engine.h | 31 #define DPTR(a) printf("%s::%d %s = %p\n", __FILE__, __LINE__, #a, a); 32 #define DSTRING(a) printf("%s::%d %s = \"%s\"\n", __FILE__, __LINE__, #a, \ 34 #define DINT(a) printf("%s::%d %s = %d\n", __FILE__, __LINE__, #a, a); 35 #define DHEX(a) printf("%s::%d %s = %X\n", __FILE__, __LINE__, #a, a);
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | pci_lpc.h | 41 static struct lpc_dsdt __CONCAT(__lpc_dsdt, __LINE__) = { \ 44 DATA_SET(lpc_dsdt_set, __CONCAT(__lpc_dsdt, __LINE__)) 58 static struct lpc_sysres __CONCAT(__lpc_sysres, __LINE__) = { \ 63 DATA_SET(lpc_sysres_set, __CONCAT(__lpc_sysres, __LINE__))
|
/illumos-gate/usr/src/uts/common/io/bnx/ |
H A D | debug.h | 134 debug_msg(_c, _m, __FILE__, __LINE__, _s); \ 139 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1); \ 144 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1, _d2); \ 149 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1, _d2, _d3); \ 154 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1, _d2, _d3, _d4); \ 159 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1, _d2, _d3, _d4, _d5); \ 164 debug_msg(_c, _m, __FILE__, __LINE__, _s, _d1,_d2,_d3,_d4,_d5,_d6); \ 206 debug_msg(NULL, FATAL, __FILE__, __LINE__, "if("#_c##")\n"); \ 210 #define DbgBreakMsg(_m) debug_msg(NULL, FATAL, __FILE__, __LINE__, _m); \
|
/illumos-gate/usr/src/uts/intel/sys/acpi/platform/ |
H A D | acdragonfly.h | 196 _AcpiOsReleaseObject((Cache), (Object), __func__, __LINE__) 202 _AcpiOsAcquireLock((Handle), __func__, __LINE__) 208 _AcpiOsMapMemory((Where), (Length), __func__, __LINE__) 212 _AcpiOsUnmapMemory((LogicalAddress), (Size), __func__, __LINE__)
|
/illumos-gate/usr/src/lib/hal/libhal/common/ |
H A D | libhal.c | 442 __FILE__, __LINE__); in libhal_device_get_all_properties() 487 __FILE__, __LINE__); in libhal_device_get_all_properties() 548 __FILE__, __LINE__); in libhal_device_get_all_properties() 1222 __FILE__, __LINE__); in libhal_device_get_property_strlist() 1295 __FILE__, __LINE__); in libhal_device_get_property_string() 1330 __FILE__, __LINE__); in libhal_device_get_property_string() 1368 __FILE__, __LINE__); in libhal_device_get_property_int() 1439 __FILE__, __LINE__); in libhal_device_get_property_uint64() 1509 __FILE__, __LINE__); in libhal_device_get_property_double() 1579 __FILE__, __LINE__); in libhal_device_get_property_bool() [all …]
|
/illumos-gate/usr/src/cmd/logadm/ |
H A D | err.h | 61 #define MALLOC(nbytes) err_malloc(nbytes, __FILE__, __LINE__) 64 #define REALLOC(ptr, nbytes) err_realloc(ptr, nbytes, __FILE__, __LINE__) 67 #define FREE(ptr) err_free(ptr, __FILE__, __LINE__) 70 #define STRDUP(ptr) err_strdup(ptr, __FILE__, __LINE__)
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | debug.h | 57 #define VERIFY(EX) ((void)((EX) || assfail(#EX, __FILE__, __LINE__))) 59 #define ASSERT(EX) ((void)((EX) || assfail(#EX, __FILE__, __LINE__))) 85 assfail("(" #A ") implies (" #B ")", __FILE__, __LINE__))) 88 assfail("(" #A ") is equivalent to (" #B ")", __FILE__, __LINE__))) 110 __FILE__, __LINE__); \
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | prom_debug.h | 42 __FILE__, __LINE__, (q)); \ 52 __FILE__, __LINE__, #q, (long long)(q)); \ 63 __FILE__, __LINE__, #q, \
|
/illumos-gate/usr/src/uts/sun4v/cpu/ |
H A D | common_asm.S | 72 WR_TICKCMPR(%o2,%o4,%o5,__LINE__) ! Write to TICK_CMPR 122 RD_TICKCMPR(%g1,%o0,%o1,__LINE__) 133 GET_NATIVE_TIME(%o0,%o2,%o3,__LINE__) 153 RD_TICK(%o0,%o1,%o2,__LINE__) 176 GET_HRTIME(%g1,%o0,%o1,%o2,%o3,%o4,%o5,%g2,__LINE__) 524 GET_NATIVE_TIME(%g1,%g2,%g3,__LINE__) 530 GET_NATIVE_TIME(%g1,%g2,%g3,__LINE__) 540 GET_NATIVE_TIME(%g1,%g2,%g3,__LINE__) 546 GET_NATIVE_TIME(%g1,%g2,%g3,__LINE__) 556 GET_NATIVE_TIME(%g1,%g2,%g3,__LINE__) [all …]
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | dwarf_alloc.c | 586 …u line %d %s\n",(unsigned long)ret_mem,(unsigned)alloc_type,(unsigned long)size,__LINE__,__FILE__); in _dwarf_get_alloc() 645 __LINE__,__FILE__); in dwarf_dealloc_die() 654 __LINE__,__FILE__); in dwarf_dealloc_die() 672 __LINE__,__FILE__); in dwarf_dealloc_attribute() 717 __LINE__,__FILE__); in dwarf_dealloc() 728 __LINE__,__FILE__); in dwarf_dealloc() 766 __LINE__,__FILE__); in dwarf_dealloc() 778 __LINE__,__FILE__); in dwarf_dealloc() 799 __LINE__,__FILE__); in dwarf_dealloc() 823 …u line %d %s\n",(unsigned long)space,(unsigned)type,(unsigned long)r->rd_length,__LINE__,__FILE__); in dwarf_dealloc() [all …]
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/tm/ |
H A D | tmxdate.c | 810 message((-1, "AHA#%d n=%d", __LINE__, n)); in tmxdate() 814 message((-1, "AHA#%d n=%d", __LINE__, n)); in tmxdate() 840 message((-1, "AHA#%d t=\"%s\"", __LINE__, t)); in tmxdate() 851 message((-1, "AHA#%d t=\"%s\"", __LINE__, t)); in tmxdate() 971 message((-1, "AHA#%d s=\"%s\"", __LINE__, s)); in tmxdate() 1077 message((-1, "AHA#%d s=\"%s\"", __LINE__, s)); in tmxdate() 1095 message((-1, "AHA#%d n=%d q='%c'", __LINE__, n, q)); in tmxdate() 1240 message((-1, "AHA#%d WORK", __LINE__)); in tmxdate() 1253 message((-1, "AHA#%d j=%d", __LINE__, j)); in tmxdate() 1257 message((-1, "AHA#%d n=%d", __LINE__, n)); in tmxdate() [all …]
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | grades.c | 261 errent(Ct_OPEN, scfile->file, errno, __FILE__, __LINE__); 271 __FILE__, __LINE__); 304 __FILE__, __LINE__); 458 errent(Ct_OPEN, scfile.file, errno, __FILE__, __LINE__); 468 __FILE__, __LINE__); 667 errent(Ct_OPEN, file, errno, __FILE__, __LINE__); 677 __FILE__, __LINE__); 692 __LINE__); 702 errent(Ct_UNLINK, file, errno, __FILE__, __LINE__);
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | stand.h | 74 printf("%s(%d): " fmt "\n", __func__, __LINE__, ##args) 76 printf("%s(%d): " fmt "\n", __func__, __LINE__, ##args); getchar();\ 446 #define malloc(x) Malloc(x, __FILE__, __LINE__) 447 #define memalign(x, y) Memalign(x, y, __FILE__, __LINE__) 448 #define calloc(x, y) Calloc(x, y, __FILE__, __LINE__) 449 #define free(x) Free(x, __FILE__, __LINE__) 450 #define realloc(x, y) Realloc(x, y, __FILE__, __LINE__) 451 #define reallocf(x, y) Reallocf(x, y, __FILE__, __LINE__)
|