Searched refs:Dim (Results 1 - 15 of 15) sorted by relevance
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/pppoe/ |
H A D | logging.h | 62 #ifndef Dim 63 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
|
H A D | logging.c | 162 assert(loglev >= 0 && loglev < Dim(xlate_loglev));
|
/illumos-gate/usr/src/uts/common/io/ppp/common/ |
H A D | s_common.h | 24 #ifndef Dim 25 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/plugins/ |
H A D | pppoe.c | 348 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 D | cbcp.c | 240 if (code >= 1 && code <= Dim(cbcp_codenames)) 277 if (cichar >= 1 && cichar <= Dim(cbcp_optionnames))
|
H A D | upap.c | 116 if (clientstate < 0 || clientstate >= Dim(cstate)) { 130 if (serverstate < 0 || serverstate >= Dim(sstate)) { 684 if (code >= 1 && code <= Dim(upap_codenames))
|
H A D | pppd.h | 887 #ifndef Dim 888 #define Dim(x) (sizeof (x) / sizeof (*(x))) macro 889 #endif /* Dim */
|
H A D | chap.c | 131 if (clientstate < 0 || clientstate >= Dim(cstate)) { 144 if (serverstate < 0 || serverstate >= Dim(sstate)) {
|
H A D | fsm.c | 65 if (statenum < 0 || statenum >= Dim(fsm_states)) {
|
H A D | sys-solaris.c | 2450 for (i = 0; i < Dim(npi_list); i++) 2453 if (i >= Dim(npi_list))
|
H A D | main.c | 1380 if (pval < 0 || pval >= Dim(phase_names)) {
|
/illumos-gate/usr/src/uts/common/io/ppp/sppp/ |
H A D | sppp.c | 286 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 D | spppcomp.c | 1096 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 D | sppptun.c | 469 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 D | bridge.c | 156 #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 151 milliseconds