| /illumos-gate/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 …]
|
| /illumos-gate/usr/src/lib/libadm/common/ |
| H A D | devreserv.c | 259 int locked; /* TRUE if the file is locked */ in locklkfile() local 268 locked = FALSE; in locklkfile() 270 while (noerror && !locked) { in locklkfile() 271 if (fcntl(lkfilefd, F_SETLK, &lkinfo) != -1) locked = TRUE; in locklkfile() 281 return (locked); in locklkfile() 740 int locked; /* TRUE if device in locked list */ in islocked() local 751 locked = FALSE; in islocked() 753 for (i = 0; !locked && (i < lockcount); i++) { in islocked() 755 locked = TRUE; in islocked() 759 if (locked) { in islocked() [all …]
|
| /illumos-gate/usr/src/lib/libsqlite/src/ |
| H A D | os.c | 487 id->locked = 0; in sqliteOsOpenReadWrite() 518 id->locked = 0; in sqliteOsOpenReadWrite() 567 id->locked = 0; in sqliteOsOpenReadWrite() 609 id->locked = 0; in sqliteOsOpenExclusive() 638 id->locked = 0; in sqliteOsOpenExclusive() 664 id->locked = 0; in sqliteOsOpenExclusive() 695 id->locked = 0; in sqliteOsOpenReadOnly() 713 id->locked = 0; in sqliteOsOpenReadOnly() 738 id->locked = 0; in sqliteOsOpenReadOnly() 1321 if( !id->locked ){ [all …]
|
| H A D | os.h | 111 int locked; /* True if this instance holds the lock */ member 128 int locked; /* 0: unlocked, <0: write lock, >0: read lock */ member 151 int locked; /* 0: unlocked, <0: write lock, >0: read lock */ member
|
| /illumos-gate/usr/src/uts/common/syscall/ |
| H A D | lwp_sobj.c | 1158 volatile int locked = 0; in lwp_mutex_timedlock() local 1192 if (locked) in lwp_mutex_timedlock() 1209 volatile int locked = error != 0; in lwp_mutex_timedlock() local 1211 if (locked != 0) in lwp_mutex_timedlock() 1234 locked = 1; in lwp_mutex_timedlock() 1290 locked = 0; in lwp_mutex_timedlock() 1322 locked = 1; in lwp_mutex_timedlock() 1333 locked = 1; in lwp_mutex_timedlock() 1363 locked = 0; in lwp_mutex_timedlock() 1501 volatile int locked = 0; in lwp_mutex_wakeup() local [all …]
|
| /illumos-gate/usr/src/lib/libmail/common/ |
| H A D | maillock.c | 43 static int locked; /* To note that we locked it */ variable 66 if (locked) in maillock() 80 locked = 1; in maillock() 116 locked = 0; in mailunlock() 164 if (!locked) in touchlock()
|
| /illumos-gate/usr/src/lib/libsqlite/test/ |
| H A D | lock.test | 68 } {1 {database is locked}} 103 # on that same table because the SELECT has the table locked. 111 } {1 {database table is locked}} 161 } {1 {database is locked}} 168 } {1 {database is locked}} 183 } {1 {database is locked} {{} 1}} 194 } {1 {database is locked} {1 2 3 4 5}} 205 } {1 {database is locked} {1 2 3 4 5}} 246 } {1 {database is locked}} 265 # has the database locked. [all …]
|
| H A D | attach2.test | 58 } {1 {database is locked}} 84 } {1 {database is locked}} 86 # but we can still read from test1.db even though test2.db is locked. 92 # start a transaction on test.db even though test2.db is locked. 108 } {1 {database is locked}}
|
| H A D | misc2.test | 151 } {1 {database table is locked}} 159 } {1 {database table is locked}} 174 } {1 {database table is locked}} 182 } {1 {database table is locked}}
|
| H A D | attach.test | 317 # Even though main has a transaction, test2.db should not be locked. 333 # Making a change to db2 causes test2.ddb to become locked. 341 } {1 {database is locked}} 351 } {1 {database is locked}} 366 } {1 {database is locked}} 369 # is still locked. 371 } {1 {database is locked}}
|
| H A D | trans.test | 100 } {1 {database is locked}} 106 } {1 {database is locked}} 118 } {1 {database is locked}} 124 } {1 {database is locked}} 136 } {1 {database is locked}} 142 } {1 {database is locked}} 196 } {1 {database is locked}} 202 } {1 {database is locked}} 215 } {1 {database is locked}} 221 } {1 {database is locked}}
|
| /illumos-gate/usr/src/uts/i86xpv/os/ |
| H A D | balloon.c | 211 int i, rv, locked; in balloon_init_new_pages() local 279 locked = balloon_lock_contig_pfnlist(metapgs); in balloon_init_new_pages() 283 if (locked) in balloon_init_new_pages() 379 int i, cnt, locked; in balloon_inc_reservation() local 436 locked = balloon_lock_contig_pfnlist(cnt); in balloon_inc_reservation() 444 if (locked) in balloon_inc_reservation() 500 int i, locked; in balloon_dec_reservation() local 568 locked = balloon_lock_contig_pfnlist(debit); in balloon_dec_reservation() 572 if (locked) in balloon_dec_reservation() 945 int locked; in balloon_replace_pages() local [all …]
|
| /illumos-gate/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))
|
| /illumos-gate/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)
|
| /illumos-gate/usr/src/tools/smatch/src/ |
| H A D | check_locking.c | 27 STATE(locked); 511 return &locked; in action_to_state() 544 sm->state != &locked) || in get_best_match() 671 warn_on_double(sm, &locked); in handle_macro_lock_unlock() 672 set_state(my_id, name, sym, &locked); in handle_macro_lock_unlock() 675 set_start_state(name, sym, &locked); in handle_macro_lock_unlock() 700 warn_on_double(sm, &locked); in do_lock() 701 set_state(my_id, name, sym, &locked); in do_lock() 730 set_start_state(name, sym, &locked); in do_unlock() 741 set_start_state(name, sym, &locked); in do_restore() [all …]
|
| /illumos-gate/usr/src/uts/common/inet/ip/ |
| H A D | ip6_asp.c | 303 boolean_t locked, ip_stack_t *ipst, model_t datamodel) in ip6_asp_replace() argument 319 if (locked) in ip6_asp_replace() 327 if (!locked) in ip6_asp_replace() 333 if (!locked && ipst->ips_ip6_asp_refcnt > 0) { in ip6_asp_replace() 349 if (!locked) in ip6_asp_replace()
|
| /illumos-gate/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);
|
| /illumos-gate/usr/src/uts/common/io/1394/ |
| H A D | s1394_dev_disc.c | 879 int freecmd, done, locked; in s1394_br_thread_handle_cmd_phase1() local 889 locked = 1; in s1394_br_thread_handle_cmd_phase1() 893 locked = 0; in s1394_br_thread_handle_cmd_phase1() 961 locked = 0; in s1394_br_thread_handle_cmd_phase1() 1003 locked = 0; in s1394_br_thread_handle_cmd_phase1() 1017 locked = 0; in s1394_br_thread_handle_cmd_phase1() 1055 locked = 0; in s1394_br_thread_handle_cmd_phase1() 1068 locked = 0; in s1394_br_thread_handle_cmd_phase1() 1100 if (locked == 0) in s1394_br_thread_handle_cmd_phase1() 1234 int update_devinfo, locked, freecmd, done; in s1394_br_thread_handle_cmd_phase2() local [all …]
|
| /illumos-gate/usr/src/uts/common/io/sfxge/common/ |
| H A D | ef10_filter.c | 560 boolean_t locked = B_FALSE; in ef10_filter_add_internal() local 585 locked = B_TRUE; in ef10_filter_add_internal() 630 locked = B_FALSE; in ef10_filter_add_internal() 661 locked = B_FALSE; in ef10_filter_add_internal() 685 locked = B_TRUE; in ef10_filter_add_internal() 700 locked = B_FALSE; in ef10_filter_add_internal() 726 if (locked) in ef10_filter_add_internal() 836 boolean_t locked = B_FALSE; in ef10_filter_delete() local 844 locked = B_TRUE; in ef10_filter_delete() 862 locked = B_FALSE; in ef10_filter_delete() [all …]
|
| /illumos-gate/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 …]
|
| /illumos-gate/usr/src/uts/common/io/aac/ |
| H A D | aac_ioctl.c | 445 int locked = 0; in aac_send_raw_srb() local 550 locked = 1; in aac_send_raw_srb() 629 if (locked) in aac_send_raw_srb() 694 qdisk->locked = dvp->locked; in aac_query_disk() 727 if (dvp->locked) in aac_delete_disk()
|
| /illumos-gate/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
|
| /illumos-gate/usr/src/cmd/sendmail/src/ |
| H A D | mci.c | 837 bool locked = true; local 880 locked = lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), fname, "", 882 if (locked) 893 return locked; 1293 bool locked; local 1331 locked = !lockfile(sm_io_getinfo(fp, SM_IO_WHAT_FD, NULL), pathname, 1337 locked ? '*' : ' ', hostname,
|
| /illumos-gate/usr/src/lib/libc/port/threads/ |
| H A D | tdb_agent.c | 232 int locked = 0; in tdb_sync_obj_register() local 291 locked = 1; in tdb_sync_obj_register() 343 if (locked) in tdb_sync_obj_register()
|
| /illumos-gate/usr/src/uts/sun4v/ml/ |
| H A D | mach_proc_init.S | 117 ! check if this is a locked TTE 128 ! install a locked entry
|