/illumos-gate/usr/src/cmd/mandoc/ |
H A D | man_term.c | 166 memset(&mt, 0, sizeof(mt)); in terminal_man() 446 mt->lmargin[mt->lmargincur] = len; in pre_HP() 448 len = mt->lmargin[mt->lmargincur]; in pre_HP() 535 mt->lmargin[mt->lmargincur] = len; in pre_IP() 537 len = mt->lmargin[mt->lmargincur]; in pre_IP() 610 mt->lmargin[mt->lmargincur] = len; in pre_TP() 612 len = mt->lmargin[mt->lmargincur]; in pre_TP() 776 n->aux = mt->lmargin[mt->lmargincur]; in pre_RS() 789 mt->lmargincur = mt->lmarginsz; in pre_RS() 811 mt->lmargincur = mt->lmarginsz; in post_RS() [all …]
|
/illumos-gate/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() 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() 129 (mt = pthread_getspecific(key)) != 0)) { in ___mtctxres() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/lua/ |
H A D | ltm.c | 64 Table *mt; in luaT_gettmbyobj() local 67 mt = hvalue(o)->metatable; in luaT_gettmbyobj() 70 mt = uvalue(o)->metatable; in luaT_gettmbyobj() 73 mt = G(L)->mt[ttypenv(o)]; in luaT_gettmbyobj() 75 return (mt ? luaH_getstr(mt, G(L)->tmname[event]) : luaO_nilobject); in luaT_gettmbyobj()
|
H A D | lstate.c | 164 TValue mt; in init_registry() local 170 setthvalue(L, &mt, L); in init_registry() 171 luaH_setint(L, registry, LUA_RIDX_MAINTHREAD, &mt); in init_registry() 173 sethvalue(L, &mt, luaH_new(L)); in init_registry() 174 luaH_setint(L, registry, LUA_RIDX_GLOBALS, &mt); in init_registry() 305 for (i=0; i < LUA_NUMTAGS; i++) g->mt[i] = NULL; in lua_newstate()
|
H A D | lapi.c | 687 Table *mt = NULL; in lua_getmetatable() local 693 mt = hvalue(obj)->metatable; in lua_getmetatable() 699 mt = G(L)->mt[ttypenv(obj)]; in lua_getmetatable() 702 if (mt == NULL) in lua_getmetatable() 705 sethvalue(L, L->top, mt); in lua_getmetatable() 813 Table *mt; in lua_setmetatable() local 818 mt = NULL; in lua_setmetatable() 821 mt = hvalue(L->top - 1); in lua_setmetatable() 826 if (mt) { in lua_setmetatable() 834 if (mt) { in lua_setmetatable() [all …]
|
/illumos-gate/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()
|
/illumos-gate/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() 158 return (mt); in kcf_mech_hash_find() 308 crypto_mech_type_t mt; in kcf_create_mech_entry() local 831 crypto_mech_type_t mt; in crypto_mech2id_common() local 842 return (mt); in crypto_mech2id_common() 846 i = KCF_MECH2INDEX(mt); in crypto_mech2id_common() 867 return (mt); in crypto_mech2id_common() 875 return (mt); in crypto_mech2id_common() 892 return (mt); in crypto_mech2id_common() [all …]
|
/illumos-gate/usr/src/cmd/backup/lib/ |
H A D | rmtlib.c | 230 struct mtget mt; in rmtopen() local 248 if (rmtstatus(&mt) < 0) { in rmtopen() 272 rmtstatus(struct mtget *mt) in rmtstatus() argument 274 char *buf = (char *)mt; in rmtstatus() 278 return (rmtstatus_extended(mt)); in rmtstatus() 284 if ((unsigned)n > sizeof (*mt)) { in rmtstatus() 303 rmtstatus_extended(struct mtget *mt) in rmtstatus_extended() argument 307 mt->mt_dsreg = rmtcall("status", "sD"); in rmtstatus_extended() 308 mt->mt_erreg = rmtcall("status", "sE"); in rmtstatus_extended() 309 mt->mt_resid = rmtcall("status", "sR"); in rmtstatus_extended() [all …]
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | db_vers.cc | 79 struct timeval mt; in nextminor() local 80 gettimeofday(&mt, NULL); in nextminor() 82 newvers->time_sec = (unsigned int) mt.tv_sec; in nextminor() 83 newvers->time_usec = (unsigned int) mt.tv_usec; in nextminor() 113 struct timeval mt; in nextmajor() local 114 gettimeofday(&mt, NULL); in nextmajor() 116 newvers->time_sec = (unsigned int) mt.tv_sec; in nextmajor() 117 newvers->time_usec = (unsigned int) mt.tv_usec; in nextmajor()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/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()
|
/illumos-gate/usr/src/lib/libdwarf/common/ |
H A D | pro_die.c | 417 if (!mt) { in make_debug_str_entry() 422 mt->dse_slen = slen; in make_debug_str_entry() 423 mt->dse_table_offset = 0; in make_debug_str_entry() 424 mt->dse_dbg = dbg; in make_debug_str_entry() 428 mt->dse_name = 0; in make_debug_str_entry() 436 mt->dse_table_offset = 0; in make_debug_str_entry() 437 mt->dse_name = name; in make_debug_str_entry() 439 *mt_out = mt; in make_debug_str_entry() 565 debug_str_entry_free_func(mt); in _dwarf_insert_or_find_in_debug_str() 573 debug_str_entry_free_func(mt); in _dwarf_insert_or_find_in_debug_str() [all …]
|
H A D | pro_init.c | 306 struct Dwarf_P_debug_str_entry_s* mt = in key_simple_string_hashfunc() local 310 if (mt->dse_has_table_offset) { in key_simple_string_hashfunc() 312 str = (const char *)mt->dse_dbg->de_debug_str->ds_data + in key_simple_string_hashfunc() 313 mt->dse_table_offset; in key_simple_string_hashfunc() 316 str = (const char *)mt->dse_name; in key_simple_string_hashfunc()
|
/illumos-gate/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 495 (mt) == DK_MO_ERASABLE ? VD_MEDIA_FIXED : \ 496 (mt) == DK_MO_WRITEONCE ? VD_MEDIA_FIXED : \ 497 (mt) == DK_AS_MO ? VD_MEDIA_FIXED : \ 498 (mt) == DK_CDROM ? VD_MEDIA_CD : \ 499 (mt) == DK_CDR ? VD_MEDIA_CD : \ [all …]
|
/illumos-gate/usr/src/cmd/rcm_daemon/common/ |
H A D | filesys_rcm.c | 696 struct mnttab mt; in cache_create() local 751 while (getmntent(fp, &mt) == 0) { in cache_create() 754 if ((mt.mnt_mntopts != NULL) && in cache_create() 755 (hasmntopt(&mt, OPT_IGNORE) != NULL)) in cache_create() 758 if (cache_insert(cache, &mt) < 0) { in cache_create() 950 cache_insert(cache_t *cache, struct mnttab *mt) in cache_insert() argument 959 (mt == NULL) || in cache_insert() 960 (mt->mnt_special == NULL) || in cache_insert() 961 (mt->mnt_mountp == NULL) || in cache_insert() 962 (mt->mnt_fstype == NULL)) { in cache_insert() [all …]
|
/illumos-gate/usr/src/lib/libeti/menu/common/ |
H A D | terminit.c | 54 set_menu_term(MENU *m, PTF_void mt) in set_menu_term() argument 57 SMterm(m) = mt; in set_menu_term() 59 SMterm(Dfl_Menu) = mt; in set_menu_term()
|
/illumos-gate/usr/src/cmd/fm/eversholt/common/ |
H A D | alloc.c | 49 struct stats *mt, *mc; in alloc_fini() local 51 mt = Malloctotal; in alloc_fini() 57 stats_delete(mt); in alloc_fini()
|
/illumos-gate/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()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 696 construct_mt(struct mnttab *mt) in construct_mt() argument 703 if ((nfte = fs_tab_init(mt->mnt_mountp, mt->mnt_fstype)) == NULL) in construct_mt() 713 if (strcmp(mt->mnt_fstype, MNTTYPE_AUTOFS) == 0 || in construct_mt() 714 strcmp(mt->mnt_fstype, MNTTYPE_NFS) == 0 || in construct_mt() 715 is_remote_src(mt->mnt_special) == REAL_REMOTE) in construct_mt() 724 nfte->remote_name = strdup(mt->mnt_special); in construct_mt() 734 if (hasmntopt(mt, MNTOPT_RO) == NULL) { in construct_mt() 857 struct mnttab *mt = &mtbuf; in get_mntinfo() local 875 while (!getmntent(pp, mt)) in get_mntinfo() 876 if (construct_mt(mt)) in get_mntinfo()
|
/illumos-gate/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
|
/illumos-gate/usr/src/cmd/backup/restore/ |
H A D | tape.c | 34 int mt = -1; variable 195 if (mt < 0) { in setup() 201 if ((mt = rmtopen(magtape, O_RDONLY)) < 0) { in setup() 208 mt = 0; in setup() 1520 i = read(mt, &tbf[rd], cnt); in readtape() 1691 if (mt < 0) in closemt() 1706 (void) close(mt); in closemt() 1713 (void) ioctl(mt, MTIOCTOP, &mtop); in closemt() 1714 (void) ioctl(mt, FDEJECT, 0); in closemt() 1715 (void) close(mt); in closemt() [all …]
|
/illumos-gate/usr/src/cmd/fm/modules/common/eversholt/ |
H A D | alloc.c | 63 struct stats *mt, *ft, *mc, *fc; in alloc_fini() local 65 mt = Malloctotal; in alloc_fini() 75 stats_delete(mt); in alloc_fini()
|
/illumos-gate/usr/src/lib/libima/ |
H A D | Makefile.com | 41 CFLAGS += -mt 45 CFLAGS64 += -mt
|
/illumos-gate/usr/src/lib/libsun_ima/ |
H A D | Makefile.com | 46 CFLAGS += -mt 48 CFLAGS64 += -mt
|
/illumos-gate/usr/src/lib/libfru/ |
H A D | Makefile.flag | 36 CCFLAGS64 += -mt 37 CCFLAGS += -mt
|