Searched refs:locked (Results 1 - 25 of 74) sorted by relevance

123

/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
H A Dos.c169 ** a locked and an unlocked state.
490 id->locked = 0;
521 id->locked = 0;
570 id->locked = 0;
612 id->locked = 0;
641 id->locked = 0;
667 id->locked = 0;
698 id->locked = 0;
716 id->locked = 0;
741 id->locked
[all...]
/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/io/ixgbe/core/
H A Dixgbe_82599.h63 s32 prot_autoc_read_82599(struct ixgbe_hw *hw, bool *locked, u32 *reg_val);
64 s32 prot_autoc_write_82599(struct ixgbe_hw *hw, u32 reg_val, bool locked);
/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/uts/common/syscall/
H A Dlwp_sobj.c841 * which point, the upib_lock cannot be locked, to decrement waiter
894 * If the upimutex is locked here, the flag's LOCK_OWNERDEAD
896 * appropriately. If the upimutex is not locked here, this
1159 volatile int locked = 0; local
1193 if (locked)
1210 volatile int locked = error != 0; local
1212 if (locked != 0)
1235 locked = 1;
1291 locked = 0;
1323 locked
1502 volatile int locked = 0; local
1591 volatile int locked = 0; local
1852 volatile int locked = 0; local
1916 volatile int locked = 0; local
1968 volatile int locked = 0; local
2036 volatile int locked = 0; local
2175 volatile int locked = 0; local
2349 volatile int locked = 0; local
2716 volatile int locked = 0; local
2883 volatile int locked = 0; local
3036 volatile int locked = 0; local
3066 volatile int locked = error != 0; local
3143 volatile int locked = 0; local
[all...]
/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...]
/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/boot/sys/boot/efi/include/
H A Defidebug.h89 #define ASSERT_LOCKED(l) if(!(l)->Lock) DBGASSERT(l not locked)
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-thread.h226 Eventually: Report number of times locked, total and standard
333 enum k5_mutex_flag_states locked;
342 ASSERT((M)->locked == K5_MUTEX_DEBUG_UNLOCKED), \
346 (M)->locked = K5_MUTEX_DEBUG_UNLOCKED, 0)
353 (M)->locked = K5_MUTEX_DEBUG_LOCKED, 0)
356 (M)->locked = K5_MUTEX_DEBUG_UNLOCKED, 0)
360 ASSERT((M)->locked != K5_MUTEX_DEBUG_UNLOCKED), \
361 ASSERT((M)->locked == K5_MUTEX_DEBUG_LOCKED))
364 ASSERT((M)->locked != K5_MUTEX_DEBUG_LOCKED), \
365 ASSERT((M)->locked
328 enum k5_mutex_flag_states locked; member in struct:__anon4675
[all...]
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac_ioctl.h101 uint32_t locked; member in struct:aac_query_disk
/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/e1000api/
H A De1000_phy.c724 * @locked: semaphore has already been acquired or not
731 bool locked)
737 if (!locked) {
754 if (!locked)
794 * @locked: semaphore has already been acquired or not
800 bool locked)
806 if (!locked) {
823 if (!locked)
862 * @locked: semaphore has already been acquired or not
869 bool locked)
730 __e1000_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
799 __e1000_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
868 __e1000_read_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 *data, bool locked) argument
943 __e1000_write_kmrn_reg(struct e1000_hw *hw, u32 offset, u16 data, bool locked) argument
3531 __e1000_read_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 *data, bool locked, bool page_set) argument
3640 __e1000_write_phy_reg_hv(struct e1000_hw *hw, u32 offset, u16 data, bool locked, bool page_set) argument
4110 bool locked = FALSE; local
4172 bool locked = FALSE; local
[all...]
/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/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 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/uts/sun4v/ml/
H A Dmach_proc_init.s130 ! check if this is a locked TTE
141 ! install a locked entry
/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/1394/
H A Ds1394_dev_disc.c1082 int freecmd, done, locked; local
1095 locked = 1;
1102 locked = 0;
1177 locked = 0;
1226 locked = 0;
1247 locked = 0;
1297 locked = 0;
1316 locked = 0;
1355 /* if we are bailing out because locking failed, locked == 0 */
1356 if (locked
1536 int update_devinfo, locked, freecmd, done; local
[all...]
/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/lib/libnsl/rpc/
H A Drpc_soc.c86 bool_t locked = TRUE; local
114 locked = FALSE;
151 if (locked == TRUE)
/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/rpc/
H A Drpcsec_gss.h137 bool_t locked; member in struct:__anon6901

Completed in 108 milliseconds

123