HomeSort by: relevance | last modified time | path
    Searched defs:lock_type (Results 1 - 2 of 2) sorted by relevancy

  /src/usr.bin/scmdctl/
scmdctl.c 166 int lock_type = -1; local in function:main
527 lock_type = valid_cmd(lockcmdtypes,__arraycount(lockcmdtypes),argv[3]);
528 if (lock_type == -1) {
533 lock_type = lockcmdtypes[lock_type].id;
536 fprintf(stderr,"Lock type in lock command: %d\n",lock_type);
540 error = common_get_lock_state(&func_block, fd, debug, lock_type, &lock_state);
543 error = common_set_lock_state(&func_block, fd, debug, lock_type, SCMD_LOCK_LOCKED);
546 error = common_set_lock_state(&func_block, fd, debug, lock_type, SCMD_LOCK_UNLOCK);
608 if (lock_type == SCMD_LOCAL_USER_LOCK |
    [all...]
  /src/sys/uvm/
uvm_fault.c 275 krw_t lock_type; local in function:uvmfault_anonget
316 lock_type = rw_lock_op(anon->an_lock);
358 if (lock_type == RW_READER) {
406 rw_enter(anon->an_lock, lock_type);
421 KASSERT(lock_type == RW_WRITER);

Completed in 14 milliseconds