OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:locknum
(Results
1 - 4
of
4
) sorted by relevancy
/src/games/hack/
hack.main.c
87
int
locknum
; /* max num of players */
variable in typeref:typename:int
243
locknum
= atoi(argv[1]);
245
if (!
locknum
||
locknum
> MAX_NR_OF_PLAYERS)
246
locknum
= MAX_NR_OF_PLAYERS;
273
* (if !
locknum
) or check max nr of players (otherwise)
277
if (!
locknum
)
279
getlock(); /* sets lock if
locknum
!= 0 */
hack.unix.c
96
extern int
locknum
;
301
if (
locknum
> 25)
302
locknum
= 25;
305
if (
locknum
)
318
} while (i <
locknum
);
321
error(
locknum
? "Too many hacks running now."
/src/sys/dev/pci/
if_bge.c
729
bge_ape_lock(struct bge_softc *sc, int
locknum
)
747
off = 4 *
locknum
;
749
switch (
locknum
) {
800
locknum
, req + off, bit & 0xFFFF, gnt + off,
811
bge_ape_unlock(struct bge_softc *sc, int
locknum
)
825
off = 4 *
locknum
;
827
switch (
locknum
) {
/src/sys/uvm/pmap/
pmap.c
2291
size_t
locknum
= atomic_add_int_nv(&pli->pli_lock_index, 37);
local in function:pmap_pvlist_lock_addr
2292
size_t lockid =
locknum
& pli->pli_lock_mask;
Completed in 26 milliseconds
Indexes created Wed Oct 15 16:09:53 GMT 2025