Home
last modified time | relevance | path

Searched refs:mtop (Results 1 – 25 of 33) sorted by relevance

12

/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/bn/
H A Dbn_mod.c51 size_t i, ai, bi, mtop = m->top; in bn_mod_add_fixed_top() local
56 if (bn_wexpand(r, mtop) == NULL) in bn_mod_add_fixed_top()
59 if (mtop > sizeof(storage) / sizeof(storage[0]) in bn_mod_add_fixed_top()
60 && (tp = OPENSSL_malloc(mtop * sizeof(BN_ULONG))) == NULL) in bn_mod_add_fixed_top()
66 for (i = 0, ai = 0, bi = 0, carry = 0; i < mtop;) { in bn_mod_add_fixed_top()
80 carry -= bn_sub_words(rp, tp, m->d, mtop); in bn_mod_add_fixed_top()
81 for (i = 0; i < mtop; i++) { in bn_mod_add_fixed_top()
85 r->top = mtop; in bn_mod_add_fixed_top()
131 size_t i, ai, bi, mtop = m->top; in bn_mod_sub_fixed_top() local
135 if (bn_wexpand(r, mtop) == NULL) in bn_mod_sub_fixed_top()
[all …]
/netbsd-src/crypto/external/bsd/openssl/dist/crypto/bn/
H A Dbn_mod.c56 size_t i, ai, bi, mtop = m->top; in bn_mod_add_fixed_top() local
61 if (bn_wexpand(r, mtop) == NULL) in bn_mod_add_fixed_top()
64 if (mtop > sizeof(storage) / sizeof(storage[0])) { in bn_mod_add_fixed_top()
65 tp = OPENSSL_malloc(mtop * sizeof(BN_ULONG)); in bn_mod_add_fixed_top()
75 for (i = 0, ai = 0, bi = 0, carry = 0; i < mtop;) { in bn_mod_add_fixed_top()
89 carry -= bn_sub_words(rp, tp, m->d, mtop); in bn_mod_add_fixed_top()
90 for (i = 0; i < mtop; i++) { in bn_mod_add_fixed_top()
94 r->top = mtop; in bn_mod_add_fixed_top()
140 size_t i, ai, bi, mtop = m->top; in bn_mod_sub_fixed_top() local
144 if (bn_wexpand(r, mtop) == NULL) in bn_mod_sub_fixed_top()
[all …]
/netbsd-src/usr.sbin/rmt/
H A Drmt.c167 struct mtop mtop; in main() local
169 mtop.mt_op = atoi(op); in main()
170 mtop.mt_count = atoi(count); in main()
171 if (ioctl(tape, MTIOCTOP, (char *)&mtop) < 0) in main()
173 rval = mtop.mt_count; in main()
/netbsd-src/sys/dev/mscp/
H A Dmscp_tape.c421 struct mtop *mtop; in mtioctl() local
427 mtop = (void *)data; in mtioctl()
428 if (mtop->mt_op == MTWEOF) { in mtioctl()
429 while (mtop->mt_count-- > 0) in mtioctl()
430 if ((error = mtcmd(mt, mtop->mt_op, 0, 0))) in mtioctl()
433 error = mtcmd(mt, mtop->mt_op, mtop->mt_count, 0); in mtioctl()
/netbsd-src/sys/dev/qbus/
H A Dts.c944 struct mtop *mtop; /* mag tape cmd op to perform */ in tsioctl() local
959 mtop = (struct mtop *)data; in tsioctl()
960 switch (mtop->mt_op) { in tsioctl()
962 callcount = mtop->mt_count; in tsioctl()
971 scount = mtop->mt_count; in tsioctl()
987 printf("ioctl %d not implemented.\n", mtop->mt_op); in tsioctl()
991 printf("invalid ioctl %d\n", mtop->mt_op); in tsioctl()
1003 tscommand(sc, dev, mtop->mt_op, scount); in tsioctl()
1012 printf("error in ioctl %d\n", mtop->mt_op); in tsioctl()
/netbsd-src/sys/sys/
H A Dmtio.h44 struct mtop { struct
137 #define MTIOCTOP _IOW('m', 1, struct mtop) /* do a mag tape op */
/netbsd-src/lib/librmt/
H A Drmtlib.c498 struct mtop *mtop = arg; in _rmt_ioctl() local
508 mtop->mt_op, mtop->mt_count); in _rmt_ioctl()
/netbsd-src/sys/net/
H A Dif_ethersubr.c483 struct mbuf *mtop = m; in altq_etherclassify()
488 KASSERT((mtop->m_flags & M_PKTHDR) != 0); in altq_etherclassify()
554 mtop->m_pkthdr.pattr_class = in altq_etherclassify()
557 mtop->m_pkthdr.pattr_af = af; in altq_etherclassify()
558 mtop->m_pkthdr.pattr_hdr = hdr; in altq_etherclassify()
566 mtop->m_pkthdr.pattr_class = NULL; in altq_etherclassify()
567 mtop->m_pkthdr.pattr_hdr = NULL; in altq_etherclassify()
568 mtop->m_pkthdr.pattr_af = AF_UNSPEC; in altq_etherclassify()
482 struct mbuf *mtop = m; altq_etherclassify() local
/netbsd-src/sys/compat/linux/common/
H A Dlinux_mtio.c83 struct mtop mt; in linux_ioctl_mtio()
/netbsd-src/bin/dd/
H A Dposition.c130 struct mtop t_op; in pos_out()
/netbsd-src/bin/pax/
H A Dar_io.c950 struct mtop mb; in ar_rdsync()
1119 struct mtop mb; in ar_rev()
1268 struct mtop mb; in get_phys()
/netbsd-src/external/lgpl3/gmp/dist/mpn/x86_64/coreibwl/
H A Dmullo_basecase.asm199 L(mtop):mov %r10, -8(rp)
226 jnz L(mtop)
/netbsd-src/usr.bin/tcopy/
H A Dtcopy.c318 struct mtop op; in writeop()
/netbsd-src/bin/mt/
H A Dmt.c118 struct mtop mt_com; in main()
/netbsd-src/sys/dev/gpib/
H A Dmt.c987 struct mtop *op; in mtioctl()
992 op = (struct mtop *)data; in mtioctl()
H A Dct.c858 struct mtop *op; in ctioctl()
864 op = (struct mtop *)data; in ctioctl()
/netbsd-src/sys/arch/hp300/dev/
H A Dmt.c950 struct mtop *op; in mtioctl()
955 op = (struct mtop *)data; in mtioctl()
H A Dct.c901 struct mtop *op; in ctioctl()
907 op = (struct mtop *)data; in ctioctl()
/netbsd-src/usr.bin/eject/
H A Deject.c372 struct mtop m; in eject_tape()
/netbsd-src/external/lgpl3/gmp/dist/mpn/x86_64/zen/
H A Dmul_basecase.asm161 L(mtop):jrcxz L(mend)
175 jmp L(mtop)
/netbsd-src/sys/dev/isa/
H A Dwt.c558 switch ((short)((struct mtop*)addr)->mt_op) { in wtioctl()
579 for (count = ((struct mtop*)addr)->mt_count; count > 0; in wtioctl()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.cc183 unsigned struct_mtop_sz = sizeof(struct mtop);
/netbsd-src/external/gpl3/gcc/dist/libsanitizer/sanitizer_common/
H A Dsanitizer_platform_limits_freebsd.cpp200 unsigned struct_mtop_sz = sizeof(struct mtop);
/netbsd-src/sbin/dump/
H A Dtape.c409 struct mtop offl; in trewind()
/netbsd-src/sys/dev/scsipi/
H A Dst.c1457 struct mtop *mt = (struct mtop *) arg; in stioctl()

12