/netbsd-src/usr.bin/scmdctl/ |
H A D | scmdctl.c | 166 int lock_type = -1; in main() local 527 lock_type = valid_cmd(lockcmdtypes,__arraycount(lockcmdtypes),argv[3]); in main() 528 if (lock_type == -1) { in main() 533 lock_type = lockcmdtypes[lock_type].id; in main() 536 fprintf(stderr,"Lock type in lock command: %d\n",lock_type); in main() 540 error = common_get_lock_state(&func_block, fd, debug, lock_type, &lock_state); in main() 543 error = common_set_lock_state(&func_block, fd, debug, lock_type, SCMD_LOCK_LOCKED); in main() 546 error = common_set_lock_state(&func_block, fd, debug, lock_type, SCMD_LOCK_UNLOCK); in main() 608 if (lock_type in main() [all...] |
/netbsd-src/external/gpl2/lvm2/dist/lib/locking/ |
H A D | cluster_locking.c | 389 const char *lock_type = ""; in _lock_resource() local 431 lock_type = "UN"; in _lock_resource() 434 lock_type = "NL"; in _lock_resource() 437 lock_type = "CR"; in _lock_resource() 440 lock_type = "PR"; in _lock_resource() 443 lock_type = "PW"; in _lock_resource() 446 lock_type = "EX"; in _lock_resource() 455 lock_type, in _lock_resource()
|
/netbsd-src/external/gpl2/lvm2/dist/lib/misc/ |
H A D | lvm-file.c | 209 int fcntl_lock_file(const char *file, short lock_type, int warn_if_read_only) in fcntl_lock_file() argument 215 .l_type = lock_type, in fcntl_lock_file() 237 (lock_type == F_WRLCK) ? "F_WRLCK" : "F_RDLCK", in fcntl_lock_file() 238 lock_type); in fcntl_lock_file()
|
H A D | lvm-file.h | 49 int fcntl_lock_file(const char *file, short lock_type, int warn_if_read_only);
|
/netbsd-src/external/ibm-public/postfix/dist/src/util/ |
H A D | dict_alloc.c | 126 return (myflock(dict->lock_fd, dict->lock_type, operation)); in dict_default_lock() 155 dict->lock_type = INTERNAL_LOCK; in dict_alloc()
|
H A D | dict.h | 91 int lock_type; /* for read/write lock */ member
|
H A D | dict_lmdb.c | 657 dict_lmdb->dict.lock_type = MYFLOCK_STYLE_FCNTL; in dict_lmdb_open()
|
/netbsd-src/external/gpl2/lvm2/dist/tools/ |
H A D | toollib.h | 29 uint32_t lock_type); 39 struct volume_group *vg, uint32_t lock_type,
|
/netbsd-src/sys/kern/ |
H A D | vfs_trans.c | 520 _fstrans_start(struct mount *mp, enum fstrans_lock_type lock_type, int wait) in _fstrans_start() 540 if (__predict_true(grant_lock(fmi, lock_type))) { in _fstrans_start() 542 fli->fli_lock_type = lock_type; in _fstrans_start() 553 while (! grant_lock(fmi, lock_type)) in _fstrans_start() 556 fli->fli_lock_type = lock_type; in _fstrans_start() 517 _fstrans_start(struct mount * mp,enum fstrans_lock_type lock_type,int wait) _fstrans_start() argument
|
/netbsd-src/external/gpl2/lvm2/dist/include/ |
H A D | lvm-file.h | 49 int fcntl_lock_file(const char *file, short lock_type, int warn_if_read_only);
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hdb/ |
H A D | hdb.h | 118 int lock_type; member
|
H A D | hdb-mitdb.c | 728 if (db->lock_type == HDB_WLOCK || db->lock_count == operation) in mdb_lock()
|
/netbsd-src/sys/uvm/ |
H A D | uvm_fault.c | 275 krw_t lock_type; in uvmfault_anonget() local 316 lock_type = rw_lock_op(anon->an_lock); in uvmfault_anonget() 358 if (lock_type == RW_READER) { in uvmfault_anonget() 406 rw_enter(anon->an_lock, lock_type); in uvmfault_anonget() 421 KASSERT(lock_type == RW_WRITER); in uvmfault_anonget()
|
/netbsd-src/external/gpl3/gcc.old/dist/gcc/fortran/ |
H A D | iso-fortran-env.def | 123 NAMED_DERIVED_TYPE (ISOFORTRAN_LOCK_TYPE, "lock_type", \
|
H A D | parse.c | 2974 bool coarray, lock_type, event_type, allocatable, pointer; in check_component() local 2975 coarray = lock_type = event_type = allocatable = pointer = false; in check_component() 3036 lock_type = 1; in check_component() 3063 if (pointer && !coarray && lock_type) in check_component() 3074 if (lock_type && allocatable && !coarray) in check_component() 3077 else if (lock_type && allocatable && c->ts.type == BT_DERIVED in check_component() 3083 if (sym->attr.coarray_comp && !coarray && lock_type) in check_component() 3090 if (sym->attr.lock_comp && coarray && !lock_type) in check_component()
|
H A D | resolve.c | 10147 gfc_symbol *lock_type; in resolve_critical() local 10157 lock_type = symtree->n.sym; in resolve_critical() 10163 lock_type = symtree->n.sym; in resolve_critical() 10164 lock_type->attr.flavor = FL_DERIVED; in resolve_critical() 10165 lock_type->attr.zero_comp = 1; in resolve_critical() 10166 lock_type->from_intmod = INTMOD_ISO_FORTRAN_ENV; in resolve_critical() 10167 lock_type->intmod_sym_id = ISOFORTRAN_LOCK_TYPE; in resolve_critical() 10180 symtree->n.sym->ts.u.derived = lock_type; in resolve_critical()
|
/netbsd-src/external/gpl3/gcc/dist/gcc/fortran/ |
H A D | iso-fortran-env.def | 123 NAMED_DERIVED_TYPE (ISOFORTRAN_LOCK_TYPE, "lock_type", \
|
H A D | parse.cc | 3224 bool coarray, lock_type, event_type, allocatable, pointer; in check_component() local 3225 coarray = lock_type = event_type = allocatable = pointer = false; in check_component() 3286 lock_type = 1; in check_component() 3313 if (pointer && !coarray && lock_type) in check_component() 3324 if (lock_type && allocatable && !coarray) in check_component() 3327 else if (lock_type && allocatable && c->ts.type == BT_DERIVED in check_component() 3333 if (sym->attr.coarray_comp && !coarray && lock_type) in check_component() 3340 if (sym->attr.lock_comp && coarray && !lock_type) in check_component()
|
H A D | resolve.cc | 10286 gfc_symbol *lock_type; in resolve_critical() local 10296 lock_type = symtree->n.sym; in resolve_critical() 10302 lock_type = symtree->n.sym; in resolve_critical() 10303 lock_type->attr.flavor = FL_DERIVED; in resolve_critical() 10304 lock_type->attr.zero_comp = 1; in resolve_critical() 10305 lock_type->from_intmod = INTMOD_ISO_FORTRAN_ENV; in resolve_critical() 10306 lock_type->intmod_sym_id = ISOFORTRAN_LOCK_TYPE; in resolve_critical() 10319 symtree->n.sym->ts.u.derived = lock_type; in resolve_critical()
|
H A D | ChangeLog-2015 | 2071 * trans-types.c (gfc_get_derived_type): For lock_type with 2074 Handle lock_type with -fcoarray=lib.
|
H A D | ChangeLog-2011 | 1828 * parse.c (parse_derived): Add lock_type 1831 resolve_lock_unlock, resolve_symbol): Fix lock_type
|