Home
last modified time | relevance | path

Searched defs:lock (Results 1 – 25 of 328) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/uts/common/sys/
H A Dflock_impl.h262 #define IS_WILLING_TO_SLEEP(lock) \ argument
318 #define NOT_BLOCKED(lock) \ argument
321 #define GRANT_WAKEUP(lock) \ argument
334 #define CANCEL_WAKEUP(lock) \ argument
347 #define INTERRUPT_WAKEUP(lock) \ argument
360 #define REMOVE_SLEEP_QUEUE(lock) \ argument
370 #define NO_DEPENDENTS(lock) \ argument
373 #define GRANT(lock) \ argument
381 #define HEAD(lock) (&(lock)->l_edge) argument
384 #define IN_ADJ_INIT(lock) \ argument
[all …]
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_lock.c68 smb_lock_t *lock; in smb_lock_get_lock_count() local
106 smb_lock_t *lock = NULL; in smb_unlock_range() local
180 smb_lock_t *lock; in smb_lock_range() local
360 smb_lock_t *lock; in smb_lock_range_access() local
421 smb_lock_t *lock; in smb_node_destroy_lock_by_ofile() local
491 smb_lock_t *lock; in smb_lock_range_cancel() local
721 smb_lock_t *lock; in smb_lock_range_lckrules() local
958 smb_lock_t *lock; in smb_lock_range_ulckrules() local
988 smb_lock_t *lock; in smb_lock_create() local
1017 smb_lock_free(smb_lock_t *lock) in smb_lock_free()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c1083 lock_descriptor_t *lock; in flk_process_request() local
1923 lock_descriptor_t *lock; in flk_insert_sleeping_lock() local
2092 lock_descriptor_t *lock; in flk_graph_uncolor() local
2505 lock_descriptor_t *lock; in cl_flk_has_remote_locks_for_nlmid() local
2579 lock_descriptor_t *lock; in flk_has_remote_locks() local
2627 lock_descriptor_t *lock; in flk_has_remote_locks_for_sysid() local
2684 lock_descriptor_t *lock; in flk_sysid_has_locks() local
3665 lock_descriptor_t *lock; in get_lock_list() local
3910 lock_descriptor_t *lock; in cl_flk_wakeup_sleeping_nlm_locks() local
3958 lock_descriptor_t *lock; in cl_flk_unlock_nlm_granted() local
[all …]
H A Dmsg.c444 kmutex_t *lock; in msgctl() local
596 kmutex_t *lock; in msgget() local
670 kmutex_t *lock; in msgrcv() local
804 msg_copyout(kmsqid_t *qp, long msgtyp, kmutex_t **lock, size_t *xtsz_ret, in msg_copyout()
972 kmutex_t *lock; in msgsnap() local
1097 kmutex_t *lock = NULL; in msgsnd() local
1404 msg_rcvq_sleep(list_t *queue, msgq_wakeup_t *entry, kmutex_t **lock, in msg_rcvq_sleep()
/illumos-gate/usr/src/uts/common/io/hxge/
H A Dhxge_common_impl.h119 #define MUTEX_INIT(lock, name, type, arg) \ argument
121 #define MUTEX_ENTER(lock) mutex_enter(lock) argument
122 #define MUTEX_TRY_ENTER(lock) mutex_tryenter(lock) argument
123 #define MUTEX_EXIT(lock) mutex_exit(lock) argument
124 #define MUTEX_DESTROY(lock) mutex_destroy(lock) argument
126 #define RW_INIT(lock, name, type, arg) rw_init(lock, name, type, arg) argument
127 #define RW_ENTER_WRITER(lock) rw_enter(lock, RW_WRITER) argument
128 #define RW_ENTER_READER(lock) rw_enter(lock, RW_READER) argument
129 #define RW_TRY_ENTER(lock, type) rw_tryenter(lock, type) argument
130 #define RW_EXIT(lock) rw_exit(lock) argument
[all …]
/illumos-gate/usr/src/uts/common/io/i40e/
H A Di40e_osdep.c176 i40e_init_spinlock(struct i40e_spinlock *lock) in i40e_init_spinlock()
182 i40e_acquire_spinlock(struct i40e_spinlock *lock) in i40e_acquire_spinlock()
188 i40e_release_spinlock(struct i40e_spinlock *lock) in i40e_release_spinlock()
194 i40e_destroy_spinlock(struct i40e_spinlock *lock) in i40e_destroy_spinlock()
/illumos-gate/usr/src/tools/smatch/src/validation/
H A Dsm_locking6.c5 #define spin_trylock_irqsave(lock, flags) \ argument
17 int lock = 1; in func() local
H A Dsm_locking7.c10 int lock; in func() local
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdssubr.c68 rds_increment_kstat(kstat_named_t *ksnp, boolean_t lock, uint_t num) in rds_increment_kstat()
78 rds_decrement_kstat(kstat_named_t *ksnp, boolean_t lock, uint_t num) in rds_decrement_kstat()
88 rds_set_kstat(kstat_named_t *ksnp, boolean_t lock, ulong_t num) in rds_set_kstat()
98 rds_get_kstat(kstat_named_t *ksnp, boolean_t lock) in rds_get_kstat()
/illumos-gate/usr/src/lib/sun_fc/common/
H A DLockable.cc80 void Lockable::lock() { in lock() function in Lockable
89 void Lockable::lock(pthread_mutex_t *myMutex) { in lock() function in Lockable
/illumos-gate/usr/src/uts/common/vm/
H A Dseg_vn.h87 krwlock_t lock; /* protect segvn_data and vpage array */ member
136 #define SEGVN_LOCK_ENTER(as, lock, type) rw_enter((lock), (type)) argument
137 #define SEGVN_LOCK_EXIT(as, lock) rw_exit((lock)) argument
138 #define SEGVN_LOCK_DOWNGRADE(as, lock) rw_downgrade((lock)) argument
139 #define SEGVN_LOCK_TRYENTER(as, lock, type) rw_tryenter((lock), (type)) argument
144 #define SEGVN_LOCK_HELD(as, lock) RW_LOCK_HELD((lock)) argument
145 #define SEGVN_READ_HELD(as, lock) RW_READ_HELD((lock)) argument
146 #define SEGVN_WRITE_HELD(as, lock) RW_WRITE_HELD((lock)) argument
H A Danon.h331 #define ANON_LOCK_ENTER(lock, type) rw_enter((lock), (type)) argument
332 #define ANON_LOCK_EXIT(lock) rw_exit((lock)) argument
333 #define ANON_LOCK_HELD(lock) RW_LOCK_HELD((lock)) argument
334 #define ANON_READ_HELD(lock) RW_READ_HELD((lock)) argument
335 #define ANON_WRITE_HELD(lock) RW_WRITE_HELD((lock)) argument
/illumos-gate/usr/src/cmd/sendmail/db/include/
H A Dbtree.h66 #define __BT_LPUT(dbc, lock) \ argument
69 #define __BT_TLPUT(dbc, lock) \ argument
126 DB_LOCK lock; /* The page's lock. */ member
138 #define BT_STK_ENTER(c, pagep, page_indx, lock, ret) do { \ argument
147 #define BT_STK_PUSH(c, pagep, page_indx, lock, ret) do { \ argument
192 DB_LOCK lock; /* Cursor read lock. */ member
/illumos-gate/usr/src/uts/common/sys/nxge/
H A Dnxge_common_impl.h168 #define MUTEX_INIT(lock, name, type, arg) \ argument
170 #define MUTEX_ENTER(lock) mutex_enter(lock) argument
171 #define MUTEX_TRY_ENTER(lock) mutex_tryenter(lock) argument
172 #define MUTEX_EXIT(lock) mutex_exit(lock) argument
173 #define MUTEX_DESTROY(lock) mutex_destroy(lock) argument
175 #define RW_INIT(lock, name, type, arg) rw_init(lock, name, type, arg) argument
176 #define RW_ENTER_WRITER(lock) rw_enter(lock, RW_WRITER) argument
177 #define RW_ENTER_READER(lock) rw_enter(lock, RW_READER) argument
178 #define RW_TRY_ENTER(lock, type) rw_tryenter(lock, type) argument
179 #define RW_EXIT(lock) rw_exit(lock) argument
[all …]
/illumos-gate/usr/src/lib/libnsl/common/
H A Ddaemon_utils.c65 struct flock lock; in _check_daemon_lock() local
144 struct flock lock; in _enter_daemon_lock() local
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dli.c94 flock_t lock; in di_dli_open() local
150 flock_t lock; in di_dli_close() local
/illumos-gate/usr/src/cmd/mdb/common/kmdb/
H A Dkaif_start.c68 kaif_lock_enter(uintptr_t *lock) in kaif_lock_enter()
76 kaif_lock_exit(uintptr_t *lock) in kaif_lock_exit()
/illumos-gate/usr/src/cmd/sendmail/db/btree/
H A Dbt_rsearch.c74 DB_LOCK lock; local
333 DB_LOCK lock; local
/illumos-gate/usr/src/cmd/mail/
H A Dlock.c36 lock(char *user) in lock() function
/illumos-gate/usr/src/cmd/mailx/
H A Dlock.c47 lock(FILE *fp, char *mode, int blk) in lock() function
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/
H A Daso.c27 asolock(unsigned int volatile* lock, unsigned int key, int type) in asolock()
/illumos-gate/usr/src/uts/common/io/qede/579xx/drivers/ecore/
H A Decore_fcoe.h46 osal_spinlock_t lock; member
/illumos-gate/usr/src/cmd/rcm_daemon/common/
H A Drcm_main.c133 struct flock lock; in enter_daemon_lock() local
174 struct flock lock; in exit_daemon_lock() local
/illumos-gate/usr/src/uts/i86pc/os/
H A Dhold_page.c34 plat_hold_page(pfn_t pfn, int lock, page_t **pp_ret) in plat_hold_page()
/illumos-gate/usr/src/lib/libzonecfg/common/
H A Dgetzoneent.c202 struct flock lock; in lock_index_file() local
233 struct flock lock; in unlock_index_file() local

12345678910>>...14