HomeSort by: relevance | last modified time | path
    Searched refs:lock_type (Results 1 - 3 of 3) 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/kern/
vfs_trans.c 520 _fstrans_start(struct mount *mp, enum fstrans_lock_type lock_type, int wait)
540 if (__predict_true(grant_lock(fmi, lock_type))) {
542 fli->fli_lock_type = lock_type;
553 while (! grant_lock(fmi, lock_type))
556 fli->fli_lock_type = lock_type;
  /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 15 milliseconds