Home
last modified time | relevance | path

Searched refs:mt (Results 1 – 25 of 84) sorted by path

1234

/illumos-gate/usr/src/cmd/
H A DMakefile279 mt \
/illumos-gate/usr/src/cmd/allocate/
H A Dst_clean.sh115 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/dump/
H A Ddumpfstab.c61 static struct mntent mt; local
64 if ((status = getmntent(f, &mt)) == 0)
65 return (&mt);
H A Ddumptape.c1303 static struct mtget mt; in otape() local
1550 tapeout = host ? rmtstatus(&mt) >= 0 : in otape()
1551 ioctl(to, MTIOCGET, &mt) >= 0; /* set state */ in otape()
1557 (mt.mt_fileno != (filenum-1))) { in otape()
1561 tape, mt.mt_fileno+1, filenum); in otape()
2301 static struct mtget mt; in positiontape() local
2332 if (rmtstatus(&mt) >= 0 && in positiontape()
2344 if (ioctl(to, MTIOCGET, &mt) >= 0 && in positiontape()
/illumos-gate/usr/src/cmd/backup/lib/
H A Drmtlib.c230 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/cmd/backup/restore/
H A Dlint.sed7 /tape.c",.*assigned value never used: mt .*(22[0-9])/d
H A Dtape.c34 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/cmd-inet/usr.bin/telnet/
H A Dcommands.c1323 struct modelist *mt; in modehelp() local
1326 for (mt = ModeList; mt->name; mt++) { in modehelp()
1327 if (mt->help) { in modehelp()
1328 if (*mt->help) in modehelp()
1329 (void) printf("%-15s %s\n", mt->name, mt->help); in modehelp()
1345 struct modelist *mt; local
1350 } else if ((mt = GETMODECMD(argv[1])) == 0) {
1353 } else if (Ambiguous(mt)) {
1356 } else if (mt->needconnect && !connected) {
1359 } else if (mt->handler) {
[all …]
/illumos-gate/usr/src/cmd/dc/
H A Ddc.c1344 int cq, cp, mt, mcr; in mult() local
1377 mt = cp*cq + carry + mcr; in mult()
1378 carry = mt / 100; in mult()
1379 salterc(mr, mt % 100); in mult()
/illumos-gate/usr/src/cmd/fm/eversholt/common/
H A Dalloc.c49 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/cmd/fm/modules/common/eversholt/
H A Dalloc.c63 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/cmd/fs.d/autofs/
H A Dautod_mount.c646 struct mnttab mt; in hasrestrictopt() local
648 mt.mnt_mntopts = opts; in hasrestrictopt()
650 return (hasmntopt(&mt, MNTOPT_RESTRICT) != NULL); in hasrestrictopt()
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsstat/
H A Dnfsstat.c1035 FILE *mt; in mi_print() local
1053 mt = fopen(MNTTAB, "r"); in mi_print()
1054 if (mt == NULL) { in mi_print()
1060 resetmnttab(mt); in mi_print()
1062 while (getextmntent(mt, &m, sizeof (struct extmnttab)) == 0) { in mi_print()
1119 (void) fclose(mt); in mi_print()
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c546 FILE *mt; in setupfs() local
551 mt = fopen(MNTTAB, "r"); in setupfs()
552 if (mt == NULL) { in setupfs()
557 while (getmntent(mt, &m) == 0) { in setupfs()
590 (void) fclose(mt); in setupfs()
/illumos-gate/usr/src/cmd/fs.d/udfs/fsdb/
H A Dfsdb_yacc.y116 | at | ct | gid | ln | mt | md
503 mt : MTTZ '=' expr { set_file(MTTZ, i_number << l2b, $3); }
/illumos-gate/usr/src/cmd/mandoc/
H A Dman_term.c166 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/cmd/mdb/common/modules/genunix/
H A Dkmem.c902 kmem_magtype_t mt; in kmem_get_magsize() local
917 addr + sizeof (mt) - 1 > mt_sym.st_value + mt_sym.st_size - 1 || in kmem_get_magsize()
918 ((addr - mt_sym.st_value) % sizeof (mt)) != 0) { in kmem_get_magsize()
923 if (mdb_vread(&mt, sizeof (mt), addr) == -1) { in kmem_get_magsize()
927 return (mt.mt_magsize); in kmem_get_magsize()
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c818 umem_magtype_t mt; in umem_get_magsize() local
833 addr + sizeof (mt) - 1 > mt_sym.st_value + mt_sym.st_size - 1 || in umem_get_magsize()
834 ((addr - mt_sym.st_value) % sizeof (mt)) != 0) { in umem_get_magsize()
839 if (mdb_vread(&mt, sizeof (mt), addr) == -1) { in umem_get_magsize()
843 return (mt.mt_magsize); in umem_get_magsize()
/illumos-gate/usr/src/cmd/mt/
H A DMakefile28 PROG= mt
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_config.c538 struct mnttab mt, *fs; in ndmpd_config_get_fs_info_v3() local
577 while (len < nmnt && (getmntent(fp, &mt) == 0)) in ndmpd_config_get_fs_info_v3()
580 fs = &mt; in ndmpd_config_get_fs_info_v3()
581 log_dev_len = strlen(mt.mnt_mountp)+2; in ndmpd_config_get_fs_info_v3()
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Dfilesys_rcm.c696 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/cmd/sgs/tools/
H A DSUNWonld-README738 4825151 compiler core dumped with a -mt -xF=%all test
/illumos-gate/usr/src/cmd/sh/
H A Dtest.c62 nxtarg(int mt) in nxtarg() argument
66 if (mt) in nxtarg()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c696 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/tar/
H A Dtar.c1090 mt = dup(1); in main()
1094 mt = open(usefile, in main()
1099 if (mt < 0) { in main()
1159 mt = dup(0); in main()
4859 if (close(mt) != 0) in newvol()
4861 mt = 0; in newvol()
4874 mt = dup(1); in newvol()
4879 if (mt < 0) { in newvol()
4923 if (mt > 0) { in done()
9386 mt = fd[1]; in compress_file()
[all …]

1234