Searched refs:Dim (Results 1 - 15 of 15) sorted by relevance

/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/
H A Dlogging.h62 #ifndef Dim
63 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
H A Dlogging.c162 assert(loglev >= 0 && loglev < Dim(xlate_loglev));
/illumos-gate/usr/src/uts/common/io/ppp/common/
H A Ds_common.h24 #ifndef Dim
25 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/
H A Dpppoe.c348 handle_motm_hurl(argv + 4, Dim(argv) - 4, tagp, pktlen);
352 handle_ip_route_add(argv + 4, Dim(argv) - 4, tagp,
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dcbcp.c240 if (code >= 1 && code <= Dim(cbcp_codenames))
277 if (cichar >= 1 && cichar <= Dim(cbcp_optionnames))
H A Dupap.c116 if (clientstate < 0 || clientstate >= Dim(cstate)) {
130 if (serverstate < 0 || serverstate >= Dim(sstate)) {
684 if (code >= 1 && code <= Dim(upap_codenames))
H A Dpppd.h887 #ifndef Dim
888 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
889 #endif /* Dim */
H A Dchap.c131 if (clientstate < 0 || clientstate >= Dim(cstate)) {
144 if (serverstate < 0 || serverstate >= Dim(sstate)) {
H A Dfsm.c65 if (statenum < 0 || statenum >= Dim(fsm_states)) {
H A Dsys-solaris.c2450 for (i = 0; i < Dim(npi_list); i++)
2453 if (i >= Dim(npi_list))
H A Dmain.c1380 if (pval < 0 || pval >= Dim(phase_names)) {
/illumos-gate/usr/src/uts/common/io/ppp/sppp/
H A Dsppp.c286 for (cpp = kstats_names; cpp < kstats_names + Dim(kstats_names);
291 for (cpp = kstats64_names; cpp < kstats64_names + Dim(kstats64_names);
/illumos-gate/usr/src/uts/common/io/ppp/spppcomp/
H A Dspppcomp.c1096 cpp < kstats_names + Dim(kstats_names); cpp++) {
1102 cpp < kstats64_names + Dim(kstats64_names); cpp++) {
/illumos-gate/usr/src/uts/common/io/ppp/sppptun/
H A Dsppptun.c469 tll_kstats_list, Dim(tll_kstats_list), "tll",
524 tcl_kstats_list, Dim(tcl_kstats_list), "tcl",
/illumos-gate/usr/src/uts/common/io/
H A Dbridge.c156 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
773 inst_kstats_list, Dim(inst_kstats_list), bip->bi_name);
2903 link_kstats_list, Dim(link_kstats_list), kstatname);

Completed in 86 milliseconds