/titanic_44/usr/src/uts/common/os/ |
H A D | move.c | 587 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 D | devreserv.c | 260 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 D | os.c | 490 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 D | os.h | 114 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 D | maillock.c | 45 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 D | lwp_sobj.c | 1155 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 D | lock.test | 70 } {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 D | attach2.test | 60 } {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 D | misc2.test | 153 } {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 D | attach.test | 319 # 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 D | trans.test | 102 } {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 D | balloon.c | 209 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 D | cfg_lockdmsg.c | 47 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 D | k5-thread.h | 328 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 D | mutex.c | 189 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 D | ixgbe_82599.h | 63 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 D | ip6_asp.c | 282 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 D | e1000_phy.c | 731 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 D | aac_ioctl.c | 446 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 D | Mapfile | 27 # 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 D | nskernd.c | 460 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 D | tdb_agent.c | 234 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 D | mci.c | 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,
|
/titanic_44/usr/src/uts/common/io/1394/ |
H A D | s1394_dev_disc.c | 1082 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 D | mach_proc_init.s | 130 ! check if this is a locked TTE 141 ! install a locked entry
|