HomeSort by: relevance | last modified time | path
    Searched defs:mt (Results 1 - 25 of 28) sorted by relevancy

1 2

  /src/usr.bin/fstat/
tmpfs.c 51 struct mount mt; local in function:tmpfs_filestat
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 in function:zfs_filestat
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 in function:ptyfs_filestat
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 in function:getmnton
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 in function:__res_init_ctx
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 in function:__res_destroy_ctx
93 if (mt != 0)
94 free(mt);
101 mtctxres_t *mt; local in function:___mtctxres
    [all...]
  /src/sys/fs/v7fs/
v7fs_inode_util.c 82 time_t mt = p->mtime; local in function:v7fs_inode_dump
84 printf(" atime %s mtime %s ctime %s", ctime(&at), ctime(&mt),
  /src/sys/compat/linux/common/
linux_mtio.c 83 struct mtop mt; local in function:linux_ioctl_mtio
104 mt.mt_op = mtop_map[i].op;
105 mt.mt_count = lmtop.mt_count;
106 error = ioctlf(fp, MTIOCTOP, &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 in function:status
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 in function:main
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/bebox/stand/boot/
monitor.c 56 { "mt", db_cmd_mt },
322 void mt ## x(uint32_t); \
328 void mt ## x(uint32_t data) \
330 __asm volatile (STR(mt ## x %0) :: STR(r)(data)); \
334 { #x, mf ## x, mt ## x }
341 void (*mt)(uint32_t); member in struct:__anon9379154c0208
375 printf("mt register data\nregister:");
384 (mreg[i].mt)(db_atob(argv[2]));
  /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:__anon51bd14330208
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:__anon4f1456870208
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 in function:getfdtype
327 io->flags |= io->ops->op_ioctl(io->fd, MTIOCGET, &mt)
  /src/usr.sbin/makefs/msdos/
msdosfs_vnops.c 102 struct timespec mt; local in function:msdosfs_times
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/sys/net/npf/
npf_mbuf.c 308 struct m_tag *mt; local in function:npf_mbuf_add_tag
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 in function:nbuf_find_tag
355 mt = m_tag_find(m, PACKET_TAG_NPF);
356 if (mt == NULL) {
359 *val = *(uint32_t *)(mt + 1);
  /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 in function:mtattach
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 in function:mtopen
252 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); local in function:mtclose
275 struct mt_softc *mt; local in function:mtstrategy
320 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); local in function:mtfillin
349 struct mt_softc *mt = (void *)usc; local in function:mtonline
394 struct mt_softc *mt = (void *)usc; local in function:mtioerror
420 struct mt_softc *mt = device_lookup_private(&mt_cd, unit); local in function:mtioctl
538 struct mt_softc *mt = (void *)usc; local in function:mtcmddone
    [all...]
  /src/sys/arch/arm/arm32/
db_machdep.c 367 u_int mt = __SHIFTOUT(d2, ARM_A7_TLBDATA2_SDO_MT); local in function:tlb_print_cortex_a7_entry
368 switch (mt) {
376 db_printf(" %02u\n", mt);
  /src/lib/libc/cdb/
cdbw.c 91 uint64_t mt; local in function:fast_divide32_prepare
95 mt = (uint64_t)(0x100000000ULL * ((1ULL << l) - div));
96 *m = (uint32_t)(mt / div + 1);
  /src/sys/dev/scsipi/
st.c 300 "TEAC ", "MT-2ST/N50 ", ""}, {ST_Q_IGNORE_LOADS, 0, {
1457 struct mtop *mt = (struct mtop *) arg; local in function:stioctl
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/sys/arch/amiga/dev/
if_esreg.h 64 volatile u_short mt[4]; /* Multicast Table */ member in struct:smcregs::__anonf052b2be0408
  /src/usr.sbin/dumplfs/
dumplfs.c 551 time_t at, mt, ct; local in function:dump_dinode
554 mt = lfs_dino_getmtime(fs, dip);
564 (void)printf(" %s%s", "mtime ", ctime(&mt));
  /src/usr.sbin/pstat/
pstat.c 642 struct mtab *mt; local in function:getmnt
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/sbin/restore/
tape.c 77 static int mt = -1; variable in typeref:typename:int
299 mt = rmtopen(magtape, 0, 0);
303 mt = 0;
305 mt = open(magtape, O_RDONLY, 0);
306 if (mt < 0) {
469 mt = rmtopen(magtape, 0, 0);
472 mt = open(magtape, O_RDONLY, 0);
474 if (mt == -1) {
594 if (ioctl(mt, (int)MTIOCTOP, (char *)&tcom) < 0)
1291 i = read(mt, &tapebuf[rd], cnt)
    [all...]
  /src/sys/arch/arm/imx/
if_enet.c 1419 struct mbuf *m, *m0, *mt, *p, *x; local in function:enet_encap_mbufalign
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 in function:soreceive
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;

Completed in 25 milliseconds

1 2