/titanic_50/usr/src/uts/common/sys/ |
H A D | flock_impl.h | 229 #define SET_LOCK_TO_FIRST_ACTIVE_VP(gp, lock, vp) \ argument 234 #define SET_LOCK_TO_FIRST_SLEEP_VP(gp, lock, vp) \ argument 248 #define IS_INITIAL(lock) ((lock)->l_status == FLK_INITIAL_STATE) argument 249 #define IS_ACTIVE(lock) ((lock)->l_status == FLK_ACTIVE_STATE) argument 250 #define IS_SLEEPING(lock) ((lock)->l_status == FLK_SLEEPING_STATE) argument 251 #define IS_GRANTED(lock) ((lock)->l_status == FLK_GRANTED_STATE) argument 252 #define IS_INTERRUPTED(lock) ((lock)->l_status == FLK_INTERRUPTED_STATE) argument 253 #define IS_CANCELLED(lock) ((lock)->l_status == FLK_CANCELLED_STATE) argument 254 #define IS_DEAD(lock) ((lock)->l_status == FLK_DEAD_STATE) argument 256 #define IS_QUERY_LOCK(lock) ((lock)->l_state & QUERY_LOCK) argument [all …]
|
/titanic_50/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_lock.c | 61 smb_lock_t *lock; in smb_lock_get_lock_count() local 97 smb_lock_t *lock = NULL; in smb_unlock_range() local 148 smb_lock_t *lock; in smb_lock_range() local 277 smb_lock_t *lock; in smb_lock_range_access() local 310 smb_lock_t *lock; in smb_node_destroy_lock_by_ofile() local 424 smb_lock_posix_unlock(smb_node_t *node, smb_lock_t *lock, cred_t *cr) in smb_lock_posix_unlock() 485 smb_lock_range_overlap(struct smb_lock *lock, uint64_t start, uint64_t length) in smb_lock_range_overlap() 533 smb_lock_t *lock; in smb_lock_range_lckrules() local 702 smb_lock_t *lock; in smb_lock_range_ulckrules() local 733 smb_lock_t *lock; in smb_lock_create() local [all …]
|
/titanic_50/usr/src/uts/common/io/drm/ |
H A D | drm_lock.c | 46 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_take() local 81 volatile unsigned int *lock = &lock_data->hw_lock->lock; in drm_lock_transfer() local 93 drm_lock_free(drm_device_t *dev, volatile unsigned int *lock, in drm_lock_free() 122 drm_lock_t lock; in drm_lock() local 169 drm_lock_t lock; in drm_unlock() local
|
/titanic_50/usr/src/uts/common/os/ |
H A D | flock.c | 461 lock_descriptor_t *fplock, *lock, *nlock; in ofdcleanlock() local 1010 flk_free_lock(lock_descriptor_t *lock) in flk_free_lock() 1028 flk_set_state(lock_descriptor_t *lock, int new_state) in flk_set_state() 1083 lock_descriptor_t *lock; in flk_process_request() local 1305 lock_descriptor_t *lock, *lock1; in flk_execute_request() local 1613 flk_relation(lock_descriptor_t *lock, lock_descriptor_t *request) in flk_relation() 1845 lock_descriptor_t *first_lock, *lock; in flk_insert_active_lock() local 1882 flk_delete_active_lock(lock_descriptor_t *lock, int free_lock) in flk_delete_active_lock() 1921 lock_descriptor_t *lock; in flk_insert_sleeping_lock() local 1952 lock_descriptor_t *vertex, *lock; in flk_cancel_sleeping_lock() local [all …]
|
H A D | msg.c | 444 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()
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_common_impl.h | 119 #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 …]
|
/titanic_50/usr/src/uts/common/io/i40e/ |
H A D | i40e_osdep.c | 176 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()
|
/titanic_50/usr/src/lib/sun_fc/common/ |
H A D | Lockable.cc | 78 void Lockable::lock() { in lock() function in Lockable 87 void Lockable::lock(pthread_mutex_t *myMutex) { in lock() function in Lockable
|
/titanic_50/usr/src/uts/common/io/ib/clients/rds/ |
H A D | rdssubr.c | 68 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()
|
/titanic_50/usr/src/uts/common/vm/ |
H A D | seg_vn.h | 87 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 D | anon.h | 331 #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
|
/titanic_50/usr/src/lib/libnsl/common/ |
H A D | daemon_utils.c | 65 struct flock lock; in _check_daemon_lock() local 144 struct flock lock; in _enter_daemon_lock() local
|
/titanic_50/usr/src/cmd/sendmail/db/include/ |
H A D | btree.h | 66 #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
|
/titanic_50/usr/src/uts/common/sys/nxge/ |
H A D | nxge_common_impl.h | 168 #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 …]
|
/titanic_50/usr/src/lib/libdevinfo/ |
H A D | devinfo_dli.c | 94 flock_t lock; in di_dli_open() local 150 flock_t lock; in di_dli_close() local
|
/titanic_50/usr/src/cmd/mail/ |
H A D | lock.c | 36 lock(char *user) in lock() function
|
/titanic_50/usr/src/cmd/mdb/common/kmdb/ |
H A D | kaif_start.c | 69 kaif_lock_enter(uintptr_t *lock) in kaif_lock_enter() 77 kaif_lock_exit(uintptr_t *lock) in kaif_lock_exit()
|
/titanic_50/usr/src/cmd/mailx/ |
H A D | lock.c | 47 lock(FILE *fp, char *mode, int blk) in lock() function
|
/titanic_50/usr/src/cmd/sendmail/db/btree/ |
H A D | bt_rsearch.c | 74 DB_LOCK lock; local 333 DB_LOCK lock; local
|
/titanic_50/usr/src/uts/common/fs/sockfs/ |
H A D | nl7clogd.c | 79 kmutex_t lock; member 211 logd_log_write(kmutex_t *lock, log_buf_t *lbp) in logd_log_write() 374 kmutex_t *lock = &logdp->lock; in logd_worker() local
|
/titanic_50/usr/src/uts/i86pc/os/ |
H A D | hold_page.c | 34 plat_hold_page(pfn_t pfn, int lock, page_t **pp_ret) in plat_hold_page()
|
/titanic_50/usr/src/cmd/rcm_daemon/common/ |
H A D | rcm_main.c | 133 struct flock lock; in enter_daemon_lock() local 174 struct flock lock; in exit_daemon_lock() local
|
/titanic_50/usr/src/lib/libast/common/sfio/ |
H A D | sfexcept.c | 38 reg int ev, local, lock; local
|
/titanic_50/usr/src/lib/libzonecfg/common/ |
H A D | getzoneent.c | 202 struct flock lock; in lock_index_file() local 233 struct flock lock; in unlock_index_file() local
|
/titanic_50/usr/src/lib/libslp/clib/ |
H A D | slp_queue.c | 63 mutex_t *lock; member 77 mutex_t *lock; in slp_new_queue() local
|