| /src/usr.bin/fstat/ |
| tmpfs.c | 51 struct mount mt; local 58 if (!KVM_READ(vp->v_mount, &mt, sizeof(mt))) { 64 fsp->fsid = mt.mnt_stat.f_fsidx.__fsid_val[0];
|
| zfs.c | 51 struct mount mt; local 57 if (!KVM_READ(vp->v_mount, &mt, sizeof(mt))) { 69 fsp->fsid = mt.mnt_stat.f_fsidx.__fsid_val[0];
|
| ptyfs.c | 62 struct mount mt; local 69 if (!KVM_READ(vp->v_mount, &mt, sizeof(mt))) { 74 fsp->fsid = mt.mnt_stat.f_fsidx.__fsid_val[0];
|
| fstat.c | 915 struct mtab *mt; local 917 for (mt = mhead; mt != NULL; mt = mt->next) 918 if (m == mt->m) 919 return mt->mntonname; 924 if ((mt = malloc(sizeof (struct mtab))) == NULL) { 927 mt->m = m; 928 (void)memmove(&mt->mntonname[0], &mount.mnt_stat.f_mntonname[0] [all...] |
| /src/lib/libc/resolv/ |
| mtctxres.c | 45 * To support binaries that used the private MT-safe interface in 63 mtctxres_t *mt; local 72 if ((mt = malloc(sizeof (mtctxres_t))) == 0) { 77 memset(mt, 0, sizeof (mtctxres_t)); 79 if ((ret = pthread_setspecific(key, mt)) != 0) { 80 free(mt); 91 mtctxres_t *mt = (mtctxres_t *)value; local 93 if (mt != 0) 94 free(mt); 101 mtctxres_t *mt; local [all...] |
| /src/sys/compat/linux/common/ |
| linux_mtio.c | 83 struct mtop mt; local 104 mt.mt_op = mtop_map[i].op; 105 mt.mt_count = lmtop.mt_count; 106 error = ioctlf(fp, MTIOCTOP, &mt);
|
| /src/sys/fs/v7fs/ |
| v7fs_inode_util.c | 82 time_t mt = p->mtime; local 84 printf(" atime %s mtime %s ctime %s", ctime(&at), ctime(&mt),
|
| /src/bin/mt/ |
| mt.c | 1 /* $NetBSD: mt.c,v 1.49 2022/01/24 09:14:36 andvar Exp $ */ 40 static char sccsid[] = "@(#)mt.c 8.2 (Berkeley) 6/6/93"; 42 __RCSID("$NetBSD: mt.c,v 1.49 2022/01/24 09:14:36 andvar Exp $"); 47 * mt -- 263 const struct tape_desc *mt; local 265 for (mt = tapes;; mt++) { 266 if (mt->t_type == 0) { 271 if (mt->t_type == bp->mt_type) 274 (void)printf("%s tape drive, residual=%d\n", mt->t_name, bp->mt_resid) [all...] |
| /src/regress/sys/kern/nameibench/ |
| nameibench.c | 203 int i, mt; local 207 mt = sysconf(_SC_NPROCESSORS_ONLN); 209 mt = atoi(argv[1]); 210 if (mt < 1) { 211 mt = 1; 221 for (i = 1; i <= mt; i++) {
|
| /src/sys/arch/prep/stand/boot/ |
| monitor.c | 62 { "mt", db_cmd_mt }, 328 void mt ## x(unsigned int data) \ 330 __asm volatile (STR(mt ## x %0) :: STR(r)(data)); \ 334 { #x, mf ## x, mt ## x } 341 void (*mt)(unsigned int); member in struct:__anon1819 375 printf("mt register data\nregister:"); 384 (mreg[i].mt)((unsigned int)db_atob(argv[2]));
|
| /src/sys/arch/rs6000/stand/boot/ |
| monitor.c | 62 { "mt", db_cmd_mt }, 328 void mt ## x(unsigned int data) \ 330 __asm volatile (STR(mt ## x %0) :: STR(r)(data)); \ 334 { #x, mf ## x, mt ## x } 341 void (*mt)(unsigned int); member in struct:__anon1860 375 printf("mt register data\nregister:"); 384 (mreg[i].mt)((unsigned int)db_atob(argv[2]));
|
| /src/bin/dd/ |
| dd.c | 319 struct mtget mt; local 327 io->flags |= io->ops->op_ioctl(io->fd, MTIOCGET, &mt)
|
| /src/sys/dev/mscp/ |
| mscp_tape.c | 114 CFATTACH_DECL_NEW(mt, sizeof(struct mt_softc), 177 struct mt_softc *mt = device_private(self); local 182 mt->mt_dev = self; 183 mt->mt_hwunit = mp->mscp_unit; 194 mt_putonline(struct mt_softc *mt) 198 device_private(device_parent(mt->mt_dev)); 200 ((volatile struct mt_softc *) mt)->mt_state = MT_OFFLINE; 203 mp->mscp_unit = mt->mt_hwunit; 204 mp->mscp_cmdref = (long)&mt->mt_state; 209 if (tsleep(&mt->mt_state, PRIBIO, "mtonline", 240 * hz) 224 struct mt_softc *mt; local 252 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); local 275 struct mt_softc *mt; local 320 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); local 349 struct mt_softc *mt = (void *)usc; local 394 struct mt_softc *mt = (void *)usc; local 420 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); local 538 struct mt_softc *mt = (void *)usc; local [all...] |
| /src/sys/net/npf/ |
| npf_mbuf.c | 308 struct m_tag *mt; local 313 mt = m_tag_get(PACKET_TAG_NPF, sizeof(uint32_t), M_NOWAIT); 314 if (mt == NULL) { 317 dat = (uint32_t *)(mt + 1); 319 m_tag_prepend(m, mt); 351 struct m_tag *mt; local 355 mt = m_tag_find(m, PACKET_TAG_NPF); 356 if (mt == NULL) { 359 *val = *(uint32_t *)(mt + 1);
|
| /src/usr.sbin/makefs/msdos/ |
| msdosfs_vnops.c | 102 struct timespec mt; local 109 mt = st->st_mtimespec; 113 mt.tv_sec = st->st_mtime; 114 mt.tv_nsec = 0; 118 msdosfs_unix2dostime(&mt, pmp->pm_gmtoff, &dep->de_MDate,
|
| /src/lib/libc/cdb/ |
| cdbw.c | 91 uint64_t mt; local 95 mt = (uint64_t)(0x100000000ULL * ((1ULL << l) - div)); 96 *m = (uint32_t)(mt / div + 1);
|
| /src/sys/arch/arm/arm32/ |
| db_machdep.c | 367 u_int mt = __SHIFTOUT(d2, ARM_A7_TLBDATA2_SDO_MT); local 368 switch (mt) { 376 db_printf(" %02u\n", mt);
|
| /src/sys/arch/amiga/dev/ |
| if_esreg.h | 64 volatile u_short mt[4]; /* Multicast Table */ member in struct:smcregs::__anon957
|
| /src/sys/dev/scsipi/ |
| st.c | 300 "TEAC ", "MT-2ST/N50 ", ""}, {ST_Q_IGNORE_LOADS, 0, { 1457 struct mtop *mt = (struct mtop *) arg; local 1515 ("[ioctl: op=0x%x count=0x%x]\n", mt->mt_op, 1516 mt->mt_count)); 1519 number = mt->mt_count; 1520 switch ((short) (mt->mt_op)) { 1669 switch ((short) (mt->mt_op)) {
|
| /src/usr.sbin/dumplfs/ |
| dumplfs.c | 557 time_t at, mt, ct; local 560 mt = lfs_dino_getmtime(fs, dip); 570 (void)printf(" %s%s", "mtime ", ctime(&mt));
|
| /src/sbin/restore/ |
| tape.c | 78 static int mt = -1; variable 300 mt = rmtopen(magtape, 0, 0); 304 mt = 0; 306 mt = open(magtape, O_RDONLY, 0); 307 if (mt < 0) { 470 mt = rmtopen(magtape, 0, 0); 473 mt = open(magtape, O_RDONLY, 0); 475 if (mt == -1) { 595 if (ioctl(mt, (int)MTIOCTOP, (char *)&tcom) < 0) 1292 i = read(mt, &tapebuf[rd], cnt) [all...] |
| /src/sys/arch/arm/imx/ |
| if_enet.c | 1419 struct mbuf *m, *m0, *mt, *p, *x; local 1434 mt = p = NULL; 1502 if (mt == NULL) { 1503 mt = m; 1504 while (mt->m_len == 0) { 1505 mt = mt->m_next; 1506 if (mt == NULL) { 1512 /* mt = 1st mbuf, x = 2nd mbuf */ 1513 x = mt->m_next [all...] |
| /src/sys/kern/ |
| uipc_socket.c | 1166 struct mbuf *m, **mp, *mt; local 1556 mt = m_copym(m, 0, len, M_NOWAIT); 1557 if (__predict_false(mt == NULL)) { 1559 mt = m_copym(m, 0, len, M_WAIT); 1562 *mp = mt;
|
| /src/usr.sbin/pstat/ |
| pstat.c | 642 struct mtab *mt; local 645 for (mt = mhead; mt != NULL; mt = mt->next) 646 if (maddr == mt->maddr) 647 return (&mt->mount); 649 if ((mt = malloc(sizeof(struct mtab))) == NULL) 651 mt->mount = mb; 652 mt->maddr = maddr [all...] |
| /src/usr.bin/telnet/ |
| commands.c | 1190 struct modelist *mt; 1193 for (mt = ModeList; mt->name; mt++) { 1194 if (mt->help) { 1195 if (*mt->help) 1196 printf("%-15s %s\n", mt->name, mt->help); 1210 struct modelist *mt; 1215 } else if ((mt = GETMODECMD(argv[1])) == 0) 1186 struct modelist *mt; local 1206 struct modelist *mt; local [all...] |