/linux-4.4.14/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 | klist.c | 338 struct klist_node *prev; in klist_prev() local 343 prev = to_klist_node(last->n_node.prev); in klist_prev() 347 prev = to_klist_node(i->i_klist->k_list.prev); in klist_prev() 350 while (prev != to_klist_node(&i->i_klist->k_list)) { in klist_prev() 351 if (likely(!knode_dead(prev))) { in klist_prev() 352 kref_get(&prev->n_ref); in klist_prev() 353 i->i_cur = prev; in klist_prev() 356 prev = to_klist_node(prev->n_node.prev); in klist_prev()
|
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.4.14/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.4.14/arch/mips/include/asm/ |
D | switch_to.h | 32 extern asmlinkage struct task_struct *resume(struct task_struct *prev, 52 #define __mips_mt_fpaff_switch_to(prev) \ argument 54 struct thread_info *__prev_ti = task_thread_info(prev); \ 58 (!(KSTK_STATUS(prev) & ST0_CU1))) { \ 60 prev->cpus_allowed = prev->thread.user_cpus_allowed; \ 66 #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) argument 84 #define switch_to(prev, next, last) \ argument 86 __mips_mt_fpaff_switch_to(prev); \ 87 lose_fpu_inatomic(1, prev); \ 89 __save_dsp(prev); \ [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.4.14/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_acquire(count, 0); in __mutex_fastpath_trylock() local 96 if (unlikely(prev < 0)) { in __mutex_fastpath_trylock() 108 prev = atomic_xchg_acquire(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.4.14/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 | 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 | mmu_context.h | 37 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next); 59 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 75 if (prev == next) in switch_mm() 80 if (prev->context.acop || next->context.acop) in switch_mm() 99 switch_mmu_context(prev, next); in switch_mm() 110 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 115 switch_mm(prev, next, current); in activate_mm()
|
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.4.14/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.4.14/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 105 prev = decode_cpu(old); in osq_lock() 106 node->prev = prev; in osq_lock() 107 WRITE_ONCE(prev->next, node); in osq_lock() 139 if (prev->next == node && in osq_lock() 140 cmpxchg(&prev->next, node, NULL) == node) in osq_lock() 157 prev = READ_ONCE(node->prev); in osq_lock() 167 next = osq_wait_next(lock, node, prev); in osq_lock() [all …]
|
D | mcs_spinlock.h | 64 struct mcs_spinlock *prev; in mcs_spin_lock() local 76 prev = xchg(lock, node); in mcs_spin_lock() 77 if (likely(prev == NULL)) { in mcs_spin_lock() 88 WRITE_ONCE(prev->next, node); in mcs_spin_lock()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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 WRITE_ONCE(prev->next, next); in __list_del() [all …]
|
D | rculist.h | 33 WRITE_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 | agpgart.h | 93 struct agp_client *prev; member 101 struct agp_controller *prev; member 116 struct agp_file_private *prev; member
|
D | skbuff.h | 202 struct sk_buff *prev; member 551 struct sk_buff *prev; member 1155 return skb->prev == (const struct sk_buff *) list; in skb_queue_is_first() 1191 return skb->prev; in skb_queue_prev() 1418 struct sk_buff *skb = list_->prev; in skb_peek_tail() 1449 list->prev = list->next = (struct sk_buff *)list; in __skb_queue_head_init() 1483 struct sk_buff *prev, struct sk_buff *next, in __skb_insert() argument 1487 newsk->prev = prev; in __skb_insert() 1488 next->prev = prev->next = newsk; in __skb_insert() 1493 struct sk_buff *prev, in __skb_queue_splice() argument [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/mm/ |
D | madvise.c | 47 struct vm_area_struct **prev, in madvise_behavior() argument 100 *prev = vma; in madvise_behavior() 105 *prev = vma_merge(mm, *prev, start, end, new_flags, vma->anon_vma, in madvise_behavior() 108 if (*prev) { in madvise_behavior() 109 vma = *prev; in madvise_behavior() 113 *prev = vma; in madvise_behavior() 221 struct vm_area_struct **prev, in madvise_willneed() argument 228 *prev = vma; in madvise_willneed() 234 *prev = vma; in madvise_willneed() 249 *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 | 62 struct vm_area_struct *vma, struct vm_area_struct *prev, 382 unsigned long prev = 0, pend = 0; in browse_rb() local 387 if (vma->vm_start < prev) { in browse_rb() 389 vma->vm_start, prev); in browse_rb() 410 prev = vma->vm_start; in browse_rb() 661 struct vm_area_struct *prev, struct rb_node **rb_link, in __vma_link() argument 664 __vma_link_list(mm, vma, prev, rb_parent); in __vma_link() 669 struct vm_area_struct *prev, struct rb_node **rb_link, in vma_link() argument 679 __vma_link(mm, vma, prev, rb_link, rb_parent); in vma_link() 695 struct vm_area_struct *prev; in __insert_vm_struct() local [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 | mlock.c | 498 static int mlock_fixup(struct vm_area_struct *vma, struct vm_area_struct **prev, in mlock_fixup() argument 513 *prev = vma_merge(mm, *prev, start, end, newflags, vma->anon_vma, in mlock_fixup() 516 if (*prev) { in mlock_fixup() 517 vma = *prev; in mlock_fixup() 554 *prev = vma; in mlock_fixup() 562 struct vm_area_struct * vma, * prev; in apply_vma_lock_flags() local 576 prev = vma->vm_prev; in apply_vma_lock_flags() 578 prev = vma; in apply_vma_lock_flags() 589 error = mlock_fixup(vma, &prev, nstart, tmp, newflags); in apply_vma_lock_flags() 593 if (nstart < prev->vm_end) in apply_vma_lock_flags() [all …]
|
/linux-4.4.14/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.4.14/net/bridge/ |
D | br_forward.c | 24 static int deliver_clone(const struct net_bridge_port *prev, 156 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone() argument 169 __packet_hook(prev, skb); in deliver_clone() 174 struct net_bridge_port *prev, struct net_bridge_port *p, in maybe_deliver() argument 182 return prev; in maybe_deliver() 184 if (!prev) in maybe_deliver() 187 err = deliver_clone(prev, skb, __packet_hook); in maybe_deliver() 203 struct net_bridge_port *prev; in br_flood() local 205 prev = NULL; in br_flood() 219 prev = maybe_deliver(prev, p, skb, __packet_hook); in br_flood() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/arch/avr32/include/asm/ |
D | switch_to.h | 18 #define ocd_switch(prev, next) \ argument 20 ocd_write(PID, prev->pid); \ 24 #define ocd_switch(prev, next) argument 41 #define switch_to(prev, next, last) \ argument 43 ocd_switch(prev, next); \ 44 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.4.14/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.4.14/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 107 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 112 if (likely(prev != next)) { in switch_mm() 152 cpumask_clear_cpu(cpu, mm_cpumask(prev)); in switch_mm() 170 if (unlikely(prev->context.ldt != next->context.ldt)) in switch_mm() 205 #define activate_mm(prev, next) \ argument 207 paravirt_activate_mm((prev), (next)); \ 208 switch_mm((prev), (next), NULL); \
|
/linux-4.4.14/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.4.14/arch/s390/include/asm/ |
D | switch_to.h | 31 #define switch_to(prev,next,last) do { \ argument 32 if (prev->mm) { \ 34 save_access_regs(&prev->thread.acrs[0]); \ 35 save_ri_cb(prev->thread.ri_cb); \ 41 restore_ri_cb(next->thread.ri_cb, prev->thread.ri_cb); \ 43 prev = __switch_to(prev,next); \
|
D | mmu_context.h | 85 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 91 if (prev == next) in switch_mm() 99 atomic_dec(&prev->context.attach_count); in switch_mm() 101 cpumask_clear_cpu(cpu, &prev->context.cpu_attach_mask); in switch_mm() 127 static inline void activate_mm(struct mm_struct *prev, in activate_mm() argument 130 switch_mm(prev, next, current); in activate_mm()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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); \ 84 __ts1 = (u32 *)&prev->thread.sp; \ 85 __ts2 = (u32 *)&prev->thread.pc; \ 86 __ts4 = (u32 *)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.4.14/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.4.14/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.4.14/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.4.14/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() 73 struct device_node *prev) in omapdss_of_get_next_endpoint() argument 81 ep = of_get_next_child(parent, prev); in omapdss_of_get_next_endpoint() 84 prev = ep; in omapdss_of_get_next_endpoint()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_lock.c | 180 unsigned int old, new, prev; in drm_lock_take() local 193 prev = cmpxchg(lock, old, new); in drm_lock_take() 194 } while (prev != old); in drm_lock_take() 229 unsigned int old, new, prev; in drm_lock_transfer() local 236 prev = cmpxchg(lock, old, new); in drm_lock_transfer() 237 } while (prev != old); in drm_lock_transfer() 254 unsigned int old, new, prev; in drm_legacy_lock_free() local 269 prev = cmpxchg(lock, old, new); in drm_legacy_lock_free() 270 } while (prev != old); in drm_legacy_lock_free() 315 unsigned int old, prev; in drm_legacy_idlelock_release() local [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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 *)prev->user.client; 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 | 410 struct nouveau_channel *prev = NULL; in nouveau_fence_sync() local 416 prev = rcu_dereference(f->channel); in nouveau_fence_sync() 417 if (prev && (prev == chan || fctx->sync(f, prev, chan) == 0)) in nouveau_fence_sync() 432 struct nouveau_channel *prev = NULL; in nouveau_fence_sync() local 441 prev = rcu_dereference(f->channel); in nouveau_fence_sync() 442 if (prev && (prev == chan || fctx->sync(f, prev, chan) == 0)) in nouveau_fence_sync()
|
/linux-4.4.14/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, 73 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.4.14/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.4.14/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.4.14/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 prev_cputime *prev, in cputime_adjust() argument 586 raw_spin_lock_irqsave(&prev->lock, flags); in cputime_adjust() 597 if (prev->stime + prev->utime >= rtime) in cputime_adjust() 625 if (stime < prev->stime) 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
|
/linux-4.4.14/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.4.14/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()
|
/linux-4.4.14/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 | 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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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 | 726 struct io_sample *prev; in pid_begin_io_sample() local 737 prev = c->io_samples; in pid_begin_io_sample() 739 if (prev && prev->start_time && !prev->end_time) { in pid_begin_io_sample() 745 c->io_samples = prev->next; in pid_begin_io_sample() 746 free(prev); in pid_begin_io_sample() 770 struct io_sample *sample, *prev; in pid_end_io_sample() local 794 prev = sample->next; in pid_end_io_sample() 800 if (prev && sample->start_time < prev->end_time) { in pid_end_io_sample() 801 if (prev->err) /* try to make errors more visible */ in pid_end_io_sample() 802 sample->start_time = prev->end_time; in pid_end_io_sample() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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 171 prev = &dn_mark->dn; in dnotify_flush() 172 while ((dn = *prev) != NULL) { in dnotify_flush() 174 *prev = dn->dn_next; in dnotify_flush() [all …]
|
/linux-4.4.14/arch/mips/kernel/ |
D | csrc-r4k.c | 47 unsigned int prev, curr, i; in rdhwr_count_usable() local 55 for (i = 0, prev = rdhwr_count(); i < 100; i++) { in rdhwr_count_usable() 58 if (curr != prev) in rdhwr_count_usable() 61 prev = curr; in rdhwr_count_usable()
|
/linux-4.4.14/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.4.14/arch/arm/include/asm/ |
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()
|
D | switch_to.h | 25 #define switch_to(prev,next,last) \ argument 28 last = __switch_to(prev,task_thread_info(prev), task_thread_info(next)); \
|
/linux-4.4.14/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.4.14/arch/m68k/include/asm/ |
D | atomic.h | 132 int prev; in atomic_cmpxchg() local 135 prev = atomic_read(v); in atomic_cmpxchg() 136 if (prev == old) in atomic_cmpxchg() 139 return prev; in atomic_cmpxchg() 145 int prev; in atomic_xchg() local 148 prev = atomic_read(v); in atomic_xchg() 151 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.4.14/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.4.14/arch/arm64/include/asm/ |
D | mmu_context.h | 127 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 132 if (prev == next) in switch_mm() 148 #define activate_mm(prev,next) switch_mm(prev, next, NULL) argument
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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.4.14/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 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 19 switch_mm(prev, next, NULL); in activate_mm()
|
/linux-4.4.14/arch/h8300/include/asm/ |
D | switch_to.h | 34 #define switch_to(prev, next, last) \ argument 44 : "r" (&(prev->thread)), \ 46 "g" (prev) \
|
/linux-4.4.14/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.4.14/tools/include/linux/ |
D | list.h | 19 begin->prev->next = end->next; in list_del_range() 20 end->next->prev = begin->prev; in list_del_range()
|
/linux-4.4.14/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.4.14/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.4.14/drivers/acpi/ |
D | nfit.c | 233 struct nfit_table_prev *prev, in add_spa() argument 240 list_for_each_entry(nfit_spa, &prev->spas, list) { in add_spa() 260 struct nfit_table_prev *prev, in add_memdev() argument 267 list_for_each_entry(nfit_memdev, &prev->memdevs, list) in add_memdev() 286 struct nfit_table_prev *prev, in add_dcr() argument 293 list_for_each_entry(nfit_dcr, &prev->dcrs, list) in add_dcr() 311 struct nfit_table_prev *prev, in add_bdw() argument 318 list_for_each_entry(nfit_bdw, &prev->bdws, list) in add_bdw() 336 struct nfit_table_prev *prev, in add_idt() argument 343 list_for_each_entry(nfit_idt, &prev->idts, list) in add_idt() [all …]
|
/linux-4.4.14/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 | psloop.c | 319 union acpi_operand_object *prev; in acpi_ps_link_module_code() local 328 prev = next = acpi_gbl_module_code_list; in acpi_ps_link_module_code() 330 prev = next; in acpi_ps_link_module_code() 338 if (!prev || in acpi_ps_link_module_code() 339 ((prev->method.aml_start + prev->method.aml_length) != aml_start)) { in acpi_ps_link_module_code() 370 if (!prev) { in acpi_ps_link_module_code() 373 prev->method.mutex = method_obj; in acpi_ps_link_module_code() 378 prev)); in acpi_ps_link_module_code() 380 prev->method.aml_length += aml_length; in acpi_ps_link_module_code()
|
D | psparse.c | 136 union acpi_parse_object *prev; in acpi_ps_complete_this_op() local 163 prev = op->common.parent->common.value.arg; in acpi_ps_complete_this_op() 164 if (!prev) { in acpi_ps_complete_this_op() 257 if (prev == op) { in acpi_ps_complete_this_op() 278 while (prev) { in acpi_ps_complete_this_op() 282 next = prev->common.next; in acpi_ps_complete_this_op() 291 prev->common.next = in acpi_ps_complete_this_op() 297 prev->common.next = in acpi_ps_complete_this_op() 302 prev = next; in acpi_ps_complete_this_op()
|
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.4.14/arch/x86/kernel/ |
D | process_64.c | 277 struct thread_struct *prev = &prev_p->thread; in __switch_to() local 279 struct fpu *prev_fpu = &prev->fpu; in __switch_to() 325 savesegment(es, prev->es); in __switch_to() 326 if (unlikely(next->es | prev->es)) in __switch_to() 329 savesegment(ds, prev->ds); in __switch_to() 330 if (unlikely(next->ds | prev->ds)) in __switch_to() 368 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to() 381 prev->fs = 0; in __switch_to() 385 prev->fsindex = fsindex; in __switch_to() 387 if (unlikely(gsindex | next->gsindex | prev->gs)) { in __switch_to() [all …]
|
D | tsc_sync.c | 47 cycles_t start, now, prev, end; in check_tsc_warp() local 64 prev = last_tsc; in check_tsc_warp() 85 if (unlikely(prev > now)) { in check_tsc_warp() 87 max_warp = max(max_warp, prev - now); in check_tsc_warp()
|
/linux-4.4.14/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.4.14/drivers/staging/lustre/lustre/fld/ |
D | fld_cache.c | 226 curr = cache->fci_lru.prev; in fld_cache_shrink() 232 curr = curr->prev; in fld_cache_shrink() 343 fld_cache_entry_add(cache, f_new, f_curr->fce_list.prev); in fld_cache_overlap_handle() 386 struct list_head *prev = NULL; in fld_cache_insert_nolock() local 409 prev = &f_curr->fce_list; in fld_cache_insert_nolock() 418 if (prev == NULL) in fld_cache_insert_nolock() 419 prev = head; in fld_cache_insert_nolock() 423 fld_cache_entry_add(cache, f_new, prev); in fld_cache_insert_nolock() 520 struct fld_cache_entry *prev = NULL; in fld_cache_lookup() local 529 if (prev != NULL) in fld_cache_lookup() [all …]
|
/linux-4.4.14/drivers/iommu/ |
D | iova.c | 105 struct rb_node *prev, *curr = NULL; in __alloc_and_insert_iova_range() local 114 prev = curr; in __alloc_and_insert_iova_range() 131 prev = curr; in __alloc_and_insert_iova_range() 155 if (prev) in __alloc_and_insert_iova_range() 156 entry = &prev; in __alloc_and_insert_iova_range() 517 struct iova *prev = NULL, *next = NULL; in split_and_remove_iova() local 521 prev = alloc_and_init_iova(iova->pfn_lo, pfn_lo - 1); in split_and_remove_iova() 522 if (prev == NULL) in split_and_remove_iova() 534 if (prev) { in split_and_remove_iova() 535 iova_insert_rbtree(&iovad->rbroot, prev); in split_and_remove_iova() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/fs/ |
D | userfaultfd.c | 430 struct vm_area_struct *vma, *prev; in userfaultfd_release() local 446 prev = NULL; in userfaultfd_release() 452 prev = vma; in userfaultfd_release() 456 prev = vma_merge(mm, prev, vma->vm_start, vma->vm_end, in userfaultfd_release() 461 if (prev) in userfaultfd_release() 462 vma = prev; in userfaultfd_release() 464 prev = vma; in userfaultfd_release() 721 struct vm_area_struct *vma, *prev, *cur; in userfaultfd_register() local 764 vma = find_vma_prev(mm, start, &prev); in userfaultfd_register() 810 prev = vma; in userfaultfd_register() [all …]
|
/linux-4.4.14/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.4.14/arch/sparc/lib/ |
D | atomic32.c | 159 u32 prev; in __cmpxchg_u32() local 162 if ((prev = *ptr) == old) in __cmpxchg_u32() 166 return (unsigned long)prev; in __cmpxchg_u32() 173 u32 prev; in __xchg_u32() local 176 prev = *ptr; in __xchg_u32() 180 return (unsigned long)prev; in __xchg_u32()
|
/linux-4.4.14/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.4.14/drivers/misc/mic/scif/ |
D | scif_rma_list.c | 31 struct scif_window *prev = list_entry(head, struct scif_window, list); in scif_insert_tcw() local 37 curr = list_entry(head->prev, struct scif_window, list); in scif_insert_tcw() 47 prev = curr; in scif_insert_tcw() 49 list_add(&window->list, &prev->list); in scif_insert_tcw() 60 struct scif_window *curr = NULL, *prev = NULL; in scif_insert_window() local 68 prev = curr; in scif_insert_window() 70 if (!prev) in scif_insert_window() 73 list_add(&window->list, &prev->list); in scif_insert_window()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_list_set.c | 197 struct set_elem *e, *next, *prev = NULL; in list_set_utest() local 205 prev = e; in list_set_utest() 216 ret = prev && prev->id == d->refid; in list_set_utest() 244 struct set_elem *e, *n, *prev, *next; in list_set_uadd() local 251 n = prev = next = NULL; in list_set_uadd() 263 prev = e; in list_set_uadd() 268 (d->before < 0 && !prev)) in list_set_uadd() 291 if (prev->list.prev != &map->members) in list_set_uadd() 292 n = list_prev_entry(prev, list); in list_set_uadd() 310 else if (prev) in list_set_uadd() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/arch/x86/kernel/cpu/ |
D | perf_event_msr.c | 154 u64 prev, now; in msr_event_update() local 159 prev = local64_read(&event->hw.prev_count); in msr_event_update() 162 if (local64_cmpxchg(&event->hw.prev_count, prev, now) != prev) in msr_event_update() 165 delta = now - prev; in msr_event_update() 169 local64_add(now - prev, &event->count); in msr_event_update()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/net/ieee802154/6lowpan/ |
D | reassembly.c | 38 struct sk_buff *prev, struct net_device *ldev); 132 struct sk_buff *prev, *next; in lowpan_frag_queue() local 165 prev = fq->q.fragments_tail; in lowpan_frag_queue() 166 if (!prev || in lowpan_frag_queue() 167 lowpan_802154_cb(prev)->d_offset < in lowpan_frag_queue() 172 prev = NULL; in lowpan_frag_queue() 177 prev = next; in lowpan_frag_queue() 185 if (prev) in lowpan_frag_queue() 186 prev->next = skb; in lowpan_frag_queue() 207 res = lowpan_frag_reasm(fq, prev, ldev); in lowpan_frag_queue() [all …]
|
/linux-4.4.14/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.4.14/arch/s390/kernel/ |
D | perf_cpum_cf.c | 434 u64 prev, new; in hw_perf_event_reset() local 438 prev = local64_read(&event->hw.prev_count); in hw_perf_event_reset() 450 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in hw_perf_event_reset() 457 u64 prev, new, delta; in hw_perf_event_update() local 461 prev = local64_read(&event->hw.prev_count); in hw_perf_event_update() 465 } while (local64_cmpxchg(&event->hw.prev_count, prev, new) != prev); in hw_perf_event_update() 467 delta = (prev <= new) ? new - prev in hw_perf_event_update() 468 : (-1ULL - prev) + new + 1; /* overflow */ in hw_perf_event_update()
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/net/ipv4/ |
D | ip_fragment.c | 98 static int ip_frag_reasm(struct ipq *qp, struct sk_buff *prev, 336 struct sk_buff *prev, *next; in ip_frag_queue() local 403 prev = qp->q.fragments_tail; in ip_frag_queue() 404 if (!prev || FRAG_CB(prev)->offset < offset) { in ip_frag_queue() 408 prev = NULL; in ip_frag_queue() 412 prev = next; in ip_frag_queue() 420 if (prev) { in ip_frag_queue() 421 int i = (FRAG_CB(prev)->offset + prev->len) - offset; in ip_frag_queue() 460 if (prev) in ip_frag_queue() 461 prev->next = next; in ip_frag_queue() [all …]
|
/linux-4.4.14/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.4.14/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.4.14/drivers/md/ |
D | dm-cache-policy-smq.c | 39 unsigned prev:28; member 137 return to_entry(es, e->prev); in l_prev() 150 e->prev = INDEXER_NULL; in l_add_head() 153 head->prev = l->head = to_index(es, e); in l_add_head() 166 e->prev = l->tail; in l_add_tail() 180 struct entry *prev = l_prev(es, old); in l_add_before() local 182 if (!prev) in l_add_before() 186 e->prev = old->prev; in l_add_before() 188 prev->next = old->prev = to_index(es, e); in l_add_before() 197 struct entry *prev = l_prev(es, e); in l_del() local [all …]
|
/linux-4.4.14/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.4.14/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.4.14/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.4.14/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.4.14/net/rds/ |
D | ib_send.c | 490 struct rds_ib_send_work *prev; in rds_ib_xmit() local 620 prev = NULL; in rds_ib_xmit() 684 if (prev) in rds_ib_xmit() 685 prev->s_wr.next = &send->s_wr; in rds_ib_xmit() 686 prev = send; in rds_ib_xmit() 702 prev->s_op = ic->i_data_op; in rds_ib_xmit() 703 prev->s_wr.send_flags |= IB_SEND_SOLICITED; in rds_ib_xmit() 704 if (!(prev->s_wr.send_flags & IB_SEND_SIGNALED)) { in rds_ib_xmit() 706 prev->s_wr.send_flags |= IB_SEND_SIGNALED; in rds_ib_xmit() 734 if (prev->s_op) { in rds_ib_xmit() [all …]
|
D | iw_send.c | 495 struct rds_iw_send_work *prev; in rds_iw_xmit() local 618 prev = NULL; in rds_iw_xmit() 715 if (prev) in rds_iw_xmit() 716 prev->s_send_wr.next = &send->s_send_wr; in rds_iw_xmit() 717 prev = send; in rds_iw_xmit() 729 prev->s_rm = ic->i_rm; in rds_iw_xmit() 730 prev->s_send_wr.send_flags |= IB_SEND_SIGNALED | IB_SEND_SOLICITED; in rds_iw_xmit() 751 if (prev->s_rm) { in rds_iw_xmit() 752 ic->i_rm = prev->s_rm; in rds_iw_xmit() 753 prev->s_rm = NULL; in rds_iw_xmit() [all …]
|
/linux-4.4.14/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() 638 struct device_node *prev) in __of_get_next_child() argument 645 next = prev ? prev->sibling : node->child; in __of_get_next_child() [all …]
|
/linux-4.4.14/fs/nilfs2/ |
D | alloc.c | 212 struct nilfs_bh_assoc *prev, in nilfs_palloc_get_block() argument 218 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_get_block() 219 get_bh(prev->bh); in nilfs_palloc_get_block() 220 *bhp = prev->bh; in nilfs_palloc_get_block() 233 brelse(prev->bh); in nilfs_palloc_get_block() 235 prev->bh = *bhp; in nilfs_palloc_get_block() 236 prev->blkoff = blkoff; in nilfs_palloc_get_block() 250 struct nilfs_bh_assoc *prev, in nilfs_palloc_delete_block() argument 254 if (prev->bh && blkoff == prev->blkoff) { in nilfs_palloc_delete_block() 255 brelse(prev->bh); in nilfs_palloc_delete_block() [all …]
|
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.4.14/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.4.14/drivers/staging/lustre/lustre/ldlm/ |
D | ldlm_lock.c | 888 struct sl_insert_point *prev) in search_granted_lock() argument 896 mode_end = list_entry(lock->l_sl_mode.prev, in search_granted_lock() 908 prev->res_link = &mode_end->l_res_link; in search_granted_lock() 909 prev->mode_link = &mode_end->l_sl_mode; in search_granted_lock() 910 prev->policy_link = &req->l_sl_policy; in search_granted_lock() 917 list_entry(lock->l_sl_policy.prev, in search_granted_lock() 925 prev->res_link = in search_granted_lock() 927 prev->mode_link = in search_granted_lock() 929 prev->policy_link = in search_granted_lock() 946 prev->res_link = &mode_end->l_res_link; in search_granted_lock() [all …]
|
/linux-4.4.14/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)); \
|
/linux-4.4.14/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.4.14/net/core/ |
D | dst.c | 322 unsigned long prev, new; in dst_cow_metrics_generic() local 327 prev = cmpxchg(&dst->_metrics, old, new); in dst_cow_metrics_generic() 329 if (prev != old) { in dst_cow_metrics_generic() 331 p = __DST_METRICS_PTR(prev); in dst_cow_metrics_generic() 332 if (prev & DST_METRICS_READ_ONLY) in dst_cow_metrics_generic() 343 unsigned long prev, new; in __dst_destroy_metrics_generic() local 346 prev = cmpxchg(&dst->_metrics, old, new); in __dst_destroy_metrics_generic() 347 if (prev == old) in __dst_destroy_metrics_generic()
|
/linux-4.4.14/tools/perf/util/ |
D | cpumap.c | 52 int n, cpu, prev; in cpu_map__read() local 56 prev = -1; in cpu_map__read() 61 if (prev >= 0) { in cpu_map__read() 62 int new_max = nr_cpus + cpu - prev - 1; in cpu_map__read() 72 while (++prev < cpu) in cpu_map__read() 73 tmp_cpus[nr_cpus++] = prev; in cpu_map__read() 85 prev = cpu; in cpu_map__read() 87 prev = -1; in cpu_map__read()
|
/linux-4.4.14/tools/testing/selftests/seccomp/ |
D | test_harness.h | 401 struct __test_metadata *prev, *next; member 429 t->prev = t; in __register_test() 434 t->prev = __test_list->prev; in __register_test() 435 t->prev->next = t; in __register_test() 436 __test_list->prev = t; in __register_test() 439 t->next->prev = t; in __register_test() 440 t->prev = t; in __register_test()
|
/linux-4.4.14/kernel/gcov/ |
D | base.c | 137 struct gcov_info *prev = NULL; in gcov_module_notifier() local 146 gcov_info_unlink(prev, info); in gcov_module_notifier() 150 prev = info; in gcov_module_notifier()
|
/linux-4.4.14/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.4.14/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
D | base.c | 73 u8 *prev = bios->data; in nvbios_extend() local 75 bios->data = prev; in nvbios_extend() 78 memcpy(bios->data, prev, bios->size); in nvbios_extend() 80 kfree(prev); in nvbios_extend()
|
/linux-4.4.14/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.4.14/arch/arc/kernel/ |
D | ctx_sw.c | 26 unsigned int prev = (unsigned int)prev_task; in __switch_to() local 109 : "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.4.14/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.4.14/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.4.14/kernel/printk/ |
D | printk.c | 610 enum log_flags prev; member 706 msg, user->seq, user->prev); in devkmsg_read() 711 user->prev = msg->flags; in devkmsg_read() 1079 static size_t msg_print_text(const struct printk_log *msg, enum log_flags prev, in msg_print_text() argument 1088 if ((prev & LOG_CONT) && !(msg->flags & LOG_PREFIX)) in msg_print_text() 1092 if ((prev & LOG_CONT) && !(prev & LOG_NEWLINE)) in msg_print_text() 1216 enum log_flags prev; in syslog_print_all() local 1230 prev = 0; in syslog_print_all() 1234 len += msg_print_text(msg, prev, true, NULL, 0); in syslog_print_all() 1235 prev = msg->flags; in syslog_print_all() [all …]
|