/linux-6.1.9/drivers/media/platform/ti/omap3isp/ |
D | isppreview.c | 149 preview_config_luma_enhancement(struct isp_prev_device *prev, in preview_config_luma_enhancement() argument 152 struct isp_device *isp = to_isp_device(prev); in preview_config_luma_enhancement() 168 preview_enable_luma_enhancement(struct isp_prev_device *prev, bool enable) in preview_enable_luma_enhancement() argument 170 struct isp_device *isp = to_isp_device(prev); in preview_enable_luma_enhancement() 183 static void preview_enable_invalaw(struct isp_prev_device *prev, bool enable) in preview_enable_invalaw() argument 185 struct isp_device *isp = to_isp_device(prev); in preview_enable_invalaw() 198 static void preview_config_hmed(struct isp_prev_device *prev, in preview_config_hmed() argument 201 struct isp_device *isp = to_isp_device(prev); in preview_config_hmed() 213 static void preview_enable_hmed(struct isp_prev_device *prev, bool enable) in preview_enable_hmed() argument 215 struct isp_device *isp = to_isp_device(prev); in preview_enable_hmed() [all …]
|
/linux-6.1.9/lib/ |
D | list_debug.c | 20 bool __list_add_valid(struct list_head *new, struct list_head *prev, in __list_add_valid() argument 23 if (CHECK_DATA_CORRUPTION(prev == NULL, in __list_add_valid() 27 CHECK_DATA_CORRUPTION(next->prev != prev, in __list_add_valid() 29 prev, next->prev, next) || in __list_add_valid() 30 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid() 32 next, prev->next, prev) || in __list_add_valid() 33 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid() 35 new, prev, next)) in __list_add_valid() 44 struct list_head *prev, *next; in __list_del_entry_valid() local 46 prev = entry->prev; in __list_del_entry_valid() [all …]
|
D | list_sort.c | 62 a->prev = tail; in merge_final() 69 b->prev = tail; in merge_final() 91 b->prev = tail; in merge_final() 98 head->prev = tail; in merge_final() 190 if (list == head->prev) /* Zero or one elements */ in list_sort() 194 head->prev->next = NULL; in list_sort() 220 tail = &(*tail)->prev; in list_sort() 223 struct list_head *a = *tail, *b = a->prev; in list_sort() 227 a->prev = b->prev; in list_sort() 232 list->prev = pending; in list_sort() [all …]
|
/linux-6.1.9/drivers/dma-buf/ |
D | dma-fence-chain.c | 23 struct dma_fence *prev; in dma_fence_chain_get_prev() local 26 prev = dma_fence_get_rcu_safe(&chain->prev); in dma_fence_chain_get_prev() 28 return prev; in dma_fence_chain_get_prev() 42 struct dma_fence *prev, *replacement, *tmp; in dma_fence_chain_walk() local 50 while ((prev = dma_fence_chain_get_prev(chain))) { in dma_fence_chain_walk() 52 prev_chain = to_dma_fence_chain(prev); in dma_fence_chain_walk() 59 if (!dma_fence_is_signaled(prev)) in dma_fence_chain_walk() 65 tmp = unrcu_pointer(cmpxchg(&chain->prev, RCU_INITIALIZER(prev), in dma_fence_chain_walk() 67 if (tmp == prev) in dma_fence_chain_walk() 71 dma_fence_put(prev); in dma_fence_chain_walk() [all …]
|
/linux-6.1.9/arch/powerpc/include/asm/ |
D | cmpxchg.h | 19 unsigned int prev, prev_mask, tmp, bitoff, off; \ 33 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 37 return prev >> bitoff; \ 44 unsigned int prev, prev_mask, tmp, bitoff, off; \ 66 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 70 return prev >> bitoff; \ 88 unsigned long prev; in __xchg_u32_local() local 94 : "=&r" (prev), "+m" (*(volatile unsigned int *)p) in __xchg_u32_local() 98 return prev; in __xchg_u32_local() 104 unsigned long prev; in __xchg_u32_relaxed() local [all …]
|
/linux-6.1.9/include/asm-generic/ |
D | cmpxchg-local.h | 18 unsigned long flags, prev; in __generic_cmpxchg_local() local 28 case 1: prev = *(u8 *)ptr; in __generic_cmpxchg_local() 29 if (prev == old) in __generic_cmpxchg_local() 32 case 2: prev = *(u16 *)ptr; in __generic_cmpxchg_local() 33 if (prev == old) in __generic_cmpxchg_local() 36 case 4: prev = *(u32 *)ptr; in __generic_cmpxchg_local() 37 if (prev == old) in __generic_cmpxchg_local() 40 case 8: prev = *(u64 *)ptr; in __generic_cmpxchg_local() 41 if (prev == old) in __generic_cmpxchg_local() 48 return prev; in __generic_cmpxchg_local() [all …]
|
/linux-6.1.9/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_mask = prev->thread.user_cpus_allowed; \ 66 #define __mips_mt_fpaff_switch_to(prev) do { (void) (prev); } while (0) argument 109 #define switch_to(prev, next, last) \ argument 111 __mips_mt_fpaff_switch_to(prev); \ 112 lose_fpu_inatomic(1, prev); \ 116 __save_dsp(prev); \ [all …]
|
/linux-6.1.9/include/linux/ |
D | list.h | 38 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD() 43 struct list_head *prev, 48 struct list_head *prev, in __list_add_valid() argument 66 struct list_head *prev, in __list_add() argument 69 if (!__list_add_valid(new, prev, next)) in __list_add() 72 next->prev = new; in __list_add() 74 new->prev = prev; in __list_add() 75 WRITE_ONCE(prev->next, new); in __list_add() 102 __list_add(new, head->prev, head); in list_add_tail() 112 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument [all …]
|
D | rculist.h | 25 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD_RCU() 42 #define list_tail_rcu(head) (*((struct list_head __rcu **)(&(head)->prev))) 77 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument 79 if (!__list_add_valid(new, prev, next)) in __list_add_rcu() 83 new->prev = prev; in __list_add_rcu() 84 rcu_assign_pointer(list_next_rcu(prev), new); in __list_add_rcu() 85 next->prev = new; in __list_add_rcu() 128 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu() 158 entry->prev = LIST_POISON2; in list_del_rcu() 201 new->prev = old->prev; in list_replace_rcu() [all …]
|
/linux-6.1.9/kernel/locking/ |
D | osq_lock.c | 44 struct optimistic_spin_node *prev) in osq_wait_next() argument 55 old = prev ? prev->cpu : OSQ_UNLOCKED_VAL; in osq_wait_next() 93 struct optimistic_spin_node *prev, *next; in osq_lock() local 111 prev = decode_cpu(old); in osq_lock() 112 node->prev = prev; in osq_lock() 126 WRITE_ONCE(prev->next, node); in osq_lock() 144 vcpu_is_preempted(node_cpu(node->prev)))) in osq_lock() 161 if (data_race(prev->next) == node && in osq_lock() 162 cmpxchg(&prev->next, node, NULL) == node) in osq_lock() 179 prev = READ_ONCE(node->prev); in osq_lock() [all …]
|
/linux-6.1.9/tools/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 …]
|
/linux-6.1.9/arch/arm64/kvm/hyp/nvhe/ |
D | list_debug.c | 29 bool __list_add_valid(struct list_head *new, struct list_head *prev, in __list_add_valid() argument 32 if (NVHE_CHECK_DATA_CORRUPTION(next->prev != prev) || in __list_add_valid() 33 NVHE_CHECK_DATA_CORRUPTION(prev->next != next) || in __list_add_valid() 34 NVHE_CHECK_DATA_CORRUPTION(new == prev || new == next)) in __list_add_valid() 42 struct list_head *prev, *next; in __list_del_entry_valid() local 44 prev = entry->prev; in __list_del_entry_valid() 48 NVHE_CHECK_DATA_CORRUPTION(prev == LIST_POISON2) || in __list_del_entry_valid() 49 NVHE_CHECK_DATA_CORRUPTION(prev->next != entry) || in __list_del_entry_valid() 50 NVHE_CHECK_DATA_CORRUPTION(next->prev != entry)) in __list_del_entry_valid()
|
/linux-6.1.9/arch/ia64/include/asm/ |
D | switch_to.h | 37 #define __switch_to(prev,next,last) do { \ argument 38 if (IA64_HAS_EXTRA_STATE(prev)) \ 39 ia64_save_extra(prev); \ 53 # define switch_to(prev,next,last) do { \ argument 54 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \ 55 ia64_psr(task_pt_regs(prev))->mfh = 0; \ 56 (prev)->thread.flags |= IA64_THREAD_FPH_VALID; \ 57 __ia64_save_fpu((prev)->thread.fph); \ 59 __switch_to(prev, next, last); \ 68 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
/linux-6.1.9/tools/usb/usbip/libsrc/ |
D | list.h | 20 struct list_head *next, *prev; member 31 list->prev = list; in INIT_LIST_HEAD() 41 struct list_head *prev, in __list_add() argument 44 next->prev = new; in __list_add() 46 new->prev = prev; in __list_add() 47 prev->next = new; in __list_add() 70 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 72 next->prev = prev; in __list_del() 73 prev->next = next; in __list_del() 82 __list_del(entry->prev, entry->next); in __list_del_entry() [all …]
|
/linux-6.1.9/tools/power/cpupower/ |
D | cpupower-completion.sh | 10 local prev="${COMP_WORDS[COMP_CWORD-1]}" 12 case "$prev" in 20 local prev="${COMP_WORDS[COMP_CWORD-1]}" 22 case "$prev" in 38 local prev="${COMP_WORDS[COMP_CWORD-1]}" 40 case "$prev" in 48 local prev="${COMP_WORDS[COMP_CWORD-1]}" 50 case "$prev" in 58 local prev="${COMP_WORDS[COMP_CWORD-1]}" 60 case "$prev" in [all …]
|
/linux-6.1.9/scripts/kconfig/ |
D | list.h | 25 struct list_head *next, *prev; member 83 struct list_head *prev, in __list_add() argument 86 next->prev = _new; in __list_add() 88 _new->prev = prev; in __list_add() 89 prev->next = _new; in __list_add() 102 __list_add(_new, head->prev, head); in list_add_tail() 112 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 114 next->prev = prev; in __list_del() 115 prev->next = next; in __list_del() 128 __list_del(entry->prev, entry->next); in list_del() [all …]
|
/linux-6.1.9/scripts/mod/ |
D | list.h | 39 struct list_head *next, *prev; member 57 list->prev = list; in INIT_LIST_HEAD() 67 struct list_head *prev, in __list_add() argument 70 next->prev = new; in __list_add() 72 new->prev = prev; in __list_add() 73 prev->next = new; in __list_add() 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() 112 prev->next = next; in __list_del() [all …]
|
/linux-6.1.9/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 …]
|
/linux-6.1.9/tools/lib/ |
D | list_sort.c | 61 a->prev = tail; in merge_final() 68 b->prev = tail; in merge_final() 90 b->prev = tail; in merge_final() 97 head->prev = tail; in merge_final() 189 if (list == head->prev) /* Zero or one elements */ in list_sort() 193 head->prev->next = NULL; in list_sort() 219 tail = &(*tail)->prev; in list_sort() 222 struct list_head *a = *tail, *b = a->prev; in list_sort() 226 a->prev = b->prev; in list_sort() 231 list->prev = pending; in list_sort() [all …]
|
/linux-6.1.9/arch/alpha/include/asm/ |
D | xchg.h | 131 unsigned long prev, tmp, cmp, addr64; in ____cmpxchg() local 148 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) in ____cmpxchg() 151 return prev; in ____cmpxchg() 157 unsigned long prev, tmp, cmp, addr64; in ____cmpxchg() local 174 : "=&r" (prev), "=&r" (new), "=&r" (tmp), "=&r" (cmp), "=&r" (addr64) in ____cmpxchg() 177 return prev; in ____cmpxchg() 183 unsigned long prev, cmp; in ____cmpxchg() local 196 : "=&r"(prev), "=&r"(cmp), "=m"(*m) in ____cmpxchg() 199 return prev; in ____cmpxchg() 205 unsigned long prev, cmp; in ____cmpxchg() local [all …]
|
/linux-6.1.9/tools/firewire/ |
D | list.h | 3 struct list *next, *prev; member 10 list->prev = list; in list_init() 22 new_link->prev = link->prev; in list_insert() 24 new_link->prev->next = new_link; in list_insert() 25 new_link->next->prev = new_link; in list_insert() 43 link->prev->next = link->next; in list_remove() 44 link->next->prev = link->prev; in list_remove() 54 list_entry((list)->prev, type, member)
|
/linux-6.1.9/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-6.1.9/net/bridge/ |
D | br_forward.c | 120 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone() argument 131 __br_forward(prev, skb, local_orig); in deliver_clone() 175 struct net_bridge_port *prev, struct net_bridge_port *p, in maybe_deliver() argument 182 return prev; in maybe_deliver() 186 if (!prev) in maybe_deliver() 189 err = deliver_clone(prev, skb, local_orig); in maybe_deliver() 202 struct net_bridge_port *prev = NULL; in br_flood() local 231 prev = maybe_deliver(prev, p, skb, local_orig); in br_flood() 232 if (IS_ERR(prev)) in br_flood() 236 if (!prev) in br_flood() [all …]
|
/linux-6.1.9/arch/powerpc/platforms/cell/spufs/ |
D | switch.c | 1775 static int quiece_spu(struct spu_state *prev, struct spu *spu) in quiece_spu() argument 1787 if (check_spu_isolate(prev, spu)) { /* Step 2. */ in quiece_spu() 1790 disable_interrupts(prev, spu); /* Step 3. */ in quiece_spu() 1791 set_watchdog_timer(prev, spu); /* Step 4. */ in quiece_spu() 1792 inhibit_user_access(prev, spu); /* Step 5. */ in quiece_spu() 1793 if (check_spu_isolate(prev, spu)) { /* Step 6. */ in quiece_spu() 1796 set_switch_pending(prev, spu); /* Step 7. */ in quiece_spu() 1797 save_mfc_cntl(prev, spu); /* Step 8. */ in quiece_spu() 1798 save_spu_runcntl(prev, spu); /* Step 9. */ in quiece_spu() 1799 save_mfc_sr1(prev, spu); /* Step 10. */ in quiece_spu() [all …]
|
/linux-6.1.9/arch/riscv/include/asm/ |
D | atomic.h | 202 int prev, rc; local 212 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) 215 return prev; 222 s64 prev; in arch_atomic64_fetch_add_unless() local 233 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in arch_atomic64_fetch_add_unless() 236 return prev; in arch_atomic64_fetch_add_unless() 315 int prev, rc; in ATOMIC_OPS() local 325 : [p]"=&r" (prev), [rc]"=&r" (rc), [c]"+A" (v->counter) in ATOMIC_OPS() 328 return !(prev < 0); in ATOMIC_OPS() 335 int prev, rc; in arch_atomic_dec_unless_positive() local [all …]
|