Searched defs:unlock (Results 1 - 20 of 20) sorted by relevance

/illumos-gate/usr/src/cmd/mail/
H A Dlock.c71 void unlock() { function
/illumos-gate/usr/src/lib/libshell/common/scripts/
H A Dfilemutexdemo1.sh60 # way to figure out whether someone calls "unlock" in a subshell and then
61 # leaves the subshell and calls "unlock" again
158 _.unlock
175 _.unlock
180 function unlock function
185 _.check_subshell "unlock"
197 print -u2 -f "filemutex_t.unlock(%s): mutex '%s' not locked." "$1" "${_.name}"
206 (${_.locked_exclusive} || ${_.locked_shared}) && _.unlock
232 child_fs.unlock
258 fs.unlock
[all...]
/illumos-gate/usr/src/lib/sun_fc/common/
H A DLockable.cc62 void Lockable::unlock() { function in class:Lockable
63 unlock(&mutex);
70 * @param myMutex The lock to unlock
72 void Lockable::unlock(pthread_mutex_t *myMutex) { function in class:Lockable
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_template.c46 STATE(unlock); variable
57 return &unlock;
58 if (sm->state == &unlock)
78 set_state(my_id, sem_name, NULL, &unlock);
96 if (tmp->state != &unlock)
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Derrors.c39 #define unlock() k5_mutex_unlock(&krb5int_error_info_support_mutex) macro
96 unlock();
133 unlock();
139 unlock();
142 unlock();
167 unlock();
/illumos-gate/usr/src/cmd/pools/poold/com/sun/solaris/service/pools/
H A DValue.java147 public void unlock() throws PoolsException method in class:Value
176 unlock();
/illumos-gate/usr/src/lib/sun_sas/common/
H A Dsun_sas.c93 unlock(&open_handles_lock);
118 unlock(&open_handles_lock);
228 unlock(&open_handles_lock);
231 unlock(&open_handles_lock);
303 unlock(mutex_t *mp) function
333 unlock(&open_handles_lock);
334 unlock(&all_hbas_lock);
342 unlock(&open_handles_lock);
343 unlock(&all_hbas_lock);
358 unlock(
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c977 * unlock - remove our lockfile
980 unlock() function
/illumos-gate/usr/src/lib/passwdutil/
H A Dpasswdutil.h132 int (*unlock)(void); member in struct:repops
/illumos-gate/usr/src/lib/libsasl/lib/
H A Dsaslint.h338 sasl_mutex_unlock_t *unlock; member in struct:sasl_mutex_utils
475 (gctx->sasl_mutex_utils.unlock((__mutex__)))
487 #define sasl_MUTEX_UNLOCK(__mutex__) (_sasl_mutex_utils.unlock((__mutex__)))
/illumos-gate/usr/src/uts/common/os/
H A Dcpu_event.c371 int unlock = 0, unpause = 0; local
391 unlock = 1;
434 if (unlock) {
449 int unlock = 0, unpause = 0; local
457 unlock = 1;
497 if (unlock) {
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_fsops.c1216 /* XXX: unlock */
2674 smb_fsop_frlock(smb_node_t *node, smb_lock_t *lock, boolean_t unlock, argument
2711 if (unlock) {
/illumos-gate/usr/src/cmd/modload/
H A Ddrvsubr.c946 struct flock unlock; local
951 unlock.l_type = F_UNLCK;
952 unlock.l_whence = SEEK_SET;
953 unlock.l_start = 0;
954 unlock.l_len = 0;
956 if (fcntl(add_rem_lock_fd, F_SETLK, &unlock) == -1) {
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_devlink.c3163 struct flock unlock; local
3170 unlock.l_type = F_UNLCK;
3171 unlock.l_whence = SEEK_SET;
3172 unlock.l_start = 0;
3173 unlock.l_len = 0;
3177 if (fcntl(hdp->lock_fd, F_SETLK, &unlock) == -1) {
/illumos-gate/usr/src/uts/common/vm/
H A Dvm_page.c1881 * to unlock any page it was working
3878 * could be called to unlock even if nothing is locked. This could
5089 * If page is modified, unlock it
5229 * If we failed to lock them all then unlock what we have
5491 * unlock pages locked so far and skip to next page.
5618 * unlock pages locked so far and skip to next page.
6572 /* unlock the new page(s) */
7037 * are locations in the code, where we unlock a page while holding
7073 /* Failed to find page in hash so clear flags and unlock it. */
7414 * unlock
7426 pcf_decrement_multiple(pgcnt_t *pcftotal_ret, pgcnt_t npages, int unlock) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipqosconf/
H A Dipqosconf.c179 static int unlock(int fd);
9685 unlock(int fd) function
10030 (void) unlock(lfp);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ipsecutils/
H A Dipsecconf.c333 static int unlock(int);
1567 (void) unlock(lfd);
1650 unlock(int fd) function
5499 (void) unlock(lfd);
5506 (void) unlock(lfd);
/illumos-gate/usr/src/cmd/devfsadm/
H A Ddevfsadm.c4015 struct flock unlock; local
4024 unlock.l_type = F_UNLCK;
4025 unlock.l_whence = SEEK_SET;
4026 unlock.l_start = 0;
4027 unlock.l_len = 0;
4029 if (fcntl(dev_lock_fd, F_SETLK, &unlock) == -1) {
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm.c1755 struct flock unlock; local
1767 unlock.l_type = F_UNLCK;
1768 unlock.l_whence = SEEK_SET;
1769 unlock.l_start = 0;
1770 unlock.l_len = 0;
1772 if (fcntl(bam_lock_fd, F_SETLK, &unlock) == -1) {
1773 bam_error(_("failed to unlock file: %s: %s\n"),
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_vnops.c4991 * shortcircuiting here avoids 3 unneeded lock/unlock
11580 * waiting to do a commit, then just unlock the page and
11675 * If we got an error during the commit, just unlock all
11690 * storage on the server. We just unlock the rest of the pages
11708 * be rewritten so unlock the page and return.
12210 * then unlock them so that they can be freed some
12221 * This will unlock all of the pages on the list.
12238 * If we got an error, then just unlock all of the pages
12251 * storage on the server. We just unlock the pages and clear
13197 * unlock i
13498 bool_t unlock = (flk->l_type == F_UNLCK); local
[all...]

Completed in 680 milliseconds