Home
last modified time | relevance | path

Searched refs:disc (Results 1 – 25 of 129) sorted by relevance

123456

/netbsd-src/sys/kern/
H A Dtty_conf.c121 #define TTYLDISC_ISSTATIC(disc) \ argument
122 ((disc) == &termios_disc || (disc) == &ntty_disc)
124 #define TTYLDISC_HOLD(disc) \ argument
126 if (! TTYLDISC_ISSTATIC(disc)) { \
127 KASSERT((disc)->l_refcnt != UINT_MAX); \
128 (disc)->l_refcnt++; \
132 #define TTYLDISC_RELE(disc) \ argument
134 if (! TTYLDISC_ISSTATIC(disc)) { \
135 KASSERT((disc)->l_refcnt != 0); \
136 (disc)->l_refcnt--; \
[all …]
/netbsd-src/usr.sbin/mmcformat/
H A Duscsi_subr.c78 uscsi_open(struct uscsi_dev *disc) in uscsi_open() argument
82 disc->fhandle = open(disc->dev_name, O_RDWR, 0); /* no create */ in uscsi_open()
83 if (disc->fhandle<0) { in uscsi_open()
88 if (fstat(disc->fhandle, &dstat) < 0) { in uscsi_open()
90 uscsi_close(disc); in uscsi_open()
99 uscsi_close(struct uscsi_dev * disc) in uscsi_close() argument
101 close(disc->fhandle); in uscsi_close()
102 disc->fhandle = -1; in uscsi_close()
109 uscsi_command(int flags, struct uscsi_dev *disc, in uscsi_command() argument
127 if (ioctl(disc->fhandle, SCIOCCOMMAND, &req) == -1) in uscsi_command()
[all …]
H A Duscsilib.h95 extern int uscsi_command(int flags, struct uscsi_dev *disc,
/netbsd-src/external/bsd/nvi/dist/perl_api/
H A Dperlsfio.c59 sfnviwrite(f, buf, n, disc) in sfnviwrite() argument
63 Sfdisc_t* disc; /* discipline */
83 Sfdisc_t* disc; local
85 MALLOC(scrp, disc, Sfdisc_t*, sizeof(Sfdisc_t));
86 if (!disc) return disc;
88 disc->readf = (Sfread_f)NULL;
89 disc->writef = sfnviwrite;
90 disc->seekf = (Sfseek_f)NULL;
91 disc->exceptf = (Sfexcept_f)NULL;
92 return disc;
/netbsd-src/external/bsd/file/dist/magic/magdir/
H A Dconsole189 # genesis: file(1) magic for various Sega Mega Drive / Genesis ROM image and disc formats
212 # Sega Mega CD disc images: 2048-byte sectors.
213 0 string SEGADISCSYSTEM\ \ Sega Mega CD disc image
217 0 string SEGABOOTDISC\ \ \ \ Sega Mega CD disc image
221 # Sega Mega CD disc images: 2352-byte sectors.
222 0x10 string SEGADISCSYSTEM\ \ Sega Mega CD disc image
226 0x10 string SEGABOOTDISC\ \ \ \ Sega Mega CD disc image
373 # saturn: file(1) magic for the Sega Saturn disc image format.
377 # Common Sega Saturn disc header format.
380 0 name sega-saturn-disc-header
[all …]
H A Damigaos184 # 1 MiB hard disc by test for T_HEADER=2 and header_key=0=high_seq
188 # 2 MiB hard disc; only works if in ../../src/file.h FILE_BYTES_MAX is raised to 2 MiB
190 #>>0x100000 ubelong 2 \b, 2 MiB hard disc rootblock
H A Dfilesystems244 0 string PNCIHISK\0 Norton Utilities disc image data
546 # skip Norton Utilities disc image data
559 # mbr, Norton Utilities disc image data, or 2nd,etc. sector of x86 bootloader
1290 # 1st hard disc
1292 # not 1st hard disc
1301 # 1st hard disc
1303 # not 1st hard disc
1463 # with media descriptor F8h floppy or hard disc with FAT12 or FAT16
1467 # hard disc with FAT12 or FAT16
1469 # with media descriptor FAh floppy, RAM disc with FAT12 or FAT16 or Tandy hard disc
[all …]
/netbsd-src/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/native/
H A DHowto18 wd0a - first IDE disc partition A (typically /)
19 wd0e - first IDE disc partition E (typically /usr)
52 For example partition e on the first IDE disc on the internal IDE
/netbsd-src/sys/dev/scsipi/
H A Dscsi_message.h42 #define MSG_IDENTIFY(lun, disc) \ argument
43 (MSG_IDENTIFYFLAG | ((disc) ? MSG_IDENTIFY_DISCFLAG : 0) | (lun))
/netbsd-src/distrib/acorn32/stand/BtNetBSD/misc/
H A Dbb_netbsd39 REM the disc reserved for NetBSD.
98 REM of the disc so that we know the maximum cylinder number
100 REM Get the starting cylinder for the NetBSD part of the disc
122 REM start of the NetBSD part of the disc
132 REM Write the boot block back to disc
/netbsd-src/sys/compat/ultrix/
H A Dultrix_ioctl.c487 int disc; in ultrix_sys_ioctl() local
489 error = copyin(SCARG(&ap, data), &disc, sizeof disc); in ultrix_sys_ioctl()
494 if (disc == 2) in ultrix_sys_ioctl()
495 disc = 0; in ultrix_sys_ioctl()
497 if (disc) in ultrix_sys_ioctl()
500 return ultrix_do_ioctl(SCARG(&ap, fd), TIOCSETD, &disc, l); in ultrix_sys_ioctl()
/netbsd-src/distrib/notes/acorn32/
H A Dprep.RISCOS318 Then you will be asked which disc you want to install NetBSD on. This
319 *must* be the first disc on the device. bb_riscbsd will now
399 1) You must have the RISC OS disc that corresponds to the NetBSD
428 ADFS IDE disc, then you can just double-click on one of the
429 following obey files (always choose the RISC OS disc number that
430 corresponds to the *first* disc on the NetBSD device):
431 - wd0a (ADFS::4 drive, not disc, root file system)
432 - wd0e (ADFS::4 drive, not disc, /usr file system)
433 - wd1a (ADFS::5 drive, not disc, root file system)
434 - wd1e (ADFS::5 drive, not disc, /usr file system)
[all …]
/netbsd-src/sys/compat/sunos/
H A Dsunos_ioctl.c434 int disc; in sunos_sys_ioctl() local
436 if ((error = copyin(SCARG(uap, data), (void *)&disc, in sunos_sys_ioctl()
437 sizeof disc)) != 0) in sunos_sys_ioctl()
441 if (disc == 2) in sunos_sys_ioctl()
442 disc = 0; in sunos_sys_ioctl()
444 if (disc) { in sunos_sys_ioctl()
449 error = (*ctl)(fp, TIOCSETD, &disc); in sunos_sys_ioctl()
/netbsd-src/sys/compat/sunos32/
H A Dsunos32_ioctl.c484 int disc; in sunos32_sys_ioctl() local
486 if ((error = copyin(SCARG_P32(uap, data), &disc, in sunos32_sys_ioctl()
487 sizeof disc)) != 0) in sunos32_sys_ioctl()
491 if (disc == 2) in sunos32_sys_ioctl()
492 disc = 0; in sunos32_sys_ioctl()
494 if (disc) in sunos32_sys_ioctl()
497 return sunos32_do_ioctl(SCARG(&bsd_ua, fd), TIOCSETD, &disc, l); in sunos32_sys_ioctl()
/netbsd-src/sys/dev/podulebus/
H A Dpodules131 podule IBMDISC 0x0004 IBM disc
220 podule MFMHDCONTROLLER 0x0057 MFM hard disc controller
228 podule PRES_DISCBUFFER 0x005e disc buffer
251 podule HARDDISCINTERFACE 0x0074 hard disc interface
254 podule MORLEY_ST506 0x0077 ST506 disc interface
308 podule BAILDON_DISCBUFFER 0x00ac disc buffer
/netbsd-src/sys/arch/iyonix/
H A DTODO7 * Pick an appropriate disc partition/label scheme (see other RISC OS ports)
/netbsd-src/doc/
H A DREADME.files38 subdirectories may be on a separate disc; read all README files for more
/netbsd-src/sys/arch/amiga/dev/
H A Dsiop_script.ss89 JUMP REL(disc), IF 0x04 ; disconnect message
119 disc:
H A Dsiop2_script.ss90 JUMP REL(disc), IF 0x04 ; disconnect message
121 disc:
/netbsd-src/external/gpl2/mkhybrid/dist/
H A DREADME.mkisofs108 There is a bugfix in the sorting of entries on the disc - we
115 Some diagnostic programs to scan disc images are in the diag
H A DChangeLog77 inspired by disc written by Windows generated multi-session
78 disc, which will hopefully make the discs usable under
94 generate a multi-session disc, but it hasn't been tested yet.
566 Numerous bugfixes, thanks to a one-off disc from rab@cdrom.com.
572 hard links on the disc. (The hash table allows us to have each
585 Improve error message when we ignore a symlink on a non-RR disc.
/netbsd-src/sys/dev/microcode/siop/
H A Dosiop.ss98 JUMP REL(disc), IF 0x04 ; disconnect message
128 disc:
/netbsd-src/sys/arch/x86/x86/
H A Dhyperv.c206 uint64_t disc, ret, tsc; in hyperv_tc64_tsc() local
214 "=d" (ret), "=a" (disc) : in hyperv_tc64_tsc()
/netbsd-src/lib/libc/nls/
H A Dca.msg139 69 Quota de disc sobrepassada
/netbsd-src/external/gpl3/binutils/dist/bfd/doc/
H A Dbfdt.texi799 file, func, line, disc) \
801 (abfd, alt_filename, syms, sec, off, file, func, line, disc))
804 line, disc) \
806 (abfd, syms, sec, off, file, func, line, disc))

123456