Examples of using Devstat in English and their translations into Japanese
{-}
-
Colloquial
-
Ecclesiastic
-
Computer
-
Programming
The devstat_support_flags values are as follows:.
The priority is used todetermine how devices are sorted within devstat list of devices.
DEVSTAT_TAG_NONE The device does not support tags.
There should probably be an interface tode-allocate memory allocated by devstat_getdevs(), devstat_selectdevs(), and devstat_buildmatch().
The devstat statistics system appeared in FreeBSD 3.0.
This is most commonly used in conjunction with the time recorded by the devstat_getdevs() function(in struct statinfo) each time it fetches the current devstat list.
The devstat statistics system first appeared in FreeBSD 3.0.
There may be a need for spl() protection around some of the devstat list manipulation code to ensure, for example, that the list of devices is not changed while someone is fetching the kern. devstat. all sysctl variable.
DEVSTAT_TAG_HEAD The transaction had a head of queue tag.
There is a macro, DEVSTAT_VERSION that is defined in<sys/devicestat. h>
DEVSTAT_NO_BLOCKSIZE This device does not have a blocksize.
It will also select more devices, in devstat list order, until the number of selected devices is equal to maxshowdevs or until all devices are selected.
DEVSTAT_ALL_SUPPORTED Every statistic type is supported by the device.
Ds The devstat structure, allocated and zeroed by the client.
Devstat_add_entry() registers a device with the devstat subsystem.
This is the current version of the devstat subsystem, and it should be incremented each time a change is made that would require recompilation of userland programs that access devstat statistics.
The devstat generation number is incremented and the number of devices is decremented.
The devstat_getversion() function returns the current kernel devstat version.
Devstat_remove_entry() removes a device from the devstat subsystem.
The devstat subsystem is an interface for recording device statistics, as its name implies.
DEVSTAT_BS_UNAVAILABLE This device supports a blocksize, but it is currently unavailable.
Devstat_end_transaction() registers the end of a transaction with the devstat subsystem.
The devstat_getgeneration() function returns the current generation of the devstat list of devices in the kernel.
The devstat_buildmatch()function takes a comma separated match string and compiles it into a devstat_match structure that is understood by devstat_selectdevs().