Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 25 of 91) sorted by relevance

1234

/titanic_44/usr/src/uts/common/os/
H A Dmove.c587 uioa_page_t *locked = uioap->uioa_locked; in uioainit() local
663 locked->uioa_ppp = (void **)pfnp; in uioainit()
664 locked->uioa_pfncnt = pcnt; in uioainit()
673 locked->uioa_ppp = (void **)pages; in uioainit()
674 locked->uioa_pfncnt = 0; in uioainit()
677 locked->uioa_base = iov->iov_base; in uioainit()
678 locked->uioa_len = iov->iov_len; in uioainit()
679 locked++; in uioainit()
692 while (locked > uioap->uioa_locked) { in uioainit()
693 locked--; in uioainit()
[all …]
/titanic_44/usr/src/lib/libadm/common/
H A Ddevreserv.c260 int locked; /* TRUE if the file is locked */ in locklkfile() local
269 locked = FALSE; in locklkfile()
271 while (noerror && !locked) { in locklkfile()
272 if (fcntl(lkfilefd, F_SETLK, &lkinfo) != -1) locked = TRUE; in locklkfile()
282 return (locked); in locklkfile()
738 int locked; /* TRUE if device in locked list */ in islocked() local
749 locked = FALSE; in islocked()
751 for (i = 0; !locked && (i < lockcount); i++) { in islocked()
753 locked = TRUE; in islocked()
757 if (locked) { in islocked()
[all …]
/titanic_44/usr/src/lib/libsqlite/src/
H A Dos.c490 id->locked = 0; in sqliteOsOpenReadWrite()
521 id->locked = 0; in sqliteOsOpenReadWrite()
570 id->locked = 0; in sqliteOsOpenReadWrite()
612 id->locked = 0; in sqliteOsOpenExclusive()
641 id->locked = 0; in sqliteOsOpenExclusive()
667 id->locked = 0; in sqliteOsOpenExclusive()
698 id->locked = 0; in sqliteOsOpenReadOnly()
716 id->locked = 0; in sqliteOsOpenReadOnly()
741 id->locked = 0; in sqliteOsOpenReadOnly()
1324 if( !id->locked ){
[all …]
H A Dos.h114 int locked; /* True if this instance holds the lock */ member
131 int locked; /* 0: unlocked, <0: write lock, >0: read lock */ member
154 int locked; /* 0: unlocked, <0: write lock, >0: read lock */ member
/titanic_44/usr/src/lib/libmail/common/
H A Dmaillock.c45 static int locked; /* To note that we locked it */ variable
68 if (locked) in maillock()
82 locked = 1; in maillock()
118 locked = 0; in mailunlock()
166 if (!locked) in touchlock()
/titanic_44/usr/src/uts/common/syscall/
H A Dlwp_sobj.c1155 volatile int locked = 0; in lwp_mutex_timedlock() local
1189 if (locked) in lwp_mutex_timedlock()
1219 locked = 1; in lwp_mutex_timedlock()
1275 locked = 0; in lwp_mutex_timedlock()
1307 locked = 1; in lwp_mutex_timedlock()
1318 locked = 1; in lwp_mutex_timedlock()
1348 locked = 0; in lwp_mutex_timedlock()
1486 volatile int locked = 0; in lwp_mutex_wakeup() local
1498 if (locked) in lwp_mutex_wakeup()
1516 locked = 1; in lwp_mutex_wakeup()
[all …]
/titanic_44/usr/src/lib/libsqlite/test/
H A Dlock.test70 } {1 {database is locked}}
105 # on that same table because the SELECT has the table locked.
113 } {1 {database table is locked}}
163 } {1 {database is locked}}
170 } {1 {database is locked}}
185 } {1 {database is locked} {{} 1}}
196 } {1 {database is locked} {1 2 3 4 5}}
207 } {1 {database is locked} {1 2 3 4 5}}
248 } {1 {database is locked}}
267 # has the database locked.
[all …]
H A Dattach2.test60 } {1 {database is locked}}
86 } {1 {database is locked}}
88 # but we can still read from test1.db even though test2.db is locked.
94 # start a transaction on test.db even though test2.db is locked.
110 } {1 {database is locked}}
H A Dmisc2.test153 } {1 {database table is locked}}
161 } {1 {database table is locked}}
176 } {1 {database table is locked}}
184 } {1 {database table is locked}}
H A Dattach.test319 # Even though main has a transaction, test2.db should not be locked.
335 # Making a change to db2 causes test2.ddb to become locked.
343 } {1 {database is locked}}
353 } {1 {database is locked}}
368 } {1 {database is locked}}
371 # is still locked.
373 } {1 {database is locked}}
H A Dtrans.test102 } {1 {database is locked}}
108 } {1 {database is locked}}
120 } {1 {database is locked}}
126 } {1 {database is locked}}
138 } {1 {database is locked}}
144 } {1 {database is locked}}
198 } {1 {database is locked}}
204 } {1 {database is locked}}
217 } {1 {database is locked}}
223 } {1 {database is locked}}
/titanic_44/usr/src/uts/i86xpv/os/
H A Dballoon.c209 int i, rv, locked; in balloon_init_new_pages() local
277 locked = balloon_lock_contig_pfnlist(metapgs); in balloon_init_new_pages()
281 if (locked) in balloon_init_new_pages()
377 int i, cnt, locked; in balloon_inc_reservation() local
434 locked = balloon_lock_contig_pfnlist(cnt); in balloon_inc_reservation()
442 if (locked) in balloon_inc_reservation()
498 int i, locked; in balloon_dec_reservation() local
566 locked = balloon_lock_contig_pfnlist(debit); in balloon_dec_reservation()
570 if (locked) in balloon_dec_reservation()
943 int locked; in balloon_replace_pages() local
[all …]
/titanic_44/usr/src/lib/libdscfg/common/
H A Dcfg_lockdmsg.c47 static int locked; variable
149 locked = 1; in cfg_lockd_rdlock()
171 locked = 1; in cfg_lockd_wrlock()
194 locked = 0; in cfg_lockd_unlock()
226 if (locked) in cfg_atexit()
/titanic_44/usr/src/uts/common/gssapi/mechs/krb5/include/
H A Dk5-thread.h328 enum k5_mutex_flag_states locked; member
337 ASSERT((M)->locked == K5_MUTEX_DEBUG_UNLOCKED), \
341 (M)->locked = K5_MUTEX_DEBUG_UNLOCKED, 0)
348 (M)->locked = K5_MUTEX_DEBUG_LOCKED, 0)
351 (M)->locked = K5_MUTEX_DEBUG_UNLOCKED, 0)
355 ASSERT((M)->locked != K5_MUTEX_DEBUG_UNLOCKED), \
356 ASSERT((M)->locked == K5_MUTEX_DEBUG_LOCKED))
359 ASSERT((M)->locked != K5_MUTEX_DEBUG_LOCKED), \
360 ASSERT((M)->locked == K5_MUTEX_DEBUG_UNLOCKED))
/titanic_44/usr/src/cmd/sendmail/db/mutex/
H A Dmutex.c189 int locked; local
231 for (locked = 0, mypid = getpid();;) {
249 locked = 1;
267 if (locked)
/titanic_44/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);
/titanic_44/usr/src/uts/common/inet/ip/
H A Dip6_asp.c282 boolean_t locked, ip_stack_t *ipst, model_t datamodel) in ip6_asp_replace() argument
298 if (locked) in ip6_asp_replace()
306 if (!locked) in ip6_asp_replace()
312 if (!locked && ipst->ips_ip6_asp_refcnt > 0) { in ip6_asp_replace()
328 if (!locked) in ip6_asp_replace()
/titanic_44/usr/src/uts/common/io/e1000api/
H A De1000_phy.c731 bool locked) in __e1000_read_phy_reg_igp() argument
737 if (!locked) { in __e1000_read_phy_reg_igp()
754 if (!locked) in __e1000_read_phy_reg_igp()
800 bool locked) in __e1000_write_phy_reg_igp() argument
806 if (!locked) { in __e1000_write_phy_reg_igp()
823 if (!locked) in __e1000_write_phy_reg_igp()
869 bool locked) in __e1000_read_kmrn_reg() argument
875 if (!locked) { in __e1000_read_kmrn_reg()
896 if (!locked) in __e1000_read_kmrn_reg()
944 bool locked) in __e1000_write_kmrn_reg() argument
[all …]
/titanic_44/usr/src/uts/common/io/aac/
H A Daac_ioctl.c446 int locked = 0; in aac_send_raw_srb() local
551 locked = 1; in aac_send_raw_srb()
630 if (locked) in aac_send_raw_srb()
695 qdisk->locked = dvp->locked; in aac_query_disk()
728 if (dvp->locked) in aac_delete_disk()
/titanic_44/usr/src/uts/sun4/conf/
H A DMapfile27 # is mapped via a locked 4-meg mapping in the ITLB
42 # is mapped via a locked 4-meg mapping in the DTLB
/titanic_44/usr/src/cmd/avs/nsctl/
H A Dnskernd.c460 int locked; in _dolock() local
485 locked = 0; in _dolock()
488 locked = 1; in _dolock()
509 if (locked) { in _dolock()
511 locked = 0; in _dolock()
/titanic_44/usr/src/lib/libc/port/threads/
H A Dtdb_agent.c234 int locked = 0; in tdb_sync_obj_register() local
293 locked = 1; in tdb_sync_obj_register()
345 if (locked) in tdb_sync_obj_register()
/titanic_44/usr/src/cmd/sendmail/src/
H A Dmci.c839 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,
/titanic_44/usr/src/uts/common/io/1394/
H A Ds1394_dev_disc.c1082 int freecmd, done, locked; in s1394_br_thread_handle_cmd_phase1() local
1095 locked = 1; in s1394_br_thread_handle_cmd_phase1()
1102 locked = 0; in s1394_br_thread_handle_cmd_phase1()
1177 locked = 0; in s1394_br_thread_handle_cmd_phase1()
1226 locked = 0; in s1394_br_thread_handle_cmd_phase1()
1247 locked = 0; in s1394_br_thread_handle_cmd_phase1()
1297 locked = 0; in s1394_br_thread_handle_cmd_phase1()
1316 locked = 0; in s1394_br_thread_handle_cmd_phase1()
1356 if (locked == 0) in s1394_br_thread_handle_cmd_phase1()
1536 int update_devinfo, locked, freecmd, done; in s1394_br_thread_handle_cmd_phase2() local
[all …]
/titanic_44/usr/src/uts/sun4v/ml/
H A Dmach_proc_init.s130 ! check if this is a locked TTE
141 ! install a locked entry

1234