Searched defs:locked (Results 1 - 25 of 57) sorted by relevance

123

/illumos-gate/usr/src/cmd/sendmail/db/mutex/
H A Dmutex.c189 int locked; local
205 "MUTEX ERROR: __db_mutex_lock: lock currently locked\n");
231 for (locked = 0, mypid = getpid();;) {
249 locked = 1;
267 if (locked)
/illumos-gate/usr/src/lib/libmail/common/
H A Dmaillock.c45 static int locked; /* To note that we locked it */ variable
68 if (locked)
82 locked = 1;
112 * have it locked.
118 locked = 0;
166 if (!locked)
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dos.h114 int locked; /* True if this instance holds the lock */ member in struct:OsFile
131 int locked; /* 0: unlocked, <0: write lock, >0: read lock */ member in struct:OsFile
154 int locked; /* 0: unlocked, <0: write lock, >0: read lock */ member in struct:OsFile
/illumos-gate/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c47 static int locked; variable
149 locked = 1;
171 locked = 1;
194 locked = 0;
226 if (locked)
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dtdb_agent.c234 int locked = 0; local
279 * negative, in which case we fall into the locked case below.
293 locked = 1;
345 if (locked)
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip6_asp.c282 boolean_t locked, ip_stack_t *ipst, model_t datamodel)
298 if (locked)
306 if (!locked)
312 if (!locked && ipst->ips_ip6_asp_refcnt > 0) {
328 if (!locked)
281 ip6_asp_replace(mblk_t *mp, ip6_asp_t *new_table, size_t new_size, boolean_t locked, ip_stack_t *ipst, model_t datamodel) argument
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.c446 int locked = 0; local
551 locked = 1;
630 if (locked)
695 qdisk->locked = dvp->locked;
728 if (dvp->locked)
H A Daac_ioctl.h101 uint32_t locked; member in struct:aac_query_disk
/illumos-gate/usr/src/uts/common/rpc/
H A Drpcsec_gss.h137 bool_t locked; member in struct:__anon6901
/illumos-gate/usr/src/lib/libadm/common/
H A Ddevreserv.c85 * getlkcnt() Get the number of devices locked
88 * islocked() Determines if a device is locked
97 static int getlkcnt(void); /* Get the number of locked devices */
101 static char *islocked(char *); /* Determines if a device is locked */
260 int locked; /* TRUE if the file is locked */ local
267 /* Try to lock the file. If it's locked, wait and try again */
269 locked = FALSE;
271 while (noerror && !locked) {
272 if (fcntl(lkfilefd, F_SETLK, &lkinfo) != -1) locked
738 int locked; /* TRUE if device in locked list */ local
804 int locked; /* TRUE if device currently locked */ local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dmove.c587 uioa_page_t *locked = uioap->uioa_locked; local
663 locked->uioa_ppp = (void **)pfnp;
664 locked->uioa_pfncnt = pcnt;
673 locked->uioa_ppp = (void **)pages;
674 locked->uioa_pfncnt = 0;
677 locked->uioa_base = iov->iov_base;
678 locked->uioa_len = iov->iov_len;
679 locked++;
691 /* Unlock any previously locked page_t(s) */
692 while (locked > uioa
712 uioa_page_t *locked = uioap->uioa_locked; local
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa_config.c358 boolean_t locked = B_FALSE; local
363 locked = B_TRUE;
484 if (locked)
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_time_wait.c61 boolean_t locked = B_FALSE; local
67 locked = B_TRUE;
76 if (locked)
103 if (locked)
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dmci.c686 ** locked it. This has the (according to some)
803 sm_dprintf("mci_unlock_host: stat file already locked\n");
839 bool locked = true; local
882 locked = lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, "",
884 if (locked)
895 return locked;
1295 bool locked; local
1333 locked = !lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), pathname,
1339 locked ? '*' : ' ', hostname,
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxnbo.c380 i_xnbo_close_mac(xnb_t *xnbp, boolean_t locked) argument
385 ASSERT(!locked || MUTEX_HELD(&xnbp->xnb_state_lock));
393 if (!locked)
397 if (!locked)
/illumos-gate/usr/src/uts/common/sys/lvm/
H A Dmd_rename.h93 uint_t locked :1; member in struct:md_rendelta_status
/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_ev.c1197 unsigned int locked; local
1226 locked = (eep->ee_index == 0) ? 1 : 0;
1229 eep->ee_index, &dword, locked);
H A Def10_filter.c560 boolean_t locked = B_FALSE; local
585 locked = B_TRUE;
630 locked = B_FALSE;
661 locked = B_FALSE;
685 locked = B_TRUE;
700 locked = B_FALSE;
726 if (locked)
836 boolean_t locked = B_FALSE; local
844 locked = B_TRUE;
862 locked
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Drpc_soc.c86 bool_t locked = TRUE; local
114 locked = FALSE;
151 if (locked == TRUE)
/illumos-gate/usr/src/cmd/avs/nsctl/
H A Dnskernd.c460 int locked; local
485 locked = 0;
488 locked = 1;
509 if (locked) {
511 locked = 0;
/illumos-gate/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_ep.c277 rds_add_session(rds_session_t *sp, boolean_t locked) argument
283 if (!locked) {
298 if (!locked) {
/illumos-gate/usr/src/uts/common/sys/
H A Dddidevmap.h82 * locked indicates underlying memory locked for KMEM_PAGEABLE
83 * locked is a count of for how many pages this has been locked
85 uint_t locked; member in struct:ddi_umem_cookie
92 ulong_t upd_max_lock_rctl; /* track max-locked mem rctl? */
102 * locked umem allocated from ddi_umem_lock
105 #define KMEM_PAGEABLE 0x100 /* un-locked kernel memory */
106 #define KMEM_NON_PAGEABLE 0x200 /* locked kernel memeory */
107 #define UMEM_LOCKED 0x400 /* locked use
[all...]
/illumos-gate/usr/src/lib/libast/common/comp/
H A Diconv.c1406 int locked; local
1413 if (!(fb = (char*)sfreserve(ip, fn, locked = SF_LOCKR)) &&
1414 !(fb = (char*)sfreserve(ip, fn, locked = 0)))
1439 if (locked)
/illumos-gate/usr/src/uts/i86pc/os/
H A Dpmem.c52 * As such, the pages need to remain locked to ensure that they won't be
55 * To prevent these locked pages from getting in the way of page
57 * them up to satisfy pmem allocation requests. This will keep the locked
59 * of large pages that would be pinned by our locked pages. This is, of
294 uint_t locked = 0; local
316 * See if the requested memory can be locked.
321 locked = 1;
405 if (locked == 1)
/illumos-gate/usr/src/uts/i86xpv/os/
H A Dballoon.c99 * Lock the pfnlist if necessary (see above), and return whether we locked it.
120 * We need to keep the page exclusively locked
211 int i, rv, locked; local
279 locked = balloon_lock_contig_pfnlist(metapgs);
283 if (locked)
379 int i, cnt, locked; local
436 locked = balloon_lock_contig_pfnlist(cnt);
444 if (locked)
500 int i, locked; local
568 locked
945 int locked; local
[all...]

Completed in 128 milliseconds

123