diff options
author | Kazuo Horikawa <horikawa@FreeBSD.org> | 2003-10-13 00:37:30 +0000 |
---|---|---|
committer | Kazuo Horikawa <horikawa@FreeBSD.org> | 2003-10-13 00:37:30 +0000 |
commit | 775db488ec68313b5200e8d9fbb466d8d196c58e (patch) | |
tree | c4903b082bf59b98564fae448a35e4e23e980109 | |
parent | 0cd4f33c61e63c12a075840d3dcb5d7dd0d636ba (diff) | |
download | doc-775db488ec68313b5200e8d9fbb466d8d196c58e.tar.gz doc-775db488ec68313b5200e8d9fbb466d8d196c58e.zip |
Initial Japanese translations
Submitted by: Akira Ikeuchi <a_ikeuchi@mic.mitsumi.co.jp>
Notes
Notes:
svn path=/head/; revision=18416
-rw-r--r-- | ja_JP.eucJP/man/man9/Makefile | 67 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/bus_activate_resource.9 | 95 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/bus_child_present.9 | 90 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/bus_set_resource.9 | 95 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/byteorder.9 | 167 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/cdevsw_add.9 | 66 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/cdevsw_remove.9 | 66 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/condvar.9 | 212 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/device_get_name.9 | 56 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/device_get_parent.9 | 51 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/device_ids.9 | 78 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/device_printf.9 | 58 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/device_set_driver.9 | 57 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/devsw.9 | 73 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/groupmember.9 | 60 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/pseudofs.9 | 69 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/sema.9 | 116 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/sx.9 | 182 | ||||
-rw-r--r-- | ja_JP.eucJP/man/man9/taskqueue.9 | 212 |
19 files changed, 1865 insertions, 5 deletions
diff --git a/ja_JP.eucJP/man/man9/Makefile b/ja_JP.eucJP/man/man9/Makefile index 4d725199d8..7503d3c2fd 100644 --- a/ja_JP.eucJP/man/man9/Makefile +++ b/ja_JP.eucJP/man/man9/Makefile @@ -74,14 +74,21 @@ MAN9 = BUF_LOCK.9\ bios.9\ boot.9\ buf.9\ + bus_activate_resource.9\ bus_alloc_resource.9\ + bus_child_present.9\ bus_generic_attach.9\ bus_generic_detach.9\ bus_generic_print_child.9\ bus_generic_read_ivar.9\ bus_generic_shutdown.9\ bus_release_resource.9\ + bus_set_resource.9\ + byteorder.9\ cd.9\ + cdevsw_add.9\ + cdevsw_remove.9\ + condvar.9\ copy.9\ devclass.9\ devclass_add_driver.9\ @@ -100,18 +107,25 @@ MAN9 = BUF_LOCK.9\ device_get_devclass.9\ device_get_driver.9\ device_get_ivars.9\ + device_get_name.9\ + device_get_parent.9\ device_get_softc.9\ device_get_state.9\ device_get_unit.9\ + device_ids.9\ + device_printf.9\ device_probe_and_attach.9\ device_quiet.9\ device_set_desc.9\ + device_set_driver.9\ device_set_flags.9\ devstat.9\ + devsw.9\ devtoname.9\ driver.9\ extattr.9\ fetch.9\ + groupmember.9\ inittodr.9\ intro.9\ kernacc.9\ @@ -126,16 +140,20 @@ MAN9 = BUF_LOCK.9\ panic.9\ physio.9\ printf.9\ + pseudofs.9\ psignal.9\ resettodr.9\ sbuf.9\ + sema.9\ sleep.9\ spl.9\ store.9\ style.9\ suser.9\ + sx.9\ sysctl_add_oid.9\ sysctl_ctx_init.9\ + taskqueue.9\ time.9\ timeout.9\ tvtohz.9\ @@ -172,6 +190,7 @@ MLINKS+=VOP_OPENCLOSE.9 VOP_OPEN.9 MLINKS+=VOP_RDWR.9 VOP_READ.9 MLINKS+=VOP_RDWR.9 VOP_WRITE.9 MLINKS+=VOP_REMOVE.9 VOP_RMDIR.9 +MLINKS+=bus_activate_resource.9 bus_deactivate_resource.9 MLINKS+=copy.9 copyin.9 copy.9 copyinstr.9 copy.9 copyout.9 copy.9 copystr.9 MLINKS+=devstat.9 devicestat.9 MLINKS+=devstat.9 devstat_add_entry.9 @@ -210,10 +229,13 @@ MLINKS+=device_add_child.9 device_add_child_ordered.9 MLINKS+=device_enable.9 device_disable.9 MLINKS+=device_enable.9 device_is_enabled.9 MLINKS+=device_get_ivars.9 device_set_ivars.9 +MLINKS+=device_get_name.9 device_get_nameunit.9 MLINKS+=device_get_state.9 device_busy.9 MLINKS+=device_get_state.9 device_unbusy.9 MLINKS+=device_get_state.9 device_is_alive.9 MLINKS+=device_get_state.9 device_is_attached.9 +MLINKS+=device_ids.9 major.9 device_ids.9 umajor.9 +MLINKS+=device_ids.9 minor.9 device_ids.9 uminor.9 MLINKS+=device_quiet.9 device_verbose.9 MLINKS+=device_quiet.9 device_is_quiet.9 MLINKS+=device_set_desc.9 device_get_desc.9 @@ -224,9 +246,26 @@ MLINKS+=devclass_add_driver.9 devclass_find_driver.9 MLINKS+=BUS_READ_IVAR.9 BUS_WRITE_IVAR.9 MLINKS+=bus_generic_read_ivar.9 bus_generic_write_ivar.9 -MLINKS+= lock.9 lockinit.9 lock.9 lockdestroy.9 -MLINKS+= lock.9 lockcount.9 lock.9 lockmgr.9 -MLINKS+= lock.9 lockstatus.9 lock.9 lockmgr_printinfo.9 +MLINKS+=byteorder.9 bswap16.9 byteorder.9 bswap32.9 byteorder.9 bswap64.9 +MLINKS+=byteorder.9 be16toh.9 byteorder.9 be32toh.9 byteorder.9 be64toh.9 +MLINKS+=byteorder.9 htobe16.9 byteorder.9 htobe32.9 byteorder.9 htobe64.9 +MLINKS+=byteorder.9 le16toh.9 byteorder.9 le32toh.9 byteorder.9 le64toh.9 +MLINKS+=byteorder.9 htole16.9 byteorder.9 htole32.9 byteorder.9 htole64.9 +MLINKS+=byteorder.9 be16enc.9 byteorder.9 be32enc.9 byteorder.9 be64enc.9 +MLINKS+=byteorder.9 be16dec.9 byteorder.9 be32dec.9 byteorder.9 be64dec.9 +MLINKS+=byteorder.9 le16enc.9 byteorder.9 le32enc.9 byteorder.9 le64enc.9 +MLINKS+=byteorder.9 le16dec.9 byteorder.9 le32dec.9 byteorder.9 le64dec.9 + +MLINKS+=condvar.9 cv_init.9 condvar.9 cv_destroy.9 +MLINKS+=condvar.9 cv_wait.9 condvar.9 cv_wait_sig.9 +MLINKS+=condvar.9 cv_timedwait.9 condvar.9 cv_timedwait_sig.9 +MLINKS+=condvar.9 cv_signal.9 condvar.9 cv_broadcast.9 +MLINKS+=condvar.9 cv_waitq_remove.9 condvar.9 cv_waitq_empty.9 +MLINKS+=condvar.9 cv_wmesg.9 + +MLINKS+=lock.9 lockinit.9 lock.9 lockdestroy.9 +MLINKS+=lock.9 lockcount.9 lock.9 lockmgr.9 +MLINKS+=lock.9 lockstatus.9 lock.9 lockmgr_printinfo.9 MLINKS+=microtime.9 getmicrotime.9 MLINKS+=microtime.9 nanotime.9 @@ -235,11 +274,16 @@ MLINKS+=microuptime.9 getmicrouptime.9 MLINKS+=microuptime.9 nanouptime.9 MLINKS+=microuptime.9 getnanouptime.9 -MLINKS+= printf.9 uprintf.9 -MLINKS+= printf.9 tprintf.9 +MLINKS+=printf.9 uprintf.9 +MLINKS+=printf.9 tprintf.9 MLINKS+=suser.9 suser_cred.9 +MLINKS+=sx.9 sx_init.9 sx.9 sx_destroy.9 sx.9 sx_slock.9 sx.9 sx_xlock.9 +MLINKS+=sx.9 sx_try_slock.9 sx.9 sx_try_xlock.9 sx.9 sx_sunlock.9 +MLINKS+=sx.9 sx_xunlock.9 sx.9 sx_try_upgrade.9 sx.9 sx_downgrade.9 +MLINKS+=sx.9 sx_assert.9 sx.9 SX_SYSINIT.9 + MLINKS+=sysctl_add_oid.9 sysctl_remove_oid.9 MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_OID.9 MLINKS+=sysctl_add_oid.9 SYSCTL_ADD_NODE.9 @@ -271,6 +315,19 @@ MLINKS+=sbuf.9 sbuf_delete.9 MLINKS+=sbuf.9 sbuf_trim.9 MLINKS+=sbuf.9 sbuf_vprintf.9 +MLINKS+=sema.9 sema_init.9 sema.9 sema_destroy.9 sema.9 sema_post.9 +MLINKS+=sema.9 sema_wait.9 sema.9 sema_timedwait.9 +MLINKS+=sema.9 sema_trywait.9 sema.9 sema_value.9 + +MLINKS+=taskqueue.9 TASKQUEUE_DECLARE.9 +MLINKS+=taskqueue.9 TASKQUEUE_DEFINE.9 +MLINKS+=taskqueue.9 TASK_INIT.9 +MLINKS+=taskqueue.9 taskqueue_create.9 +MLINKS+=taskqueue.9 taskqueue_enqueue.9 +MLINKS+=taskqueue.9 taskqueue_find.9 +MLINKS+=taskqueue.9 taskqueue_free.9 +MLINKS+=taskqueue.9 taskqueue_run.9 + MLINKS+=zone.9 uma.9 MLINKS+=zone.9 uma_zalloc.9 MLINKS+=zone.9 uma_zcreate.9 diff --git a/ja_JP.eucJP/man/man9/bus_activate_resource.9 b/ja_JP.eucJP/man/man9/bus_activate_resource.9 new file mode 100644 index 0000000000..68669c9892 --- /dev/null +++ b/ja_JP.eucJP/man/man9/bus_activate_resource.9 @@ -0,0 +1,95 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/bus_activate_resource.9,v 1.3 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd March 28, 2003 +.Dt BUS_ACTIVATE_RESOURCE 9 +.Os +.Sh ̾¾Î +.Nm bus_activate_resource , bus_deactivate_resource +.Nd ¥ê¥½¡¼¥¹¤Î³èÀ²½¤Þ¤¿¤ÏÈó³èÀ²½ +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Pp +.In machine/bus.h +.In sys/rman.h +.In machine/resource.h +.Ft int +.Fo bus_activate_resource +.Fa "device_t dev" "int type" "int rid" "struct resource *r" +.Fc +.Ft int +.Fo bus_deactivate_resource +.Fa "device_t dev" "int type" "int rid" "struct resource *r" +.Fc +.Sh ²òÀâ +¤³¤ì¤é¤Î´Ø¿ô¤Ï¡¢¤½¤ÎÁ°¤Ë³ä¤êÅö¤Æ¤é¤ì¤¿¥ê¥½¡¼¥¹¤ò³èÀ²½¤Þ¤¿¤ÏÈó³èÀ²½¤·¤Þ¤¹¡£ +°ìÈÌŪ¤Ë¡¢¥Ð¥¹¥É¥é¥¤¥Ð¤¬¤½¤Î¥ê¥½¡¼¥¹¤ò¥Ç¥Ð¥¤¥¹¶õ´Ö¤Ë¥Þ¥Ã¥×¤Ç¤¤ë¤è¤¦¤Ë +¤¹¤ë¤¿¤á¡¢¥ê¥½¡¼¥¹¤Ï¥É¥é¥¤¥Ð¤Ë¤è¤Ã¤Æ¥¢¥¯¥»¥¹¤µ¤ì¤ëÁ°¤Ë³èÀ²½¤µ¤ì¤Ê¤±¤ì¤Ð +¤Ê¤ê¤Þ¤»¤ó¡£ +.Pp +°ú¿ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ +.Bl -tag -width indent +.It Fa dev +¤½¤Î¥ê¥½¡¼¥¹¤Î½êͤòÍ׵᤹¤ë¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£ +³ä¤êÅö¤Æ¤ÎÁ°¤Ë¤Ï¡¢¤½¤Î¥ê¥½¡¼¥¹¤Ï¿Æ¤Î¥Ð¥¹¤Ë¤è¤Ã¤Æ½êͤµ¤ì¤Æ¤¤¤Þ¤¹¡£ +.It Fa type +³ä¤êÅö¤Æ¤¿¤¤¥ê¥½¡¼¥¹¤Î·¿¤Ç¤¹¡£ +¤³¤ì¤Ï²¼µ¤ÎÃæ¤Î 1 ¤Ä¤Ç¤¹¡£ +.Pp +.Bl -tag -width ".Dv SYS_RES_MEMORY" -compact +.It Dv SYS_RES_IRQ +IRQ ¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.It Dv SYS_RES_DRQ +ISA DMA ¥é¥¤¥ó¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.It Dv SYS_RES_IOPORT +I/O ¥Ý¡¼¥È¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.It Dv SYS_RES_MEMORY +I/O ¥á¥â¥ê¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.El +.It Fa rid +³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥ê¥½¡¼¥¹¤ò¼±Ê̤¹¤ë¥Ð¥¹ÆÃͤΥϥó¥É¥ë¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£ +.It Fa r +.Xr bus_alloc_resource 9 +¤Ë¤è¤Ã¤ÆÊÖ¤µ¤ì¤ë +.Vt "struct resource" +¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£ +.El +.Sh Ìá¤êÃÍ +À®¸ù»þ¤Ë¤Ï 0 ¤¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¥¨¥é¡¼¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr bus_alloc_resource 9 , +.Xr device 9 , +.Xr driver 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Warner Losh Aq imp@FreeBSD.org +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/bus_child_present.9 b/ja_JP.eucJP/man/man9/bus_child_present.9 new file mode 100644 index 0000000000..710c23a2af --- /dev/null +++ b/ja_JP.eucJP/man/man9/bus_child_present.9 @@ -0,0 +1,90 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/bus_child_present.9,v 1.2 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd March 27, 2003 +.Dt BUS_CHILD_PRESENT 9 +.Os +.Sh ̾¾Î +.Nm bus_child_present +.Nd ¥Ð¥¹¥É¥é¥¤¥Ð¤Ø¤Î¥Ç¥Ð¥¤¥¹¤¬¼ÂºÝ¤Ë¸ºß¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤Î³Îǧ¤ÎÌ䤤¹ç¤ï¤» +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Pp +.In machine/bus.h +.In sys/rman.h +.In machine/resource.h +.Ft int +.Fn bus_child_present "device_t dev" +.Sh ²òÀâ +.Fn bus_child_present +´Ø¿ô¤Ï¡¢ +.Fa dev +¤Î¿Æ¥Ç¥Ð¥¤¥¹¥É¥é¥¤¥Ð¤ËÂФ·¡¢ +.Fa dev +¤Çµ½Ò¤µ¤ì¤ë¥Ï¡¼¥É¥¦¥§¥¢¤¬¸½»þÅÀ¤Ç¤¤¤Þ¤À¤ËʪÍýŪ¤Ë¥¢¥¯¥»¥¹²Äǽ¤Ç¤¢¤ë¤« +¤É¤¦¤«¤ò¥Á¥§¥Ã¥¯¤¹¤ë¤³¤È¤òÍ׵ᤷ¤Þ¤¹¡£ +ÍøÍѲÄǽ¤Î³µÇ°¤Ï¥Ð¥¹Ëè¤Ë°Û¤Ê¤ê¤Þ¤¹¤¬¡¢ +°ìÈÌŪ¤Ë¤ÏÍøÍѤǤ¤Ê¤¤¥Ï¡¼¥É¥¦¥§¥¢¤È¤Ï¡¢ÍøÍѤǤ¤ë¤È¤¤Ë¤Ï +.Fn bus_space* +¥á¥½¥Ã¥É¤ò²ð¤·¤Æ¥¢¥¯¥»¥¹¤Ç¤¤ë¤â¤Î¤¬¡¢ +.Fn bus_space* +¥á¥½¥Ã¥É¤ò²ð¤·¤Æ¥¢¥¯¥»¥¹¤Ç¤¤Ê¤¤¤â¤Î¤ò»Ø¤·¤Þ¤¹¡£ +.Pp +¤³¤ì¤Ï +.Dq ¤³¤Î¥Ç¥Ð¥¤¥¹¤Ï»Ò¥Ç¥Ð¥¤¥¹¤ò»ý¤Ã¤Æ¤¤¤Þ¤¹¤«? +¤È¤¤¤¦¼ÁÌä¤ò¿Ò¤Í¤Þ¤»¤ó¡£ +¤³¤Î¼ÁÌä¤Ï +.Xr device_get_children 9 +¤Ë¤è¤Ã¤Æ¤è¤êÎɤ¯²óÅú¤µ¤ì¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ +.Sh Ìá¤êÃÍ +0 ¤ÎÌá¤êÃͤϥ·¥¹¥Æ¥àÆâ¤Ë¤½¤Î¥Ç¥Ð¥¤¥¹¤¬Â¸ºß¤·¤Ê¤¤¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ +0 ¤Ç¤Ï¤Ê¤¤Ìá¤êÃͤϥ·¥¹¥Æ¥àÆâ¤Ë¤½¤Î¥Ç¥Ð¥¤¥¹¤¬Â¸ºß¤¹¤ë¤³¤È¡¢¤Þ¤¿¤Ï +¤½¤Î¥Ç¥Ð¥¤¥¹¤Î¾õÂÖ¤¬·èÄê¤Ç¤¤Ê¤¤¤³¤È¤ò¼¨¤·¤Þ¤¹¡£ +.Sh »ÈÍÑÎã +¤³¤ì¤Ï¤¢¤ë¥µ¥ó¥×¥ë¥³¡¼¥É¤Ç¤¹¡£ +.Xr dc 4 +¥Ç¥Ð¥¤¥¹¤¬¼ÂºÝ¤Ë¸ºß¤¹¤ë»þ¤Ë¡¢stop ¤ò¸Æ¤Ó½Ð¤¹¤À¤±¤Ç¤¹¡£ +.Bd -literal -offset indent +device_t dev; +dc_softc *sc; + +sc = device_get_softc(dev); +if (bus_child_present(dev)) + dc_stop(sc); +.Ed +.Sh ´ØÏ¢¹àÌÜ +.Xr device 9 , +.Xr driver 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Warner Losh Aq imp@FreeBSD.org +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/bus_set_resource.9 b/ja_JP.eucJP/man/man9/bus_set_resource.9 new file mode 100644 index 0000000000..70e19c2fb5 --- /dev/null +++ b/ja_JP.eucJP/man/man9/bus_set_resource.9 @@ -0,0 +1,95 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/bus_set_resource.9,v 1.2 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd March 29, 2003 +.Dt BUS_SET_RESOURCE 9 +.Os +.Sh ̾¾Î +.Nm bus_set_resource +.Nd "³ÎÄꤷ¤¿¥ê¥½¡¼¥¹¤ÈÍ¿¤¨¤é¤ì¤¿¥ê¥½¡¼¥¹ ID ¤È¤Î´ØÏ¢ÉÕ¤±" +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Pp +.In machine/bus.h +.In sys/rman.h +.In machine/resource.h +.Ft int +.Fo bus_set_resource +.Fa "device_t dev" "int type" "int rid" "u_long start" "u_long count" +.Fc +.Sh ²òÀâ +.Fn bus_set_resource +´Ø¿ô¤Ï¡¢ +.Fa type , rid +¥Ú¥¢¤Ç»ØÄꤵ¤ì¤ë¥ê¥½¡¼¥¹¤Î¤¦¤Á¡¢»ØÄꤵ¤ì¤¿³«»Ï¥¢¥É¥ì¥¹¤Î¤â¤Î¤òŤµ +.Fa count +¤ËÀßÄꤷ¤Þ¤¹¡£ +Ä̾ï¤Ï¡¢¥¯¥é¥¤¥¢¥ó¥È¥É¥é¥¤¥Ð¤Ï¤³¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò»ÈÍѤ·¤Þ¤»¤ó¡£ +¤·¤«¤·¤Ê¤¬¤é¡¢¥Ð¥¹¥É¥é¥¤¥Ð¤Ï¥¯¥é¥¤¥¢¥ó¥È¥É¥é¥¤¥Ð¤¬»ÈÍѤ¹¤ë¥ê¥½¡¼¥¹¤ò +ÀßÄꤹ¤ë¤¿¤á¤Ë¤·¤Ð¤·¤Ð»ÈÍѤ·¤Þ¤¹¡£ +.Pp +°ú¿ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ +.Bl -tag -width indent +.It Fa dev +¥ê¥½¡¼¥¹¤òÀßÄꤹ¤ë¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£ +.It Fa type +³ä¤êÅö¤Æ¤¿¤¤¥ê¥½¡¼¥¹¤Î·¿¤Ç¤¹¡£ +¤³¤ì¤Ï²¼µ¤ÎÃæ¤Î 1 ¤Ä¤Ç¤¹¡£ +.Pp +.Bl -tag -width ".Dv SYS_RES_MEMORY" -compact +.It Dv SYS_RES_IRQ +IRQ ¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.It Dv SYS_RES_DRQ +ISA DMA ¥é¥¤¥ó¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.It Dv SYS_RES_IOPORT +I/O ¥Ý¡¼¥È¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.It Dv SYS_RES_MEMORY +I/O ¥á¥â¥ê¤Î¥ê¥½¡¼¥¹¤Ç¤¹¡£ +.El +.It Fa rid +³ä¤êÅö¤Æ¤é¤ì¤Æ¤¤¤ë¥ê¥½¡¼¥¹¤ò¼±Ê̤¹¤ë¥Ð¥¹ÆÃͤΥϥó¥É¥ë¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£ +.It Fa start +¤³¤Î¥ê¥½¡¼¥¹¤Î³«»Ï¥¢¥É¥ì¥¹¤Ç¤¹¡£ +.It Fa count +¤³¤Î¥ê¥½¡¼¥¹¤ÎŤµ¤Ç¤¹¡£ +.El +.Sh Ìá¤êÃÍ +À®¸ù»þ¤Ë¤Ï 0 ¤¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¥¨¥é¡¼¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr bus_alloc_resource 9 , +.Xr bus_get_resource 9 , +.Xr device 9 , +.Xr driver 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Warner Losh Aq imp@FreeBSD.org +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/byteorder.9 b/ja_JP.eucJP/man/man9/byteorder.9 new file mode 100644 index 0000000000..00ca47d476 --- /dev/null +++ b/ja_JP.eucJP/man/man9/byteorder.9 @@ -0,0 +1,167 @@ +.\" Copyright (c) 2002 Mike Barcroft <mike@FreeBSD.org> +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/byteorder.9,v 1.6 2003/05/21 17:32:55 ru Exp % +.\" +.\" $FreeBSD$ +.Dd April 29, 2002 +.Dt BYTEORDER 9 +.Os +.Sh ̾¾Î +.Nm bswap16 , bswap32 , bswap64 , +.Nm be16toh , be32toh , be64toh , htobe16 , htobe32 , htobe64 , +.Nm htole16 , htole32 , htole64 , le16toh , le32toh , le64toh , +.Nm be16enc , be16dec , be32enc , be32dec , be64enc , be64dec , +.Nm le16enc , le16dec , le32enc , le32dec , le64enc , le64dec +.Nd ¥Ð¥¤¥È¥ª¡¼¥À¤ÎÁàºî +.Sh ½ñ¼° +.In sys/endian.h +.Ft uint16_t +.Fn bswap16 "uint16_t int16" +.Ft uint32_t +.Fn bswap32 "uint32_t int32" +.Ft uint64_t +.Fn bswap64 "uint64_t int64" +.Ft uint16_t +.Fn be16toh "uint16_t big16" +.Ft uint32_t +.Fn be32toh "uint32_t big32" +.Ft uint64_t +.Fn be64toh "uint64_t big64" +.Ft uint16_t +.Fn htobe16 "uint16_t host16" +.Ft uint32_t +.Fn htobe32 "uint32_t host32" +.Ft uint64_t +.Fn htobe64 "uint64_t host64" +.Ft uint16_t +.Fn htole16 "uint16_t host16" +.Ft uint32_t +.Fn htole32 "uint32_t host32" +.Ft uint64_t +.Fn htole64 "uint64_t host64" +.Ft uint16_t +.Fn le16toh "uint16_t little16" +.Ft uint32_t +.Fn le32toh "uint32_t little32" +.Ft uint64_t +.Fn le64toh "uint64_t little64" +.Ft uint16_t +.Fn be16dec "const void *" +.Ft uint32_t +.Fn be32dec "const void *" +.Ft uint64_t +.Fn be64dec "const void *" +.Ft uint16_t +.Fn le16dec "const void *" +.Ft uint32_t +.Fn le32dec "const void *" +.Ft uint64_t +.Fn le64dec "const void *" +.Ft void +.Fn be16enc "void *" uint16_t +.Ft void +.Fn be32enc "void *" uint32_t +.Ft void +.Fn be64enc "void *" uint64_t +.Ft void +.Fn le16enc "void *" uint16_t +.Ft void +.Fn le32enc "void *" uint32_t +.Ft void +.Fn le64enc "void *" uint64_t +.Sh ²òÀâ +.Fn bswap16 , +.Fn bswap32 +¤ª¤è¤Ó +.Fn bswap64 +´Ø¿ô¤Ï¥Ð¥¤¥È¥ª¡¼¥À¤¬¸ò´¹¤µ¤ì¤¿À°¿ô¤òÊÖ¤·¤Þ¤¹¡£ +¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢ +¤½¤Î¿ôÃͤϥê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥Ð¥¤¥È¥ª¡¼¥À¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ +¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢ +¤½¤Î¿ôÃͤϥӥå°¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥Ð¥¤¥È¥ª¡¼¥À¤ËÊÑ´¹¤µ¤ì¤Þ¤¹¡£ +.Pp +.Fn be16toh , +.Fn be32toh +¤ª¤è¤Ó +.Fn be64toh +´Ø¿ô¤Ï¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥Ð¥¤¥È¥ª¡¼¥À¤ÎÀ°¿ô¤ò¥·¥¹¥Æ¥à¤Î¥Í¥¤¥Æ¥£¥Ö¤Ê +¥Ð¥¤¥È¥ª¡¼¥À¤ËÊÑ´¹¤·¤ÆÊÖ¤·¤Þ¤¹¡£ +¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢Ìá¤êÃͤϰú¿ô¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ +.Pp +.Fn le16toh , +.Fn le32toh +¤ª¤è¤Ó +.Fn le64toh +´Ø¿ô¤Ï¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥Ð¥¤¥È¥ª¡¼¥À¤ÎÀ°¿ô¤ò¥·¥¹¥Æ¥à¤Î¥Í¥¤¥Æ¥£¥Ö¤Ê +¥Ð¥¤¥È¥ª¡¼¥À¤ËÊÑ´¹¤·¤ÆÊÖ¤·¤Þ¤¹¡£ +¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢Ìá¤êÃͤϰú¿ô¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ +.Pp +.Fn htobe16 , +.Fn htobe32 +¤ª¤è¤Ó +.Fn htobe64 +´Ø¿ô¤Ï¥·¥¹¥Æ¥à¤Î¥Í¥¤¥Æ¥£¥Ö¤Ê¥Ð¥¤¥È¥ª¡¼¥À¤ÎÀ°¿ô¤ò¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤Î +¥Ð¥¤¥È¥ª¡¼¥À¤ËÊÑ´¹¤·¤ÆÊÖ¤·¤Þ¤¹¡£ +¥Ó¥Ã¥°¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢Ìá¤êÃͤϰú¿ô¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ +.Pp +.Fn htole16 , +.Fn htole32 +¤ª¤è¤Ó +.Fn htole64 +´Ø¿ô¤Ï¥·¥¹¥Æ¥à¤Î¥Í¥¤¥Æ¥£¥Ö¤Ê¥Ð¥¤¥È¥ª¡¼¥À¤ÎÀ°¿ô¤ò¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î +¥Ð¥¤¥È¥ª¡¼¥À¤ËÊÑ´¹¤·¤ÆÊÖ¤·¤Þ¤¹¡£ +¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¥·¥¹¥Æ¥à¾å¤Ç¤Ï¡¢Ìá¤êÃͤϰú¿ô¤ÈƱ¤¸¤Ë¤Ê¤ê¤Þ¤¹¡£ +.Pp +.Fn be16enc , +.Fn be16dec , +.Fn be32enc , +.Fn be32dec , +.Fn be64enc , +.Fn be64dec , +.Fn le16enc , +.Fn le16dec , +.Fn le32enc , +.Fn le32dec , +.Fn le64enc , +¤ª¤è¤Ó +.Fn le64dec +´Ø¿ô¤Ï¥Ó¥Ã¥°/¥ê¥È¥ë¥¨¥ó¥Ç¥£¥¢¥ó¤Î¤¢¤é¤æ¤ë¥¢¥é¥¤¥á¥ó¥È¤Î¡¢ +À°¿ô¤«¤é¥Ð¥¤¥È¥¹¥È¥ê¥ó¥°¤Ø¥¨¥ó¥³¡¼¥É¤ª¤è¤Ó +¥Ð¥¤¥È¥³¡¼¥É¤«¤éÀ°¿ô¤Ø¥Ç¥³¡¼¥É¤ò¹Ô¤¤¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr byteorder 3 +.Sh Îò»Ë +.Fn hto* +¤ª¤è¤Ó +.Fn *toh +´Ø¿ô¤Ï +.Fx 5.0 +¤Ç¤Ï¤¸¤á¤ÆÅо줷¡¢¸µ¡¹¤Ï +.Nx +¥×¥í¥¸¥§¥¯¥È¤Ë¤è¤Ã¤Æ³«È¯¤µ¤ì¤Æ¤¤¤Þ¤·¤¿¡£ +.Pp +¥¨¥ó¥³¡¼¥É/¥Ç¥³¡¼¥É´Ø¿ô¤Ï +.Fx 5.1 +¤Ç¤Ï¤¸¤á¤ÆÅо줷¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/cdevsw_add.9 b/ja_JP.eucJP/man/man9/cdevsw_add.9 new file mode 100644 index 0000000000..5fd0be5c36 --- /dev/null +++ b/ja_JP.eucJP/man/man9/cdevsw_add.9 @@ -0,0 +1,66 @@ +.\" +.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/cdevsw_add.9,v 1.5 2001/07/13 09:09:52 ru Exp % +.\" +.\" $FreeBSD$ +.Dd July 9, 2001 +.Dt CDEVSW_ADD 9 +.Os +.Sh ̾¾Î +.Nm cdevsw_add +.Nd +.Vt cdevsw +¥¨¥ó¥È¥ê¤ÎÄɲà +.Sh ½ñ¼° +.In sys/param.h +.In sys/conf.h +.Ft int +.Fn cdevsw_add "struct cdevsw *newentry" +.Sh ²òÀâ +.Fn cdevsw_add +´Ø¿ô¤Ï¡¢¤½¤Î¥á¥¸¥ã¡¼Èֹ椬 0 °Ê¾å¤Ç¤«¤Ä +.Dv NUMCDEVSW +¤è¤ê¾®¤µ¤¤¾ì¹ç¤Ë¡¢ +.Fa newentry +¥¨¥ó¥È¥ê¤ò +.Va cdevsw +¥Æ¡¼¥Ö¥ë¤ËÄɲä·¤Þ¤¹¡£ +.Pp +°ú¿ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ +.Bl -tag -width ".Fa newentry" +.It Fa newentry +¥Æ¡¼¥Ö¥ë¤ËÄɲ䵤ì¤ë¤Ù¤¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£ +.El +.Sh Ìá¤êÃÍ +À®¸ù»þ¤Ë¤Ï 0 ¤ÎÃͤ¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï +¥á¥¸¥ã¡¼Èֹ椬͸ú¤ÊÈϰϤˤϤʤ¤¤³¤È¤ò¼¨¤¹ +.Er EINVAL +¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Chad David Aq davidc@acns.ab.ca +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/cdevsw_remove.9 b/ja_JP.eucJP/man/man9/cdevsw_remove.9 new file mode 100644 index 0000000000..9063671c09 --- /dev/null +++ b/ja_JP.eucJP/man/man9/cdevsw_remove.9 @@ -0,0 +1,66 @@ +.\" +.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/cdevsw_remove.9,v 1.5 2001/07/13 09:09:52 ru Exp % +.\" +.\" $FreeBSD$ +.Dd July 9, 2001 +.Dt CDEVSW_REMOVE 9 +.Os +.Sh ̾¾Î +.Nm cdevsw_remove +.Nd +.Vt cdevsw +¥¨¥ó¥È¥ê¤Îºï½ü +.Sh ½ñ¼° +.In sys/param.h +.In sys/conf.h +.Ft int +.Fn cdevsw_remove "struct cdevsw *oldentry" +.Sh ²òÀâ +.Fn cdevsw_remove +´Ø¿ô¤Ï¡¢¤½¤Î¥á¥¸¥ã¡¼Èֹ椬 0 °Ê¾å¤Ç¤«¤Ä +.Dv NUMCDEVSW +¤è¤ê¾®¤µ¤¤¾ì¹ç¤Ë¡¢ +.Fa oldentry +¥¨¥ó¥È¥ê¤ò +.Va cdevsw +¥Æ¡¼¥Ö¥ë¤«¤éºï½ü¤·¤Þ¤¹¡£ +.Pp +°ú¿ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ +.Bl -tag -width ".Fa oldentry" +.It Fa oldentry +¥Æ¡¼¥Ö¥ë¤«¤éºï½ü¤µ¤ì¤ë¤Ù¤¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£ +.El +.Sh Ìá¤êÃÍ +À®¸ù»þ¤Ë¤Ï 0 ¤ÎÃͤ¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï +¥á¥¸¥ã¡¼Èֹ椬͸ú¤ÊÈϰϤˤϤʤ¤¤³¤È¤ò¼¨¤¹ +.Er EINVAL +¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Chad David Aq davidc@acns.ab.ca +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/condvar.9 b/ja_JP.eucJP/man/man9/condvar.9 new file mode 100644 index 0000000000..156af4e652 --- /dev/null +++ b/ja_JP.eucJP/man/man9/condvar.9 @@ -0,0 +1,212 @@ +.\" +.\" Copyright (C) 2000 Jason Evans <jasone@FreeBSD.org>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/condvar.9,v 1.8 2002/03/28 12:51:06 dd Exp % +.\" +.\" $FreeBSD$ +.Dd December 11, 2000 +.Dt CONDVAR 9 +.Os +.Sh ̾¾Î +.Nm condvar , +.Nm cv_init , +.Nm cv_destroy , +.Nm cv_wait , +.Nm cv_wait_sig , +.Nm cv_timedwait , +.Nm cv_timedwait_sig , +.Nm cv_signal , +.Nm cv_broadcast , +.Nm cv_waitq_remove , +.Nm cv_waitq_empty , +.Nm cv_wmesg +.Nd ¥«¡¼¥Í¥ë¾õÂÖÊÑ¿ô +.Sh ½ñ¼° +.In sys/param.h +.In sys/proc.h +.In sys/condvar.h +.Ft void +.Fn cv_init "struct cv *cvp" "const char *desc" +.Ft void +.Fn cv_destroy "struct cv *cvp" +.Ft void +.Fn cv_wait "struct cv *cvp" "struct mtx *mp" +.Ft int +.Fn cv_wait_sig "struct cv *cvp" "struct mtx *mp" +.Ft int +.Fn cv_timedwait "struct cv *cvp" "struct mtx *mp" "int timo" +.Ft int +.Fn cv_timedwait_sig "struct cv *cvp" "struct mtx *mp" "int timo" +.Ft void +.Fn cv_signal "struct cv *cvp" +.Ft void +.Fn cv_broadcast "struct cv *cvp" +.Ft void +.Fn cv_waitq_remove "struct thread *td" +.Ft int +.Fn cv_waitq_empty "struct cv *cvp" +.Ft const char * +.Fn cv_wmesg "struct cv *cvp" +.Sh ²òÀâ +¾õÂÖÊÑ¿ô¤Ï mutex ¤ÈÏ¢·È¤·¤Æ¾õÂÖ¤ÎȯÀ¸¤òÂԤĤ¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ +¾õÂÖÊÑ¿ô¤Ï +.Fn cv_init +¤ò»ÈÍѤ·¤ÆºîÀ®¤µ¤ì¤Þ¤¹¡£ +¤³¤³¤Ç +.Fa cvp +¤Ï +.Vt struct cv +¤Î¤¿¤á¤ÎÎΰè¤Ø¤Î¥Ý¥¤¥ó¥¿¡¢ +.Fa desc +¤Ï¤½¤Î¾õÂÖÊÑ¿ô¤òÀâÌÀ¤¹¤ë¥Ì¥ë¤Ç½ªÃ¼¤µ¤ì¤¿Ê¸»úÎó¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£ +¾õÂÖÊÑ¿ô¤Ï +.Fn cv_destroy +¤ò»ÈÍѤ·¤ÆÇ˲õ¤µ¤ì¤Þ¤¹¡£ +¥¹¥ì¥Ã¥É¤Ï +.Fn cv_wait , +.Fn cv_wait_sig , +.Fn cv_timedwait +¤Þ¤¿¤Ï +.Fn cv_timedwait_sig +¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ¡¢¾õÂÖÊÑ¿ô¾å¤Ç¥¦¥§¥¤¥È¤·¤Þ¤¹¡£ +¥¹¥ì¥Ã¥É¤Ï¡¢ +1 ¤Ä¤Î¥¦¥§¥¤¥È¤Î¥Ö¥í¥Ã¥¯¤ò²ò½ü¤¹¤ë¤¿¤á¤Ë¤Ï +.Fn cv_signal +¤Î¡¢¤Þ¤¿¤ÏÁ´¤Æ¤Î¥¦¥§¥¤¥È¤Î¥Ö¥í¥Ã¥¯¤ò²ò½ü¤¹¤ë¤Ë¤Ï +.Fn cv_broadcast +¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ¥¦¥§¥¤¥È¤Î¥Ö¥í¥Ã¥¯²ò½ü¤ò¹Ô¤¤¤Þ¤¹¡£ +.Fn cv_waitq_remove +¤Ï¾õÂÖÊÑ¿ô¤Î¥¦¥§¥¤¥È¥¥å¡¼¤«¤é¥¦¥§¥¤¥È¤·¤Æ¤¤¤ë¥¹¥ì¥Ã¥É¤ò¼è¤ê½ü¤¤Þ¤¹¡£ +.Fn cv_waitq_empty +¤Ï +.Fa cvp +¾å¤Ë¥¦¥§¥¤¥È¤·¤Æ¤¤¤ë¤â¤Î¤¬Â¸ºß¤·¤Æ¤¤¤ë¤«¤É¤¦¤«¤òÊó¹ð¤·¤Þ¤¹¡£ +.Fn cv_wmesg +¤Ï +.Fn cv_init +¤Ø¤ÎºÇ½é¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤ÆÀßÄꤵ¤ì¤¿ +.Fa cvp +¤ÎÀâÌÀʸ»úÎó¤òÊÖ¤·¤Þ¤¹¡£ +.Pp +¥¹¥ì¥Ã¥É¤Ï +.Fn cv_wait , +.Fn cv_wait_sig , +.Fn cv_timedwait +¤Þ¤¿¤Ï +.Fn cv_timedwait_sig +¤Î¸Æ¤Ó½Ð¤·¤ÎÁ°¤Ë +.Fa mp +¤òÊÝ»ý¤·¤Ê¤±¤ì¤Ð¤Ê¤·¤Þ¤»¤ó¡£ +¥¹¥ì¥Ã¥É¤¬¤¢¤ë¾õÂ֤ǥ¦¥§¥¤¥È¤¹¤ë¤È¤¤Ë¡¢ +.Fa mp +¤Ï¤½¤Î¥¹¥ì¥Ã¥É¤¬¥Ö¥í¥Ã¥¯¤µ¤ì¤ëÁ°¤ËÉÔ²Äʬ¤Ë³«Êü¤µ¤ì¡¢¤½¤ì¤«¤é +¤½¤Î´Ø¿ô¸Æ¤Ó½Ð¤·¤¬Ìá¤ëÁ°¤ËÉÔ²Äʬ¤ËºÆ³ÍÆÀ¤µ¤ì¤Þ¤¹¡£ +Á´¤Æ¤Î¥¦¥§¥¤¥È¤¹¤ë¤â¤Î¤Ï +.Fa cvp +¤ÈÏ¢·È¤·¤Æ¤¤¤ëƱ°ì¤Î +.Fa mp +¤òÅϤµ¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ +¥¹¥ì¥Ã¥É¤Ï +.Fn cv_signal +¤Þ¤¿¤Ï +.Fn cv_broadcast +¤ò¸Æ¤Ó½Ð¤·¤Æ¤¤¤ë´Ö¤Ï¡¢¤¿¤È¤¨°ú¿ô¤È¤·¤ÆÅϤ·¤Æ¤¤¤Ê¤¤¤È¤·¤Æ¤â¡¢ +.Fa mp +¤òÊÝ»ý¤·¤Ê¤±¤ì¤Ð¤Ê¤ê¤Þ¤»¤ó¡£ +.Pp +.Fn cv_wait , +.Fn cv_wait_sig , +.Fn cv_timedwait +¤ª¤è¤Ó +.Fn cv_timedwait_sig +¤Î¥Ö¥í¥Ã¥¯¤¬²ò½ü¤µ¤ì¤¿»þ¤Ë¡¢¤³¤ì¤é¤Î¸Æ¤Ó½Ð¤·¥¹¥ì¥Ã¥É¤¬¼Â¹Ô²Äǽ¤Ë¤µ¤ì¤Þ¤¹¡£ +.Fn cv_timedwait +¤ª¤è¤Ó +.Fn cv_timedwait_sig +¤Ï¥Ö¥í¥Ã¥¯¤¬²ò½ü¤µ¤ì +.Er EWOULDBLOCK +¤òÊÖ¤¹Á°¤ËºÇĹ +.Fa timo +/ +.Dv HZ +Éô֥¦¥§¥¤¥È¤·¤Þ¤¹¡£ +¤½¤¦¤Ç¤Ê¤±¤ì¤Ð¡¢0 ¤òÊÖ¤·¤Þ¤¹¡£ +.Fn cv_wait_sig +¤ª¤è¤Ó +.Fn cv_timedwait_sig +¤Ï¡¢¥·¥°¥Ê¥ë¤¬¤È¤é¤¨¤é¤ì¤¿¾ì¹ç¤Ë¤Ï̤´°¤Î¤Þ¤Þ +.Er EINTR +¤Þ¤¿¤Ï +.Er ERESTART +¤ÎÃͤÇÌá¤ê¤Þ¤¹¡£ +¤Þ¤¿¤Ï¡¢ +.Fn cv_signal +¤Þ¤¿¤Ï +.Fn cv_broadcast +¤ÇÄÌÃΤò¼õ¤±¤¿¾ì¹ç¤Ë¤Ï 0 ¤ÎÃͤÇÌá¤ê¤Þ¤¹¡£ +.Sh Ìá¤êÃÍ +À®¸ù¤Î¾ì¹ç¤Ë¤Ï¡¢ +.Fn cv_wait_sig , +.Fn cv_timedwait +¤ª¤è¤Ó +.Fn cv_timedwait_sig +¤Ï 0 ¤òÊÖ¤·¤Þ¤¹¡£ +¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢0 ¤Ç¤Ï¤Ê¤¤¥¨¥é¡¼¥³¡¼¥É¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Pp +.Fn cv_waitq_empty +¤Ï¡¢¥¦¥§¥¤¥È¥¥å¡¼¾å¤Ë¥¹¥ì¥Ã¥É¤¬Â¸ºß¤·¤Ê¤¤¾ì¹ç¤Ë¤Ï +¤Ï 0 ¤Ç¤Ï¤Ê¤¤Ãͤò¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï 0 ¤ò¡¢ÊÖ¤·¤Þ¤¹¡£ +.Pp +.Fn cv_wmesg +¤Ï +.Fn cv_init +¤ËÅϤµ¤ì¤¿ÀâÌÀʸ»úÎó¤òÊÖ¤·¤Þ¤¹¡£ +.Sh ¥¨¥é¡¼ +.Fn cv_wait_sig +¤ª¤è¤Ó +.Fn cv_timedwait_sig +¤Ï°Ê²¼¤Î¾ì¹ç¤Ë¼ºÇÔ¤·¤Þ¤¹¡£ +.Bl -tag -width Er +.It Bq Er EINTR +¥Þ¥¹¥¯¤µ¤ì¤Æ¤¤¤Ê¤¤¥·¥°¥Ê¥ë¤¬¤Ä¤«¤Þ¤ê¤Þ¤·¤¿¡£ +.It Bq Er ERESTART +¥Þ¥¹¥¯¤µ¤ì¤Æ¤¤¤ë¥·¥°¥Ê¥ë¤¬¤Ä¤«¤Þ¤ê¤Þ¤·¤¿¡£ +.El +.Pp +.Fn cv_timedwait +¤ª¤è¤Ó +.Fn cv_timedwait_sig +¤Ï°Ê²¼¤Î¾ì¹ç¤Ë¼ºÇÔ¤·¤Þ¤¹¡£ +.Bl -tag -width Er +.It Bq Er EWOULDBLOCK +¥¿¥¤¥à¥¢¥¦¥È¤¬Ëþλ¤·¤Þ¤·¤¿¡£ +.El +.Sh ´ØÏ¢¹àÌÜ +.Xr msleep 9 , +.Xr mtx_pool 9 , +.Xr mutex 9 , +.Xr sema 9 , +.Xr sx 9 diff --git a/ja_JP.eucJP/man/man9/device_get_name.9 b/ja_JP.eucJP/man/man9/device_get_name.9 new file mode 100644 index 0000000000..9127d81650 --- /dev/null +++ b/ja_JP.eucJP/man/man9/device_get_name.9 @@ -0,0 +1,56 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/device_get_name.9,v 1.2 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd April 21, 2003 +.Dt DEVICE_GET_NAME 9 +.Os +.Sh ̾¾Î +.Nm device_get_name , device_get_nameunit +.Nd ¥Ç¥Ð¥¤¥¹¤Î¥Ç¥Ð¥¤¥¹¥¯¥é¥¹¤Þ¤¿¤Ï¼ÂÂΤÎ̾Á°¤Ø¤Î¥¢¥¯¥»¥¹ +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Ft int +.Fn device_get_name "device_t dev" +.Ft int +.Fn device_get_nameunit "device_t dev" +.Sh ²òÀâ +.Fn device_get_name +´Ø¿ô¤Ï¥Ç¥Ð¥¤¥¹¤Î¥Ç¥Ð¥¤¥¹¥¯¥é¥¹¤Î̾Á°¤òÊÖ¤·¤Þ¤¹¡£ +.Pp +.Fn device_get_nameunit +´Ø¿ô¤Ï¥Ç¥Ð¥¤¥¹¤Î¼ÂÂΤÎ̾Á°¤òÊÖ¤·¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr device 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Warner Losh +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/device_get_parent.9 b/ja_JP.eucJP/man/man9/device_get_parent.9 new file mode 100644 index 0000000000..b383d13e3d --- /dev/null +++ b/ja_JP.eucJP/man/man9/device_get_parent.9 @@ -0,0 +1,51 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/device_get_parent.9,v 1.2 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd April 21, 2003 +.Dt DEVICE_GET_PARENT 9 +.Os +.Sh ̾¾Î +.Nm device_get_parent +.Nd ¥Ç¥Ð¥¤¥¹¤Î¿Æ¤Î¼èÆÀ +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Ft device_t +.Fn device_get_parent "device_t dev" +.Sh ²òÀâ +.Fn device_get_parent +´Ø¿ô¤Ï¥Ç¥Ð¥¤¥¹¤Î¿Æ¥Ç¥Ð¥¤¥¹¤Î̾Á°¤òÊÖ¤·¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr device 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Warner Losh +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/device_ids.9 b/ja_JP.eucJP/man/man9/device_ids.9 new file mode 100644 index 0000000000..adba592498 --- /dev/null +++ b/ja_JP.eucJP/man/man9/device_ids.9 @@ -0,0 +1,78 @@ +.\" +.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/device_ids.9,v 1.1 2001/07/13 18:35:48 ru Exp % +.\" +.\" $FreeBSD$ +.Dd July 9, 2001 +.Dt DEVICE_IDS 9 +.Os +.Sh ̾¾Î +.Nm device_ids , +.Nm major , +.Nm minor , +.Nm umajor , +.Nm uminor +.Nd ¥Ç¥Ð¥¤¥¹ ID ¤Î·×»» +.Sh ½ñ¼° +.In sys/types.h +.In sys/systm.h +.Ft int +.Fn major "dev_t dev" +.Ft int +.Fn minor "dev_t dev" +.Ft int +.Fn umajor "udev_t id" +.Ft int +.Fn uminor "udev_t id" +.Sh ²òÀâ +.Nm +¥Õ¥¡¥ß¥ê¤Î´Ø¿ô¤Ï¡¢¥í¡¼¥Ç¥Ð¥¤¥¹¤Î ID ¤Ç¤¢¤ë +.Fa id +¤Þ¤¿¤Ï¥Ç¥Ð¥¤¥¹¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤Ç¤¢¤ë +.Fa dev +¤ò¤È¤ê¡¢Í׵ᤵ¤ì¤¿¥á¥¸¥ã¡¼¤Þ¤¿¤Ï¥Þ¥¤¥Ê¥Ç¥Ð¥¤¥¹ ID ¤ÎÀ°¿ôÃͤòÊÖ¤·¤Þ¤¹¡£ +.Pp +¼ÂºÝ¤Î¥á¥¸¥ã¡¼¤ª¤è¤Ó¥Þ¥¤¥Ê¥Ç¥Ð¥¤¥¹ ID ¤Ï¥í¡¼¥Ç¥Ð¥¤¥¹ ID ¤«¤é +¥Þ¥¹¥¯¤µ¤ì¤¿ÃͤǤ¹¡£ +¼ÂºÝ¤Î¥á¥¸¥ã¡¼¤ª¤è¤Ó¥Þ¥¤¥Ê ID ¤ò·èÄꤹ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë·×»»¾å¤Î¾ÜºÙ¤Ï¡¢ +.Pa kern_conf.c +¤Î¼ÂºÝ¤Î¥½¡¼¥¹¤ò»²¾È¤·¤Æ²¼¤µ¤¤¡£ +.Sh Ìá¤êÃÍ +0 ¤è¤êÂ礤¯¤«¤Ä +.Dv NUMCDEVSW +¤è¤ê¾®¤µ¤¤À°¿ôÃͤǤ¹¡£ +¤½¤Î¥Ç¥Ð¥¤¥¹¤¬Ìµ¸ú¤Ç¤¢¤ë¾ì¹ç¤Ë¤Ï¡¢ +.Fn major +¤ª¤è¤Ó +.Fn minor +¤Ï +.Dv NOUDEV +¤òÊÖ¤·¤Þ¤¹¡£ +.Sh AUTHORS +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Chad David Aq davidc@acns.ab.ca +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/device_printf.9 b/ja_JP.eucJP/man/man9/device_printf.9 new file mode 100644 index 0000000000..b5da8deff3 --- /dev/null +++ b/ja_JP.eucJP/man/man9/device_printf.9 @@ -0,0 +1,58 @@ +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, +.\" BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +.\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED +.\" AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +.\" OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/device_printf.9,v 1.2 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd April 21, 2003 +.Dt DEVICE_PRINTF 9 +.Os +.Sh ̾¾Î +.Nm device_printf +.Nd ¥Õ¥©¡¼¥Þ¥Ã¥È½ÐÎϤÎÊÑ´¹ +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Ft int +.Fn device_printf "device_t dev" "const char *fmt" ... +.Sh ²òÀâ +.Fn device_printf +´Ø¿ô¤Ï +.Xr printf 9 +´Ø¿ô¤Ø¤ÎÊØÍø¤Ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ç¤¹¡£ +¥³¥í¥ó¤ª¤è¤Ó¥¹¥Ú¡¼¥¹¤¬¸å¤Ë³¤¯ +.Fa dev +¥Ç¥Ð¥¤¥¹¤Î̾Á°¤ò½ÐÎϤ·¤Þ¤¹¡£ +¤½¤ì¤«¤é¡¢ +.Fa fmt +¤ª¤è¤Ó¤½¤ì¤Ø¤Î»Ä¤ê¤Î°ú¿ô¤¬ÅϤµ¤ì¤¿¾ì¹ç¤Ë¤Ï +.Xr printf 9 +¤¬°õ»ú¤¹¤ë¤â¤Î¤ò½ÐÎϤ·¤Þ¤¹¡£ +.Sh Ìá¤êÃÍ +.Fn device_printf +´Ø¿ô¤Ïɽ¼¨¤µ¤ì¤¿Ê¸»ú¿ô¤òÊÖ¤·¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr printf 3 , +.Xr printf 9 diff --git a/ja_JP.eucJP/man/man9/device_set_driver.9 b/ja_JP.eucJP/man/man9/device_set_driver.9 new file mode 100644 index 0000000000..bb0f7112b6 --- /dev/null +++ b/ja_JP.eucJP/man/man9/device_set_driver.9 @@ -0,0 +1,57 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2003 M. Warner Losh +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/device_set_driver.9,v 1.2 2003/05/30 21:13:32 ru Exp % +.\" +.\" $FreeBSD$ +.Dd April 21, 2003 +.Dt DEVICE_SET_DRIVER 9 +.Os +.Sh ̾¾Î +.Nm device_set_driver +.Nd "»ØÄꤷ¤¿¥É¥é¥¤¥Ð¤È¥Ä¥ê¡¼¤ÎÃæ¤Î¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤È¤Î´ØÏ¢ÉÕ¤±" +.Sh ½ñ¼° +.In sys/param.h +.In sys/bus.h +.Ft void +.Fn device_set_driver "device_t dev" "driver_t *driver" +.Sh ²òÀâ +¤³¤Î´Ø¿ô¤Ï»ØÄꤷ¤¿¥É¥é¥¤¥Ð¤È¥Ä¥ê¡¼¤ÎÃæ¤ÎÍ¿¤¨¤é¤ì¤¿¥Ç¥Ð¥¤¥¹¥Î¡¼¥É¤ò +´ØÏ¢ÉÕ¤±¤Þ¤¹¡£ +¤³¤ì¤Ï°ìÈÌŪ¤Ë¤Ï +.Xr isa 4 +¥Ð¥¹¤Î¤è¤¦¤Ê¡¢´ØÏ¢ÉÕ¤±¤ò¼«Æ°Åª¤Ë¹Ô¤Ê¤¦¤³¤È¤ò¥µ¥Ý¡¼¥È¤·¤Æ¤¤¤Ê¤¤¥Ð¥¹¤Ø +¥Ç¥Ð¥¤¥¹¤òÄɲ乤뤿¤á¤Ë¡¢ +.Xr DEVICE_IDENTIFY 9 +´Ø¿ô¤ÎÃæ¤Ç»ÈÍѤµ¤ì¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr device 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An M. Warner Losh +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/devsw.9 b/ja_JP.eucJP/man/man9/devsw.9 new file mode 100644 index 0000000000..5deacff665 --- /dev/null +++ b/ja_JP.eucJP/man/man9/devsw.9 @@ -0,0 +1,73 @@ +.\" +.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/devsw.9,v 1.6 2001/12/26 23:14:04 davidc Exp % +.\" +.\" $FreeBSD$ +.Dd July 9, 2001 +.Dt DEVSW 9 +.Os +.Sh ̾¾Î +.Nm devsw +.Nd +.Vt cdevsw +¹½Â¤ÂΤμèÆÀ +.Sh ½ñ¼° +.In sys/param.h +.In sys/conf.h +.Ft "struct cdevsw *" +.Fn devsw "dev_t dev" +.Sh ²òÀâ +.Fn devsw +´Ø¿ô¤Ï¤³¤Îʸ»ú·¿¥Ç¥Ð¥¤¥¹ ID ¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿ +.Vt cdevsw +¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤òÊÖ¤·¤Þ¤¹¡£ +.Fa dev->si_cdevsw +¤¬ÀßÄꤵ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¤½¤ì¤¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï +.Va cdevsw +ÇÛÎó¤Ø +.Xr major 9 +ÃÍʬ¥ª¥Õ¥»¥Ã¥È¤µ¤»¤¿¤â¤Î¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Pp +°ú¿ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ +.Bl -tag -width ".Fa dev" +.It Fa dev +ÊÖ¤µ¤ì¤ë¤Ù¤ +.Vt cdevsw +¥¨¥ó¥È¥ê¤Î¥Ç¥Ð¥¤¥¹¤Ç¤¹¡£ +.El +.Sh Ìá¤êÃÍ +.Vt cdevsw +¹½Â¤ÂΤؤΥݥ¤¥ó¥¿¤Ç¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr major 9 , +.Xr minor 9 , +.Xr umajor 9 , +.Xr uminor 9 +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Chad David Aq davidc@acns.ab.ca +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/groupmember.9 b/ja_JP.eucJP/man/man9/groupmember.9 new file mode 100644 index 0000000000..6cb6e5003d --- /dev/null +++ b/ja_JP.eucJP/man/man9/groupmember.9 @@ -0,0 +1,60 @@ +.\" +.\" Copyright (C) 2001 Chad David <davidc@acns.ab.ca>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/groupmember.9,v 1.1 2001/07/13 18:35:48 ru Exp % +.\" +.\" $FreeBSD$ +.Dd July 9, 2001 +.Dt GROUPMEMBER 9 +.Os +.Sh ̾¾Î +.Nm groupmember +.Nd ¥°¥ë¡¼¥× ID ¤Î¤¿¤á¤Î¥°¥ë¡¼¥×¥»¥Ã¥È¤Î¥Á¥§¥Ã¥¯ +.Sh ½ñ¼° +.In sys/param.h +.In sys/ucred.h +.Ft int +.Fn groupmember "gid_t gid" "struct ucred *cred" +.Sh ²òÀâ +.Fn groupmember +´Ø¿ô¤ÏÍ¿¤¨¤é¤ì¤¿ +.Fa gid +¤¬¾ÚÌÀ¤Î¥°¥ë¡¼¥×¥»¥Ã¥ÈÆâ¤Ë¤¢¤ë¤«¤É¤¦¤«¤ò¡¢¸«¤ë¤¿¤á¤Ë¥Á¥§¥Ã¥¯¤·¤Þ¤¹¡£ +.Pp +°ú¿ô¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¹¡£ +.Bl -tag -width ".Fa cred" +.It Fa gid +¥Á¥§¥Ã¥¯¤¹¤ë¤Ù¤¥°¥ë¡¼¥× ID ¤Ç¤¹¡£ +.It Fa cred +¤³¤ì¤é¤Î¾ÚÌÀ¤ò¸¡º÷¤·¤Æ¡¢¥°¥ë¡¼¥×¤ò¤ß¤Ä¤±¤è¤¦¤È¤·¤Þ¤¹¡£ +.El +.Sh Ìá¤êÃÍ +.Fa gid +¤¬¸«¤Ä¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï 1 ¤¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï 0 ¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Chad David Aq davidc@acns.ab.ca +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/pseudofs.9 b/ja_JP.eucJP/man/man9/pseudofs.9 new file mode 100644 index 0000000000..0854949519 --- /dev/null +++ b/ja_JP.eucJP/man/man9/pseudofs.9 @@ -0,0 +1,69 @@ +.\"- +.\" Copyright (c) 2001 Dag-Erling Coïdan Smørgrav +.\" All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +.\" ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +.\" SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/pseudofs.9,v 1.4 2002/12/12 17:25:58 ru Exp % +.\" +.\" $FreeBSD$ +.Dd September 30, 2001 +.Dt PSEUDOFS 9 +.Os +.Sh ̾¾Î +.Nm pseudofs +.Nd µ¿»÷¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¹½ÃÛ¥¥Ã¥È +.Sh ½ñ¼° +.In fs/pseudofs/pseudofs.h +.\" ¤³¤³¤Ë»ÈÍÑÎã¤òÁÞÆþ¤¹¤ë +.Sh ²òÀâ +.Nm +¥â¥¸¥å¡¼¥ë¤Ï +.Xr procfs 5 +¤ª¤è¤Ó +.Xr linprocfs 5 +¤Î¤è¤¦¤Êµ¿»÷¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¤¿¤á¤ÎÃê¾Ý API ¤òÄ󶡤·¤Þ¤¹¡£ +¤³¤ì¤Ï VFS ¥·¥¹¥Æ¥à¤È¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¡¢¥¢¥¯¥»¥¹À©¸æ¤Î¶¯À©¡¢¥Õ¥¡¥¤¥ë¿ô¤Î +ÄÉÀפΰݻý¡¢¤ª¤è¤Ó¥×¥í¥»¥¹ÆÃͤΥե¡¥¤¥ë¤È¥Ç¥£¥ì¥¯¥È¥ê¤ÎÊ£À½¡¢ +¤Î¤è¤¦¤ÊÁ´¤Æ¤ÎÊ£»¨¤Ê»öÊÁ¤ÎÌÌÅݤò¤ß¤Þ¤¹¡£ +¥³¥ó¥·¥å¡¼¥Þ¥â¥¸¥å¡¼¥ë¡¢¤¹¤Ê¤ï¤Á¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Î¼ÂºÝ¤ÎÃæ¿´Éô¤ò +¼ÂÁõ¤¹¤ë¥â¥¸¥å¡¼¥ë¤Ï¡¢(Àë¸À¤µ¤ì¤¿¹½Â¤ÂΤν¸¹ç¤Ë¤è¤Ã¤Æµ½Ò¤µ¤ì¡¢ +.Nm +¤Ë¤è¤Ã¤ÆÄ󶡤µ¤ì¤ë¥Þ¥¯¥í¤Ë¤è¤Ã¤Æ½é´ü²½¤µ¤ì¤¿) ¥Ç¥£¥ì¥¯¥È¥ê¹½Â¤¤ª¤è¤Ó¡¢ +¥Õ¥¡¥¤¥ë¤Î°À¤ÎÊó¹ð¤Þ¤¿¤Ï sbuf ¤Ë¥Õ¥¡¥¤¥ë¤ÎÆâÍƤò +¼ÂºÝ¤Ë½ñ¤¹þ¤à¥³¡¼¥ë¥Ð¥Ã¥¯¤À¤±¤ò¡¢Ä󶡤¹¤ëɬÍפ¬¤¢¤ê¤Þ¤¹¡£ +.\" ¤³¤³¤Ë¤è¤ê¿¤¯¤Î¾ðÊó¤òÁÞÆþ¤¹¤ë +.Sh ´ØÏ¢¹àÌÜ +.Xr linprocfs 5 , +.Xr procfs 5 , +.Xr sbuf 9 , +.Xr vnode 9 +.Sh Îò»Ë +.Nm +¥â¥¸¥å¡¼¥ë¤Ï +.Fx 5.0 +¤ÇÅо줷¤Þ¤·¤¿¡£ +.Sh ºî¼Ô +.Nm +¥â¥¸¥å¡¼¥ë¤È¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Dag-Erling Sm\(/orgrav +¤¬½ñ¤¤Þ¤·¤¿¡£ diff --git a/ja_JP.eucJP/man/man9/sema.9 b/ja_JP.eucJP/man/man9/sema.9 new file mode 100644 index 0000000000..e103f85a93 --- /dev/null +++ b/ja_JP.eucJP/man/man9/sema.9 @@ -0,0 +1,116 @@ +.\" +.\" Copyright (C) 2001 Jason Evans <jasone@FreeBSD.org>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/sema.9,v 1.6 2002/03/28 12:51:06 dd Exp % +.\" +.\" $FreeBSD$ +.Dd August 13, 2001 +.Dt SEMA 9 +.Os +.Sh ̾¾Î +.Nm sema , +.Nm sema_init , +.Nm sema_destroy , +.Nm sema_post , +.Nm sema_wait , +.Nm sema_timedwait , +.Nm sema_trywait , +.Nm sema_value +.Nd ¥«¡¼¥Í¥ë·×¿ô¥»¥Þ¥Õ¥© +.Sh ½ñ¼° +.In sys/types.h +.In sys/lock.h +.In sys/sema.h +.Ft void +.Fn sema_init "struct sema *sema" "int value" "const char *description" +.Ft void +.Fn sema_destroy "struct sema *sema" +.Ft void +.Fn sema_post "struct sema *sema" +.Ft void +.Fn sema_wait "struct sema *sema" +.Ft int +.Fn sema_timedwait "struct sema *sema" "int timo" +.Ft int +.Fn sema_trywait "struct sema *sema" +.Ft int +.Fn sema_value "struct sema *sema" +.Sh ²òÀâ +·×¿ô¥»¥Þ¥Õ¥©¤Ï¥ê¥½¡¼¥¹¤Î¥×¡¼¥ë¤Ø¤Î¥¢¥¯¥»¥¹¤ÎƱ´ü¤Î¤¿¤á¤Î +»ÅÁȤߤòÄ󶡤·¤Þ¤¹¡£ +mutex ¤È¤Ï°ã¤¤¡¢¥»¥Þ¥Õ¥©¤Ï½êͼԤγµÇ°¤Ï»ý¤Ã¤Æ¤¤¤Ê¤¤¤¿¤á¡¢ +1 ¤Ä¤Î¥¹¥ì¥Ã¥É¤¬¥ê¥½¡¼¥¹¤Î³ÍÆÀ¤òɬÍפȤ·¡¢Ê̤Υ¹¥ì¥Ã¥É¤¬¤½¤Î¥ê¥½¡¼¥¹¤Î +³«Êü¤òɬÍפȤ¹¤ë¤è¤¦¤Ê¾õ¶·¤Ç¤â¡¢ÍøÍѤǤ¤Þ¤¹¡£ +³Æ¡¹¤Î¥»¥Þ¥Õ¥©¤Ï¡¢¤½¤ì¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿À°¿ôÃͤò»ý¤Ã¤Æ¤¤¤Þ¤¹¡£ +¥Ý¥¹¥È (¥¤¥ó¥¯¥ê¥á¥ó¥È) ¤Ï¾ï¤ËÀ®¸ù¤·¤Þ¤¹¤¬¡¢¥¦¥§¥¤¥È (¥Ç¥¯¥ê¥á¥ó¥È) ¤Ï +¤½¤Î¥»¥Þ¥Õ¥©¤ÎÃͤ¬ 0 °Ê¾å¤Ë¤Ê¤ë¾ì¹ç¤Ë¤Î¤ß¡¢À®¸ù¤·¤Æ´°Î»¤¹¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ +.Pp +¥»¥Þ¥Õ¥©¤Ï mutex ¤È¾õÂÖÊÑ¿ô¤Ç½½Ê¬¤Ç¤¢¤ë¤è¤¦¤Ê¤È¤³¤í¤Ç¤Ï»ÈÍѤ¹¤ë¤Ù¤¤Ç¤Ï +¤¢¤ê¤Þ¤»¤ó¡£ +¥»¥Þ¥Õ¥©¤Ï mutex ¤È¾õÂÖÊÑ¿ô¤è¤êÊ£»¨¤ÊƱ´ü¤Î»ÅÁȤߤǤ¹¤Î¤Ç¡¢ +¤½¤Î¤¿¤á¸úΨŪ¤Ç¤Ï¤¢¤ê¤Þ¤»¤ó¡£ +.Pp +¥»¥Þ¥Õ¥©¤Ï +.Fn sema_init +¤ò»ÈÍѤ·¤ÆºîÀ®¤µ¤ì¤Þ¤¹¡£ +¤³¤³¤Ç +.Fa sema +¤Ï +.Vt "struct sema" +¤Î¤¿¤á¤ÎÎΰè¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¡¢ +.Fa value +¤Ï¥»¥Þ¥Õ¥©¤Î½é´üÃͤǡ¢ +.Fa description +¤Ï¤½¤Î¥»¥Þ¥Õ¥©¤òÀâÌÀ¤¹¤ë¥Ì¥ë¤Ç½ªÃ¼¤µ¤ì¤¿Ê¸»úÎó¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£ +¥»¥Þ¥Õ¥©¤Ï +.Fn sema_destroy +¤ò»ÈÍѤ·¤ÆÇ˲õ¤µ¤ì¤Þ¤¹¡£ +¥»¥Þ¥Õ¥©¤Ï +.Fn sema_post +¤ò»ÈÍѤ·¤Æ¥Ý¥¹¥È (¥¤¥ó¥¯¥ê¥á¥ó¥È) ¤µ¤ì¤Þ¤¹¡£ +¥»¥Þ¥Õ¥©¤Ï +.Fn sema_wait , +.Fn sema_timedwait +¤Þ¤¿¤Ï +.Fn sema_trywait +¤ò»ÈÍѤ·¤Æ¥¦¥§¥¤¥È (¥Ç¥¯¥ê¥á¥ó¥È) ¤µ¤ì¤Þ¤¹¡£ +.Fn sema_timedwait +¤Ø¤Î +.Fa timo +°ú¿ô¤Ï¼ºÇÔ¤·¤ÆÌá¤ëÁ°¤Ë¥¦¥§¥¤¥È¤¹¤ë¤¿¤á¤Î tick ñ°Ì¤Ç¤ÎºÇ¾®»þ´Ö¤ò»ØÄꤷ¤Þ¤¹¡£ +.Fn sema_value +¤Ï¸½ºß¤Î¥»¥Þ¥Õ¥©¤ÎÃͤòÊÖ¤·¤Þ¤¹¡£ +.Pp +.Fn sema_timedwait +¤ª¤è¤Ó +.Fn sema_trywait +¤Ï¡¢¤½¤Î¥»¥Þ¥Õ¥©¾å¤Ç¤Î¥¦¥§¥¤¥È¤Ë¼ºÇÔ¤·¤¿¾ì¹ç¤Ë¤Ï 0 ¤òÊÖ¤·¤Þ¤¹¡£ +¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢À®¸ù¤ò¼¨¤¹¤¿¤á¤Ë 0 ¤Ç¤Ï¤Ê¤¤Ãͤ¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr condvar 9 , +.Xr mtx_pool 9 , +.Xr mutex 9 , +.Xr sx 9 diff --git a/ja_JP.eucJP/man/man9/sx.9 b/ja_JP.eucJP/man/man9/sx.9 new file mode 100644 index 0000000000..5e8282dfeb --- /dev/null +++ b/ja_JP.eucJP/man/man9/sx.9 @@ -0,0 +1,182 @@ +.\" +.\" Copyright (C) 2001 Jason Evans <jasone@FreeBSD.org>. All rights reserved. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice(s), this list of conditions and the following disclaimer as +.\" the first lines of this file unmodified other than the possible +.\" addition of one or more copyright notices. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice(s), this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER(S) ``AS IS'' AND ANY +.\" EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +.\" WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +.\" DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER(S) BE LIABLE FOR ANY +.\" DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +.\" (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +.\" SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +.\" CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH +.\" DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/sx.9,v 1.22 2003/09/14 13:41:59 ru Exp % +.\" +.\" $FreeBSD$ +.Dd August 14, 2001 +.Dt SX 9 +.Os +.Sh ̾¾Î +.Nm sx , +.Nm sx_init , +.Nm sx_destroy , +.Nm sx_slock , +.Nm sx_xlock , +.Nm sx_try_slock , +.Nm sx_try_xlock , +.Nm sx_sunlock , +.Nm sx_xunlock , +.Nm sx_try_upgrade , +.Nm sx_downgrade , +.Nm sx_assert , +.Nm SX_SYSINIT +.Nd ¥«¡¼¥Í¥ë¤Î¶¦Í/ÇÓ¾¥í¥Ã¥¯ +.Sh ½ñ¼° +.In sys/param.h +.In sys/lock.h +.In sys/mutex.h +.In sys/sx.h +.Ft void +.Fn sx_init "struct sx *sx" "const char *description" +.Ft void +.Fn sx_destroy "struct sx *sx" +.Ft void +.Fn sx_slock "struct sx *sx" +.Ft void +.Fn sx_xlock "struct sx *sx" +.Ft int +.Fn sx_try_slock "struct sx *sx" +.Ft int +.Fn sx_try_xlock "struct sx *sx" +.Ft void +.Fn sx_sunlock "struct sx *sx" +.Ft void +.Fn sx_xunlock "struct sx *sx" +.Ft int +.Fn sx_try_upgrade "struct sx *sx" +.Ft void +.Fn sx_downgrade "struct sx *sx" +.Ft void +.Fn sx_assert "struct sx *sx" "int what" +.Fn SX_SYSINIT "name" "struct sx *sx" "const char *description" +.Sh ²òÀâ +¶¦Í/ÇÓ¾¥í¥Ã¥¯¤Ï½ñ¤¹þ¤Þ¤ì¤ë¤è¤ê¤â¡¢Æɤ߹þ¤Þ¤ì¤ëÊý¤¬Èó¾ï¤Ë¿¤¤¥Ç¡¼¥¿¤ò +Êݸ¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ +mutex ¤ÏËܼÁŪ¤Ë¶¦Í/ÇÓ¾¥í¥Ã¥¯¤è¤ê¤âǽΨŪ¤Ê¤Î¤Ç¡¢¶¦Í/ÇÓ¾¥í¥Ã¥¯¤Ï +ÍÑ¿´¿¼¤¯»ÈÍѤµ¤ì¤ë¤Ù¤¤Ç¤¹¡£ +.Pp +¶¦Í/ÇÓ¾¥í¥Ã¥¯¤Ï +.Fn sx_init +¤ò»ÈÍѤ·¤ÆºîÀ®¤µ¤ì¤Þ¤¹¡£¤³¤³¤Ç +.Fa sx +¤Ï +.Vt struct sx +¤Î¤¿¤á¤ÎÎΰè¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¡¢ +.Fa description +¤Ï¤½¤Î¶¦Í/ÇÓ¾¥í¥Ã¥¯¤òÀâÌÀ¤¹¤ë¥Ì¥ë¤Ç½ªÃ¼¤µ¤ì¤¿Ê¸»úÎó¤Ø¤Î¥Ý¥¤¥ó¥¿¤Ç¤¹¡£ +¶¦Í/ÇÓ¾¥í¥Ã¥¯¤Ï +.Fn sx_destroy +¤ò»ÈÍѤ·¤ÆÇ˲õ¤µ¤ì¤Þ¤¹¡£ +¥¹¥ì¥Ã¥É¤Ï +.Fn sx_slock +¤Þ¤¿¤Ï +.Fn sx_try_slock +¤ª¤è¤Ó +.Fn sx_sunlock +¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ¶¦Í¥í¥Ã¥¯¤ò³ÍÆÀ¤ª¤è¤Ó²òÊü¤·¤Þ¤¹¡£ +¥¹¥ì¥Ã¥É¤Ï +.Fn sx_xlock +¤Þ¤¿¤Ï +.Fn sx_try_xlock +¤ª¤è¤Ó +.Fn sx_xunlock +¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤ÆÇÓ¾¥í¥Ã¥¯¤ò³ÍÆÀ¤ª¤è¤Ó²òÊü¤·¤Þ¤¹¡£ +¥¹¥ì¥Ã¥É¤Ï +.Fn sx_try_upgrade +¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ¡¢¸½ºß½êͤ·¤Æ¤¤¤ë¶¦Í¥í¥Ã¥¯¤«¤éÇÓ¾¥í¥Ã¥¯¤Ø¤Î +¥¢¥Ã¥×¥°¥ì¡¼¥É¤ò»î¤ß¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ +ÇÓ¾¥í¥Ã¥¯¤ò½êͤ·¤Æ¤¤¤ë¥¹¥ì¥Ã¥É¤Ï¡¢ +.Fn sx_downgrade +¤Î¸Æ¤Ó½Ð¤·¤Ë¤è¤Ã¤Æ¤½¤ÎÇÓ¾¥í¥Ã¥¯¤«¤é¶¦Í¥í¥Ã¥¯¤Ø¤Î¥À¥¦¥ó¥°¥ì¡¼¥É¤¬²Äǽ¤Ç¤¹¡£ +.Pp +.Fn sx_try_slock +¤ª¤è¤Ó +.Fn sx_try_xlock +¤Ï¶¦Í/ÇÓ¾¥í¥Ã¥¯¤¬¤¹¤°¤Ë³ÍÆÀ¤Ç¤¤Ê¤«¤Ã¤¿¾ì¹ç¤Ë¤Ï 0 ¤òÊÖ¤·¡¢ +¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¶¦Í/ÇÓ¾¥í¥Ã¥¯¤¬³ÍÆÀ¤µ¤ì 0 ¤Ç¤Ï¤Ê¤¤Ãͤ¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Pp +.Fn sx_try_upgrade +¤Ï¶¦Í¥í¥Ã¥¯¤ò¤¹¤°¤ËÇÓ¾¥í¥Ã¥¯¤Ë¥¢¥Ã¥×¥°¥ì¡¼¥É¤Ç¤¤Ê¤¤¾ì¹ç¤Ë¤Ï 0 ¤òÊÖ¤·¡¢ +¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤ÏÇÓ¾¥í¥Ã¥¯¤¬³ÍÆÀ¤µ¤ì 0 ¤Ç¤Ï¤Ê¤¤Ãͤ¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Pp +.Fn sx_assert +´Ø¿ô¤Ï»ØÄꤵ¤ì¤¿¾õÂÖ¤ò¥Æ¥¹¥È¤·¤Æ¡¢¤½¤Î¾õÂ֤˹ç¤ï¤º¤«¤Ä¥«¡¼¥Í¥ë¤¬ +.Dv INVARIANTS +ÉÕ¤¤Ç¥³¥ó¥Ñ¥¤¥ë¤µ¤ì¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢panic ¤·¤Þ¤¹¡£ +.Pp +.Fn SX_SYSINIT +¥Þ¥¯¥í¤Ï¥·¥¹¥Æ¥à¥¹¥¿¡¼¥È¥¢¥Ã¥×»þ¤ËÍ¿¤¨¤é¤ì¤¿ +.Fa sx +¥í¥Ã¥¯¤ò½é´ü²½¤¹¤ë¤¿¤á¤Ë +.Fn sx_sysinit +¤Î¸Æ¤Ó½Ð¤·¤òÀ¸À®¤·¤Þ¤¹¡£ +°ú¿ô¤Ï +.Fn sx_init +¤ÈƱÍͤǤ¹¤¬¡¢ +¤½¤Î¥í¥Ã¥¯¤È sysinit ¥ë¡¼¥Á¥ó¤Ë´ØÏ¢ÉÕ¤±¤é¤ì¤¿¹½Â¤ÂΤ˴ØÏ¢¤·¤¿Í£°ì¤Î +ÊÑ¿ô̾¤òÀ¸À®¤¹¤ëºÝ¤Ë»ÈÍѤµ¤ì¤ëÄɲäΰú¿ô¤È¤·¤Æ +.Fa name +¤ò»ý¤Á¤Þ¤¹¡£ +.Pp +°Ê²¼¤Î¥¢¥µ¡¼¥È¤¬¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤Þ¤¹¡£ +.Bl -tag -width ".Dv SX_XLOCKED" +.It Dv SX_LOCKED +¸½ºß¤Î¥¹¥ì¥Ã¥É¤¬¡¢ºÇ½é¤Î°ú¿ô¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤Æ¤¤¤ë +.Vt sx +¥í¥Ã¥¯¾å¤Ë¡¢¶¦Í¤Þ¤¿¤ÏÇÓ¾¥í¥Ã¥¯¤Î¤¤¤º¤ì¤«¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤ò¥¢¥µ¡¼¥È¤·¤Þ¤¹¡£ +.It Dv SX_SLOCKED +¸½ºß¤Î¥¹¥ì¥Ã¥É¤¬¡¢ºÇ½é¤Î°ú¿ô¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤Æ¤¤¤ë +.Vt sx +¥í¥Ã¥¯¾å¤Ë¡¢¶¦Í¥í¥Ã¥¯¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤ò¥¢¥µ¡¼¥È¤·¤Þ¤¹¡£ +.It Dv SX_XLOCKED +¸½ºß¤Î¥¹¥ì¥Ã¥É¤¬¡¢ºÇ½é¤Î°ú¿ô¤Ë¤è¤Ã¤Æ»Ø¤µ¤ì¤Æ¤¤¤ë +.Vt sx +¥í¥Ã¥¯¾å¤Ë¡¢ÇÓ¾¥í¥Ã¥¯¤ò»ý¤Ã¤Æ¤¤¤ë¤³¤È¤ò¥¢¥µ¡¼¥È¤·¤Þ¤¹¡£ +.El +.Pp +¥¹¥ì¥Ã¥É¤Ï¶¦Í¥í¥Ã¥¯¤ÈÇÓ¾¥í¥Ã¥¯¤òƱ»þ¤Ë¤Ï»ý¤Ä¤³¤È¤¬¤Ç¤¤Þ¤»¤ó¡£ +Ʊ»þ¤Ë»ý¤Ä¤³¤È¤Ï¥Ç¥Ã¥É¥í¥Ã¥¯¤ò°ú¤µ¯¤³¤¹¤³¤È¤Ë¤Ê¤ë¤¿¤á¤Ç¤¹¡£ +.Sh ¥³¥ó¥Æ¥¥¹¥È +¥¹¥ê¡¼¥×¤·¤Æ¤¤¤ë´Ö¤Ë¶¦Í¥í¥Ã¥¯¤Þ¤¿¤ÏÇÓ¾¥í¥Ã¥¯¤ò½êͤ¹¤ë¤³¤È¤Ïµö²Ä¤µ¤ì¤Þ¤¹¡£ +.Sh ´ØÏ¢¹àÌÜ +.Xr condvar 9 , +.Xr mtx_pool 9 , +.Xr mutex 9 , +.Xr sema 9 +.Sh ¥Ð¥° +¸½ºß¡¢¥í¥Ã¥¯¤¬ÊÝ»ý¤µ¤ì¤Æ¤¤¤Ê¤¤¤³¤È¤ò¥¢¥µ¡¼¥È¤¹¤ëÊýË¡¤¬¤¢¤ê¤Þ¤»¤ó¡£ +.Dv WITNESS +¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¤³¤Î¥¹¥ì¥Ã¥É¤¬¶¦Í¥í¥Ã¥¯¤òÊÝ»ý¤·¤Æ¤¤¤Ê¤¤¤³¤È¤ò +¥¢¥µ¡¼¥È¤¹¤ë¤³¤È¤ÏÉÔ²Äǽ¤Ç¤¹¡£¡¡ +.Dv WITNESS +¤Ç¤Ï¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢ +.Dv SX_LOCKED +¤ª¤è¤Ó +.Dv SX_SLOCKED +¤Î¥¢¥µ¡¼¥È¤Ï¡¢¤¢¤ë¥¹¥ì¥Ã¥É¤¬¶¦Í¥í¥Ã¥¯¤òÊÝ»ý¤·¤Æ¤¤¤ë¤³¤È¤ò +ñ¤Ë¥Á¥§¥Ã¥¯¤¹¤ë¤Ë²á¤®¤Þ¤»¤ó¡£ +¤³¤ì¤é¤Ï¡¢¸½ºß¤Î¥¹¥ì¥Ã¥É¤¬¶¦Í¥í¥Ã¥¯¤òÊÝ»ý¤·¤Æ¤¤¤ë¤³¤È¤òÊݾڤ·¤Þ¤»¤ó¡£ diff --git a/ja_JP.eucJP/man/man9/taskqueue.9 b/ja_JP.eucJP/man/man9/taskqueue.9 new file mode 100644 index 0000000000..5ecc716f81 --- /dev/null +++ b/ja_JP.eucJP/man/man9/taskqueue.9 @@ -0,0 +1,212 @@ +.\" -*- nroff -*- +.\" +.\" Copyright (c) 2000 Doug Rabson +.\" +.\" All rights reserved. +.\" +.\" This program is free software. +.\" +.\" Redistribution and use in source and binary forms, with or without +.\" modification, are permitted provided that the following conditions +.\" are met: +.\" 1. Redistributions of source code must retain the above copyright +.\" notice, this list of conditions and the following disclaimer. +.\" 2. Redistributions in binary form must reproduce the above copyright +.\" notice, this list of conditions and the following disclaimer in the +.\" documentation and/or other materials provided with the distribution. +.\" +.\" THIS SOFTWARE IS PROVIDED BY THE DEVELOPERS ``AS IS'' AND ANY EXPRESS OR +.\" IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES +.\" OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. +.\" IN NO EVENT SHALL THE DEVELOPERS BE LIABLE FOR ANY DIRECT, INDIRECT, +.\" INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT +.\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, +.\" DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY +.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF +.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +.\" +.\" %FreeBSD: src/share/man/man9/taskqueue.9,v 1.8 2003/09/03 05:35:37 ken Exp % +.\" +.\" $FreeBSD$ +.Dd May 12, 2000 +.Dt TASKQUEUE 9 +.Os +.Sh ̾¾Î +.Nm taskqueue +.Nd ÈóƱ´ü¥¿¥¹¥¯¤Î¼Â¹Ô +.Sh ½ñ¼° +.In sys/param.h +.In sys/kernel.h +.In sys/malloc.h +.In sys/queue.h +.In sys/taskqueue.h +.Bd -literal +typedef void (*task_fn)(void *context, int pending); + +typedef void (*taskqueue_enqueue_fn)(void *context); + +struct task { + STAILQ_ENTRY(task) ta_link; /* ¥¥å¡¼¤Î¤¿¤á¤Î¥ê¥ó¥¯ */ + int ta_pending; /* ¥¥å¡¼¤ËÆþ¤Ã¤¿²ó¿ô */ + int ta_priority; /* ¥¥å¡¼Æ⥿¥¹¥¯Í¥ÀèÅÙ */ + task_fn ta_func; /* ¥¿¥¹¥¯¥Ï¥ó¥É¥é */ + void *ta_context; /* ¥Ï¥ó¥É¥é¤Î°ú¿ô */ +}; + +.Ed +.Ft struct taskqueue * +.Fn taskqueue_create "const char *name" "int mflags" "taskqueue_enqueue_fn enqueue" "void *context" +.Ft void +.Fn taskqueue_free "struct taskqueue *queue" +.Ft struct taskqueue * +.Fn taskqueue_find "const char *name" +.Ft int +.Fn taskqueue_enqueue "struct taskqueue *queue" "struct task *task" +.Ft void +.Fn taskqueue_run "struct taskqueue *queue" +.Fn TASK_INIT "struct task *task" "int priority" "task_fn_t *func" "void *context" +.Fn TASKQUEUE_DECLARE "name" +.Fn TASKQUEUE_DEFINE "name" "taskqueue_enqueue_fn enqueue" "void *context" "init" +.Sh ²òÀâ +¤³¤ì¤é¤Î´Ø¿ô¤Ï¥³¡¼¥É¤ÎÈóƱ´ü¤Î¼Â¹Ô¤Î¤¿¤á¤Îñ½ã¤Ê¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤òÄ󶡤·¤Þ¤¹¡£ +.Pp +´Ø¿ô +.Fn taskqueue_create +¤Ï¿·¤·¤¤¥¥å¡¼¤òºîÀ®¤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ +.Fn taskqueue_create +¤Ø¤Î°ú¿ô¤Ï¡¢Í£°ì¤Ç¤¢¤ë¤Ù¤Ì¾Á°¡¢ +.Fn malloc +¤Î¸Æ¤Ó½Ð¤·¤¬¥¹¥ê¡¼¥×¤òǧ¤á¤ë¤«¤É¤¦¤«¤ò»ØÄꤹ¤ë +.Xr malloc 9 +¥Õ¥é¥°¤ÎÁÈ¡¢¥¿¥¹¥¯¤¬¥¥å¡¼¤ËÄɲ䵤줿¤È¤¤Ë +.Fn taskqueue_enqueue +¤«¤é¸Æ¤Ó½Ð¤µ¤ì¤ë´Ø¿ô¤ò´Þ¤ß¤Þ¤¹¡£ +.\" XXX °Ê²¼¤Îʸ¤Ï¿¤¯¤ÏºÇ½é¤ÎÉôʬ¤Ë´Ø·¸¤·¤Æ¤¤¤Þ¤¹¡£ +¤³¤ì¤Ï¡¢(¤¿¤È¤¨¤Ð¡¢¥½¥Õ¥È¥¦¥§¥¢³ä¤ê¹þ¤ß¤Ë¤è¤ë¥¹¥±¥¸¥å¡¼¥ê¥ó¥°¤Þ¤¿¤Ï +¥«¡¼¥Í¥ë¥¹¥ì¥Ã¥É¤¬µ¯¤³¤µ¤ì¤ë¤³¤È¤Ë¤è¤Ã¤Æ) ¥¥å¡¼¤¬¸å¤Ç¼Â¹Ô¤µ¤ì¤ë¤¿¤á¤Ë +½àÈ÷¤µ¤ì¤ë¤³¤È¤¬¤Ç¤¤ë¤è¤¦¤Ë¤¹¤ë¤¿¤á¤Ç¤¹¡£ +.Pp +´Ø¿ô +.Fn taskqueue_free +¤Ï¥¥å¡¼¤Î¥°¥í¡¼¥Ð¥ë¤Ê¥ê¥¹¥È¤«¤é¤½¤Î¥¥å¡¼¤ò¼è¤ê½ü¤¯¤¿¤á¤È¡¢ +¥¥å¡¼¤Ë¤è¤Ã¤Æ»ÈÍѤµ¤ì¤¿¥á¥â¥ê¤ò³«Êü¤¹¤ë¤¿¤á¤Ë»ÈÍѤµ¤ì¤ë¤Ù¤¤Ç¤¹¡£ +¥¥å¡¼¾å¤ÎÁ´¤Æ¤Î¥¿¥¹¥¯¤Ï¤³¤Î¤È¤¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ +.Pp +¥·¥¹¥Æ¥à¤Ï¡¢ +.Fn taskqueue_find +¤ò»ÈÍѤ·¤Æ¸¡º÷¤µ¤ì¤ë¤³¤È¤¬²Äǽ¤Ê¡¢Á´¤Æ¤Î¥¥å¡¼¤Î¥ê¥¹¥È¤ò´ÉÍý¤·¤Þ¤¹¡£ +̾Á°¤¬°ìÃפ¹¤ëºÇ½é¤Î¥¥å¡¼¤¬ÊÖ¤µ¤ì¡¢¤½¤¦¤Ç¤Ê¤±¤ì¤Ð +.Dv NULL +¤¬ÊÖ¤µ¤ì¤Þ¤¹¡£ +.Pp +¥¿¥¹¥¯¥¥å¡¼¾å¤Î¥¥å¡¼¤ËÆþ¤ì¤é¤ì¤¿¥¿¥¹¥¯¤Î¥ê¥¹¥È¤Ë¡¢¥¿¥¹¥¯¤òÄɲ乤뤿¤á¤Ë¤Ï¡¢ +¥¥å¡¼¤Ø¤Î¥Ý¥¤¥ó¥¿¤È¥¿¥¹¥¯¤Ø¤Î¥Ý¥¤¥ó¥¿¤ò»ØÄꤷ¤Æ +.Fn taskqueue_enqueue +¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£ +¥¿¥¹¥¯¤Î +.Va ta_pending +¥Õ¥£¡¼¥ë¥É¤¬ 0 ¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¥¿¥¹¥¯¤¬¥¥å¡¼¤ËÆþ¤ì¤é¤ì¤¿²ó¿ô¤ËÈ¿±Ç¤¹¤ë¤¿¤á¤Ë +ñ½ã¤Ë¥¤¥ó¥¯¥ê¥á¥ó¥È¤µ¤ì¤Þ¤¹¡£ +¤½¤¦¤Ç¤Ê¤¤¾ì¹ç¤Ë¤Ï¡¢¤½¤Î¥¿¥¹¥¯¤Ï¤è¤êÄ㤤 +.Va ta_priority +Ãͤò»ý¤ÄºÇ½é¤Î¥¿¥¹¥¯¤ÎÁ°¤Ë¡¢¤Þ¤¿¤Ï¤è¤êÄ㤤ͥÀèÅÙ»ý¤Ä¥¿¥¹¥¯¤¬¤Ê¤¤¾ì¹ç¤Ï +¥ê¥¹¥È¤ÎºÇ¸å¤Ë¡¢Äɲ䵤ì¤Þ¤¹¡£ +¥¿¥¹¥¯¤ò¥¥å¡¼¤ËÆþ¤ì¤ë¤³¤È¤Ï¡¢³ä¤ê¹þ¤ß¥Ï¥ó¥É¥é¤ÎÃ椫¤é¸Æ¤Ó½Ð¤µ¤ì¤ë¤³¤È¤Ë +Ŭ±þ¤¹¤ë¤¿¤á¤Ë¡¢¥á¥â¥ê¤Î³ä¤êÅö¤Æ¤ò¼Â¹Ô¤·¤Þ¤»¤ó¡£ +¤³¤Î´Ø¿ô¤Ï¡¢¤½¤Î¥¥å¡¼¤¬³«Êü¤µ¤ì¤è¤¦¤È¤·¤Æ¤¤¤ë¾ì¹ç¤Ë¤Ï¡¢ +.Er EPIPE +¤òÊÖ¤·¤Þ¤¹¡£ +.Pp +¥¥å¡¼¾å¤ÎÁ´¤Æ¤Î¥¿¥¹¥¯¤ò¼Â¹Ô¤¹¤ë¤Ë¤Ï¡¢ +.Fn taskqueue_run +¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£ +¥¿¥¹¥¯¤¬¼Â¹Ô¤µ¤ì¤ë¤È¤¤Ë¤Ï¡¢À褺¤½¤Î¥¿¥¹¥¯¤¬¥¥å¡¼¤«¤é¼è¤ê½ü¤«¤ì¡¢ +.Va ta_pending +¤ÎÃͤ¬µÏ¿¤µ¤ì¤½¤ì¤«¤é¤½¤Î¥Õ¥£¡¼¥ë¥É¤¬ 0 ¤Ç¥¯¥ê¥¢¤µ¤ì¤Þ¤¹¡£ +task ¹½Â¤ÂΤΠ+.Va ta_func +´Ø¿ô¤Ï +.Va ta_context +¥Õ¥£¡¼¥ë¥É¤ÎÃͤòºÇ½é¤Î°ú¿ô¤È¤·¤Æ¡¢ +.Va ta_pending +¤ÎÃͤò 2 ÈÖÌܤΰú¿ô¤È¤·¤Æ¡¢¸Æ¤Ó½Ð¤µ¤ì¤Þ¤¹¡£ +.Pp +ÊØÍø¤Ê¥Þ¥¯¥í +.Fn TASK_INIT "task" "priority" "func" "context" +¤Ï +.Va task +¹½Â¤ÂΤò½é´ü²½¤¹¤ë¤¿¤á¤ËÄ󶡤µ¤ì¤Æ¤¤¤Þ¤¹¡£ +.Va priority , +.Va func +¤ª¤è¤Ó +.Va context +¤ÎÃͤÏñ½ã¤Ë task ¹½Â¤ÂΤΥե£¡¼¥ë¥É¤Ë¥³¥Ô¡¼¤µ¤ì¡¢ +.Va ta_pending +¥Õ¥£¡¼¥ë¥É¤Ï¥¯¥ê¥¢¤µ¤ì¤Þ¤¹¡£ +.Pp +2 ¤Ä¤Î¥Þ¥¯¥í +.Fn TASKQUEUE_DECLARE "name" +¤ª¤è¤Ó +.Fn TASKQUEUE_DEFINE "name" "enqueue" "context" "init" +¤Ï¡¢¥°¥í¡¼¥Ð¥ë¤Ê¥¥å¡¼¤Ø¤Î»²¾È¤ÎÀë¸À¤ª¤è¤Ó¤½¤Î¥¥å¡¼¤Î¼ÂÁõ¤ÎÄêµÁ¤Î +¤¿¤á¤Ë»ÈÍѤµ¤ì¤Þ¤¹¡£ +.Fn TASKQUEUE_DEFINE +¥Þ¥¯¥í¤Ï +.Va name , +.Va enqueue +¤ª¤è¤Ó +.Va context +°ú¿ô¤ÎÃͤǡ¢¥·¥¹¥Æ¥à¤Î½é´ü²½¤Î´Ö¤Ë +.Fn taskqueue_create +¤ò¸Æ¤Ó½Ð¤¹¤¿¤á¤Î¼êÇÛ¤ò¹Ô¤¤¤Þ¤¹¡£ +.Fn taskqueue_create +¤Î¸Æ¤Ó½Ð¤·¤Î¸å¤Ç¡¢(³ä¤ê¹þ¤ß¥Ï¥ó¥É¥é¤ÎÅÐÏ¿¤Ê¤É¤Î) ¤½¤Î¾¤Î½é´ü²½¤¬ +¼Â¹Ô¤µ¤ì¤ë¤³¤È¤ò²Äǽ¤Ë¤¹¤ë¤¿¤á¤Ë¡¢¤³¤Î¥Þ¥¯¥í¤Ø¤Î +.Va init +°ú¿ô¤¬ C ¤Î¥¹¥Æ¡¼¥È¥á¥ó¥È¤È¤·¤Æ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ +.Pp +¥·¥¹¥Æ¥à¤Ï 3 ¤Ä¤Î¥°¥í¡¼¥Ð¥ë¤Ê¥¿¥¹¥¯¥¥å¡¼ +.Va taskqueue_swi , +.Va taskqueue_swi_giant , +¤ª¤è¤Ó +.Va taskqueue_thread +¤òÄ󶡤·¤Þ¤¹¡£ +swi ¥¿¥¹¥¯¥¥å¡¼¤Ï¥½¥Õ¥È¥¦¥§¥¢³ä¤ê¹þ¤ß¤Î»ÅÁȤߤò²ð¤·¤Æ¼Â¹Ô¤µ¤ì¤Þ¤¹¡£ +taskqueue_swi ¥¥å¡¼¤Ï Giant ¥«¡¼¥Í¥ë¥í¥Ã¥¯¤ÎÊݸî̵¤·¤Ç¼Â¹Ô¤·¡¢ +taskqueue_swi_giant ¥¥å¡¼¤Ï Giant ¥«¡¼¥Í¥ë¥í¥Ã¥¯¤ÎÊݸîͤê¤Ç +¼Â¹Ô¤·¤Þ¤¹¡£ +¥¹¥ì¥Ã¥É¥¿¥¹¥¯¥¥å¡¼¤Ï¥«¡¼¥Í¥ë¥¹¥ì¥Ã¥É¥³¥ó¥Æ¥¥¹¥È¤Ç¼Â¹Ô¤µ¤ì¡¢¤³¤Î¥¹¥ì¥Ã¥É +¤«¤é¼Â¹Ô¤µ¤ì¤ë¥¿¥¹¥¯¤Ï¡¢Giant ¥«¡¼¥Í¥ë¥í¥Ã¥¯²¼¤Ç¼Â¹Ô¤µ¤ì¤Þ¤»¤ó¡£ +¸Æ¤Ó½Ð¤·Â¦¤¬ Giant ¥í¥Ã¥¯²¼¤Ç¼Â¹Ô¤·¤¿¤¤¾ì¹ç¤Ë¤Ï¡¢¸Æ¤Ó½Ð¤·Â¦¤Î +¥¿¥¹¥¯¥¥å¡¼¥Ï¥ó¥É¥é¥ë¡¼¥Á¥ó¤ÎÃæ¤Ç¡¢¸Æ¤Ó½Ð¤·Â¦¤¬ÌÀ³Î¤Ë Giant ¥í¥Ã¥¯¤Î +³ÍÆÀ¤ª¤è¤Ó²òÊü¤ò¹Ô¤Ê¤¦¤Ù¤¤Ç¤¹¡£ +.Pp +¤³¤Î¥¥å¡¼¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢»ÈÍѤ·¤¿¤¤¥¥å¡¼ ( +.Va taskqueue_swi , +.Va taskqueue_swi_giant +¤Þ¤¿¤Ï +.Va taskqueue_thread +) ¤Î¤¿¤á¤Î¥°¥í¡¼¥Ð¥ë¥¿¥¹¥¯¥¥å¡¼ÊÑ¿ô¤ÎÃÍ¤Ç +.Fn taskqueue_enqueue +¤ò¸Æ¤Ó½Ð¤·¤Þ¤¹¡£ +.Pp +¥½¥Õ¥È¥¦¥§¥¢³ä¤ê¹þ¤ß¥¥å¡¼¤Ï¡¢Î㤨¤Ð¡¢¥Ï¥ó¥É¥é¤ÎÃæ¤ÇÃø¤·¤¤Î̤νèÍý¤ò¼Â¹Ô +¤·¤Ê¤±¤ì¤Ð¤Ê¤é¤Ê¤¤³ä¤ê¹þ¤ß¥Ï¥ó¥É¥é¤ò¼ÂÁõ¤¹¤ë¤¿¤á¤Ë¡¢»ÈÍѤµ¤ì¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ +¥Ï¡¼¥É¥¦¥§¥¢³ä¤ê¹þ¤ß¥Ï¥ó¥É¥é¤Ï¡¢¤½¤Î³ä¤ê¹þ¤ß¤ÎºÇ¾®¤Î½èÍý¤ò¼Â¹Ô¤·¡¢¤½¤ì¤«¤é +ºî¶È¤ò´°Î»¤µ¤»¤ë¤¿¤á¤Ë¥¿¥¹¥¯¤ò¥¥å¡¼¤ËÆþ¤ì¤Þ¤¹¡£ +¤³¤ì¤Ï¡¢³ä¤ê¹þ¤ß¤¬Ìµ¸ú²½¤µ¤ì¤ÆÈñ¤ä¤µ¤ì¤ë»þ´Ö¤òºÇ¾®Î̤ˤޤǽ̾®¤·¤Þ¤¹¡£ +.Pp +¥¹¥ì¥Ã¥É¥¥å¡¼¤Ï¡¢Î㤨¤Ð¡¢¥¹¥ì¥Ã¥É¥³¥ó¥Æ¥¥¹¥È¤«¤é¤Î¤ß¼Â¹Ô¤¹¤ë¤³¤È¤¬²Äǽ¤Ê +²¿¤«¤ò¹Ô¤Ê¤¦¥«¡¼¥Í¥ë´Ø¿ô¤ò¸Æ¤Ó½Ð¤¹¤³¤È¤¬É¬Íפʡ¢³ä¤ê¹þ¤ß¥ì¥Ù¥ë¤Î¥ë¡¼¥Á¥ó¤Ë +¤è¤Ã¤Æ»ÈÍѤµ¤ì¤ë¤³¤È¤¬²Äǽ¤Ç¤¹¡£ +(Î㤨¤Ð¡¢M_WAITOK ¥Õ¥é¥°¤òȼ¤Ã¤¿ malloc ¤Î¸Æ¤Ó½Ð¤·¤Ç¤¹¡£) +.Sh Îò»Ë +¤³¤Î¥¤¥ó¥¿¥Õ¥§¡¼¥¹¤Ï +.Fx 5.0 +¤Ç¤Ï¤¸¤á¤ÆÅо줷¤Þ¤·¤¿¡£ +Linux ¥«¡¼¥Í¥ë¤Ç tqueue ¤È¸Æ¤Ð¤ì¤ëƱÍͤΥե¡¥·¥ê¥Æ¥£¤¬¤¢¤ê¤Þ¤¹¡£ +.Sh ºî¼Ô +¤³¤Î¥Þ¥Ë¥å¥¢¥ë¥Ú¡¼¥¸¤Ï +.An Doug Rabson +¤¬½ñ¤¤Þ¤·¤¿¡£ |