/linux-2.4.37.9/drivers/acpi/executer/ |
D | exfield.c | 79 u8 locked; in acpi_ex_read_data_from_field() local 116 locked = acpi_ex_acquire_global_lock (obj_desc->common_field.field_flags); in acpi_ex_read_data_from_field() 125 acpi_ex_release_global_lock (locked); in acpi_ex_read_data_from_field() 173 locked = acpi_ex_acquire_global_lock (obj_desc->common_field.field_flags); in acpi_ex_read_data_from_field() 178 acpi_ex_release_global_lock (locked); in acpi_ex_read_data_from_field() 217 u8 locked; in acpi_ex_write_data_to_field() local 272 locked = acpi_ex_acquire_global_lock (obj_desc->common_field.field_flags); in acpi_ex_write_data_to_field() 281 acpi_ex_release_global_lock (locked); in acpi_ex_write_data_to_field() 351 locked = acpi_ex_acquire_global_lock (obj_desc->common_field.field_flags); in acpi_ex_write_data_to_field() 356 acpi_ex_release_global_lock (locked); in acpi_ex_write_data_to_field()
|
D | exutils.c | 198 u8 locked = FALSE; in acpi_ex_acquire_global_lock() local 212 locked = TRUE; in acpi_ex_acquire_global_lock() 220 return_VALUE (locked); in acpi_ex_acquire_global_lock()
|
/linux-2.4.37.9/arch/sparc/lib/ |
D | atomic.S | 59 ld [%g1], %g7 ! Load locked atomic_t 65 ld [%g1], %g7 ! Load locked atomic_t 85 ld [%g1], %g7 ! Load locked atomic_t 91 ld [%g1], %g7 ! Load locked atomic_t
|
/linux-2.4.37.9/drivers/sound/dmasound/ |
D | dmasound_core.c | 447 if (sq->locked) { /* are we already set? - and not changeable */ in sq_setup() 453 sq->locked = 1 ; /* don't think we have a race prob. here _check_ */ in sq_setup() 575 if (write_sq.locked == 0) { in sq_write() 662 if (write_sq.locked == 0) { in sq_poll() 724 if (read_sq.locked == 0) { in sq_read() 947 write_sq.locked = 0 ; in sq_reset_output() 978 read_sq.locked = 0 ; in sq_reset_input() 1096 if (read_sq.locked) in queues_are_quiescent() 1099 if (write_sq.locked) in queues_are_quiescent() 1116 if (sq->locked) { in set_queue_frags() [all …]
|
/linux-2.4.37.9/drivers/char/ |
D | tty_ioctl.c | 74 struct termios *locked) in unset_locked_termios() argument 80 if (!locked) { in unset_locked_termios() 85 NOSET_MASK(termios->c_iflag, old->c_iflag, locked->c_iflag); in unset_locked_termios() 86 NOSET_MASK(termios->c_oflag, old->c_oflag, locked->c_oflag); in unset_locked_termios() 87 NOSET_MASK(termios->c_cflag, old->c_cflag, locked->c_cflag); in unset_locked_termios() 88 NOSET_MASK(termios->c_lflag, old->c_lflag, locked->c_lflag); in unset_locked_termios() 89 termios->c_line = locked->c_line ? old->c_line : termios->c_line; in unset_locked_termios() 91 termios->c_cc[i] = locked->c_cc[i] ? in unset_locked_termios()
|
/linux-2.4.37.9/mm/ |
D | mlock.c | 197 unsigned long locked; in sys_mlock() local 205 locked = len >> PAGE_SHIFT; in sys_mlock() 206 locked += current->mm->locked_vm; in sys_mlock() 212 if (locked > lock_limit) in sys_mlock() 217 if (locked > num_physpages/2) in sys_mlock()
|
D | mremap.c | 315 unsigned long locked = current->mm->locked_vm << PAGE_SHIFT; in do_mremap() local 316 locked += new_len - old_len; in do_mremap() 318 if (locked > current->rlim[RLIMIT_MEMLOCK].rlim_cur) in do_mremap()
|
D | memory.c | 558 iobuf->locked = 0; in map_user_kiobuf() 631 if (iobuf->locked) in unmap_kiobuf() 641 iobuf->locked = 0; in unmap_kiobuf() 668 if (iobuf->locked) in lock_kiovec() 686 iobuf->locked = 1; in lock_kiovec() 738 if (!iobuf->locked) in unlock_kiovec() 740 iobuf->locked = 0; in unlock_kiovec()
|
/linux-2.4.37.9/net/netrom/ |
D | nr_route.c | 119 nr_neigh->locked = 0; in nr_add_node() 143 if (quality != 0 && ax25cmp(nr, ax25) == 0 && !nr_neigh->locked) in nr_add_node() 203 if (nr_node->routes[2].neighbour->count == 0 && !nr_node->routes[2].neighbour->locked) in nr_add_node() 354 if (nr_neigh->count == 0 && !nr_neigh->locked) in nr_del_node() 390 nr_neigh->locked = 1; in nr_add_neigh() 403 nr_neigh->locked = 1; in nr_add_neigh() 444 nr_neigh->locked = 0; in nr_del_neigh() 480 if (nr_neigh->count == 0 && !nr_neigh->locked) in nr_dec_obs() 855 nr_neigh->locked, in nr_neigh_get_info()
|
/linux-2.4.37.9/fs/reiserfs/ |
D | fix_node.c | 2129 struct buffer_head * locked; in wait_tb_buffers_until_unlocked() local 2137 locked = NULL; in wait_tb_buffers_until_unlocked() 2139 for ( i = p_s_tb->tb_path->path_length; !locked && i > ILLEGAL_PATH_ELEMENT_OFFSET; i-- ) { in wait_tb_buffers_until_unlocked() 2157 locked = PATH_OFFSET_PBUFFER (p_s_tb->tb_path, i); in wait_tb_buffers_until_unlocked() 2161 for ( i = 0; !locked && i < MAX_HEIGHT && p_s_tb->insert_size[i]; i++ ) { in wait_tb_buffers_until_unlocked() 2169 locked = p_s_tb->L[i]; in wait_tb_buffers_until_unlocked() 2172 if ( !locked && p_s_tb->FL[i] ) { in wait_tb_buffers_until_unlocked() 2176 locked = p_s_tb->FL[i]; in wait_tb_buffers_until_unlocked() 2179 if ( !locked && p_s_tb->CFL[i] ) { in wait_tb_buffers_until_unlocked() 2183 locked = p_s_tb->CFL[i]; in wait_tb_buffers_until_unlocked() [all …]
|
/linux-2.4.37.9/fs/xfs/quota/ |
D | xfs_trans_dquot.c | 569 boolean_t locked; in xfs_trans_unreserve_and_mod_dquots() local 590 locked = B_FALSE; in xfs_trans_unreserve_and_mod_dquots() 593 locked = B_TRUE; in xfs_trans_unreserve_and_mod_dquots() 598 if (!locked) { in xfs_trans_unreserve_and_mod_dquots() 600 locked = B_TRUE; in xfs_trans_unreserve_and_mod_dquots() 607 if (!locked) { in xfs_trans_unreserve_and_mod_dquots() 609 locked = B_TRUE; in xfs_trans_unreserve_and_mod_dquots() 614 if (locked) in xfs_trans_unreserve_and_mod_dquots()
|
D | xfs_qm.c | 837 uint locked) in xfs_qm_dqattach_grouphint() argument 842 if (locked) { in xfs_qm_dqattach_grouphint() 847 if (! locked) in xfs_qm_dqattach_grouphint() 852 if (! locked) in xfs_qm_dqattach_grouphint() 863 if (locked) in xfs_qm_dqattach_grouphint() 877 if (! locked) { in xfs_qm_dqattach_grouphint() 892 if (! locked) { in xfs_qm_dqattach_grouphint() 2823 int locked; in xfs_qm_dqhashlock_nowait() local 2825 locked = mutex_trylock(&((dqp)->q_hash->qh_lock)); in xfs_qm_dqhashlock_nowait() 2826 return (locked); in xfs_qm_dqhashlock_nowait() [all …]
|
/linux-2.4.37.9/drivers/mtd/devices/ |
D | blkmtd.c | 141 iobuf->locked = 1; in read_pages() 199 iobuf->locked = 1; in commit_pages() 625 int clean = 0, dirty = 0, locked = 0, lru = 0; in blkmtd_proc_read() local 631 locked++; in blkmtd_proc_read() 640 locked++; in blkmtd_proc_read() 649 locked++; in blkmtd_proc_read() 662 clean, dirty, locked, lru); in blkmtd_proc_read() 687 dev->rd_buf->locked = 0; in free_device() 695 dev->wr_buf->locked = 0; in free_device()
|
/linux-2.4.37.9/fs/xfs/ |
D | xfs_dfrag.c | 86 int locked = 0; in xfs_swapext() local 141 locked = 1; in xfs_swapext() 378 if (locked) { in xfs_swapext()
|
/linux-2.4.37.9/fs/ |
D | iobuf.c | 33 iobuf->locked = 0; in kiobuf_init() 124 if (iobuf->locked) in free_kiovec()
|
/linux-2.4.37.9/drivers/char/drm/ |
D | gamma_dma.c | 136 static int gamma_do_dma(drm_device_t *dev, int locked) in gamma_do_dma() argument 195 if (!locked && !gamma_lock_take(&dev->lock.hw_lock->lock, in gamma_do_dma() 239 if (!buf->while_locked && !dev->context_flag && !locked) { in gamma_do_dma() 267 int gamma_dma_schedule(drm_device_t *dev, int locked) in gamma_dma_schedule() argument 303 if (!(retcode = gamma_do_dma(dev, locked))) ++processed; in gamma_dma_schedule() 319 if (!(retcode = gamma_do_dma(dev, locked))) { in gamma_dma_schedule()
|
/linux-2.4.37.9/drivers/char/drm-4.0/ |
D | gamma_dma.c | 171 static int gamma_do_dma(drm_device_t *dev, int locked) in gamma_do_dma() argument 231 if (!locked && !drm_lock_take(&dev->lock.hw_lock->lock, in gamma_do_dma() 272 if (!buf->while_locked && !dev->context_flag && !locked) { in gamma_do_dma() 300 int gamma_dma_schedule(drm_device_t *dev, int locked) in gamma_dma_schedule() argument 337 if (!(retcode = gamma_do_dma(dev, locked))) { in gamma_dma_schedule() 357 if (!(retcode = gamma_do_dma(dev, locked))) { in gamma_dma_schedule()
|
D | gamma_drv.h | 48 extern int gamma_dma_schedule(drm_device_t *dev, int locked);
|
/linux-2.4.37.9/drivers/net/ |
D | shaper.c | 113 while (test_and_set_bit(0, &sh->locked)) in shaper_lock() 128 clear_bit(0, &sh->locked); in shaper_unlock() 318 if (test_and_set_bit(0, &shaper->locked)) in shaper_kick() 369 clear_bit(0, &shaper->locked); in shaper_kick()
|
/linux-2.4.37.9/arch/ppc/xmon/ |
D | start.c | 248 int locked; in xmon_write() local 250 while ((locked = test_and_set_bit(0, &xmon_write_lock)) != 0) in xmon_write() 284 if (!locked) in xmon_write()
|
/linux-2.4.37.9/include/linux/ |
D | iobuf.h | 40 unsigned int locked : 1; /* If set, pages has been locked */ member
|
D | if_shaper.h | 26 unsigned long locked; member
|
/linux-2.4.37.9/arch/sparc/mm/ |
D | sun4c.c | 577 unsigned char locked; member 598 mmu_entry_pool[i].locked = 0; in sun4c_init_mmu_entry_pool() 603 mmu_entry_pool[invalid_segment].locked = 1; in sun4c_init_mmu_entry_pool() 632 mmu_entry_pool[pseg].locked = 1; in sun4c_init_map_kernelprom() 643 mmu_entry_pool[pseg].locked = 1; in sun4c_init_map_kernelprom() 656 if (!mmu_entry_pool[i].locked) in sun4c_init_lock_area() 658 mmu_entry_pool[i].locked = 1; in sun4c_init_lock_area() 779 if (!mmu_entry_pool[i].locked) in sun4c_init_fill_kernel_ring() 781 mmu_entry_pool[i].locked = 1; in sun4c_init_fill_kernel_ring() 793 if (mmu_entry_pool[i].locked) in sun4c_init_fill_user_ring() [all …]
|
/linux-2.4.37.9/fs/hfs/ |
D | file_cap.c | 243 int locked = hfs_get_ns(&meta.fi_attr) & in cap_info_write() local 247 if (locked) { in cap_info_write()
|
/linux-2.4.37.9/drivers/md/ |
D | raid5.c | 830 int locked=0, uptodate=0, to_read=0, to_write=0, failed=0, written=0; in handle_stripe() local 868 if (buffer_locked(bh)) locked++; in handle_stripe() 881 locked, uptodate, to_read, to_write, failed, failed_num); in handle_stripe() 977 locked++; in handle_stripe() 1024 locked++; in handle_stripe() 1043 locked++; in handle_stripe() 1051 if (locked == 0 && (rcw == 0 ||rmw == 0)) { in handle_stripe() 1058 locked++; in handle_stripe() 1076 if (syncing && locked == 0 && in handle_stripe() 1107 locked++; in handle_stripe() [all …]
|