scan 1005 dev/pci/if_iwi.c struct iwi_notif_scan_complete *scan = scan 1008 dev/pci/if_iwi.c DPRINTFN(2, ("Scan completed (%u, %u)\n", scan->nchan, scan 1009 dev/pci/if_iwi.c scan->status)); scan 1959 dev/pci/if_iwi.c struct iwi_scan scan; scan 1961 dev/pci/if_iwi.c bzero(&scan, sizeof scan); scan 1962 dev/pci/if_iwi.c memset(scan.type, IWI_SCAN_TYPE_PASSIVE, sizeof scan.type); scan 1963 dev/pci/if_iwi.c scan.passive = htole16(2000); scan 1964 dev/pci/if_iwi.c scan.channels[0] = 1 | scan 1966 dev/pci/if_iwi.c scan.channels[1] = ieee80211_chan2ieee(ic, chan); scan 1969 dev/pci/if_iwi.c return iwi_cmd(sc, IWI_CMD_SCAN, &scan, sizeof scan, 1); scan 1976 dev/pci/if_iwi.c struct iwi_scan scan; scan 1980 dev/pci/if_iwi.c bzero(&scan, sizeof scan); scan 1983 dev/pci/if_iwi.c scan.bdirected = htole16(40); scan 1984 dev/pci/if_iwi.c memset(scan.type, IWI_SCAN_TYPE_BDIRECTED, sizeof scan.type); scan 1986 dev/pci/if_iwi.c scan.broadcast = htole16(40); scan 1987 dev/pci/if_iwi.c memset(scan.type, IWI_SCAN_TYPE_BROADCAST, sizeof scan.type); scan 1990 dev/pci/if_iwi.c p = scan.channels; scan 2000 dev/pci/if_iwi.c p = (count > 0) ? p + 1 : scan.channels; scan 2011 dev/pci/if_iwi.c return iwi_cmd(sc, IWI_CMD_SCAN, &scan, sizeof scan, 1); scan 1448 dev/pci/if_wpi.c struct wpi_start_scan *scan = scan 1452 dev/pci/if_wpi.c scan->chan, letoh32(scan->status))); scan 1455 dev/pci/if_wpi.c ic->ic_bss->ni_chan = &ic->ic_channels[scan->chan]; scan 1460 dev/pci/if_wpi.c struct wpi_stop_scan *scan = scan 1464 dev/pci/if_wpi.c scan->nchan, scan->status, scan->chan)); scan 1466 dev/pci/if_wpi.c if (scan->status == 1 && scan->chan <= 14) { scan 957 net/zlib.c Bytef *scan = s->window + s->strstart; /* current string */ scan 974 net/zlib.c ush scan_start = *(ushf*)scan; scan 975 net/zlib.c ush scan_end = *(ushf*)(scan+best_len-1); scan 978 net/zlib.c Byte scan_end1 = scan[best_len-1]; scan 979 net/zlib.c Byte scan_end = scan[best_len]; scan 1016 net/zlib.c Assert(scan[2] == match[2], "scan[2]?"); scan 1017 net/zlib.c scan++, match++; scan 1019 net/zlib.c } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) && scan 1020 net/zlib.c *(ushf*)(scan+=2) == *(ushf*)(match+=2) && scan 1021 net/zlib.c *(ushf*)(scan+=2) == *(ushf*)(match+=2) && scan 1022 net/zlib.c *(ushf*)(scan+=2) == *(ushf*)(match+=2) && scan 1023 net/zlib.c scan < strend); scan 1027 net/zlib.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); scan 1028 net/zlib.c if (*scan == *match) scan++; scan 1030 net/zlib.c len = (MAX_MATCH - 1) - (int)(strend-scan); scan 1031 net/zlib.c scan = strend - (MAX_MATCH-1); scan 1037 net/zlib.c *match != *scan || scan 1038 net/zlib.c *++match != scan[1]) continue; scan 1046 net/zlib.c scan += 2, match++; scan 1047 net/zlib.c Assert(*scan == *match, "match[2]?"); scan 1053 net/zlib.c } while (*++scan == *++match && *++scan == *++match && scan 1054 net/zlib.c *++scan == *++match && *++scan == *++match && scan 1055 net/zlib.c *++scan == *++match && *++scan == *++match && scan 1056 net/zlib.c *++scan == *++match && *++scan == *++match && scan 1057 net/zlib.c scan < strend); scan 1059 net/zlib.c Assert(scan <= s->window+(unsigned)(s->window_size-1), "wild scan"); scan 1061 net/zlib.c len = MAX_MATCH - (int)(strend - scan); scan 1062 net/zlib.c scan = strend - MAX_MATCH; scan 1071 net/zlib.c scan_end = *(ushf*)(scan+best_len-1); scan 1073 net/zlib.c scan_end1 = scan[best_len-1]; scan 1074 net/zlib.c scan_end = scan[best_len];