Home
last modified time | relevance | path

Searched refs:__LINE__ (Results 1 – 25 of 233) sorted by relevance

12345678910

/titanic_41/usr/src/cmd/fs.d/autofs/
H A Ddebug_alloc.h73 #define free(a) my_free(a, __FILE__, __LINE__)
74 #define malloc(a) my_malloc(a, __FILE__, __LINE__)
75 #define realloc(a, s) my_realloc(a, s, __FILE__, __LINE__)
76 #define strdup(a) my_strdup(a, __FILE__, __LINE__)
78 #define sethostent(s) my_sethostent(s, __FILE__, __LINE__)
79 #define endhostent() my_endhostent(__FILE__, __LINE__)
81 #define setnetconfig() my_setnetconfig(__FILE__, __LINE__)
82 #define endnetconfig(v) my_endnetconfig(v, __FILE__, __LINE__)
84 #define setnetpath() my_setnetpath(__FILE__, __LINE__)
85 #define endnetpath(v) my_endnetpath(v, __FILE__, __LINE__)
[all …]
/titanic_41/usr/src/cmd/fm/eversholt/common/
H A Dalloc.h49 #define MALLOC(nbytes) alloc_malloc(nbytes, __FILE__, __LINE__)
50 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, __FILE__, __LINE__)
51 #define FREE(ptr) alloc_free(ptr, __FILE__, __LINE__)
52 #define STRDUP(ptr) alloc_strdup(ptr, __FILE__, __LINE__)
56 #define MALLOC(nbytes) alloc_malloc(nbytes, "???", __LINE__)
57 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, "???", __LINE__)
58 #define FREE(ptr) alloc_free(ptr, "???", __LINE__)
59 #define STRDUP(ptr) alloc_strdup(ptr, "???", __LINE__)
H A Dout.h75 ((void)((cnd) || (outfl(O_ABORT, __FILE__, __LINE__, \
79 ((void)((cnd) || (outfl(O_ABORT, __FILE__, __LINE__, \
83 ((void)(((lhs) == (rhs)) || (outfl(O_ABORT, __FILE__, __LINE__, \
88 ((void)(((lhs) != (rhs)) || (outfl(O_ABORT, __FILE__, __LINE__, \
/titanic_41/usr/src/lib/libresolv2/include/isc/
H A Dassertions.h70 ((__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 Dmemcluster.h25 #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__)
/titanic_41/usr/src/uts/common/io/bnxe/577xx/drivers/common/include/
H A Ddebug.h269 …G BREAK! Condition failed: if("#_cond##") at file %s (line %4d)\n", __FILE_STRIPPED__, __LINE__); \
326 __LINE__); \
368 debug_execute_loggers( __WFILE_STRIPPED__ , __LINE__, WIDEN(#_cond##) ); \
379 #define EXECUTE_LOGGERS(_s) debug_execute_loggers( __WFILE_STRIPPED__ , __LINE__, …
447 … debug_msgx((_level), "TrLv<%d>, %s (%4d): ", ((_level) & LV_MASK), __FILE_STRIPPED__, __LINE__); \
478 …N), "TrLv<%d>, %s (%4d): %p"##_s" %s\n", ((WARN) & LV_MASK), __FILE_STRIPPED__, __LINE__, _c, _d1 )
522 …bug_message((_level), "TrLv<%d>, %s (%4d): ", ((_level) & LV_MASK), __FILE_STRIPPED__, __LINE__); \
534 debug_message(FATAL, "DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \
535 log_message("DEBUG BREAK at file %s (line %4d)!\n", __FILE_STRIPPED__, __LINE__); \
566 …N), "TrLv<%d>, %s (%4d): %p"##_s" %s\n", ((WARN) & LV_MASK), __FILE_STRIPPED__, __LINE__, _c, _d1 )
[all …]
/titanic_41/usr/src/uts/sun4/sys/
H A Dprom_debug.h43 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__), \
/titanic_41/usr/src/cmd/hal/hald/
H A Dlogger.h67 #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…
/titanic_41/usr/src/uts/common/io/bnxe/
H A Dbnxe_debug.h76 __LINE__, \
83 __LINE__)
87 __LINE__)
94 __LINE__); \
113 __LINE__)
118 __LINE__)
126 __LINE__); \
/titanic_41/usr/src/cmd/rmvolmgr/
H A Dvold.c480 dprintf("%s[%d]: entering action()\n", __FILE__, __LINE__); in vold_action()
585 __FILE__, __LINE__, action); in vold_action()
594 __FILE__, __LINE__, result_strings[result]); in vold_action()
644 dprintf("%s[%d]: entering create_notify_files()\n", __FILE__, __LINE__); in create_notify_files()
731 __FILE__, __LINE__, result_strings[result]); in create_notify_files()
765 __FILE__, __LINE__); in create_one_notify_file()
822 __FILE__, __LINE__, NOTIFY_DIR, notify_file); 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()
[all …]
/titanic_41/usr/src/cmd/sendmail/include/sm/
H A Dassert.h69 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
73 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
86 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
90 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
100 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
104 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
H A Dheap.h33 # define sm_malloc_x(sz) sm_malloc_tagged_x(sz, __FILE__, __LINE__, SmHeapGroup)
34 # define sm_malloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, SmHeapGroup)
35 # define sm_free(ptr) sm_free_tagged(ptr, __FILE__, __LINE__)
61 # define sm_heap_checkptr(ptr) sm_heap_checkptr_tagged(ptr, __FILE__, __LINE__)
89 # define sm_pmalloc(size) sm_malloc_tagged(size, __FILE__, __LINE__, 0)
90 # define sm_pmalloc_x(size) sm_malloc_tagged_x(size, __FILE__, __LINE__, 0)
/titanic_41/usr/src/lib/efcode/include/fcode/
H A Dprivate.h61 #define MALLOC(x) safe_malloc((x), __FILE__, __LINE__)
62 #define REALLOC(x, n) safe_realloc((x), (n), __FILE__, __LINE__)
63 #define STRDUP(x) safe_strdup((x), __FILE__, __LINE__)
64 #define FREE(x) safe_free((x), __FILE__, __LINE__)
86 __FILE__, __LINE__);
89 #define NOTICE printf("%s:%d: _init called\n", __FILE__, __LINE__)
102 __FILE__, __LINE__)))
/titanic_41/usr/src/uts/common/sys/
H A Ddebug.h56 #define VERIFY(EX) ((void)((EX) || assfail(#EX, __FILE__, __LINE__)))
58 #define ASSERT(EX) ((void)((EX) || assfail(#EX, __FILE__, __LINE__)))
84 assfail("(" #A ") implies (" #B ")", __FILE__, __LINE__)))
87 assfail("(" #A ") is equivalent to (" #B ")", __FILE__, __LINE__)))
109 __FILE__, __LINE__); \
132 #define CTASSERT(x) _CTASSERT(x, __LINE__)
/titanic_41/usr/src/cmd/fs.d/cachefs/mdbug/
H A Dmdbug.h78 #define dbug_enter(A) dbug_object_create(__LINE__, __FILE__, A)
79 #define dbug_leave(A) dbug_object_destroy(A, __LINE__)
80 #define dbug_traceprint(KEY) db_traceprint(__LINE__, KEY)
86 if (!(A)) { db_assert(db_get_dbug_object_p(), __LINE__, ""); }
88 if (!(A)) { db_precond(db_get_dbug_object_p(), __LINE__, ""); }
/titanic_41/usr/src/cmd/idmap/idmap/
H A Didmap_engine.h33 #define DPTR(a) printf("%s::%d %s = %p\n", __FILE__, __LINE__, #a, a);
34 #define DSTRING(a) printf("%s::%d %s = \"%s\"\n", __FILE__, __LINE__, #a, \
36 #define DINT(a) printf("%s::%d %s = %d\n", __FILE__, __LINE__, #a, a);
37 #define DHEX(a) printf("%s::%d %s = %X\n", __FILE__, __LINE__, #a, a);
/titanic_41/usr/src/uts/intel/sys/acpi/platform/
H A Dacdragonfly.h88 _AcpiOsReleaseObject((Cache), (Object), __func__, __LINE__)
94 _AcpiOsAcquireLock((Handle), __func__, __LINE__)
100 _AcpiOsMapMemory((Where), (Length), __func__, __LINE__)
104 _AcpiOsUnmapMemory((LogicalAddress), (Size), __func__, __LINE__)
/titanic_41/usr/src/cmd/logadm/
H A Derr.h61 #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__)
/titanic_41/usr/src/lib/hal/libhal/common/
H A Dlibhal.c71 __FILE__, __LINE__, _name_); \
88 __FILE__, __LINE__, _udi_); \
95 __FILE__, __LINE__, _udi_); \
190 fprintf (stderr, "%s %d : error allocating memory\n", __FILE__, __LINE__); in libhal_get_string_array_from_iter()
442 __FILE__, __LINE__); in libhal_device_get_all_properties()
455 __FILE__, __LINE__, error->message); in libhal_device_get_all_properties()
487 __FILE__, __LINE__); in libhal_device_get_all_properties()
548 __FILE__, __LINE__); in libhal_device_get_all_properties()
1097 fprintf (stderr, "%s %d : Could not allocate D-BUS message\n", __FILE__, __LINE__); in libhal_get_all_devices()
1118 fprintf (stderr, "%s %d : wrong reply from hald. Expecting an array.\n", __FILE__, __LINE__); in libhal_get_all_devices()
[all …]
/titanic_41/usr/src/uts/sun4v/cpu/
H A Dcommon_asm.s93 WR_TICKCMPR(%o2,%o4,%o5,__LINE__) ! Write to TICK_CMPR
95 GET_NATIVE_TIME(%o0,%o4,%o5,__LINE__) ! Read %tick to confirm the
122 WR_TICKCMPR(%o0,%o4,%o5,__LINE__) ! Write to TICK_CMPR
177 RD_TICKCMPR(%g1,%o0,%o1,__LINE__)
201 GET_NATIVE_TIME(%o0,%o2,%o3,__LINE__)
247 RD_TICK(%o0,%o1,%o2,__LINE__)
330 GET_HRTIME(%g1,%o0,%o1,%o2,%o3,%o4,%o5,%g2,__LINE__)
337 GET_NATIVE_TIME(%g1,%o2,%o3,__LINE__) ! %g1 = native time
344 GET_NATIVE_TIME(%g1,%o2,%o3,__LINE__) ! %g1 = native time
414 GET_HRESTIME(%o1,%o2,%o3,%o4,%o5,%g1,%g2,%g3,%g4,__LINE__)
[all …]
/titanic_41/usr/src/cmd/bnu/
H A Dgrades.c261 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__);
/titanic_41/usr/src/lib/fm/libfmevent/common/
H A Dlibfmevent.h520 __FILE__, _FMEVFUNC, __LINE__, \
529 __FILE__, _FMEVFUNC, __LINE__, \
540 __FILE__, __func__, __LINE__, \
551 __FILE__, __func__, __LINE__, \
/titanic_41/usr/src/cmd/abi/spectrans/spec2map/
H A Dutil.c74 seterrline(__LINE__, __FILE__, NULL, NULL); in add_to_stringtable()
87 seterrline(__LINE__, __FILE__, NULL, NULL); in add_to_stringtable()
194 seterrline(__LINE__, __FILE__, NULL, NULL); in strset()
201 seterrline(__LINE__, __FILE__, NULL, NULL); in strset()
/titanic_41/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.h50 _dm_assert(#EX, __FILE__, __LINE__, __func__))
53 _dm_assert(#EX, __FILE__, __LINE__, NULL))
57 _dm_assert("EX", __FILE__, __LINE__, NULL))
/titanic_41/usr/src/head/
H A Dassert.h68 (__assert_c99(#EX, __FILE__, __LINE__, __func__), 0))
70 #define assert(EX) (void)((EX) || (__assert(#EX, __FILE__, __LINE__), 0))

12345678910