| /src/games/wump/ |
| wump.c | 409 int j, arrow_location, lnk, ok; local in function:shoot 450 lnk = (random() % link_num); 451 if (lnk == player_loc) 456 else if (cave[arrow_location].tunnel[lnk] > room_num) 460 cave[arrow_location].tunnel[lnk]); 466 cave[arrow_location].tunnel[lnk]); 467 arrow_location = cave[arrow_location].tunnel[lnk]; 531 int i, j, k, lnk; local in function:cave_init 560 lnk = ((i + delta) % room_num) + 1; /* connection */ 561 cave[i].tunnel[0] = lnk; /* forw link * [all...] |
| /src/sys/external/bsd/drm2/dist/drm/nouveau/nvkm/engine/disp/ |
| nouveau_nvkm_engine_disp_sorgm200.c | 75 int lnk[2], sor[2], m, s; local in function:gm200_sor_route_get 81 lnk[s] = (data & 0x00000010) >> 4; 85 *link |= lnk[s]; 90 if (sor[0] != sor[1] || WARN_ON(lnk[0] || !lnk[1]))
|
| /src/sbin/mount_qemufwcfg/ |
| virtdir.h | 44 uint8_t type; /* entry type - file, dir, lnk */ 58 struct stat lnk; /* stat struct for symlinks */ member in struct:virtdir_t
|
| virtdir.c | 113 tp->lnk = *l; 114 tp->lnk.st_mode = S_IFLNK | 0644; 115 tp->lnk.st_nlink = 1;
|
| /src/share/examples/refuse/virtdir/ |
| virtdir.h | 45 uint8_t type; /* entry type - file, dir, lnk */ 58 struct stat lnk; /* stat struct for symlinks */ member in struct:virtdir_t
|
| virtdir.c | 123 (void) memcpy(&tp->lnk, l, sizeof(tp->lnk)); 124 tp->lnk.st_mode = S_IFLNK | 0644; 125 tp->lnk.st_nlink = 1;
|
| /src/usr.sbin/catman/ |
| catman.c | 265 int len, lnk, gflags; local in function:uniquepath 280 lnk = 0; 292 lnk = 1; 303 lnk = 1; 305 if (lnk) 310 if (!lnk) {
|
| /src/tests/fs/tmpfs/ |
| t_readdir.sh | 59 atf_check -s exit:0 -o empty -e empty ln -s reg lnk
|
| /src/usr.bin/xinstall/ |
| xinstall.c | 530 char src[MAXPATHLEN], dst[MAXPATHLEN], lnk[MAXPATHLEN]; local in function:makelink 640 for (++d, lnk[0] = '\0'; *d; d++) 642 (void)strlcat(lnk, "../", sizeof(lnk)); 644 (void)strlcat(lnk, ++s, sizeof(lnk)); 646 do_symlink(lnk, to_name); 647 /* XXX: lnk may point outside of destdir */ 648 metadata_log(to_name, "link", NULL, lnk, NULL, 0);
|
| /src/share/examples/refuse/id3fs/ |
| id3fs.c | 76 (void) memcpy(st, &id3.lnk, sizeof(*st));
|
| /src/share/examples/refuse/pcifs/ |
| pcifs.c | 71 (void) memcpy(st, &pci.lnk, sizeof(*st));
|
| /src/share/examples/refuse/ian/ian/ |
| ian.c | 156 (void) memcpy(st, &ian.lnk, sizeof(*st));
|
| /src/share/examples/refuse/dmesgfs/ |
| dmesgfs.c | 90 (void) memcpy(st, &pci.lnk, sizeof(*st));
|
| /src/sys/dev/pci/cxgb/ |
| cxgb_main.c | 320 uint16_t lnk, pectl; local in function:cxgb_controller_attach 321 lnk = pci_read_config(dev, reg + 0x12, 2); 322 sc->link_width = (lnk >> 4) & 0x3f;
|