Home
last modified time | relevance | path

Searched refs:sm_magic (Results 1 – 21 of 21) sorted by relevance

/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dfopen.c153 fp->sm_magic = NULL; /* release */
190 if (fp->sm_magic != SmFileMagic)
279 if (fp->sm_magic != SmFileMagic)
299 fp2->sm_magic = NULL; /* release */
H A Dfclose.c93 if (fp->sm_magic == NULL)
148 fp->sm_magic = NULL; /* Release this SM_FILE_T for reuse. */
H A Drpool.c165 SM_REQUIRE(rpool->sm_magic == SmRpoolMagic);
261 SM_REQUIRE(rpool->sm_magic == SmRpoolMagic);
327 rpool->sm_magic = SmRpoolMagic;
442 rpool->sm_magic = NULL;
H A Dexc.c263 exc->sm_magic = SmExcMagic;
441 SM_REQUIRE(exc->sm_magic == SmExcMagic);
462 exc->sm_magic = NULL;
486 SM_REQUIRE(exc->sm_magic == SmExcMagic);
H A Dfindfp.c173 if (fp->sm_magic == NULL)
179 fp->sm_magic = SmFileMagic; /* 'fp' now valid and in-use */
256 empty.sm_magic = NULL; in sm_init()
H A Dvsnprintf.c63 fake.sm_magic = SmFileMagic;
H A Dsnprintf.c69 fake.sm_magic = SmFileMagic;
H A Dsscanf.c84 fake.sm_magic = SmFileMagic;
H A Dvasprintf.c67 fake.sm_magic = SmFileMagic;
H A Dstdio.c517 fp->sm_magic = NULL;
H A Dstrio.c481 fp->sm_magic = SmFileMagic;
H A Dvfprintf.c111 fake.sm_magic = SmFileMagic;
/illumos-gate/usr/src/cmd/sendmail/include/sm/
H A Dexc.h39 const char *sm_magic; member
70 const char *sm_magic; member
H A Ddebug.h61 const char *sm_magic; /* points to SmDebugMagic */ member
H A Dassert.h81 SM_REQUIRE((obj) != NULL && (obj)->sm_magic == (magic))
H A Dio.h109 const char *sm_magic; /* This SM_FILE_T is free when NULL */ member
192 (f).sm_magic = SmFileMagic; \
H A Drpool.h68 const char *sm_magic; member
/illumos-gate/usr/src/uts/common/io/comstar/lu/stmf_sbd/
H A Dsbd_impl.h67 uint64_t sm_magic; /* SBD_MAGIC */ member
72 uint64_t sm_magic; member
H A Dstmf_sbd.h86 uint64_t sm_magic;
H A Dsbd.c863 if (sm->sm_magic == SBD_MAGIC) in sbd_swap_meta_start()
865 sm->sm_magic = BSWAP_64(sm->sm_magic); in sbd_swap_meta_start()
965 if (sm->sm_magic != SBD_MAGIC) { in sbd_load_meta_start()
969 if ((sm->sm_magic != SBD_MAGIC) || (sbd_calc_sum((uint8_t *)sm, in sbd_load_meta_start()
998 sm->sm_magic = SBD_MAGIC; in sbd_write_meta_start()
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmain.c3346 if (smioout->sm_magic == NULL &&