/src/sys/external/bsd/drm2/dist/drm/i915/ |
i915_gem_evict.c | 61 mark_free(struct drm_mm_scan *scan, 70 return drm_mm_scan_add_block(scan, &vma->node); 103 struct drm_mm_scan scan; local in function:i915_gem_evict_something 130 drm_mm_scan_init_with_range(&scan, &vm->mm, 144 * scan to the end. The assumption is that the working set 148 * Given that assumption, the MRU order of the scan list is 149 * fairly static, and keeping it in least-recently scan order 172 if (mark_free(&scan, vma, flags, &eviction_list)) 178 ret = drm_mm_scan_remove_block(&scan, &vma->node); 224 if (drm_mm_scan_remove_block(&scan, &vma->node) [all...] |
/src/games/hunt/huntd/ |
execute.c | 47 static void scan(PLAYER *); 177 scan(pp); 527 * scan: 528 * Turn on or increase length of a scan 531 scan(PLAYER *pp) function in typeref:typename:void
|
/src/tools/lex/ |
Makefile | 17 scan.c: __BUILD 21 scan.c: parse.h 24 CLEANFILES+=scan.c parse.c parse.h
|
/src/usr.bin/rpcgen/ |
rpc_scan.c | 74 * scan expecting 1 given token 77 scan(tok_kind expect, token *tokp) function in typeref:typename:void 85 * scan expecting any of the 2 given tokens 96 * scan expecting any of the 3 given token 108 * scan expecting a constant, possibly symbolic 131 * Peek at the next token and scan it if it matches what you expect
|
/src/sys/arch/ews4800mips/stand/common/ |
console.h | 72 int (*scan)(void); member in struct:cons
|
/src/sys/arch/hpcsh/dev/ |
pfckbd.c | 33 * Matrix scan keyboard connected to SH7709, SH7709A PFC module. 215 * Called by platform specific scan routines to report key events to hpckbd 242 * Platform dependent scan routines. 273 * Pull the n'th scan line in D low. 290 } scan[] = { local in function:pfckbd_callout_hp 309 /* disable output to all lines except the one we scan */ 310 _reg_write_2(SH7709_PDCR, dc | scan[column].dc); 311 _reg_write_2(SH7709_PECR, ec | scan[column].ec); 314 /* pull the scan line low */ 315 _reg_write_1(SH7709_PDDR, scan[column].d) 389 } scan[] = { local in function:pfckbd_callout_hitachi [all...] |
/src/sys/external/bsd/drm2/dist/drm/nouveau/ |
nouveau_display.c | 116 struct nv04_disp_scanoutpos_v0 scan; member in struct:nouveau_display_scanoutpos_head::__anon84cb02490108 131 if (args.scan.vline) { 139 *hpos = args.scan.hline; 140 *vpos = calc(args.scan.vblanks, args.scan.vblanke, 141 args.scan.vtotal, args.scan.vline); 142 if (stime) *stime = ns_to_ktime(args.scan.time[0]); 143 if (etime) *etime = ns_to_ktime(args.scan.time[1]);
|
/src/sys/netcan/ |
can.c | 482 struct sockaddr_can *scan = (struct sockaddr_can *)nam; local in function:can_bind 487 return can_pcbbind(canp, scan, l);
|
/src/lib/libcompat/regexp/ |
regexp.c | 167 static char *regparse; /* Input-scan pointer. */ 213 char *scan; local in function:__compat_regcomp 259 scan = r->program+1; /* First BRANCH. */ 260 if (OP(regnext(scan)) == END) { /* Only one top-level choice. */ 261 scan = OPERAND(scan); 264 if (OP(scan) == EXACTLY) 265 r->regstart = *OPERAND(scan); 266 else if (OP(scan) == BOL) 280 for (; scan != NULL; scan = regnext(scan) 728 char *scan; local in function:regtail 903 char *scan; \/* Current node. *\/ local in function:regmatch 1103 char *scan; local in function:regrepeat [all...] |
/src/lib/libc/gen/ |
getcap.c | 521 char *icap, *scan, *tc, *tcstart, *tcend; local in function:getent 528 * Scan points at remainder of record that needs to be 531 scan = record; 533 if ((tc = cgetcap(scan, "tc", '=')) == NULL) 570 scan = s - 1; 632 * Start scan on `:' so next cgetcap works properly 635 scan = s - 1;
|
/src/common/dist/zlib/ |
deflate.c | 1352 register Bytef *scan = s->window + s->strstart; /* current string */ local in function:longest_match 1370 register ush scan_start = *(ushf*)scan; 1371 register ush scan_end = *(ushf*)(scan + best_len - 1); 1374 register Byte scan_end1 = scan[best_len - 1]; 1375 register Byte scan_end = scan[best_len]; 1414 /* It is not necessary to compare scan[2] and match[2] since they are 1423 Assert(scan[2] == match[2], "scan[2]?"); 1424 scan++, match++; 1426 } while (*(ushf*)(scan += 2) == *(ushf*)(match += 2) & 1499 register Bytef *scan = s->window + s->strstart; \/* current string *\/ local in function:longest_match 2043 Bytef *scan, *strend; \/* scan goes up to strend for length of run *\/ local in function:deflate_rle [all...] |
/src/usr.sbin/pwd_mkdb/ |
pwd_mkdb.c | 181 static int scan(FILE *, struct passwd *, int *, int *); 432 for (lineno = 0; scan(fp, &pwd, &flags, &lineno);) { 538 for (lineno = 0; scan(fp, &pwd, &flags, &lineno);) 585 scan(FILE *fp, struct passwd *pw, int *flags, int *lineno) function in typeref:typename:int
|
/src/sys/altq/ |
altq_jobs.c | 496 struct jobs_class *cl, *scan; local in function:jobs_enqueue 515 scan = jif->jif_classes[pri]; 516 if (scan != NULL) { 521 PKTCNTR_RESET(&scan->cl_rin); 522 PKTCNTR_RESET(&scan->cl_rout); 523 PKTCNTR_RESET(&scan->cl_rout_th); 524 PKTCNTR_RESET(&scan->cl_arrival); 525 PKTCNTR_RESET(&scan->cl_dropcnt); 526 scan->cl_lastdel = 0; 527 scan->current_loss = 0 [all...] |
/src/sys/external/bsd/drm2/dist/drm/i915/display/ |
intel_panel.c | 74 const struct drm_display_mode *scan, *best_mode = NULL; local in function:intel_panel_edid_downclock_mode 78 list_for_each_entry(scan, &connector->base.probed_modes, head) { 86 if (is_downclock_mode(scan, fixed_mode) && 87 scan->clock < best_clock) { 92 best_clock = scan->clock; 93 best_mode = scan; 115 const struct drm_display_mode *scan; local in function:intel_panel_edid_fixed_mode 122 list_for_each_entry(scan, &connector->base.probed_modes, head) { 123 if ((scan->type & DRM_MODE_TYPE_PREFERRED) == 0) 126 fixed_mode = drm_mode_duplicate(&dev_priv->drm, scan); [all...] |
/src/sys/external/bsd/drm2/dist/drm/selftests/ |
test-drm_mm.c | 1148 static void show_scan(const struct drm_mm_scan *scan) 1150 pr_info("scan: hit [%llx, %llx], size=%lld, align=%lld, color=%ld\n", 1151 scan->hit_start, scan->hit_end, 1152 scan->size, scan->alignment, scan->color); 1192 static bool evict_nodes(struct drm_mm_scan *scan, 1205 if (drm_mm_scan_add_block(scan, &e->node)) 1209 if (!drm_mm_scan_remove_block(scan, &e->node) 1243 struct drm_mm_scan scan; local in function:evict_nothing 1290 struct drm_mm_scan scan; local in function:evict_everything 1344 struct drm_mm_scan scan; local in function:evict_something 2098 struct drm_mm_scan scan; local in function:evict_color [all...] |
/src/usr.bin/mail/ |
list.c | 83 static int lexnumber; /* Number of TNUMBER from scan() */ 84 static char lexstring[STRINGLEN]; /* String from TSTRING, scan() */ 91 * Scan out the list of string arguments, shell style 295 * scan out a single lexical item and return its token number, 301 scan(char **sp) function in typeref:enum:token_e 349 * If the leading character is a digit, scan 970 while ((tok = scan(bufp)) != TEOL) { 1012 t = scan(bufp); /* peek ahead */ 1049 tok = scan(bufp);
|
/src/sys/net80211/ |
ieee80211_input.c | 1967 struct ieee80211_frame *wh, struct ieee80211_scanparams *scan, int rssi, 1975 if ((ni = ieee80211_add_neighbor(ic, wh, scan)) == NULL) 1985 ieee80211_init_neighbor(ic, ni, wh, scan, 0); 1988 memcpy(ni->ni_tstamp.data, scan->sp_tstamp, sizeof(ni->ni_tstamp)); 2005 * want to belong to, so start a scan. 2014 * No need to SCAN, we already belong to 2016 * SSID, etc. It could be harmful to scan, 2017 * too: if a scan does not detect nodes 2020 * the scan, needlessly splitting the 2066 struct ieee80211_scanparams scan; local in function:ieee80211_recv_mgmt_beacon [all...] |
/src/sys/dev/pci/ |
if_iwi.c | 1256 DPRINTFN(2, ("Scan of channel %u complete (%u)\n", 1265 struct iwi_notif_scan_complete *scan = local in function:iwi_notification_intr 1268 DPRINTFN(2, ("Scan completed (%u, %u)\n", scan->nchan, 1269 scan->status)); 1273 /* monitor mode uses scan to set the channel ... */ 2489 struct iwi_scan_v2 scan; local in function:iwi_set_chan 2491 (void)memset(&scan, 0, sizeof scan); 2493 scan.dwelltime[IWI_SCAN_TYPE_PASSIVE] = htole16(2000) 2507 struct iwi_scan_v2 scan; local in function:iwi_scan [all...] |
if_wpi.c | 959 "could not initiate scan\n"); 1777 struct wpi_start_scan *scan = 1781 scan->chan, le32toh(scan->status))); 1784 ic->ic_curchan = &ic->ic_channels[scan->chan]; 1791 struct wpi_stop_scan *scan = local in function:wpi_notif_intr 1795 DPRINTF(("scan finished nchan=%d status=%d chan=%d\n", 1796 scan->nchan, scan->status, scan->chan)) [all...] |
if_iwn.c | 961 * the repeated scan calls. Also the calls to if_init and if_start 1857 /* Is active scan allowed on this channel? */ 1978 /* XXX Do not abort a running scan. */ 1981 aprint_debug_dev(sc->sc_dev, "scan request(%d) " 1997 "could not initiate scan\n"); 2396 /* Ignore statistics received during a scan. */ 2671 struct iwn_start_scan *scan = local in function:iwn_notif_intr 2675 sizeof (*scan), BUS_DMASYNC_POSTREAD); 2677 scan->chan, le32toh(scan->status))) 2685 struct iwn_stop_scan *scan = local in function:iwn_notif_intr [all...] |
/src/sys/dev/ic/ |
bwfm.c | 621 printf("%s: could not set scan channel time\n", DEVNAME(sc)); 626 printf("%s: could not set scan unassoc time\n", DEVNAME(sc)); 631 printf("%s: could not set scan passive time\n", DEVNAME(sc)); 1949 /* Active scan is used for scanning for an SSID */ 1971 /* Scan a specific channel */ 2082 params->scan.scan_type = -1; 2083 params->scan.nprobes = htole32(-1); 2084 params->scan.active_time = htole32(-1); 2085 params->scan.passive_time = htole32(-1); 2086 params->scan.home_time = htole32(-1) 2280 struct ieee80211_scanparams scan; local in function:bwfm_scan_node [all...] |
bwfmreg.h | 630 struct bwfm_join_scan_params scan; member in struct:bwfm_ext_join_params
|
/src/lib/libc/regex/ |
regcomp.c | 177 static int altoffset(sop *scan, int offset); 2005 sop *scan; local in function:findmust 2036 scan = g->strip + 1; 2038 s = *scan++; 2043 newstart = scan - 1; 2061 offset = altoffset(scan, offset); 2062 scan--; 2064 scan += OPND(s); 2065 s = *scan; 2170 scan = start 2402 sop *scan; local in function:pluscount [all...] |
/src/sys/external/bsd/drm2/dist/drm/amd/display/dc/ |
dc.h | 137 enum dc_scan_direction scan; member in struct:dc_dcc_surface_param
|
/src/sys/net/ |
zlib.c | 1354 Bytef *scan = s->window + s->strstart; /* current string */ local in function:longest_match 1372 ush scan_start = *(ushf*)scan; 1373 ush scan_end = *(ushf*)(scan+best_len-1); 1376 Byte scan_end1 = scan[best_len-1]; 1377 Byte scan_end = scan[best_len]; 1410 /* It is not necessary to compare scan[2] and match[2] since they are 1419 Assert(scan[2] == match[2], "scan[2]?"); 1420 scan++, match++; 1422 } while (*(ushf*)(scan+=2) == *(ushf*)(match+=2) & 1495 register Bytef *scan = s->window + s->strstart; \/* current string *\/ local in function:longest_match [all...] |