kstat_named(9s) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

kstat_named(9s)

Kernel & Driver Data Structures                                kstat_named(9S)



NAME
       kstat_named - obsolete structure for named kstats

SYNOPSIS
       #include <sys/types.h>
       #include <sys/kstat.h>
       #include <sys/ddi.h>
       #include <sys/sunddi.h>

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI)

DESCRIPTION
       Named  kstats are an array of name-value pairs. These pairs are kept in
       the kstat_named structure. When a kstat is created  by  the  kstat_cre‐
       ate()  function, the driver specifies how many of these structures will
       be allocated. The structures are returned as an array pointed to by the
       ks_data field. For more information, see the kstat_create(9F) man page.

STRUCTURE MEMBERS
         union {
                   char                   c[16];
                   long                   l;
                   ulong_t                ul;
                   longlong_t             ll;
                   u_longlong_t           ull;
         } value;  /* value of counter */



       The only member exposed to drivers is the value member. This field is a
       union of several data types. The driver must specify which type it will
       use in the call to kstat_named_init().

SEE ALSO
       kstat_named_init(9F),        kstat_create(9F),        kstat2_named(9S),
       kstat2_nv_init(9F), kstat2_create(9F)


       Writing Device Drivers in Oracle Solaris 11.4

NOTES
       This data-structure is no longer used by the introduction of v2 kstats.
       It  may  be removed in a future release of Oracle Solaris. For informa‐
       tion on creating a v2 kstat, see the kstat2_create(9F)  man  page,  and
       for  information on the new data-structure for named kstat values refer
       to the kstat2_named(9S) man page.



Oracle Solaris 11.4               19 Aug 2016                  kstat_named(9S)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3