/linux-4.1.27/lib/ |
D | list_debug.c | 23 struct list_head *prev, in __list_add() argument 26 WARN(next->prev != prev, in __list_add() 29 prev, next->prev, next); in __list_add() 30 WARN(prev->next != next, in __list_add() 33 next, prev->next, prev); in __list_add() 34 WARN(new == prev || new == next, in __list_add() 36 new, prev, next); in __list_add() 37 next->prev = new; in __list_add() 39 new->prev = prev; in __list_add() 40 prev->next = new; in __list_add() [all …]
|
D | plist.c | 36 WARN(n->prev != p || p->next != n, in plist_check_prev_next() 40 t, t->next, t->prev, in plist_check_prev_next() 41 p, p->next, p->prev, in plist_check_prev_next() 42 n, n->next, n->prev); in plist_check_prev_next() 47 struct list_head *prev = top, *next = top->next; in plist_check_list() local 49 plist_check_prev_next(top, prev, next); in plist_check_list() 51 prev = next; in plist_check_list() 52 next = prev->next; in plist_check_list() 53 plist_check_prev_next(top, prev, next); in plist_check_list() 76 struct plist_node *first, *iter, *prev = NULL; in plist_add() local [all …]
|
D | list_sort.c | 61 a->prev = tail; in merge_and_restore_back_links() 65 b->prev = tail; in merge_and_restore_back_links() 82 tail->next->prev = tail; in merge_and_restore_back_links() 87 head->prev = tail; in merge_and_restore_back_links() 119 head->prev->next = NULL; in list_sort() 249 if (cur->next->prev != cur) { in list_sort_test() 274 if (head.prev != cur) { in list_sort_test()
|
/linux-4.1.27/drivers/media/platform/omap3isp/ |
D | isppreview.c | 152 preview_config_luma_enhancement(struct isp_prev_device *prev, in preview_config_luma_enhancement() argument 155 struct isp_device *isp = to_isp_device(prev); in preview_config_luma_enhancement() 171 preview_enable_luma_enhancement(struct isp_prev_device *prev, bool enable) in preview_enable_luma_enhancement() argument 173 struct isp_device *isp = to_isp_device(prev); in preview_enable_luma_enhancement() 186 static void preview_enable_invalaw(struct isp_prev_device *prev, bool enable) in preview_enable_invalaw() argument 188 struct isp_device *isp = to_isp_device(prev); in preview_enable_invalaw() 201 static void preview_config_hmed(struct isp_prev_device *prev, in preview_config_hmed() argument 204 struct isp_device *isp = to_isp_device(prev); in preview_config_hmed() 216 static void preview_enable_hmed(struct isp_prev_device *prev, bool enable) in preview_enable_hmed() argument 218 struct isp_device *isp = to_isp_device(prev); in preview_enable_hmed() [all …]
|
/linux-4.1.27/arch/mips/include/asm/ |
D | switch_to.h | 39 extern asmlinkage struct task_struct *resume(struct task_struct *prev, 60 #define __mips_mt_fpaff_switch_to(prev) \ argument 62 struct thread_info *__prev_ti = task_thread_info(prev); \ 66 (!(KSTK_STATUS(prev) & ST0_CU1))) { \ 68 prev->cpus_allowed = prev->thread.user_cpus_allowed; \ 74 #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) argument 86 #define switch_to(prev, next, last) \ argument 90 __mips_mt_fpaff_switch_to(prev); \ 92 __save_dsp(prev); \ 93 if (cop2_present && (KSTK_STATUS(prev) & ST0_CU2)) { \ [all …]
|
D | mmu_context.h | 139 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 157 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 179 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 194 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in activate_mm()
|
/linux-4.1.27/include/asm-generic/ |
D | cmpxchg-local.h | 17 unsigned long flags, prev; in __cmpxchg_local_generic() local 27 case 1: prev = *(u8 *)ptr; in __cmpxchg_local_generic() 28 if (prev == old) in __cmpxchg_local_generic() 31 case 2: prev = *(u16 *)ptr; in __cmpxchg_local_generic() 32 if (prev == old) in __cmpxchg_local_generic() 35 case 4: prev = *(u32 *)ptr; in __cmpxchg_local_generic() 36 if (prev == old) in __cmpxchg_local_generic() 39 case 8: prev = *(u64 *)ptr; in __cmpxchg_local_generic() 40 if (prev == old) in __cmpxchg_local_generic() 47 return prev; in __cmpxchg_local_generic() [all …]
|
D | mutex-xchg.h | 94 int prev = atomic_xchg(count, 0); in __mutex_fastpath_trylock() local 96 if (unlikely(prev < 0)) { in __mutex_fastpath_trylock() 108 prev = atomic_xchg(count, prev); in __mutex_fastpath_trylock() 109 if (prev < 0) in __mutex_fastpath_trylock() 110 prev = 0; in __mutex_fastpath_trylock() 113 return prev; in __mutex_fastpath_trylock()
|
D | switch_to.h | 25 #define switch_to(prev, next, last) \ argument 27 ((last) = __switch_to((prev), (next))); \
|
/linux-4.1.27/arch/powerpc/include/asm/ |
D | cmpxchg.h | 18 unsigned long prev; in __xchg_u32() local 27 : "=&r" (prev), "+m" (*(volatile unsigned int *)p) in __xchg_u32() 31 return prev; in __xchg_u32() 43 unsigned long prev; in __xchg_u32_local() local 50 : "=&r" (prev), "+m" (*(volatile unsigned int *)p) in __xchg_u32_local() 54 return prev; in __xchg_u32_local() 61 unsigned long prev; in __xchg_u64() local 70 : "=&r" (prev), "+m" (*(volatile unsigned long *)p) in __xchg_u64() 74 return prev; in __xchg_u64() 80 unsigned long prev; in __xchg_u64_local() local [all …]
|
D | mmu_context.h | 20 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next); 42 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 58 if (prev == next) in switch_mm() 63 if (prev->context.acop || next->context.acop) in switch_mm() 82 switch_mmu_context(prev, next); in switch_mm() 93 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 98 switch_mm(prev, next, current); in activate_mm()
|
D | switch_to.h | 13 #define switch_to(prev, next, last) ((last) = __switch_to((prev), (next))) argument 16 extern struct task_struct *_switch(struct thread_struct *prev, 19 static inline void save_early_sprs(struct thread_struct *prev) in save_early_sprs() argument 22 prev->tar = mfspr(SPRN_TAR); in save_early_sprs() 24 prev->dscr = mfspr(SPRN_DSCR); in save_early_sprs() 27 static inline void save_early_sprs(struct thread_struct *prev) {} in save_early_sprs() argument
|
D | futex.h | 90 u32 prev; in futex_atomic_cmpxchg_inatomic() local 112 : "+r" (ret), "=&r" (prev), "+m" (*uaddr) in futex_atomic_cmpxchg_inatomic() 116 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 42 struct list_head *next, *prev; member 53 list->prev = list; in INIT_LIST_HEAD() 64 struct list_head *prev, struct list_head *next) in __list_add() argument 66 next->prev = new; in __list_add() 68 new->prev = prev; in __list_add() 69 prev->next = new; in __list_add() 73 struct list_head *prev, struct list_head *next); 99 __list_add(new, head->prev, head); in list_add_tail() 109 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 111 next->prev = prev; in __list_del() [all …]
|
D | radeon_mem.c | 55 newblock->prev = p; in split_block() 56 p->next->prev = newblock; in split_block() 72 newblock->prev = p; in split_block() 73 p->next->prev = newblock; in split_block() 121 p->next->prev = p; in free_block() 125 if (p->prev->file_priv == NULL) { in free_block() 126 struct mem_block *q = p->prev; in free_block() 129 q->next->prev = q; in free_block() 152 blocks->next = blocks->prev = *heap; in init_heap() 155 (*heap)->next = (*heap)->prev = blocks; in init_heap() [all …]
|
/linux-4.1.27/kernel/locking/ |
D | osq_lock.c | 38 struct optimistic_spin_node *prev) in osq_wait_next() argument 49 old = prev ? prev->cpu : OSQ_UNLOCKED_VAL; in osq_wait_next() 87 struct optimistic_spin_node *prev, *next; in osq_lock() local 99 prev = decode_cpu(old); in osq_lock() 100 node->prev = prev; in osq_lock() 101 WRITE_ONCE(prev->next, node); in osq_lock() 133 if (prev->next == node && in osq_lock() 134 cmpxchg(&prev->next, node, NULL) == node) in osq_lock() 151 prev = READ_ONCE(node->prev); in osq_lock() 161 next = osq_wait_next(lock, node, prev); in osq_lock() [all …]
|
D | mcs_spinlock.h | 63 struct mcs_spinlock *prev; in mcs_spin_lock() local 69 prev = xchg(lock, node); in mcs_spin_lock() 70 if (likely(prev == NULL)) { in mcs_spin_lock() 81 WRITE_ONCE(prev->next, node); in mcs_spin_lock()
|
/linux-4.1.27/arch/mn10300/include/asm/ |
D | switch_to.h | 22 #define switch_fpu(prev, next) \ argument 24 if ((prev)->thread.fpu_flags & THREAD_HAS_FPU) { \ 25 (prev)->thread.fpu_flags &= ~THREAD_HAS_FPU; \ 26 (prev)->thread.uregs->epsw &= ~EPSW_FE; \ 27 fpu_save(&(prev)->thread.fpu_state); \ 31 #define switch_fpu(prev, next) do {} while (0) argument 36 struct task_struct *__switch_to(struct thread_struct *prev, 40 #define switch_to(prev, next, last) \ argument 42 switch_fpu(prev, next); \ 44 (last) = __switch_to(&(prev)->thread, &(next)->thread, (prev)); \
|
D | mmu_context.h | 143 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 148 if (prev != next) { in switch_mm() 159 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
/linux-4.1.27/drivers/gpu/drm/nouveau/include/nvif/ |
D | list.h | 111 struct list_head *next, *prev; member 130 list->next = list->prev = list; in INIT_LIST_HEAD() 135 struct list_head *prev, struct list_head *next) in __list_add() argument 137 next->prev = entry; in __list_add() 139 entry->prev = prev; in __list_add() 140 prev->next = entry; in __list_add() 182 __list_add(entry, head->prev, head); in list_add_tail() 186 __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 188 next->prev = prev; in __list_del() 189 prev->next = next; in __list_del() [all …]
|
/linux-4.1.27/tools/usb/usbip/libsrc/ |
D | list.h | 19 struct list_head *next, *prev; member 30 list->prev = list; in INIT_LIST_HEAD() 40 struct list_head *prev, in __list_add() argument 43 next->prev = new; in __list_add() 45 new->prev = prev; in __list_add() 46 prev->next = new; in __list_add() 69 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 71 next->prev = prev; in __list_del() 72 prev->next = next; in __list_del() 87 __list_del(entry->prev, entry->next); in __list_del_entry() [all …]
|
/linux-4.1.27/arch/ia64/include/asm/ |
D | switch_to.h | 44 #define __switch_to(prev,next,last) do { \ argument 45 if (IA64_HAS_EXTRA_STATE(prev)) \ 46 ia64_save_extra(prev); \ 60 # define switch_to(prev,next,last) do { \ argument 61 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \ 62 ia64_psr(task_pt_regs(prev))->mfh = 0; \ 63 (prev)->thread.flags |= IA64_THREAD_FPH_VALID; \ 64 __ia64_save_fpu((prev)->thread.fph); \ 66 __switch_to(prev, next, last); \ 76 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
D | futex.h | 110 unsigned long prev; in futex_atomic_cmpxchg_inatomic() local 117 : "+r" (r8), "=&r" (prev) in futex_atomic_cmpxchg_inatomic() 121 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/drivers/fmc/ |
D | fmc-dump.c | 25 const uint8_t *prev) in dump_line() argument 29 if (!prev || memcmp(line, prev, LINELEN)) { in dump_line() 39 if (line == prev + LINELEN) in dump_line() 41 return prev; in dump_line() 46 const uint8_t *line, *prev; in fmc_dump_eeprom() local 58 prev = NULL; in fmc_dump_eeprom() 60 prev = dump_line(i, line, prev); in fmc_dump_eeprom() 65 const uint8_t *line, *prev; in fmc_dump_sdb() local 96 prev = NULL; in fmc_dump_sdb() 98 prev = dump_line(i, line, prev); in fmc_dump_sdb()
|
/linux-4.1.27/include/linux/ |
D | list.h | 28 list->prev = list; in INIT_LIST_HEAD() 39 struct list_head *prev, in __list_add() argument 42 next->prev = new; in __list_add() 44 new->prev = prev; in __list_add() 45 prev->next = new; in __list_add() 49 struct list_head *prev, 77 __list_add(new, head->prev, head); in list_add_tail() 87 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 89 next->prev = prev; in __list_del() 90 prev->next = next; in __list_del() [all …]
|
D | rculist.h | 33 ACCESS_ONCE(list->prev) = list; in INIT_LIST_HEAD_RCU() 50 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument 53 new->prev = prev; in __list_add_rcu() 54 rcu_assign_pointer(list_next_rcu(prev), new); in __list_add_rcu() 55 next->prev = new; in __list_add_rcu() 59 struct list_head *prev, struct list_head *next); 102 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu() 132 entry->prev = LIST_POISON2; in list_del_rcu() 175 new->prev = old->prev; in list_replace_rcu() 176 rcu_assign_pointer(list_next_rcu(new->prev), new); in list_replace_rcu() [all …]
|
D | user-return-notifier.h | 18 static inline void propagate_user_return_notify(struct task_struct *prev, in propagate_user_return_notify() argument 21 if (test_tsk_thread_flag(prev, TIF_USER_RETURN_NOTIFY)) { in propagate_user_return_notify() 22 clear_tsk_thread_flag(prev, TIF_USER_RETURN_NOTIFY); in propagate_user_return_notify() 38 static inline void propagate_user_return_notify(struct task_struct *prev, in propagate_user_return_notify() argument
|
D | vtime.h | 42 extern void vtime_task_switch(struct task_struct *prev); 44 extern void vtime_common_task_switch(struct task_struct *prev); 45 static inline void vtime_task_switch(struct task_struct *prev) in vtime_task_switch() argument 48 vtime_common_task_switch(prev); in vtime_task_switch() 69 static inline void vtime_task_switch(struct task_struct *prev) { } in vtime_task_switch() argument
|
D | context_tracking.h | 17 extern void __context_tracking_task_switch(struct task_struct *prev, 54 static inline void context_tracking_task_switch(struct task_struct *prev, in context_tracking_task_switch() argument 58 __context_tracking_task_switch(prev, next); in context_tracking_task_switch() 65 static inline void context_tracking_task_switch(struct task_struct *prev, in context_tracking_task_switch() argument
|
D | agpgart.h | 93 struct agp_client *prev; member 101 struct agp_controller *prev; member 116 struct agp_file_private *prev; member
|
D | skbuff.h | 186 struct sk_buff *prev; member 525 struct sk_buff *prev; member 1028 return skb->prev == (const struct sk_buff *) list; in skb_queue_is_first() 1064 return skb->prev; in skb_queue_prev() 1291 struct sk_buff *skb = list_->prev; in skb_peek_tail() 1322 list->prev = list->next = (struct sk_buff *)list; in __skb_queue_head_init() 1356 struct sk_buff *prev, struct sk_buff *next, in __skb_insert() argument 1360 newsk->prev = prev; in __skb_insert() 1361 next->prev = prev->next = newsk; in __skb_insert() 1366 struct sk_buff *prev, in __skb_queue_splice() argument [all …]
|
/linux-4.1.27/scripts/kconfig/ |
D | list.h | 24 struct list_head *next, *prev; member 82 struct list_head *prev, in __list_add() argument 85 next->prev = _new; in __list_add() 87 _new->prev = prev; in __list_add() 88 prev->next = _new; in __list_add() 101 __list_add(_new, head->prev, head); in list_add_tail() 111 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 113 next->prev = prev; in __list_del() 114 prev->next = next; in __list_del() 127 __list_del(entry->prev, entry->next); in list_del() [all …]
|
/linux-4.1.27/net/bridge/ |
D | br_forward.c | 24 static int deliver_clone(const struct net_bridge_port *prev, 134 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone() argument 147 __packet_hook(prev, skb); in deliver_clone() 152 struct net_bridge_port *prev, struct net_bridge_port *p, in maybe_deliver() argument 160 return prev; in maybe_deliver() 162 if (!prev) in maybe_deliver() 165 err = deliver_clone(prev, skb, __packet_hook); in maybe_deliver() 181 struct net_bridge_port *prev; in br_flood() local 183 prev = NULL; in br_flood() 197 prev = maybe_deliver(prev, p, skb, __packet_hook); in br_flood() [all …]
|
/linux-4.1.27/arch/metag/include/asm/ |
D | mmu_context.h | 72 static inline void switch_mmu(struct mm_struct *prev, struct mm_struct *next) in switch_mmu() argument 81 if (prev->context.pgd_base != (unsigned long) prev->pgd) { in switch_mmu() 83 ((pgd_t *) prev->context.pgd_base)[i] = prev->pgd[i]; in switch_mmu() 85 prev->pgd = (pgd_t *)mmu_get_base(); in switch_mmu() 87 next->pgd = prev->pgd; in switch_mmu() 88 prev->pgd = (pgd_t *) prev->context.pgd_base; in switch_mmu() 98 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 101 if (prev != next) in switch_mm() 102 switch_mmu(prev, next); in switch_mm()
|
/linux-4.1.27/arch/um/os-Linux/ |
D | irq.c | 82 struct irq_fd **prev; in os_free_irq_by_cb() local 85 prev = &active_fds; in os_free_irq_by_cb() 86 while (*prev != NULL) { in os_free_irq_by_cb() 87 if ((*test)(*prev, arg)) { in os_free_irq_by_cb() 88 struct irq_fd *old_fd = *prev; in os_free_irq_by_cb() 90 (pollfds[i].fd != (*prev)->fd)) { in os_free_irq_by_cb() 94 (*prev)->fd, pollfds[i].fd); in os_free_irq_by_cb() 107 *last_irq_ptr2 = prev; in os_free_irq_by_cb() 109 *prev = (*prev)->next; in os_free_irq_by_cb() 115 prev = &(*prev)->next; in os_free_irq_by_cb()
|
/linux-4.1.27/mm/ |
D | madvise.c | 46 struct vm_area_struct **prev, in madvise_behavior() argument 99 *prev = vma; in madvise_behavior() 104 *prev = vma_merge(mm, *prev, start, end, new_flags, vma->anon_vma, in madvise_behavior() 106 if (*prev) { in madvise_behavior() 107 vma = *prev; in madvise_behavior() 111 *prev = vma; in madvise_behavior() 219 struct vm_area_struct **prev, in madvise_willneed() argument 226 *prev = vma; in madvise_willneed() 232 *prev = vma; in madvise_willneed() 247 *prev = vma; in madvise_willneed() [all …]
|
D | slob.c | 219 slob_t *prev, *cur, *aligned = NULL; in slob_page_alloc() local 222 for (prev = NULL, cur = sp->freelist; ; prev = cur, cur = slob_next(cur)) { in slob_page_alloc() 236 prev = cur; in slob_page_alloc() 243 if (prev) in slob_page_alloc() 244 set_slob(prev, slob_units(prev), next); in slob_page_alloc() 248 if (prev) in slob_page_alloc() 249 set_slob(prev, slob_units(prev), cur + units); in slob_page_alloc() 271 struct list_head *prev; in slob_alloc() local 299 prev = sp->lru.prev; in slob_alloc() 307 if (prev != slob_list->prev && in slob_alloc() [all …]
|
D | mmap.c | 61 struct vm_area_struct *vma, struct vm_area_struct *prev, 381 unsigned long prev = 0, pend = 0; in browse_rb() local 386 if (vma->vm_start < prev) { in browse_rb() 388 vma->vm_start, prev); in browse_rb() 409 prev = vma->vm_start; in browse_rb() 660 struct vm_area_struct *prev, struct rb_node **rb_link, in __vma_link() argument 663 __vma_link_list(mm, vma, prev, rb_parent); in __vma_link() 668 struct vm_area_struct *prev, struct rb_node **rb_link, in vma_link() argument 678 __vma_link(mm, vma, prev, rb_link, rb_parent); in vma_link() 694 struct vm_area_struct *prev; in __insert_vm_struct() local [all …]
|
D | mlock.c | 498 static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev, in mlock_fixup() argument 512 *prev = vma_merge(mm, *prev, start, end, newflags, vma->anon_vma, in mlock_fixup() 514 if (*prev) { in mlock_fixup() 515 vma = *prev; in mlock_fixup() 552 *prev = vma; in mlock_fixup() 559 struct vm_area_struct * vma, * prev; in do_mlock() local 573 prev = vma->vm_prev; in do_mlock() 575 prev = vma; in do_mlock() 589 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in do_mlock() 593 if (nstart < prev->vm_end) in do_mlock() [all …]
|
D | interval_tree.c | 30 struct vm_area_struct *prev, in vma_interval_tree_insert_after() argument 37 VM_BUG_ON_VMA(vma_start_pgoff(node) != vma_start_pgoff(prev), node); in vma_interval_tree_insert_after() 39 if (!prev->shared.rb.rb_right) { in vma_interval_tree_insert_after() 40 parent = prev; in vma_interval_tree_insert_after() 41 link = &prev->shared.rb.rb_right; in vma_interval_tree_insert_after() 43 parent = rb_entry(prev->shared.rb.rb_right, in vma_interval_tree_insert_after()
|
D | mprotect.c | 339 struct vm_area_struct *vma, *prev; in SYSCALL_DEFINE3() local 372 prev = vma->vm_prev; in SYSCALL_DEFINE3() 391 prev = vma; in SYSCALL_DEFINE3() 414 error = mprotect_fixup(vma, &prev, nstart, tmp, newflags); in SYSCALL_DEFINE3() 419 if (nstart < prev->vm_end) in SYSCALL_DEFINE3() 420 nstart = prev->vm_end; in SYSCALL_DEFINE3() 424 vma = prev->vm_next; in SYSCALL_DEFINE3()
|
/linux-4.1.27/fs/btrfs/ |
D | extent_map.c | 145 struct rb_node *prev = NULL; in __tree_search() local 152 prev = n; in __tree_search() 164 orig_prev = prev; in __tree_search() 165 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search() 166 prev = rb_next(prev); in __tree_search() 167 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search() 169 *prev_ret = prev; in __tree_search() 170 prev = orig_prev; in __tree_search() 174 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search() 175 while (prev && offset < prev_entry->start) { in __tree_search() [all …]
|
D | ordered-data.c | 81 struct rb_node *prev = NULL; in __tree_search() local 88 prev = n; in __tree_search() 101 while (prev && file_offset >= entry_end(prev_entry)) { in __tree_search() 102 test = rb_next(prev); in __tree_search() 110 prev = test; in __tree_search() 112 if (prev) in __tree_search() 113 prev_entry = rb_entry(prev, struct btrfs_ordered_extent, in __tree_search() 115 while (prev && file_offset < entry_end(prev_entry)) { in __tree_search() 116 test = rb_prev(prev); in __tree_search() 121 prev = test; in __tree_search() [all …]
|
/linux-4.1.27/arch/sh/include/asm/ |
D | switch_to_32.h | 63 struct task_struct *__switch_to(struct task_struct *prev, 69 #define switch_to(prev, next, last) \ argument 79 if (is_dsp_enabled(prev)) \ 80 __save_dsp(prev); \ 82 __ts1 = (u32 *)&prev->thread.sp; \ 83 __ts2 = (u32 *)&prev->thread.pc; \ 84 __ts4 = (u32 *)prev; \ 128 #define finish_arch_switch(prev) \ argument 130 if (is_dsp_enabled(prev)) \ 131 __restore_dsp(prev); \
|
D | switch_to_64.h | 19 struct task_struct *sh64_switch_to(struct task_struct *prev, 24 #define switch_to(prev,next,last) \ argument 30 last = sh64_switch_to(prev, &prev->thread, next, \
|
D | futex-irq.h | 96 u32 prev = 0; in atomic_futex_op_cmpxchg_inatomic() local 100 ret = get_user(prev, uaddr); in atomic_futex_op_cmpxchg_inatomic() 101 if (!ret && oldval == prev) in atomic_futex_op_cmpxchg_inatomic() 106 *uval = prev; in atomic_futex_op_cmpxchg_inatomic()
|
D | mmu_context.h | 118 static inline void switch_mm(struct mm_struct *prev, in switch_mm() argument 124 if (likely(prev != next)) { in switch_mm() 133 #define activate_mm(prev, next) switch_mm((prev),(next),NULL) argument
|
/linux-4.1.27/tools/firewire/ |
D | list.h | 2 struct list *next, *prev; member 9 list->prev = list; in list_init() 21 new_link->prev = link->prev; in list_insert() 23 new_link->prev->next = new_link; in list_insert() 24 new_link->next->prev = new_link; in list_insert() 42 link->prev->next = link->next; in list_remove() 43 link->next->prev = link->prev; in list_remove() 53 list_entry((list)->prev, type, member)
|
D | nosy-dump.c | 498 struct subaction *sa, *prev; in handle_request_packet() local 507 prev = list_tail(&t->request_list, in handle_request_packet() 510 if (!ACK_BUSY(prev->ack)) { in handle_request_packet() 519 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_request_packet() 520 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_request_packet() 563 struct subaction *sa, *prev; in handle_response_packet() local 576 prev = list_tail(&t->response_list, struct subaction, link); in handle_response_packet() 578 if (!ACK_BUSY(prev->ack)) { in handle_response_packet() 585 if (prev->packet.common.tcode != sa->packet.common.tcode || in handle_response_packet() 586 prev->packet.common.tlabel != sa->packet.common.tlabel) { in handle_response_packet() [all …]
|
/linux-4.1.27/fs/jffs2/ |
D | nodelist.c | 28 struct jffs2_full_dirent **prev = list; in jffs2_add_fd_to_list() local 32 while ((*prev) && (*prev)->nhash <= new->nhash) { in jffs2_add_fd_to_list() 33 if ((*prev)->nhash == new->nhash && !strcmp((*prev)->name, new->name)) { in jffs2_add_fd_to_list() 35 if (new->version < (*prev)->version) { in jffs2_add_fd_to_list() 37 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 42 (*prev)->name, (*prev)->ino); in jffs2_add_fd_to_list() 43 new->next = (*prev)->next; in jffs2_add_fd_to_list() 46 if ((*prev)->raw) in jffs2_add_fd_to_list() 47 jffs2_mark_node_obsolete(c, ((*prev)->raw)); in jffs2_add_fd_to_list() 48 jffs2_free_full_dirent(*prev); in jffs2_add_fd_to_list() [all …]
|
D | erase.c | 239 struct jffs2_raw_node_ref **prev; in jffs2_remove_node_refs_from_ino_list() local 241 prev = &ref->next_in_ino; in jffs2_remove_node_refs_from_ino_list() 245 if (!(*prev)->next_in_ino) { in jffs2_remove_node_refs_from_ino_list() 249 ic = (struct jffs2_inode_cache *)(*prev); in jffs2_remove_node_refs_from_ino_list() 250 prev = &ic->nodes; in jffs2_remove_node_refs_from_ino_list() 254 if (SECTOR_ADDR((*prev)->flash_offset) == jeb->offset) { in jffs2_remove_node_refs_from_ino_list() 258 this = *prev; in jffs2_remove_node_refs_from_ino_list() 259 *prev = this->next_in_ino; in jffs2_remove_node_refs_from_ino_list() 268 prev = &((*prev)->next_in_ino); in jffs2_remove_node_refs_from_ino_list()
|
/linux-4.1.27/arch/alpha/include/asm/ |
D | xchg.h | 139 unsigned long prev, tmp, cmp, addr64; in ____cmpxchg() local 157 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) in ____cmpxchg() 160 return prev; in ____cmpxchg() 166 unsigned long prev, tmp, cmp, addr64; in ____cmpxchg() local 184 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) in ____cmpxchg() 187 return prev; in ____cmpxchg() 193 unsigned long prev, cmp; in ____cmpxchg() local 207 : "=&r"(prev), "=&r"(cmp), "=m"(*m) in ____cmpxchg() 210 return prev; in ____cmpxchg() 216 unsigned long prev, cmp; in ____cmpxchg() local [all …]
|
D | futex.h | 88 u32 prev; in futex_atomic_cmpxchg_inatomic() local 110 : "+r"(ret), "=&r"(prev), "=&r"(cmp) in futex_atomic_cmpxchg_inatomic() 114 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/arch/tile/include/asm/ |
D | switch_to.h | 40 #define switch_to(prev, next, last) ((last) = _switch_to((prev), (next))) argument 41 extern struct task_struct *_switch_to(struct task_struct *prev, 45 extern struct task_struct *__switch_to(struct task_struct *prev, 57 #define finish_arch_switch(prev) do { \ argument 58 if (unlikely((prev)->state == TASK_DEAD)) \ 60 ((prev)->pid << _SIM_CONTROL_OPERATOR_BITS)); \ 75 struct task_struct *sim_notify_fork(struct task_struct *prev);
|
D | mmu_context.h | 91 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 94 if (likely(prev != next)) { in switch_mm() 107 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 114 check_mm_caching(prev, next); in switch_mm()
|
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 53 struct nvkm_mm_node *prev = node(this, prev); in nvkm_mm_free() local 56 if (prev && prev->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 57 prev->length += this->length; in nvkm_mm_free() 59 kfree(this); this = prev; in nvkm_mm_free() 72 list_for_each_entry(prev, &mm->free, fl_entry) { in nvkm_mm_free() 73 if (this->offset < prev->offset) in nvkm_mm_free() 77 list_add_tail(&this->fl_entry, &prev->fl_entry); in nvkm_mm_free() 114 struct nvkm_mm_node *prev, *this, *next; in nvkm_mm_head() local 129 prev = node(this, prev); in nvkm_mm_head() 130 if (prev && prev->type != type) in nvkm_mm_head() [all …]
|
/linux-4.1.27/arch/x86/include/asm/ |
D | switch_to.h | 5 __visible struct task_struct *__switch_to(struct task_struct *prev, 31 #define switch_to(prev, next, last) \ argument 55 : [prev_sp] "=m" (prev->thread.sp), \ 56 [prev_ip] "=m" (prev->thread.ip), \ 70 [prev] "a" (prev), \ 108 #define switch_to(prev, next, last) \ argument 122 : [next] "S" (next), [prev] "D" (prev), \
|
D | cmpxchg_32.h | 27 u64 prev = *ptr; in set_64bit() local 32 : "=m" (*ptr), "+A" (prev) in set_64bit() 48 u64 prev; in __cmpxchg64() local 50 : "=A" (prev), in __cmpxchg64() 56 return prev; in __cmpxchg64() 61 u64 prev; in __cmpxchg64_local() local 63 : "=A" (prev), in __cmpxchg64_local() 69 return prev; in __cmpxchg64_local()
|
D | mmu_context.h | 15 static inline void paravirt_activate_mm(struct mm_struct *prev, in paravirt_activate_mm() argument 95 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 100 if (likely(prev != next)) { in switch_mm() 140 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 157 if (unlikely(prev->context.ldt != next->context.ldt)) in switch_mm() 191 #define activate_mm(prev, next) \ argument 193 paravirt_activate_mm((prev), (next)); \ 194 switch_mm((prev), (next), NULL); \
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
D | switch.c | 1791 static int quiece_spu(struct spu_state *prev, struct spu *spu) in quiece_spu() argument 1803 if (check_spu_isolate(prev, spu)) { /* Step 2. */ in quiece_spu() 1806 disable_interrupts(prev, spu); /* Step 3. */ in quiece_spu() 1807 set_watchdog_timer(prev, spu); /* Step 4. */ in quiece_spu() 1808 inhibit_user_access(prev, spu); /* Step 5. */ in quiece_spu() 1809 if (check_spu_isolate(prev, spu)) { /* Step 6. */ in quiece_spu() 1812 set_switch_pending(prev, spu); /* Step 7. */ in quiece_spu() 1813 save_mfc_cntl(prev, spu); /* Step 8. */ in quiece_spu() 1814 save_spu_runcntl(prev, spu); /* Step 9. */ in quiece_spu() 1815 save_mfc_sr1(prev, spu); /* Step 10. */ in quiece_spu() [all …]
|
/linux-4.1.27/arch/blackfin/include/asm/ |
D | switch_to.h | 21 asmlinkage struct task_struct *resume(struct task_struct *prev, struct task_struct *next); 24 #define switch_to(prev,next,last) \ argument 26 memcpy (&task_thread_info(prev)->l1_task_info, L1_SCRATCH_TASK_INFO, \ 30 (last) = resume (prev, next); \ 33 #define switch_to(prev, next, last) \ argument 35 (last) = resume(prev, next); \
|
D | mmu_context.h | 71 #define activate_mm(prev, next) switch_mm(prev, next, NULL) argument 111 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 116 __switch_mm(prev, next, tsk); in switch_mm() 160 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 163 __switch_mm(prev, next, tsk); in switch_mm()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_lock.c | 189 unsigned int old, new, prev; in drm_lock_take() local 202 prev = cmpxchg(lock, old, new); in drm_lock_take() 203 } while (prev != old); in drm_lock_take() 238 unsigned int old, new, prev; in drm_lock_transfer() local 245 prev = cmpxchg(lock, old, new); in drm_lock_transfer() 246 } while (prev != old); in drm_lock_transfer() 263 unsigned int old, new, prev; in drm_legacy_lock_free() local 278 prev = cmpxchg(lock, old, new); in drm_legacy_lock_free() 279 } while (prev != old); in drm_legacy_lock_free() 305 unsigned int old, new, prev; in drm_notifier() local [all …]
|
/linux-4.1.27/drivers/net/fddi/skfp/ |
D | smttimer.c | 41 struct smt_timer **prev ; in smt_timer_stop() local 51 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_stop() 53 *prev = tm->tm_next ; in smt_timer_stop() 65 struct smt_timer **prev ; in smt_timer_start() local 92 for (prev = &smc->t.st_queue ; (tm = *prev) ; prev = &tm->tm_next ) { in smt_timer_start() 99 *prev = timer ; in smt_timer_start()
|
/linux-4.1.27/arch/arc/include/asm/ |
D | cmpxchg.h | 22 unsigned long prev; in __cmpxchg() local 36 : "=&r"(prev) /* Early clobber, to prevent reg reuse */ in __cmpxchg() 44 return prev; in __cmpxchg() 53 int prev; in __cmpxchg() local 60 prev = *p; in __cmpxchg() 61 if (prev == expected) in __cmpxchg() 64 return prev; in __cmpxchg()
|
D | switch_to.h | 31 #define switch_to(prev, next, last) \ argument 33 ARC_FPU_PREV(prev, next); \ 34 last = __switch_to(prev, next);\
|
D | mmu_context.h | 131 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 164 #define activate_mm(prev, next) switch_mm(prev, next, NULL) argument
|
/linux-4.1.27/arch/s390/include/asm/ |
D | switch_to.h | 158 #define switch_to(prev,next,last) do { \ argument 159 if (prev->mm) { \ 160 save_fp_ctl(&prev->thread.fp_regs.fpc); \ 161 save_fp_vx_regs(prev); \ 162 save_access_regs(&prev->thread.acrs[0]); \ 163 save_ri_cb(prev->thread.ri_cb); \ 170 restore_ri_cb(next->thread.ri_cb, prev->thread.ri_cb); \ 172 prev = __switch_to(prev,next); \
|
D | mmu_context.h | 69 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 75 if (prev == next) in switch_mm() 83 atomic_dec(&prev->context.attach_count); in switch_mm() 85 cpumask_clear_cpu(cpu, &prev->context.cpu_attach_mask); in switch_mm() 111 static inline void activate_mm(struct mm_struct *prev, in activate_mm() argument 114 switch_mm(prev, next, current); in activate_mm()
|
/linux-4.1.27/arch/frv/include/asm/ |
D | switch_to.h | 25 struct task_struct *prev); 27 #define switch_to(prev, next, last) \ argument 29 (prev)->thread.sched_lr = \ 31 (last) = __switch_to(&(prev)->thread, &(next)->thread, (prev)); \
|
D | mmu_context.h | 35 #define switch_mm(prev, next, tsk) \ argument 37 if (prev != next) \ 38 change_mm_context(&prev->context, &next->context, next->pgd); \ 41 #define activate_mm(prev, next) \ argument 43 change_mm_context(&prev->context, &next->context, next->pgd); \
|
/linux-4.1.27/drivers/char/agp/ |
D | frontend.c | 68 struct agp_memory *prev; in agp_remove_from_pool() local 76 prev = temp->prev; in agp_remove_from_pool() 78 if (prev != NULL) { in agp_remove_from_pool() 79 prev->next = next; in agp_remove_from_pool() 81 next->prev = prev; in agp_remove_from_pool() 86 next->prev = NULL; in agp_remove_from_pool() 201 struct agp_memory *prev; in agp_insert_into_pool() local 203 prev = agp_fe.current_controller->pool; in agp_insert_into_pool() 205 if (prev != NULL) { in agp_insert_into_pool() 206 prev->prev = temp; in agp_insert_into_pool() [all …]
|
/linux-4.1.27/arch/avr32/include/asm/ |
D | switch_to.h | 18 #define finish_arch_switch(prev) \ argument 20 ocd_write(PID, prev->pid); \ 39 #define switch_to(prev, next, last) \ argument 41 last = __switch_to(prev, &prev->thread.cpu_context + 1, \
|
D | mmu_context.h | 108 static inline void switch_mm(struct mm_struct *prev, in switch_mm() argument 112 if (likely(prev != next)) { in switch_mm() 122 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
/linux-4.1.27/arch/parisc/lib/ |
D | bitops.c | 62 unsigned long prev; in __cmpxchg_u64() local 65 if ((prev = *ptr) == old) in __cmpxchg_u64() 68 return prev; in __cmpxchg_u64() 75 unsigned int prev; in __cmpxchg_u32() local 78 if ((prev = *ptr) == old) in __cmpxchg_u32() 81 return (unsigned long)prev; in __cmpxchg_u32()
|
/linux-4.1.27/drivers/video/fbdev/omap2/dss/ |
D | dss-of.c | 27 struct device_node *prev) in omapdss_of_get_next_port() argument 34 if (!prev) { in omapdss_of_get_next_port() 51 ports = of_get_parent(prev); in omapdss_of_get_next_port() 56 port = of_get_next_child(ports, prev); in omapdss_of_get_next_port() 61 prev = port; in omapdss_of_get_next_port() 71 struct device_node *prev) in omapdss_of_get_next_endpoint() argument 79 ep = of_get_next_child(parent, prev); in omapdss_of_get_next_endpoint() 82 prev = ep; in omapdss_of_get_next_endpoint()
|
/linux-4.1.27/sound/isa/gus/ |
D | gus_mem.c | 54 nblock->prev = pblock->prev; in snd_gf1_mem_xalloc() 56 pblock->prev = nblock; in snd_gf1_mem_xalloc() 60 nblock->prev->next = nblock; in snd_gf1_mem_xalloc() 68 nblock->prev = NULL; in snd_gf1_mem_xalloc() 71 nblock->prev = alloc->last; in snd_gf1_mem_xalloc() 88 block->next->prev = NULL; in snd_gf1_mem_xfree() 90 block->prev->next = block->next; in snd_gf1_mem_xfree() 92 block->next->prev = block->prev; in snd_gf1_mem_xfree() 95 alloc->last = block->prev; in snd_gf1_mem_xfree() 96 if (block->prev) in snd_gf1_mem_xfree() [all …]
|
/linux-4.1.27/crypto/ |
D | xcbc.c | 87 u8 *prev = PTR_ALIGN(&ctx->ctx[0], alignmask + 1) + bs; in crypto_xcbc_digest_init() local 90 memset(prev, 0, bs); in crypto_xcbc_digest_init() 105 u8 *prev = odds + bs; in crypto_xcbc_digest_update() local 119 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_update() 120 crypto_cipher_encrypt_one(tfm, prev, prev); in crypto_xcbc_digest_update() 127 crypto_xor(prev, p, bs); in crypto_xcbc_digest_update() 128 crypto_cipher_encrypt_one(tfm, prev, prev); in crypto_xcbc_digest_update() 152 u8 *prev = odds + bs; in crypto_xcbc_digest_final() local 169 crypto_xor(prev, odds, bs); in crypto_xcbc_digest_final() 170 crypto_xor(prev, consts + offset, bs); in crypto_xcbc_digest_final() [all …]
|
D | cmac.c | 113 u8 *prev = PTR_ALIGN((void *)ctx->ctx, alignmask + 1) + bs; in crypto_cmac_digest_init() local 116 memset(prev, 0, bs); in crypto_cmac_digest_init() 131 u8 *prev = odds + bs; in crypto_cmac_digest_update() local 145 crypto_xor(prev, odds, bs); in crypto_cmac_digest_update() 146 crypto_cipher_encrypt_one(tfm, prev, prev); in crypto_cmac_digest_update() 153 crypto_xor(prev, p, bs); in crypto_cmac_digest_update() 154 crypto_cipher_encrypt_one(tfm, prev, prev); in crypto_cmac_digest_update() 178 u8 *prev = odds + bs; in crypto_cmac_digest_final() local 195 crypto_xor(prev, odds, bs); in crypto_cmac_digest_final() 196 crypto_xor(prev, consts + offset, bs); in crypto_cmac_digest_final() [all …]
|
/linux-4.1.27/drivers/gpu/drm/nouveau/ |
D | nv17_fence.c | 34 struct nouveau_channel *prev, struct nouveau_channel *chan) in nv17_fence_sync() argument 36 struct nouveau_cli *cli = (void *)nvif_client(&prev->device->base); in nv17_fence_sync() 50 ret = RING_SPACE(prev, 5); in nv17_fence_sync() 52 BEGIN_NV04(prev, 0, NV11_SUBCHAN_DMA_SEMAPHORE, 4); in nv17_fence_sync() 53 OUT_RING (prev, fctx->sema.handle); in nv17_fence_sync() 54 OUT_RING (prev, 0); in nv17_fence_sync() 55 OUT_RING (prev, value + 0); in nv17_fence_sync() 56 OUT_RING (prev, value + 1); in nv17_fence_sync() 57 FIRE_RING (prev); in nv17_fence_sync()
|
D | nouveau_bo.h | 53 struct nouveau_bo *prev; in nouveau_bo_ref() local 57 prev = *pnvbo; in nouveau_bo_ref() 60 if (prev) { in nouveau_bo_ref() 61 struct ttm_buffer_object *bo = &prev->bo; in nouveau_bo_ref()
|
D | nouveau_fence.c | 411 struct nouveau_channel *prev = NULL; in nouveau_fence_sync() local 417 prev = rcu_dereference(f->channel); in nouveau_fence_sync() 418 if (prev && (prev == chan || fctx->sync(f, prev, chan) == 0)) in nouveau_fence_sync() 433 struct nouveau_channel *prev = NULL; in nouveau_fence_sync() local 442 prev = rcu_dereference(f->channel); in nouveau_fence_sync() 443 if (prev && (prev == chan || fctx->sync(f, prev, chan) == 0)) in nouveau_fence_sync()
|
/linux-4.1.27/net/netfilter/ |
D | xt_limit.c | 21 unsigned long prev; member 76 priv->credit += (now - xchg(&priv->prev, now)) * CREDITS_PER_JIFFY; in limit_mt() 123 priv->prev = jiffies; in limit_mt_check() 144 compat_ulong_t prev; member 159 .prev = cm->prev | (unsigned long)cm->master << 32, in limit_mt_compat_from_user() 173 .prev = m->prev, in limit_mt_compat_to_user() 177 .master = m->prev >> 32, in limit_mt_compat_to_user()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
D | mmu_context.h | 66 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 75 if (next->context.generation < prev->context.generation) { in switch_mm() 79 next->context.generation = prev->context.generation; in switch_mm() 88 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 93 switch_mm(prev, next, current_thread_info()->task); in activate_mm()
|
D | futex.h | 106 int prev; in futex_atomic_cmpxchg_inatomic() local 128 : "+r" (ret), "=&r" (prev), "+m" (*uaddr) in futex_atomic_cmpxchg_inatomic() 132 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/drivers/usb/host/ |
D | ohci-mem.c | 105 struct td **prev = &hc->td_hash [TD_HASH_FUNC (td->td_dma)]; in td_free() local 107 while (*prev && *prev != td) in td_free() 108 prev = &(*prev)->td_hash; in td_free() 109 if (*prev) in td_free() 110 *prev = td->td_hash; in td_free()
|
D | ohci-q.c | 151 struct ed **prev = &ohci->periodic [i]; in periodic_link() local 153 struct ed *here = *prev; in periodic_link() 162 prev = &here->ed_next; in periodic_link() 164 here = *prev; in periodic_link() 171 *prev = ed; in periodic_link() 274 struct ed **prev = &ohci->periodic [i]; in periodic_unlink() local 277 while (*prev && (temp = *prev) != ed) { in periodic_unlink() 279 prev = &temp->ed_next; in periodic_unlink() 281 if (*prev) { in periodic_unlink() 283 *prev = ed->ed_next; in periodic_unlink() [all …]
|
/linux-4.1.27/sound/pci/ctxfi/ |
D | ctimap.c | 46 pre = pos->prev; in input_mapper_add() 48 pre = head->prev; in input_mapper_add() 50 __list_add(&entry->list, pos->prev, pos); in input_mapper_add() 52 pre = head->prev; in input_mapper_add() 79 pre = (entry->list.prev == head) ? head->prev : entry->list.prev; in input_mapper_delete()
|
/linux-4.1.27/security/selinux/ss/ |
D | mls.c | 37 int i, l, len, head, prev; in mls_compute_context_len() local 52 prev = -2; in mls_compute_context_len() 55 if (i - prev > 1) { in mls_compute_context_len() 57 if (head != prev) { in mls_compute_context_len() 58 nm = sym_name(&policydb, SYM_CATS, prev); in mls_compute_context_len() 65 prev = i; in mls_compute_context_len() 67 if (prev != head) { in mls_compute_context_len() 68 nm = sym_name(&policydb, SYM_CATS, prev); in mls_compute_context_len() 92 int i, l, head, prev; in mls_sid_to_context() local 111 prev = -2; in mls_sid_to_context() [all …]
|
D | ebitmap.c | 51 struct ebitmap_node *n, *new, *prev; in ebitmap_cpy() local 55 prev = NULL; in ebitmap_cpy() 65 if (prev) in ebitmap_cpy() 66 prev->next = new; in ebitmap_cpy() 69 prev = new; in ebitmap_cpy() 258 struct ebitmap_node *n, *prev, *new; in ebitmap_set_bit() local 260 prev = NULL; in ebitmap_set_bit() 281 if (prev) in ebitmap_set_bit() 282 e->highbit = prev->startbit in ebitmap_set_bit() 287 if (prev) in ebitmap_set_bit() [all …]
|
D | hashtab.c | 42 struct hashtab_node *prev, *cur, *newnode; in hashtab_insert() local 50 prev = NULL; in hashtab_insert() 53 prev = cur; in hashtab_insert() 65 if (prev) { in hashtab_insert() 66 newnode->next = prev->next; in hashtab_insert() 67 prev->next = newnode; in hashtab_insert()
|
D | avtab.c | 69 struct avtab_node *prev, struct avtab_node *cur, in avtab_insert_node() argument 78 if (prev) { in avtab_insert_node() 79 newnode->next = prev->next; in avtab_insert_node() 80 prev->next = newnode; in avtab_insert_node() 97 struct avtab_node *prev, *cur, *newnode; in avtab_insert() local 104 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert() 106 prev = cur, cur = cur->next) { in avtab_insert() 123 newnode = avtab_insert_node(h, hvalue, prev, cur, key, datum); in avtab_insert() 138 struct avtab_node *prev, *cur; in avtab_insert_nonunique() local 144 for (prev = NULL, cur = flex_array_get_ptr(h->htable, hvalue); in avtab_insert_nonunique() [all …]
|
D | sidtab.c | 36 struct sidtab_node *prev, *cur, *newnode; in sidtab_insert() local 44 prev = NULL; in sidtab_insert() 47 prev = cur; in sidtab_insert() 68 if (prev) { in sidtab_insert() 69 newnode->next = prev->next; in sidtab_insert() 71 prev->next = newnode; in sidtab_insert()
|
/linux-4.1.27/arch/arm/include/asm/ |
D | switch_to.h | 13 #define finish_arch_switch(prev) dsb(ish) argument 23 #define switch_to(prev,next,last) \ argument 25 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
D | mmu_context.h | 93 #define activate_mm(prev,next) switch_mm(prev, next, NULL) argument 116 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 132 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) { in switch_mm() 135 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm()
|
/linux-4.1.27/drivers/isdn/divert/ |
D | isdn_divert.c | 30 struct call_struc *prev; member 38 struct deflect_struc *next, *prev; member 93 if (cs->prev) in deflect_timer_expire() 94 cs->prev->next = cs->next; /* forward link */ in deflect_timer_expire() 98 cs->next->prev = cs->prev; /* back link */ in deflect_timer_expire() 191 cs->prev = NULL; in cf_command() 295 ds->prev = table_tail; /* previous entry */ in insertrule() 297 if (ds->prev) in insertrule() 298 ds->prev->next = ds; /* last forward */ in insertrule() 304 ds->prev = ds1->prev; /* prev entry */ in insertrule() [all …]
|
/linux-4.1.27/arch/m32r/include/asm/ |
D | switch_to.h | 28 #define switch_to(prev, next, last) do { \ argument 44 : "0" (prev), \ 45 "r" (&(prev->thread.sp)), "r" (&(next->thread.sp)), \ 46 "r" (&(prev->thread.lr)), "r" (&(next->thread.lr)) \
|
D | mmu_context.h | 121 static inline void switch_mm(struct mm_struct *prev, in switch_mm() argument 128 if (prev != next) { in switch_mm() 145 #define activate_mm(prev, next) \ argument 146 switch_mm((prev), (next), NULL) 155 #define switch_mm(prev,next,tsk) do { } while (0) argument 157 #define activate_mm(prev,next) do { } while (0) argument
|
/linux-4.1.27/arch/powerpc/boot/ |
D | ops.h | 47 void *(*find_node_by_prop_value)(const void *prev, 50 void *(*find_node_by_compatible)(const void *prev, 146 static inline void *find_node_by_prop_value(const void *prev, in find_node_by_prop_value() argument 151 return dt_ops.find_node_by_prop_value(prev, propname, in find_node_by_prop_value() 157 static inline void *find_node_by_prop_value_str(const void *prev, in find_node_by_prop_value_str() argument 161 return find_node_by_prop_value(prev, propname, propval, in find_node_by_prop_value_str() 165 static inline void *find_node_by_devtype(const void *prev, in find_node_by_devtype() argument 168 return find_node_by_prop_value_str(prev, "device_type", type); in find_node_by_devtype() 184 static inline void *find_node_by_compatible(const void *prev, in find_node_by_compatible() argument 188 return dt_ops.find_node_by_compatible(prev, compat); in find_node_by_compatible()
|
D | libfdt-wrapper.c | 131 static void *fdt_wrapper_find_node_by_prop_value(const void *prev, in fdt_wrapper_find_node_by_prop_value() argument 136 int offset = fdt_node_offset_by_prop_value(fdt, devp_offset_find(prev), in fdt_wrapper_find_node_by_prop_value() 141 static void *fdt_wrapper_find_node_by_compatible(const void *prev, in fdt_wrapper_find_node_by_compatible() argument 144 int offset = fdt_node_offset_by_compatible(fdt, devp_offset_find(prev), in fdt_wrapper_find_node_by_compatible()
|
/linux-4.1.27/arch/c6x/include/asm/ |
D | switch_to.h | 20 asmlinkage void *__switch_to(struct thread_struct *prev, 24 #define switch_to(prev, next, last) \ argument 27 (last) = __switch_to(&(prev)->thread, \ 28 &(next)->thread, (prev)); \
|
/linux-4.1.27/drivers/infiniband/hw/mthca/ |
D | mthca_mcg.c | 65 u16 *hash, int *prev, int *index) in find_mgm() argument 89 *prev = -1; in find_mgm() 109 *prev = *index; in find_mgm() 126 int index, prev; in mthca_multicast_attach() local 138 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); in mthca_multicast_attach() 191 err = mthca_READ_MGM(dev, prev, mailbox); in mthca_multicast_attach() 199 err = mthca_WRITE_MGM(dev, prev, mailbox); in mthca_multicast_attach() 220 int prev, index; in mthca_multicast_detach() local 231 err = find_mgm(dev, gid->raw, mailbox, &hash, &prev, &index); in mthca_multicast_detach() 266 if (prev == -1) { in mthca_multicast_detach() [all …]
|
/linux-4.1.27/tools/perf/ |
D | perf-completion.sh | 73 prev) 74 prev=${words_[$cword_-1]} 162 elif [[ $prev == @("-e"|"--event") && 232 local _ret=1 cur cword prev 234 prev=${words[CURRENT-1]} 248 local cur words cword prev 250 _get_comp_words_by_ref -n =: cur words cword prev 252 __perf_get_comp_words_by_ref -n =: cur words cword prev
|
D | builtin-timechart.c | 725 struct io_sample *prev; in pid_begin_io_sample() local 736 prev = c->io_samples; in pid_begin_io_sample() 738 if (prev && prev->start_time && !prev->end_time) { in pid_begin_io_sample() 744 c->io_samples = prev->next; in pid_begin_io_sample() 745 free(prev); in pid_begin_io_sample() 769 struct io_sample *sample, *prev; in pid_end_io_sample() local 793 prev = sample->next; in pid_end_io_sample() 799 if (prev && sample->start_time < prev->end_time) { in pid_end_io_sample() 800 if (prev->err) /* try to make errors more visible */ in pid_end_io_sample() 801 sample->start_time = prev->end_time; in pid_end_io_sample() [all …]
|
/linux-4.1.27/arch/metag/kernel/ |
D | process.c | 301 struct task_struct *__sched __switch_to(struct task_struct *prev, in __switch_to() argument 307 to.Switch.pPara = prev; in __switch_to() 310 if (prev->thread.user_flags & TBICTX_FPAC_BIT) { in __switch_to() 311 struct pt_regs *regs = task_pt_regs(prev); in __switch_to() 314 state.Sig.SaveMask = prev->thread.user_flags; in __switch_to() 317 if (!prev->thread.fpu_context) in __switch_to() 318 alloc_fpu_context(&prev->thread); in __switch_to() 319 if (prev->thread.fpu_context) in __switch_to() 320 __TBICtxFPUSave(state, prev->thread.fpu_context); in __switch_to() 326 if (prev->thread.fpu_context) in __switch_to() [all …]
|
/linux-4.1.27/arch/s390/lib/ |
D | spinlock.c | 186 void _raw_write_lock_wait(arch_rwlock_t *rw, unsigned int prev) in _raw_write_lock_wait() argument 202 prev = __RAW_LOCK(&rw->lock, 0x80000000, __RAW_OP_OR); in _raw_write_lock_wait() 203 old = prev; in _raw_write_lock_wait() 205 if ((old & 0x7fffffff) == 0 && (int) prev >= 0) in _raw_write_lock_wait() 217 unsigned int owner, old, prev; in _raw_write_lock_wait() local 220 prev = 0x80000000; in _raw_write_lock_wait() 232 prev = old; in _raw_write_lock_wait() 235 if ((old & 0x7fffffff) == 0 && (int) prev >= 0) in _raw_write_lock_wait()
|
/linux-4.1.27/fs/notify/dnotify/ |
D | dnotify.c | 93 struct dnotify_struct **prev; in dnotify_handle_event() local 106 prev = &dn_mark->dn; in dnotify_handle_event() 107 while ((dn = *prev) != NULL) { in dnotify_handle_event() 109 prev = &dn->dn_next; in dnotify_handle_event() 115 prev = &dn->dn_next; in dnotify_handle_event() 117 *prev = dn->dn_next; in dnotify_handle_event() 155 struct dnotify_struct **prev; in dnotify_flush() local 170 prev = &dn_mark->dn; in dnotify_flush() 171 while ((dn = *prev) != NULL) { in dnotify_flush() 173 *prev = dn->dn_next; in dnotify_flush() [all …]
|
/linux-4.1.27/fs/nfs/ |
D | pagelist.c | 273 nfs_page_group_init(struct nfs_page *req, struct nfs_page *prev) in nfs_page_group_init() argument 276 WARN_ON_ONCE(prev == req); in nfs_page_group_init() 278 if (!prev) { in nfs_page_group_init() 284 WARN_ON_ONCE(prev->wb_this_page != prev->wb_head); in nfs_page_group_init() 285 WARN_ON_ONCE(!test_bit(PG_HEADLOCK, &prev->wb_head->wb_flags)); in nfs_page_group_init() 286 req->wb_head = prev->wb_head; in nfs_page_group_init() 287 req->wb_this_page = prev->wb_this_page; in nfs_page_group_init() 288 prev->wb_this_page = req; in nfs_page_group_init() 297 if (test_bit(PG_INODE_REF, &prev->wb_head->wb_flags)) { in nfs_page_group_init() 495 struct nfs_page *prev, struct nfs_page *req) in nfs_generic_pg_test() argument [all …]
|
/linux-4.1.27/tools/perf/scripts/python/ |
D | sched-migration.py | 102 def sched_switch(self, prev, prev_state, next): argument 106 and prev in self.tasks: 110 event = RunqueueEventSleep(prev) 113 if prev in self.tasks: 115 next_tasks.remove(prev) 117 next_tasks.append(prev) 160 def __init__(self, start, prev): argument 162 self.prev = prev 166 if prev is not None: 167 self.total_load = prev.total_load [all …]
|
/linux-4.1.27/arch/m68k/include/asm/ |
D | atomic.h | 128 int prev; in atomic_cmpxchg() local 131 prev = atomic_read(v); in atomic_cmpxchg() 132 if (prev == old) in atomic_cmpxchg() 135 return prev; in atomic_cmpxchg() 141 int prev; in atomic_xchg() local 144 prev = atomic_read(v); in atomic_xchg() 147 return prev; in atomic_xchg()
|
D | switch_to.h | 30 #define switch_to(prev,next,last) do { \ argument 31 register void *_prev __asm__ ("a0") = (prev); \
|
D | mmu_context.h | 73 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 196 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 282 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument 284 if (prev != next) { in switch_mm() 315 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument
|
/linux-4.1.27/sound/core/seq/ |
D | seq_prioq.c | 149 struct snd_seq_event_cell *cur, *prev; in snd_seq_prioq_cell_in() local 179 prev = NULL; /* previous cell */ in snd_seq_prioq_cell_in() 194 prev = cur; in snd_seq_prioq_cell_in() 204 if (prev != NULL) in snd_seq_prioq_cell_in() 205 prev->next = cell; in snd_seq_prioq_cell_in() 294 struct snd_seq_event_cell *prev = NULL; in snd_seq_prioq_leave() local 307 prev->next = cell->next; in snd_seq_prioq_leave() 329 prev = cell; in snd_seq_prioq_leave() 404 struct snd_seq_event_cell *prev = NULL; in snd_seq_prioq_remove_events() local 420 prev->next = cell->next; in snd_seq_prioq_remove_events() [all …]
|
/linux-4.1.27/arch/cris/arch-v32/mm/ |
D | intmem.c | 107 struct intmem_allocation *prev = in crisv32_intmem_free() local 108 list_entry(allocation->entry.prev, in crisv32_intmem_free() 116 if ((prev != &intmem_allocations) && in crisv32_intmem_free() 117 (prev->status == STATUS_FREE)) { in crisv32_intmem_free() 118 prev->size += allocation->size; in crisv32_intmem_free() 121 allocation = prev; in crisv32_intmem_free()
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | fasttimer.c | 260 t->prev = NULL; in start_one_shot_timer() 264 fast_timer_list->prev = t; in start_one_shot_timer() 279 t->prev = tmp; in start_one_shot_timer() 283 tmp->next->prev = t; in start_one_shot_timer() 296 return (t->next != NULL) || (t->prev != NULL) || (t == fast_timer_list); in fast_timer_pending() 301 struct fast_timer *next, *prev; in detach_fast_timer() local 305 prev = t->prev; in detach_fast_timer() 307 next->prev = prev; in detach_fast_timer() 308 if (prev) in detach_fast_timer() 309 prev->next = next; in detach_fast_timer() [all …]
|
/linux-4.1.27/arch/parisc/include/asm/ |
D | mmu_context.h | 52 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument 55 if (prev != next) { in switch_mm() 63 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 78 switch_mm(prev,next,current); in activate_mm()
|
D | switch_to.h | 8 #define switch_to(prev, next, last) do { \ argument 9 (last) = _switch_to(prev, next); \
|
/linux-4.1.27/drivers/usb/host/whci/ |
D | asl.c | 29 struct whc_qset **next, struct whc_qset **prev) in qset_get_next_prev() argument 38 p = qset->list_node.prev; in qset_get_next_prev() 40 p = p->prev; in qset_get_next_prev() 43 *prev = container_of(p, struct whc_qset, list_node); in qset_get_next_prev() 55 struct whc_qset *next, *prev; in asl_qset_insert() local 60 qset_get_next_prev(whc, qset, &next, &prev); in asl_qset_insert() 62 whc_qset_set_link_ptr(&prev->qh.link, qset->qset_dma); in asl_qset_insert() 68 struct whc_qset *prev, *next; in asl_qset_remove() local 70 qset_get_next_prev(whc, qset, &next, &prev); in asl_qset_remove() 83 whc_qset_set_link_ptr(&prev->qh.link, next->qset_dma); in asl_qset_remove()
|
/linux-4.1.27/arch/unicore32/include/asm/ |
D | mmu_context.h | 49 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 54 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) in switch_mm() 59 #define activate_mm(prev, next) switch_mm(prev, next, NULL) argument
|
D | switch_to.h | 24 #define switch_to(prev, next, last) \ argument 26 last = __switch_to(prev, task_thread_info(prev), \
|
/linux-4.1.27/arch/cris/include/asm/ |
D | switch_to.h | 8 extern struct task_struct *resume(struct task_struct *prev, struct task_struct *next, int); 9 #define switch_to(prev,next,last) last = resume(prev,next, \ argument
|
D | mmu_context.h | 9 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next, 14 #define activate_mm(prev,next) switch_mm((prev),(next),NULL) argument
|
/linux-4.1.27/arch/score/include/asm/ |
D | switch_to.h | 6 #define switch_to(prev, next, last) \ argument 8 (last) = resume(prev, next, task_thread_info(next)); \ 11 #define finish_arch_switch(prev) do {} while (0) argument
|
/linux-4.1.27/arch/microblaze/include/asm/ |
D | switch_to.h | 15 extern struct task_struct *_switch_to(struct thread_info *prev, 18 #define switch_to(prev, next, last) \ argument 20 (last) = _switch_to(task_thread_info(prev), \
|
D | futex.h | 101 u32 prev; in futex_atomic_cmpxchg_inatomic() local 120 : "+r" (ret), "=&r" (prev), "=&r"(cmp) \ in futex_atomic_cmpxchg_inatomic() 123 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
/linux-4.1.27/kernel/sched/ |
D | cputime.c | 392 void vtime_common_task_switch(struct task_struct *prev) in vtime_common_task_switch() argument 394 if (is_idle_task(prev)) in vtime_common_task_switch() 395 vtime_account_idle(prev); in vtime_common_task_switch() 397 vtime_account_system(prev); in vtime_common_task_switch() 400 vtime_account_user(prev); in vtime_common_task_switch() 402 arch_vtime_task_switch(prev); in vtime_common_task_switch() 579 struct cputime *prev, in cputime_adjust() argument 601 if (prev->stime + prev->utime >= rtime) in cputime_adjust() 619 cputime_advance(&prev->stime, stime); in cputime_adjust() 620 cputime_advance(&prev->utime, utime); in cputime_adjust() [all …]
|
D | stats.h | 132 struct task_struct *prev, struct task_struct *next) in __sched_info_switch() argument 139 if (prev != rq->idle) in __sched_info_switch() 140 sched_info_depart(rq, prev); in __sched_info_switch() 147 struct task_struct *prev, struct task_struct *next) in sched_info_switch() argument 150 __sched_info_switch(rq, prev, next); in sched_info_switch()
|
D | idle_task.c | 27 pick_next_task_idle(struct rq *rq, struct task_struct *prev) in pick_next_task_idle() argument 29 put_prev_task(rq, prev); in pick_next_task_idle() 48 static void put_prev_task_idle(struct rq *rq, struct task_struct *prev) in put_prev_task_idle() argument
|
D | stop_task.c | 27 pick_next_task_stop(struct rq *rq, struct task_struct *prev) in pick_next_task_stop() argument 34 put_prev_task(rq, prev); in pick_next_task_stop() 58 static void put_prev_task_stop(struct rq *rq, struct task_struct *prev) in put_prev_task_stop() argument
|
/linux-4.1.27/tools/perf/util/include/linux/ |
D | list.h | 18 begin->prev->next = end->next; in list_del_range() 19 end->next->prev = begin->prev; in list_del_range()
|
/linux-4.1.27/arch/sparc/lib/ |
D | atomic32.c | 143 u32 prev; in __cmpxchg_u32() local 146 if ((prev = *ptr) == old) in __cmpxchg_u32() 150 return (unsigned long)prev; in __cmpxchg_u32() 157 u32 prev; in __xchg_u32() local 160 prev = *ptr; in __xchg_u32() 164 return (unsigned long)prev; in __xchg_u32()
|
/linux-4.1.27/drivers/media/pci/zoran/ |
D | videocodec.c | 172 struct attached_list *a, *prev; in videocodec_detach() local 192 prev = NULL; in videocodec_detach() 208 if (prev == NULL) { in videocodec_detach() 213 prev->next = a->next; in videocodec_detach() 223 prev = a; in videocodec_detach() 271 struct codec_list *prev = NULL, *h = codeclist_top; in videocodec_unregister() local 300 if (prev == NULL) { in videocodec_unregister() 305 prev->next = h->next; in videocodec_unregister() 312 prev = h; in videocodec_unregister()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | mdio_10g.c | 235 struct ethtool_cmd prev = { .cmd = ETHTOOL_GSET }; in efx_mdio_set_settings() local 237 efx->phy_op->get_settings(efx, &prev); in efx_mdio_set_settings() 239 if (ecmd->advertising == prev.advertising && in efx_mdio_set_settings() 240 ethtool_cmd_speed(ecmd) == ethtool_cmd_speed(&prev) && in efx_mdio_set_settings() 241 ecmd->duplex == prev.duplex && in efx_mdio_set_settings() 242 ecmd->port == prev.port && in efx_mdio_set_settings() 243 ecmd->autoneg == prev.autoneg) in efx_mdio_set_settings() 247 if (prev.port != PORT_TP || ecmd->port != PORT_TP) in efx_mdio_set_settings() 252 (ecmd->advertising | SUPPORTED_Autoneg) & ~prev.supported) in efx_mdio_set_settings()
|
/linux-4.1.27/drivers/acpi/acpica/ |
D | exmutex.c | 80 (obj_desc->mutex.next)->mutex.prev = obj_desc->mutex.prev; in acpi_ex_unlink_mutex() 83 if (obj_desc->mutex.prev) { in acpi_ex_unlink_mutex() 84 (obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next; in acpi_ex_unlink_mutex() 92 (obj_desc->mutex.prev)->mutex.original_sync_level = in acpi_ex_unlink_mutex() 122 obj_desc->mutex.prev = NULL; in acpi_ex_link_mutex() 128 list_head->mutex.prev = obj_desc; in acpi_ex_link_mutex() 473 obj_desc->mutex.prev = NULL; in acpi_ex_release_all_mutexes()
|
D | utaddress.c | 141 struct acpi_address_range *prev; in acpi_ut_remove_address_range() local 152 range_info = prev = acpi_gbl_address_range_list[space_id]; in acpi_ut_remove_address_range() 155 if (range_info == prev) { /* Found at list head */ in acpi_ut_remove_address_range() 159 prev->next = range_info->next; in acpi_ut_remove_address_range() 175 prev = range_info; in acpi_ut_remove_address_range()
|
D | psparse.c | 136 union acpi_parse_object *prev; in acpi_ps_complete_this_op() local 161 prev = op->common.parent->common.value.arg; in acpi_ps_complete_this_op() 162 if (!prev) { in acpi_ps_complete_this_op() 251 if (prev == op) { in acpi_ps_complete_this_op() 272 while (prev) { in acpi_ps_complete_this_op() 276 next = prev->common.next; in acpi_ps_complete_this_op() 285 prev->common.next = in acpi_ps_complete_this_op() 291 prev->common.next = in acpi_ps_complete_this_op() 296 prev = next; in acpi_ps_complete_this_op()
|
D | psloop.c | 322 union acpi_operand_object *prev; in acpi_ps_link_module_code() local 329 prev = next = acpi_gbl_module_code_list; in acpi_ps_link_module_code() 331 prev = next; in acpi_ps_link_module_code() 339 if (!prev || in acpi_ps_link_module_code() 340 ((prev->method.aml_start + prev->method.aml_length) != aml_start)) { in acpi_ps_link_module_code() 367 if (!prev) { in acpi_ps_link_module_code() 370 prev->method.mutex = method_obj; in acpi_ps_link_module_code() 373 prev->method.aml_length += aml_length; in acpi_ps_link_module_code()
|
D | nseval.c | 343 union acpi_operand_object *prev; in acpi_ns_exec_module_code_list() local 367 prev = next; in acpi_ns_exec_module_code_list() 372 prev->method.mutex = NULL; in acpi_ns_exec_module_code_list() 373 acpi_ns_exec_module_code(prev, info); in acpi_ns_exec_module_code_list() 378 acpi_ut_remove_reference(prev); in acpi_ns_exec_module_code_list()
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | fasttimer.c | 238 t->prev = NULL; in start_one_shot_timer() 241 fast_timer_list->prev = t; in start_one_shot_timer() 253 t->prev = tmp; in start_one_shot_timer() 257 tmp->next->prev = t; in start_one_shot_timer() 270 return (t->next != NULL) || (t->prev != NULL) || (t == fast_timer_list); in fast_timer_pending() 275 struct fast_timer *next, *prev; in detach_fast_timer() local 279 prev = t->prev; in detach_fast_timer() 281 next->prev = prev; in detach_fast_timer() 282 if (prev) in detach_fast_timer() 283 prev->next = next; in detach_fast_timer() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/fld/ |
D | fld_cache.c | 227 curr = cache->fci_lru.prev; in fld_cache_shrink() 233 curr = curr->prev; in fld_cache_shrink() 344 fld_cache_entry_add(cache, f_new, f_curr->fce_list.prev); in fld_cache_overlap_handle() 387 struct list_head *prev = NULL; in fld_cache_insert_nolock() local 410 prev = &f_curr->fce_list; in fld_cache_insert_nolock() 419 if (prev == NULL) in fld_cache_insert_nolock() 420 prev = head; in fld_cache_insert_nolock() 424 fld_cache_entry_add(cache, f_new, prev); in fld_cache_insert_nolock() 521 struct fld_cache_entry *prev = NULL; in fld_cache_lookup() local 530 if (prev != NULL) in fld_cache_lookup() [all …]
|
/linux-4.1.27/drivers/iommu/ |
D | iova.c | 142 struct rb_node *prev, *curr = NULL; in __alloc_and_insert_iova_range() local 151 prev = curr; in __alloc_and_insert_iova_range() 168 prev = curr; in __alloc_and_insert_iova_range() 192 if (prev) in __alloc_and_insert_iova_range() 193 entry = &prev; in __alloc_and_insert_iova_range() 498 struct iova *prev = NULL, *next = NULL; in split_and_remove_iova() local 502 prev = alloc_and_init_iova(iova->pfn_lo, pfn_lo - 1); in split_and_remove_iova() 503 if (prev == NULL) in split_and_remove_iova() 515 if (prev) { in split_and_remove_iova() 516 iova_insert_rbtree(&iovad->rbroot, prev); in split_and_remove_iova() [all …]
|
/linux-4.1.27/arch/openrisc/include/asm/ |
D | mmu_context.h | 26 extern void switch_mm(struct mm_struct *prev, struct mm_struct *next, 31 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
/linux-4.1.27/kernel/debug/kdb/ |
D | kdb_support.c | 748 struct debug_alloc_header *best, *bestprev, *prev, *h; in debug_kmalloc() local 760 prev = best = bestprev = NULL; in debug_kmalloc() 764 bestprev = prev; in debug_kmalloc() 770 prev = h; in debug_kmalloc() 828 struct debug_alloc_header *prev; in debug_kfree() local 830 prev = (struct debug_alloc_header *)(debug_alloc_pool + in debug_kfree() 833 if (!prev->next || prev->next > h_offset) in debug_kfree() 835 prev = (struct debug_alloc_header *) in debug_kfree() 836 (debug_alloc_pool + prev->next); in debug_kfree() 838 prev_offset = (char *)prev - debug_alloc_pool; in debug_kfree() [all …]
|
/linux-4.1.27/drivers/dma/ |
D | txx9dmac.c | 174 return list_entry(dc->active_list.prev, in txx9dmac_last_active() 186 desc = list_entry(desc->tx_list.prev, typeof(*desc), desc_node); in txx9dmac_last_child() 435 struct txx9dmac_desc *prev = NULL; in txx9dmac_dequeue() local 440 if (prev) { in txx9dmac_dequeue() 441 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_dequeue() 443 prev->txd.phys, ddev->descsize, in txx9dmac_dequeue() 446 prev = txx9dmac_last_child(desc); in txx9dmac_dequeue() 723 struct txx9dmac_desc *prev; in txx9dmac_prep_dma_memcpy() local 735 prev = first = NULL; in txx9dmac_prep_dma_memcpy() 785 desc_write_CHAR(dc, prev, desc->txd.phys); in txx9dmac_prep_dma_memcpy() [all …]
|
D | sun6i-dma.c | 257 static void *sun6i_dma_lli_add(struct sun6i_dma_lli *prev, in sun6i_dma_lli_add() argument 262 if ((!prev && !txd) || !next) in sun6i_dma_lli_add() 265 if (!prev) { in sun6i_dma_lli_add() 269 prev->p_lli_next = next_phy; in sun6i_dma_lli_add() 270 prev->v_lli_next = next; in sun6i_dma_lli_add() 568 struct sun6i_dma_lli *v_lli, *prev = NULL; in sun6i_dma_prep_slave_sg() local 628 prev = sun6i_dma_lli_add(prev, v_lli, p_lli, txd); in sun6i_dma_prep_slave_sg() 632 for (prev = txd->v_lli; prev; prev = prev->v_lli_next) in sun6i_dma_prep_slave_sg() 633 sun6i_dma_dump_lli(vchan, prev); in sun6i_dma_prep_slave_sg() 640 for (prev = txd->v_lli; prev; prev = prev->v_lli_next) in sun6i_dma_prep_slave_sg() [all …]
|
D | img-mdc-dma.c | 294 struct mdc_hw_list_desc *curr, *prev = NULL; in mdc_prep_dma_memcpy() local 313 if (prev) { in mdc_prep_dma_memcpy() 314 prev->node_addr = curr_phys; in mdc_prep_dma_memcpy() 315 prev->next_desc = curr; in mdc_prep_dma_memcpy() 326 prev = curr; in mdc_prep_dma_memcpy() 377 struct mdc_hw_list_desc *curr, *prev = NULL; in mdc_prep_dma_cyclic() local 409 if (!prev) { in mdc_prep_dma_cyclic() 413 prev->node_addr = curr_phys; in mdc_prep_dma_cyclic() 414 prev->next_desc = curr; in mdc_prep_dma_cyclic() 432 prev = curr; in mdc_prep_dma_cyclic() [all …]
|
/linux-4.1.27/drivers/mtd/ |
D | redboot.c | 180 struct fis_list *new_fl, **prev; in parse_redboot_partitions() local 207 prev = &fl; in parse_redboot_partitions() 208 while(*prev && (*prev)->img->flash_base < new_fl->img->flash_base) in parse_redboot_partitions() 209 prev = &(*prev)->next; in parse_redboot_partitions() 210 new_fl->next = *prev; in parse_redboot_partitions() 211 *prev = new_fl; in parse_redboot_partitions()
|
/linux-4.1.27/arch/arm/mach-omap2/ |
D | sdrc2xxx.c | 85 u32 prev = curr_perf_level; in omap2xxx_sdrc_reprogram() local 89 return prev; in omap2xxx_sdrc_reprogram() 96 return prev; in omap2xxx_sdrc_reprogram() 113 return prev; in omap2xxx_sdrc_reprogram()
|
D | powerdomain.c | 163 int prev, next, state, trace_state = 0; in _pwrdm_state_switch() local 172 prev = pwrdm->state; in _pwrdm_state_switch() 175 prev = pwrdm_read_prev_pwrst(pwrdm); in _pwrdm_state_switch() 176 if (pwrdm->state != prev) in _pwrdm_state_switch() 177 pwrdm->state_counter[prev]++; in _pwrdm_state_switch() 178 if (prev == PWRDM_POWER_RET) in _pwrdm_state_switch() 185 if (next != prev) { in _pwrdm_state_switch() 188 ((prev & OMAP_POWERSTATE_MASK) << 0)); in _pwrdm_state_switch() 197 if (state != prev) in _pwrdm_state_switch() 200 pm_dbg_update_time(pwrdm, prev); in _pwrdm_state_switch()
|
/linux-4.1.27/arch/x86/kernel/ |
D | tsc_sync.c | 46 cycles_t start, now, prev, end; in check_tsc_warp() local 65 prev = last_tsc; in check_tsc_warp() 88 if (unlikely(prev > now)) { in check_tsc_warp() 90 max_warp = max(max_warp, prev - now); in check_tsc_warp()
|
D | process_64.c | 276 struct thread_struct *prev = &prev_p->thread; in __switch_to() local 322 savesegment(es, prev->es); in __switch_to() 323 if (unlikely(next->es | prev->es)) in __switch_to() 326 savesegment(ds, prev->ds); in __switch_to() 327 if (unlikely(next->ds | prev->ds)) in __switch_to() 365 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to() 378 prev->fs = 0; in __switch_to() 382 prev->fsindex = fsindex; in __switch_to() 384 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to() 389 prev->gs = 0; in __switch_to() [all …]
|
/linux-4.1.27/fs/gfs2/ |
D | xattr.c | 77 struct gfs2_ea_header *prev, void *private); 82 struct gfs2_ea_header *ea, *prev = NULL; in ea_foreach_i() local 88 for (ea = GFS2_EA_BH2FIRST(bh);; prev = ea, ea = GFS2_EA2NEXT(ea)) { in ea_foreach_i() 97 error = ea_call(ip, bh, ea, prev, data); in ea_foreach_i() 167 struct gfs2_ea_header *ea, struct gfs2_ea_header *prev, in ea_find_i() argument 182 el->el_prev = prev; in ea_find_i() 227 struct gfs2_ea_header *prev, void *private) in ea_dealloc_unstuffed() argument 297 if (prev && !leave) { in ea_dealloc_unstuffed() 300 len = GFS2_EA_REC_LEN(prev) + GFS2_EA_REC_LEN(ea); in ea_dealloc_unstuffed() 301 prev->ea_rec_len = cpu_to_be32(len); in ea_dealloc_unstuffed() [all …]
|
/linux-4.1.27/net/ieee802154/6lowpan/ |
D | reassembly.c | 49 struct sk_buff *prev, struct net_device *dev); 143 struct sk_buff *prev, *next; in lowpan_frag_queue() local 176 prev = fq->q.fragments_tail; in lowpan_frag_queue() 177 if (!prev || lowpan_cb(prev)->d_offset < lowpan_cb(skb)->d_offset) { in lowpan_frag_queue() 181 prev = NULL; in lowpan_frag_queue() 185 prev = next; in lowpan_frag_queue() 193 if (prev) in lowpan_frag_queue() 194 prev->next = skb; in lowpan_frag_queue() 218 res = lowpan_frag_reasm(fq, prev, dev); in lowpan_frag_queue() 237 static int lowpan_frag_reasm(struct lowpan_frag_queue *fq, struct sk_buff *prev, in lowpan_frag_reasm() argument [all …]
|
/linux-4.1.27/arch/xtensa/include/asm/ |
D | mmu_context.h | 123 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 133 if (migrated || prev != next) in switch_mm() 137 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
D | switch_to.h | 17 #define switch_to(prev,next,last) \ argument 19 (last) = _switch_to(prev, next); \
|
D | futex.h | 112 u32 prev; in futex_atomic_cmpxchg_inatomic() local 138 : "+r" (ret), "=&r" (prev), "+m" (*uaddr) in futex_atomic_cmpxchg_inatomic() 142 *uval = prev; in futex_atomic_cmpxchg_inatomic()
|
D | nommu_context.h | 18 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 22 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument
|
/linux-4.1.27/arch/arm64/include/asm/ |
D | mmu_context.h | 192 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 206 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) in switch_mm() 211 #define activate_mm(prev,next) switch_mm(prev, next, NULL) argument
|
/linux-4.1.27/net/ipv4/ |
D | ip_fragment.c | 95 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, 320 struct sk_buff *prev, *next; in ip_frag_queue() local 386 prev = qp->q.fragments_tail; in ip_frag_queue() 387 if (!prev || FRAG_CB(prev)->offset < offset) { in ip_frag_queue() 391 prev = NULL; in ip_frag_queue() 395 prev = next; in ip_frag_queue() 403 if (prev) { in ip_frag_queue() 404 int i = (FRAG_CB(prev)->offset + prev->len) - offset; in ip_frag_queue() 443 if (prev) in ip_frag_queue() 444 prev->next = next; in ip_frag_queue() [all …]
|
/linux-4.1.27/sound/synth/ |
D | util_mem.c | 101 return __snd_util_memblk_new(hdr, units, p->prev); in __snd_util_mem_alloc() 111 struct list_head *prev) in __snd_util_memblk_new() argument 120 if (prev == &hdr->block) in __snd_util_memblk_new() 123 struct snd_util_memblk *p = get_memblk(prev); in __snd_util_memblk_new() 127 list_add(&blk->list, prev); in __snd_util_memblk_new()
|
/linux-4.1.27/fs/autofs4/ |
D | expire.c | 76 static struct dentry *get_next_positive_subdir(struct dentry *prev, in get_next_positive_subdir() argument 86 if (prev) in get_next_positive_subdir() 87 next = prev->d_child.next; in get_next_positive_subdir() 89 prev = dget_dlock(root); in get_next_positive_subdir() 90 next = prev->d_subdirs.next; in get_next_positive_subdir() 97 dput(prev); in get_next_positive_subdir() 115 dput(prev); in get_next_positive_subdir() 123 static struct dentry *get_next_positive_dentry(struct dentry *prev, in get_next_positive_dentry() argument 130 if (prev == NULL) in get_next_positive_dentry() 135 p = prev; in get_next_positive_dentry() [all …]
|
/linux-4.1.27/net/ipv6/ |
D | reassembly.c | 79 static int ip6_frag_reasm(struct frag_queue *fq, struct sk_buff *prev, 212 struct sk_buff *prev, *next; in ip6_frag_queue() local 289 prev = fq->q.fragments_tail; in ip6_frag_queue() 290 if (!prev || FRAG6_CB(prev)->offset < offset) { in ip6_frag_queue() 294 prev = NULL; in ip6_frag_queue() 298 prev = next; in ip6_frag_queue() 310 if (prev && in ip6_frag_queue() 311 (FRAG6_CB(prev)->offset + prev->len) > offset) in ip6_frag_queue() 324 if (prev) in ip6_frag_queue() 325 prev->next = skb; in ip6_frag_queue() [all …]
|
/linux-4.1.27/drivers/ata/ |
D | pata_sc1200.c | 169 struct ata_device *prev = ap->private_data; in sc1200_qc_issue() local 172 if (ata_dma_enabled(adev) && adev != prev && prev != NULL) { in sc1200_qc_issue() 174 if ((ata_using_udma(adev) && !ata_using_udma(prev)) || in sc1200_qc_issue() 175 (ata_using_udma(prev) && !ata_using_udma(adev))) in sc1200_qc_issue()
|
D | pata_cs5530.c | 147 struct ata_device *prev = ap->private_data; in cs5530_qc_issue() local 150 if (ata_dma_enabled(adev) && adev != prev && prev != NULL) { in cs5530_qc_issue() 152 if ((ata_using_udma(adev) && !ata_using_udma(prev)) || in cs5530_qc_issue() 153 (ata_using_udma(prev) && !ata_using_udma(adev))) in cs5530_qc_issue()
|
/linux-4.1.27/arch/s390/kernel/ |
D | perf_cpum_cf.c | 428 u64 prev, new; in hw_perf_event_reset() local 432 prev = local64_read(&event->hw.prev_count); in hw_perf_event_reset() 444 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in hw_perf_event_reset() 451 u64 prev, new, delta; in hw_perf_event_update() local 455 prev = local64_read(&event->hw.prev_count); in hw_perf_event_update() 459 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in hw_perf_event_update() 461 delta = (prev <= new) ? new - prev in hw_perf_event_update() 462 : (-1ULL - prev) + new + 1; /* overflow */ in hw_perf_event_update()
|
/linux-4.1.27/drivers/mmc/core/ |
D | sdio_cis.c | 231 struct sdio_func_tuple *this, **prev; in sdio_read_cis() local 255 prev = &func->tuples; in sdio_read_cis() 257 prev = &card->tuples; in sdio_read_cis() 259 BUG_ON(*prev); in sdio_read_cis() 311 *prev = this; in sdio_read_cis() 312 prev = &this->next; in sdio_read_cis() 341 *prev = card->tuples; in sdio_read_cis()
|
/linux-4.1.27/arch/m68k/sun3/ |
D | sun3dvma.c | 110 struct hole *prev = NULL; in refill() local 117 if(!prev) { in refill() 118 prev = hole; in refill() 122 if(hole->end == prev->start) { in refill() 123 hole->size += prev->size; in refill() 124 hole->end = prev->end; in refill() 125 list_move(&(prev->list), &hole_cache); in refill()
|
/linux-4.1.27/drivers/input/joystick/ |
D | joydump.c | 52 struct joydump *dump, *prev; /* one entry each */ in joydump_connect() local 123 prev = dump; in joydump_connect() 132 for (i = 1; i < t; i++, dump++, prev++) { in joydump_connect() 134 i, dump->time - prev->time); in joydump_connect()
|
/linux-4.1.27/net/core/ |
D | dst.c | 301 unsigned long prev, new; in dst_cow_metrics_generic() local 306 prev = cmpxchg(&dst->_metrics, old, new); in dst_cow_metrics_generic() 308 if (prev != old) { in dst_cow_metrics_generic() 310 p = __DST_METRICS_PTR(prev); in dst_cow_metrics_generic() 311 if (prev & DST_METRICS_READ_ONLY) in dst_cow_metrics_generic() 322 unsigned long prev, new; in __dst_destroy_metrics_generic() local 325 prev = cmpxchg(&dst->_metrics, old, new); in __dst_destroy_metrics_generic() 326 if (prev == old) in __dst_destroy_metrics_generic()
|
/linux-4.1.27/net/ceph/ |
D | pagelist.c | 11 struct page *page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_unmap_tail() 119 c->page_lru = pl->head.prev; in ceph_pagelist_set_cursor() 137 while (pl->head.prev != c->page_lru) { in ceph_pagelist_truncate() 138 page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_truncate() 145 page = list_entry(pl->head.prev, struct page, lru); in ceph_pagelist_truncate()
|
/linux-4.1.27/arch/um/include/asm/ |
D | mmu_context.h | 50 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 55 if(prev != next){ in switch_mm() 56 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm()
|
/linux-4.1.27/arch/sparc/kernel/ |
D | sun4m_smp.c | 123 int *prev; in smp4m_smp_done() local 127 prev = &first; in smp4m_smp_done() 129 *prev = i; in smp4m_smp_done() 130 prev = &cpu_data(i).next; in smp4m_smp_done() 132 *prev = first; in smp4m_smp_done()
|
/linux-4.1.27/tools/perf/util/ |
D | cpumap.c | 49 int n, cpu, prev; in cpu_map__read() local 53 prev = -1; in cpu_map__read() 58 if (prev >= 0) { in cpu_map__read() 59 int new_max = nr_cpus + cpu - prev - 1; in cpu_map__read() 69 while (++prev < cpu) in cpu_map__read() 70 tmp_cpus[nr_cpus++] = prev; in cpu_map__read() 82 prev = cpu; in cpu_map__read() 84 prev = -1; in cpu_map__read()
|
/linux-4.1.27/drivers/gpu/drm/savage/ |
D | savage_bci.c | 216 dev_priv->head.prev = NULL; in savage_freelist_init() 220 dev_priv->tail.prev = &dev_priv->head; in savage_freelist_init() 231 entry->prev = &dev_priv->head; in savage_freelist_init() 232 dev_priv->head.next->prev = entry; in savage_freelist_init() 242 drm_savage_buf_priv_t *tail = dev_priv->tail.prev; in savage_freelist_get() 261 drm_savage_buf_priv_t *prev = tail->prev; in savage_freelist_get() local 262 prev->next = next; in savage_freelist_get() 263 next->prev = prev; in savage_freelist_get() 264 tail->next = tail->prev = NULL; in savage_freelist_get() 275 drm_savage_buf_priv_t *entry = buf->dev_private, *prev, *next; in savage_freelist_put() local [all …]
|
/linux-4.1.27/drivers/rapidio/ |
D | rio-scan.c | 565 u8 hopcount, struct rio_dev *prev, int prev_port) in rio_enum_peer() argument 589 if (rdev && prev && rio_is_switch(prev)) { in rio_enum_peer() 592 prev->rswitch->nextdev[prev_port] = rdev; in rio_enum_peer() 626 rdev->prev = prev; in rio_enum_peer() 627 if (prev && rio_is_switch(prev)) in rio_enum_peer() 628 prev->rswitch->nextdev[prev_port] = rdev; in rio_enum_peer() 773 u8 hopcount, struct rio_dev *prev, int prev_port) in rio_disc_peer() argument 783 rdev->prev = prev; in rio_disc_peer() 784 if (prev && rio_is_switch(prev)) in rio_disc_peer() 785 prev->rswitch->nextdev[prev_port] = rdev; in rio_disc_peer() [all …]
|
/linux-4.1.27/net/atm/ |
D | mpoa_caches.c | 112 entry->prev = NULL; in in_cache_add_entry() 114 client->in_cache->prev = entry; in in_cache_add_entry() 200 if (entry->prev != NULL) in in_cache_remove_entry() 201 entry->prev->next = entry->next; in in_cache_remove_entry() 205 entry->next->prev = entry->prev; in in_cache_remove_entry() 435 if (entry->prev != NULL) in eg_cache_remove_entry() 436 entry->prev->next = entry->next; in eg_cache_remove_entry() 440 entry->next->prev = entry->prev; in eg_cache_remove_entry() 475 entry->prev = NULL; in eg_cache_add_entry() 477 client->eg_cache->prev = entry; in eg_cache_add_entry()
|
/linux-4.1.27/drivers/gpu/drm/mga/ |
D | mga_dma.c | 268 entry->prev = dev_priv->head; in mga_freelist_init() 273 dev_priv->head->next->prev = entry; in mga_freelist_init() 326 drm_mga_freelist_t *prev; in mga_freelist_get() local 342 prev = dev_priv->tail->prev; in mga_freelist_get() 344 prev->next = NULL; in mga_freelist_get() 345 next->prev = next->next = NULL; in mga_freelist_get() 346 dev_priv->tail = prev; in mga_freelist_get() 359 drm_mga_freelist_t *head, *entry, *prev; in mga_freelist_put() local 371 prev = dev_priv->tail; in mga_freelist_put() 372 prev->next = entry; in mga_freelist_put() [all …]
|
/linux-4.1.27/drivers/of/ |
D | base.c | 247 struct device_node *__of_find_all_nodes(struct device_node *prev) in __of_find_all_nodes() argument 250 if (!prev) { in __of_find_all_nodes() 252 } else if (prev->child) { in __of_find_all_nodes() 253 np = prev->child; in __of_find_all_nodes() 256 np = prev; in __of_find_all_nodes() 272 struct device_node *of_find_all_nodes(struct device_node *prev) in of_find_all_nodes() argument 278 np = __of_find_all_nodes(prev); in of_find_all_nodes() 280 of_node_put(prev); in of_find_all_nodes() 641 struct device_node *prev) in __of_get_next_child() argument 648 next = prev ? prev->sibling : node->child; in __of_get_next_child() [all …]
|
/linux-4.1.27/arch/nios2/include/asm/ |
D | switch_to.h | 17 #define switch_to(prev, next, last) \ argument 26 : "r" (prev), "r" (next) \
|
D | mmu_context.h | 52 void switch_mm(struct mm_struct *prev, struct mm_struct *next, 64 void activate_mm(struct mm_struct *prev, struct mm_struct *next);
|
/linux-4.1.27/fs/hfs/ |
D | bnode.c | 144 be32_to_cpu(desc.next), be32_to_cpu(desc.prev), in hfs_bnode_dump() 179 if (node->prev) { in hfs_bnode_unlink() 180 tmp = hfs_bnode_find(tree, node->prev); in hfs_bnode_unlink() 194 tmp->prev = node->prev; in hfs_bnode_unlink() 195 cnid = cpu_to_be32(tmp->prev); in hfs_bnode_unlink() 196 hfs_bnode_write(tmp, &cnid, offsetof(struct hfs_bnode_desc, prev), 4); in hfs_bnode_unlink() 199 tree->leaf_tail = node->prev; in hfs_bnode_unlink() 202 if (!node->prev && !node->next) { in hfs_bnode_unlink() 342 node->prev = be32_to_cpu(desc->prev); in hfs_bnode_find()
|
/linux-4.1.27/fs/nilfs2/ |
D | cpfile.c | 633 __u64 curr, prev; in nilfs_cpfile_set_snapshot() local 669 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot() 670 while (prev > cno) { in nilfs_cpfile_set_snapshot() 671 prev_blkoff = nilfs_cpfile_get_blkoff(cpfile, prev); in nilfs_cpfile_set_snapshot() 672 curr = prev; in nilfs_cpfile_set_snapshot() 686 prev = le64_to_cpu(list->ssl_prev); in nilfs_cpfile_set_snapshot() 690 if (prev != 0) { in nilfs_cpfile_set_snapshot() 691 ret = nilfs_cpfile_get_checkpoint_block(cpfile, prev, 0, in nilfs_cpfile_set_snapshot() 709 cp->cp_snapshot_list.ssl_prev = cpu_to_le64(prev); in nilfs_cpfile_set_snapshot() 715 cpfile, prev, prev_bh, kaddr); in nilfs_cpfile_set_snapshot() [all …]
|
/linux-4.1.27/net/rds/ |
D | iw_send.c | 503 struct rds_iw_send_work *prev; in rds_iw_xmit() local 624 prev = NULL; in rds_iw_xmit() 719 if (prev) in rds_iw_xmit() 720 prev->s_wr.next = &send->s_wr; in rds_iw_xmit() 721 prev = send; in rds_iw_xmit() 733 prev->s_rm = ic->i_rm; in rds_iw_xmit() 734 prev->s_wr.send_flags |= IB_SEND_SIGNALED | IB_SEND_SOLICITED; in rds_iw_xmit() 755 if (prev->s_rm) { in rds_iw_xmit() 756 ic->i_rm = prev->s_rm; in rds_iw_xmit() 757 prev->s_rm = NULL; in rds_iw_xmit() [all …]
|
D | ib_send.c | 532 struct rds_ib_send_work *prev; in rds_ib_xmit() local 660 prev = NULL; in rds_ib_xmit() 721 if (prev) in rds_ib_xmit() 722 prev->s_wr.next = &send->s_wr; in rds_ib_xmit() 723 prev = send; in rds_ib_xmit() 739 prev->s_op = ic->i_data_op; in rds_ib_xmit() 740 prev->s_wr.send_flags |= IB_SEND_SOLICITED; in rds_ib_xmit() 766 if (prev->s_op) { in rds_ib_xmit() 767 ic->i_data_op = prev->s_op; in rds_ib_xmit() 768 prev->s_op = NULL; in rds_ib_xmit() [all …]
|
/linux-4.1.27/kernel/gcov/ |
D | base.c | 131 struct gcov_info *prev = NULL; in gcov_module_notifier() local 140 gcov_info_unlink(prev, info); in gcov_module_notifier() 144 prev = info; in gcov_module_notifier()
|
/linux-4.1.27/arch/openrisc/mm/ |
D | tlb.c | 143 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 158 if (prev != next) in switch_mm() 159 flush_tlb_mm(prev); in switch_mm()
|
/linux-4.1.27/arch/powerpc/mm/ |
D | mmu_context_nohash.c | 229 void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next) in switch_mmu_context() argument 243 if (prev) { in switch_mmu_context() 244 pr_hardcont(" (old=0x%p a=%d)", prev, prev->context.active); in switch_mmu_context() 245 WARN_ON(prev->context.active < 1); in switch_mmu_context() 246 prev->context.active--; in switch_mmu_context()
|
/linux-4.1.27/arch/arc/kernel/ |
D | ctx_sw.c | 26 unsigned int prev = (unsigned int)prev_task; in __switch_to() local 111 : "n"(KSP_WORD_OFF), "r"(next), "r"(prev) in __switch_to()
|
D | fpu.c | 33 void fpu_save_restore(struct task_struct *prev, struct task_struct *next) in fpu_save_restore() argument 35 unsigned int *saveto = &prev->thread.fpu.aux_dpfp[0].l; in fpu_save_restore()
|
/linux-4.1.27/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 222 struct sk_buff *prev, *next; in nf_ct_frag6_queue() local 302 prev = fq->q.fragments_tail; in nf_ct_frag6_queue() 303 if (!prev || NFCT_FRAG6_CB(prev)->offset < offset) { in nf_ct_frag6_queue() 307 prev = NULL; in nf_ct_frag6_queue() 311 prev = next; in nf_ct_frag6_queue() 324 if (prev && in nf_ct_frag6_queue() 325 (NFCT_FRAG6_CB(prev)->offset + prev->len) > offset) in nf_ct_frag6_queue() 338 if (prev) in nf_ct_frag6_queue() 339 prev->next = skb; in nf_ct_frag6_queue()
|
/linux-4.1.27/kernel/printk/ |
D | printk.c | 514 enum log_flags prev; member 623 if (msg->flags & LOG_CONT && !(user->prev & LOG_CONT)) in devkmsg_read() 626 ((user->prev & LOG_CONT) && !(msg->flags & LOG_PREFIX))) in devkmsg_read() 632 user->prev = msg->flags; in devkmsg_read() 1039 static size_t msg_print_text(const struct printk_log *msg, enum log_flags prev, in msg_print_text() argument 1048 if ((prev & LOG_CONT) && !(msg->flags & LOG_PREFIX)) in msg_print_text() 1052 if ((prev & LOG_CONT) && !(prev & LOG_NEWLINE)) in msg_print_text() 1176 enum log_flags prev; in syslog_print_all() local 1190 prev = 0; in syslog_print_all() 1194 len += msg_print_text(msg, prev, true, NULL, 0); in syslog_print_all() [all …]
|
/linux-4.1.27/drivers/md/bcache/ |
D | bset.c | 293 kfree(t->prev); in bch_btree_keys_free() 295 free_pages((unsigned long) t->prev, in bch_btree_keys_free() 306 t->prev = NULL; in bch_btree_keys_free() 330 t->prev = bset_prev_bytes(b) < PAGE_SIZE in bch_btree_keys_alloc() 333 if (!t->prev) in bch_btree_keys_alloc() 528 return (void *) (((uint64_t *) tree_to_bkey(t, j)) - t->prev[j]); in tree_to_prev_bkey() 537 return cacheline_to_bkey(t, cacheline, t->prev[cacheline]); in table_to_bkey() 596 t->prev = t[-1].prev + j; in bset_alloc_tree() 613 t->prev[0] = bkey_to_cacheline_offset(t, 0, t->data->start); in bch_bset_build_unwritten_tree() 637 struct bkey *prev = NULL, *k = t->data->start; in bch_bset_build_written_tree() local [all …]
|
/linux-4.1.27/arch/sh/kernel/ |
D | process_32.c | 181 __switch_to(struct task_struct *prev, struct task_struct *next) in __switch_to() argument 189 unlazy_fpu(prev, task_pt_regs(prev)); in __switch_to() 213 return prev; in __switch_to()
|
/linux-4.1.27/drivers/base/power/ |
D | trace.c | 195 entry = dpm_list.prev; in show_dev_hash() 203 entry = entry->prev; in show_dev_hash() 222 entry = dpm_list.prev; in show_trace_dev_match() 236 entry = entry->prev; in show_trace_dev_match()
|
/linux-4.1.27/drivers/crypto/qat/qat_common/ |
D | adf_cfg_user.h | 61 struct adf_user_cfg_key_val *prev; member 78 struct adf_user_cfg_section *prev; member
|
/linux-4.1.27/kernel/time/ |
D | timer_stats.c | 169 struct entry **head, *curr, *prev; in tstat_lookup() local 188 prev = NULL; in tstat_lookup() 199 prev = curr; in tstat_lookup() 212 if (prev) in tstat_lookup() 213 prev->next = curr; in tstat_lookup()
|
/linux-4.1.27/arch/powerpc/kernel/ |
D | process.c | 714 static inline void __switch_to_tm(struct task_struct *prev) in __switch_to_tm() argument 718 tm_reclaim_task(prev); in __switch_to_tm() 760 #define __switch_to_tm(prev) argument 763 struct task_struct *__switch_to(struct task_struct *prev, in __switch_to() argument 782 save_early_sprs(&prev->thread); in __switch_to() 784 __switch_to_tm(prev); in __switch_to() 796 if (prev->thread.regs && (prev->thread.regs->msr & MSR_FP)) in __switch_to() 797 giveup_fpu(prev); in __switch_to() 810 if (prev->thread.regs && (prev->thread.regs->msr & MSR_VEC)) in __switch_to() 811 giveup_altivec(prev); in __switch_to() [all …]
|
/linux-4.1.27/arch/powerpc/perf/ |
D | core-book3s.c | 986 static u64 check_and_compute_delta(u64 prev, u64 val) in check_and_compute_delta() argument 988 u64 delta = (val - prev) & 0xfffffffful; in check_and_compute_delta() 999 if (prev > val && (prev - val) < 256) in check_and_compute_delta() 1007 s64 val, delta, prev; in power_pmu_read() local 1027 prev = local64_read(&event->hw.prev_count); in power_pmu_read() 1030 delta = check_and_compute_delta(prev, val); in power_pmu_read() 1033 } while (local64_cmpxchg(&event->hw.prev_count, prev, val) != prev); in power_pmu_read() 1047 prev = local64_read(&event->hw.period_left); in power_pmu_read() 1048 val = prev - delta; in power_pmu_read() 1051 } while (local64_cmpxchg(&event->hw.period_left, prev, val) != prev); in power_pmu_read() [all …]
|
/linux-4.1.27/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 911 struct sl_insert_point *prev) in search_granted_lock() argument 919 mode_end = list_entry(lock->l_sl_mode.prev, in search_granted_lock() 931 prev->res_link = &mode_end->l_res_link; in search_granted_lock() 932 prev->mode_link = &mode_end->l_sl_mode; in search_granted_lock() 933 prev->policy_link = &req->l_sl_policy; in search_granted_lock() 938 list_entry(lock->l_sl_policy.prev, in search_granted_lock() 946 prev->res_link = in search_granted_lock() 948 prev->mode_link = in search_granted_lock() 950 prev->policy_link = in search_granted_lock() 967 prev->res_link = &mode_end->l_res_link; in search_granted_lock() [all …]
|
/linux-4.1.27/net/bridge/netfilter/ |
D | ebt_limit.c | 41 info->credit += (now - xchg(&info->prev, now)) * CREDITS_PER_JIFFY; in ebt_limit_mt() 81 info->prev = jiffies; in ebt_limit_mt_check() 96 compat_ulong_t prev; member
|