/titanic_44/usr/src/cmd/mandoc/ |
H A D | man_term.c | 49 struct mtermp *mt, \ 146 struct mtermp mt; in terminal_man() local 166 memset(&mt, 0, sizeof(struct mtermp)); in terminal_man() 168 mt.lmargin[mt.lmargincur] = term_len(p, p->defindent); in terminal_man() 169 mt.offset = term_len(p, p->defindent); in terminal_man() 170 mt.pardist = 1; in terminal_man() 173 print_man_nodelist(p, &mt, n->child, meta); in terminal_man() 256 mt->fl |= MANT_LITERAL; in pre_literal() 258 mt->fl &= ~MANT_LITERAL; in pre_literal() 283 mt->pardist = 1; in pre_PD() [all …]
|
/titanic_44/usr/src/lib/libresolv2/common/resolv/ |
H A D | mtctxres.c | 68 mtctxres_t *mt; in __res_init_ctx() local 77 if ((mt = malloc(sizeof (mtctxres_t))) == 0) { in __res_init_ctx() 82 memset(mt, 0, sizeof (mtctxres_t)); in __res_init_ctx() 84 if ((ret = pthread_setspecific(key, mt)) != 0) { in __res_init_ctx() 85 free(mt); in __res_init_ctx() 96 mtctxres_t *mt = (mtctxres_t *)value; in __res_destroy_ctx() local 98 if (mt != 0) in __res_destroy_ctx() 99 free(mt); in __res_destroy_ctx() 106 mtctxres_t *mt; in ___mtctxres() local 127 if (((mt = pthread_getspecific(key)) != 0) || in ___mtctxres() [all …]
|
/titanic_44/usr/src/lib/fm/libldom/sparc/ |
H A D | ldmsvcs_utils.c | 78 pthread_mutex_t mt; member 103 pthread_mutex_t mt; member 156 (void) pthread_mutex_lock(&lsp->mt); in channel_close() 166 (void) pthread_mutex_unlock(&lsp->mt); in channel_close() 237 (void) pthread_mutex_lock(&pollbase.mt); in poller_handle_data() 258 (void) pthread_cond_wait(&pollbase.cv, &pollbase.mt); in poller_handle_data() 261 (void) pthread_mutex_unlock(&pollbase.mt); in poller_handle_data() 281 (void) pthread_mutex_lock(&pollbase.mt); in poller_recv_data() 287 ier = pthread_cond_timedwait(&pollbase.cv, &pollbase.mt, in poller_recv_data() 316 (void) pthread_mutex_unlock(&pollbase.mt); in poller_recv_data() [all …]
|
/titanic_44/usr/src/lib/libresolv2/common/sunw/ |
H A D | sunw_mtctxres.c | 111 mtctxres_t *mt = ___mtctxres(); in __res_retry() local 113 mt->retry_save = retry; in __res_retry() 114 return ((mt->retry_private != 0) ? mt->retry_private : retry); in __res_retry() 119 mtctxres_t *mt = ___mtctxres(); in __res_retry_reset() local 121 return (mt->retry_save); in __res_retry_reset()
|
/titanic_44/usr/src/uts/common/crypto/core/ |
H A D | kcf_mech_tabs.c | 150 crypto_mech_type_t mt; in kcf_mech_hash_find() local 152 mt = CRYPTO_MECH_INVALID; in kcf_mech_hash_find() 154 mt = *(crypto_mech_type_t *)hv; in kcf_mech_hash_find() 155 ASSERT(mt != CRYPTO_MECH_INVALID); in kcf_mech_hash_find() 158 return (mt); in kcf_mech_hash_find() 304 crypto_mech_type_t mt; in kcf_create_mech_entry() local 318 mt = kcf_mech_hash_find(mechname); in kcf_create_mech_entry() 319 if (mt != CRYPTO_MECH_INVALID) { in kcf_create_mech_entry() 388 crypto_mech_type_t kcf_mech_type, mt; in kcf_add_mech_provider() local 490 mt = kcf_mech_hash_find(dmi->cm_mech_name); in kcf_add_mech_provider() [all …]
|
/titanic_44/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 233 struct mtget mt; in rmtopen() local 251 if (rmtstatus(&mt) < 0) { in rmtopen() 275 rmtstatus(struct mtget *mt) in rmtstatus() argument 277 char *buf = (char *)mt; in rmtstatus() 281 return (rmtstatus_extended(mt)); in rmtstatus() 287 if ((unsigned)n > sizeof (*mt)) { in rmtstatus() 306 rmtstatus_extended(struct mtget *mt) in rmtstatus_extended() argument 308 if ((mt->mt_type = rmtcall("status", "sT")) == -1) in rmtstatus_extended() 310 mt->mt_dsreg = rmtcall("status", "sD"); in rmtstatus_extended() 311 mt->mt_erreg = rmtcall("status", "sE"); in rmtstatus_extended() [all …]
|
/titanic_44/usr/src/lib/libnisdb/ |
H A D | db_vers.cc | 81 struct timeval mt; in nextminor() local 82 gettimeofday(&mt, NULL); in nextminor() 84 newvers->time_sec = (unsigned int) mt.tv_sec; in nextminor() 85 newvers->time_usec = (unsigned int) mt.tv_usec; in nextminor() 115 struct timeval mt; in nextmajor() local 116 gettimeofday(&mt, NULL); in nextmajor() 118 newvers->time_sec = (unsigned int) mt.tv_sec; in nextmajor() 119 newvers->time_usec = (unsigned int) mt.tv_usec; in nextmajor()
|
/titanic_44/usr/src/lib/libast/common/tm/ |
H A D | tmxtouch.c | 41 tmxtouch(const char* path, Time_t at, Time_t mt, Time_t ct, int flags) in tmxtouch() argument 60 if (mt == TMX_NOTIME && !(flags & PATH_TOUCH_VERBATIM)) in tmxtouch() 62 else if (!mt && !(flags & PATH_TOUCH_VERBATIM)) in tmxtouch() 66 mv.tv_sec = tmxsec(mt); in tmxtouch() 67 mv.tv_nsec = tmxnsec(mt); in tmxtouch()
|
/titanic_44/usr/src/lib/libast/common/port/ |
H A D | touch.c | 46 touch(const char* path, time_t at, time_t mt, int flags) in touch() argument 63 if (mt == (time_t)(-1) && !(flags & PATH_TOUCH_VERBATIM)) in touch() 65 else if (!mt && !(flags & PATH_TOUCH_VERBATIM)) in touch() 69 mv.tv_sec = mt; in touch()
|
/titanic_44/usr/src/uts/sun4v/sys/ |
H A D | vdsk_common.h | 469 #define VD_MEDIATYPE2DK_MEDIATYPE(mt) \ argument 470 ((mt) == VD_MEDIA_FIXED ? DK_FIXED_DISK : \ 471 (mt) == VD_MEDIA_CD ? DK_CDROM : \ 472 (mt) == VD_MEDIA_DVD ? DK_DVDROM : \ 492 #define DK_MEDIATYPE2VD_MEDIATYPE(mt) \ argument 493 (((mt) > DK_MEDIA_OPTICAL_MAX)? VD_MEDIA_FIXED : \ 494 (mt) == DK_REMOVABLE_DISK ? VD_MEDIA_FIXED : \ 495 (mt) == DK_MO_ERASABLE ? VD_MEDIA_FIXED : \ 496 (mt) == DK_MO_WRITEONCE ? VD_MEDIA_FIXED : \ 497 (mt) == DK_AS_MO ? VD_MEDIA_FIXED : \ [all …]
|
/titanic_44/usr/src/uts/sun4u/starfire/io/ |
H A D | idn_proto.c | 1370 idn_msgtype_t mt; in idn_send_nego() local 1378 mt.mt_mtype = mtp->mt_mtype; in idn_send_nego() 1379 mt.mt_atype = mtp->mt_atype; in idn_send_nego() 1380 mt.mt_cookie = mtp->mt_cookie; in idn_send_nego() 1383 mt.mt_mtype = IDNP_NEGO; in idn_send_nego() 1384 mt.mt_atype = 0; in idn_send_nego() 1385 mt.mt_cookie = IDN_TIMER_PUBLIC_COOKIE; in idn_send_nego() 1469 idn_msg_waittime[IDNP_NEGO], &mt.mt_cookie); in idn_send_nego() 1471 IDNXDC(domid, &mt, ticket, dset[0], dset[1], dset[2]); in idn_send_nego() 1483 idn_msgtype_t mt; in idn_recv_nego() local [all …]
|
/titanic_44/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 698 struct mnttab mt; in cache_create() local 753 while (getmntent(fp, &mt) == 0) { in cache_create() 756 if ((mt.mnt_mntopts != NULL) && in cache_create() 757 (hasmntopt(&mt, OPT_IGNORE) != NULL)) in cache_create() 760 if (cache_insert(cache, &mt) < 0) { in cache_create() 952 cache_insert(cache_t *cache, struct mnttab *mt) in cache_insert() argument 961 (mt == NULL) || in cache_insert() 962 (mt->mnt_special == NULL) || in cache_insert() 963 (mt->mnt_mountp == NULL) || in cache_insert() 964 (mt->mnt_fstype == NULL)) { in cache_insert() [all …]
|
/titanic_44/usr/src/lib/libeti/menu/common/ |
H A D | terminit.c | 56 set_menu_term(MENU *m, PTF_void mt) in set_menu_term() argument 59 SMterm(m) = mt; in set_menu_term() 61 SMterm(Dfl_Menu) = mt; in set_menu_term()
|
/titanic_44/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 51 struct stats *mt, *mc; in alloc_fini() local 53 mt = Malloctotal; in alloc_fini() 59 stats_delete(mt); in alloc_fini()
|
/titanic_44/usr/src/lib/librstp/common/ |
H A D | times.c | 61 unsigned short mt; in STP_set_times() local 63 mt = htons (f << 8); \ in STP_set_times() 64 (void) memcpy (t, &mt, 2); in STP_set_times()
|
/titanic_44/usr/src/uts/common/fs/zfs/ |
H A D | dsl_bookmark.c | 62 matchtype_t mt; in dsl_dataset_bmark_lookup() local 69 mt = MT_FIRST; in dsl_dataset_bmark_lookup() 71 mt = MT_EXACT; in dsl_dataset_bmark_lookup() 74 sizeof (*bmark_phys) / sizeof (uint64_t), bmark_phys, mt, in dsl_dataset_bmark_lookup() 342 matchtype_t mt; in dsl_dataset_bookmark_remove() local 345 mt = MT_FIRST; in dsl_dataset_bookmark_remove() 347 mt = MT_EXACT; in dsl_dataset_bookmark_remove() 349 return (zap_remove_norm(mos, bmark_zapobj, name, mt, tx)); in dsl_dataset_bookmark_remove()
|
/titanic_44/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 700 construct_mt(struct mnttab *mt) in construct_mt() argument 707 if ((nfte = fs_tab_init(mt->mnt_mountp, mt->mnt_fstype)) == NULL) in construct_mt() 717 if (strcmp(mt->mnt_fstype, MNTTYPE_AUTO) == 0 || in construct_mt() 718 strcmp(mt->mnt_fstype, MNTTYPE_NFS) == 0 || in construct_mt() 719 is_remote_src(mt->mnt_special) == REAL_REMOTE) in construct_mt() 728 nfte->remote_name = strdup(mt->mnt_special); in construct_mt() 738 if (hasmntopt(mt, MNTOPT_RO) == NULL) { in construct_mt() 861 struct mnttab *mt = &mtbuf; in get_mntinfo() local 879 while (!getmntent(pp, mt)) in get_mntinfo() 880 if (construct_mt(mt)) in get_mntinfo()
|
/titanic_44/usr/src/cmd/allocate/ |
H A D | st_clean.sh | 115 if mt -f $DEVFILE status 2>&1 | grep "no tape loaded" >/dev/null ; then 156 if mt -f $DEVFILE status 2>&1 | grep "no tape loaded" > /dev/null ; then 162 if mt -f $DEVFILE status 2>&1 | grep "no tape loaded" > /dev/null ; then
|
/titanic_44/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | alloc.c | 65 struct stats *mt, *ft, *mc, *fc; in alloc_fini() local 67 mt = Malloctotal; in alloc_fini() 77 stats_delete(mt); in alloc_fini()
|
/titanic_44/usr/src/cmd/backup/restore/ |
H A D | tape.c | 34 int mt = -1; variable 193 mt = open(archivefile, O_RDONLY|O_LARGEFILE); in setup() 194 if (mt < 0) { in setup() 200 if ((mt = rmtopen(magtape, O_RDONLY)) < 0) { in setup() 207 mt = 0; in setup() 208 else if ((mt = open(magtape, O_RDONLY|O_LARGEFILE)) < 0) { in setup() 554 if ((host != NULL && (mt = rmtopen(magtape, O_RDONLY)) == -1) || in getvol() 556 (mt = open(magtape, O_RDONLY|O_LARGEFILE)) == -1)) { in getvol() 693 retval = ioctl(mt, (int)MTIOCTOP, (char *)&tcom); in setdumpnum() 1523 i = read(mt, &tbf[rd], cnt); in readtape() [all …]
|
/titanic_44/usr/src/lib/libima/ |
H A D | Makefile.com | 41 CFLAGS += -mt 47 CFLAGS64 += -mt
|
/titanic_44/usr/src/lib/libsun_ima/ |
H A D | Makefile.com | 47 CFLAGS += -mt 49 CFLAGS64 += -mt
|
/titanic_44/usr/src/lib/libfru/ |
H A D | Makefile.flag | 40 CCFLAGS64 += -mt 41 CCFLAGS += -mt
|
/titanic_44/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_subr.c | 785 mutex_t mt; in cfsd_sleep() local 791 mutex_init(&mt, USYNC_THREAD, NULL); in cfsd_sleep() 797 mutex_lock(&mt); in cfsd_sleep() 798 cond_reltimedwait(&cv, &mt, &reltime); in cfsd_sleep() 799 mutex_unlock(&mt); in cfsd_sleep() 802 mutex_destroy(&mt); in cfsd_sleep()
|
/titanic_44/usr/src/lib/libproc/common/ |
H A D | Pzone.c | 66 struct mnttab mt; in rebuild_lofs_cache() local 97 while (getmntany(fp, &mt, &mt_find) == 0 && in rebuild_lofs_cache() 98 (strcmp(mt.mnt_fstype, "lofs") == 0) && in rebuild_lofs_cache() 99 (strcmp(mt.mnt_special, mt.mnt_mountp) != 0)) { in rebuild_lofs_cache() 102 lmt->l_special = strdup(mt.mnt_special); in rebuild_lofs_cache() 103 lmt->l_mountp = strdup(mt.mnt_mountp); in rebuild_lofs_cache()
|