/Linux-v4.19/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-v4.19/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(next->prev != prev, in __list_add_valid() 25 prev, next->prev, next) || in __list_add_valid() 26 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid() 28 next, prev->next, prev) || in __list_add_valid() 29 CHECK_DATA_CORRUPTION(new == prev || new == next, in __list_add_valid() 31 new, prev, next)) in __list_add_valid() 40 struct list_head *prev, *next; in __list_del_entry_valid() local 42 prev = entry->prev; in __list_del_entry_valid() 48 CHECK_DATA_CORRUPTION(prev == LIST_POISON2, in __list_del_entry_valid() [all …]
|
/Linux-v4.19/arch/powerpc/include/asm/ |
D | cmpxchg.h | 20 unsigned int prev, prev_mask, tmp, bitoff, off; \ 35 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 39 return prev >> bitoff; \ 46 unsigned int prev, prev_mask, tmp, bitoff, off; \ 69 : "=&r" (prev), "=&r" (tmp), "+m" (*(u32*)p) \ 73 return prev >> bitoff; \ 91 unsigned long prev; in __xchg_u32_local() local 98 : "=&r" (prev), "+m" (*(volatile unsigned int *)p) in __xchg_u32_local() 102 return prev; in __xchg_u32_local() 108 unsigned long prev; in __xchg_u32_relaxed() local [all …]
|
/Linux-v4.19/include/asm-generic/ |
D | cmpxchg-local.h | 18 unsigned long flags, prev; in __cmpxchg_local_generic() local 28 case 1: prev = *(u8 *)ptr; in __cmpxchg_local_generic() 29 if (prev == old) in __cmpxchg_local_generic() 32 case 2: prev = *(u16 *)ptr; in __cmpxchg_local_generic() 33 if (prev == old) in __cmpxchg_local_generic() 36 case 4: prev = *(u32 *)ptr; in __cmpxchg_local_generic() 37 if (prev == old) in __cmpxchg_local_generic() 40 case 8: prev = *(u64 *)ptr; in __cmpxchg_local_generic() 41 if (prev == old) in __cmpxchg_local_generic() 48 return prev; in __cmpxchg_local_generic() [all …]
|
/Linux-v4.19/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 105 #define switch_to(prev, next, last) \ argument 107 __mips_mt_fpaff_switch_to(prev); \ 108 lose_fpu_inatomic(1, prev); \ 112 __save_dsp(prev); \ [all …]
|
/Linux-v4.19/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() 143 if (need_resched() || vcpu_is_preempted(node_cpu(node->prev))) in osq_lock() 160 if (prev->next == node && in osq_lock() 161 cmpxchg(&prev->next, node, NULL) == node) in osq_lock() 178 prev = READ_ONCE(node->prev); in osq_lock() [all …]
|
/Linux-v4.19/include/linux/ |
D | list.h | 29 list->prev = list; in INIT_LIST_HEAD() 34 struct list_head *prev, 39 struct list_head *prev, in __list_add_valid() argument 57 struct list_head *prev, in __list_add() argument 60 if (!__list_add_valid(new, prev, next)) in __list_add() 63 next->prev = new; in __list_add() 65 new->prev = prev; in __list_add() 66 WRITE_ONCE(prev->next, new); in __list_add() 93 __list_add(new, head->prev, head); in list_add_tail() 103 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument [all …]
|
D | rculist.h | 34 WRITE_ONCE(list->prev, list); in INIT_LIST_HEAD_RCU() 50 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument 52 if (!__list_add_valid(new, prev, next)) in __list_add_rcu() 56 new->prev = prev; in __list_add_rcu() 57 rcu_assign_pointer(list_next_rcu(prev), new); in __list_add_rcu() 58 next->prev = new; in __list_add_rcu() 101 __list_add_rcu(new, head->prev, head); in list_add_tail_rcu() 131 entry->prev = LIST_POISON2; in list_del_rcu() 174 new->prev = old->prev; in list_replace_rcu() 175 rcu_assign_pointer(list_next_rcu(new->prev), new); in list_replace_rcu() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/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() 88 __list_del(entry->prev, entry->next); in __list_del_entry() [all …]
|
/Linux-v4.19/arch/ia64/include/asm/ |
D | switch_to.h | 45 #define __switch_to(prev,next,last) do { \ argument 46 if (IA64_HAS_EXTRA_STATE(prev)) \ 47 ia64_save_extra(prev); \ 61 # define switch_to(prev,next,last) do { \ argument 62 if (ia64_psr(task_pt_regs(prev))->mfh && ia64_is_local_fpu_owner(prev)) { \ 63 ia64_psr(task_pt_regs(prev))->mfh = 0; \ 64 (prev)->thread.flags |= IA64_THREAD_FPH_VALID; \ 65 __ia64_save_fpu((prev)->thread.fph); \ 67 __switch_to(prev, next, last); \ 77 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
/Linux-v4.19/fs/btrfs/ |
D | extent_map.c | 146 struct rb_node *prev = NULL; in __tree_search() local 153 prev = n; in __tree_search() 165 orig_prev = prev; in __tree_search() 166 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search() 167 prev = rb_next(prev); in __tree_search() 168 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search() 170 *prev_ret = prev; in __tree_search() 171 prev = orig_prev; in __tree_search() 175 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search() 176 while (prev && offset < prev_entry->start) { in __tree_search() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/drivers/fmc/ |
D | fmc-dump.c | 23 const uint8_t *prev) in dump_line() argument 27 if (!prev || memcmp(line, prev, LINELEN)) { in dump_line() 37 if (line == prev + LINELEN) in dump_line() 39 return prev; in dump_line() 44 const uint8_t *line, *prev; in fmc_dump_eeprom() local 56 prev = NULL; in fmc_dump_eeprom() 58 prev = dump_line(i, line, prev); in fmc_dump_eeprom()
|
/Linux-v4.19/net/bridge/ |
D | br_forward.c | 118 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone() argument 129 __br_forward(prev, skb, local_orig); in deliver_clone() 173 struct net_bridge_port *prev, struct net_bridge_port *p, in maybe_deliver() argument 179 return prev; in maybe_deliver() 181 if (!prev) in maybe_deliver() 184 err = deliver_clone(prev, skb, local_orig); in maybe_deliver() 197 struct net_bridge_port *prev = NULL; in br_flood() local 226 prev = maybe_deliver(prev, p, skb, local_orig); in br_flood() 227 if (IS_ERR(prev)) in br_flood() 229 if (prev == p) in br_flood() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/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-v4.19/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-v4.19/drivers/gpu/drm/i915/selftests/ |
D | intel_uncore.c | 32 s32 prev; in intel_fw_table_check() local 34 for (i = 0, prev = -1; i < num_ranges; i++, ranges++) { in intel_fw_table_check() 36 if (is_watertight && (prev + 1) != (s32)ranges->start) { in intel_fw_table_check() 38 __func__, i, ranges->start, ranges->end, prev); in intel_fw_table_check() 43 if (prev >= (s32)ranges->start) { in intel_fw_table_check() 45 __func__, i, ranges->start, ranges->end, prev); in intel_fw_table_check() 56 prev = ranges->end; in intel_fw_table_check() 73 s32 prev; in intel_shadow_table_check() local 77 for (i = 0, prev = -1; i < reg_lists[j].size; i++, reg++) { in intel_shadow_table_check() 80 if (prev >= (s32)offset) { in intel_shadow_table_check() [all …]
|
/Linux-v4.19/samples/bpf/ |
D | xdp_redirect_cpu_user.c | 270 struct record *rec, *prev; in stats_print() local 287 prev = &stats_prev->rx_cnt; in stats_print() 288 t = calc_period(rec, prev); in stats_print() 291 struct datarec *p = &prev->cpu[i]; in stats_print() 302 pps = calc_pps(&rec->total, &prev->total, t); in stats_print() 303 drop = calc_drop_pps(&rec->total, &prev->total, t); in stats_print() 304 err = calc_errs_pps(&rec->total, &prev->total, t); in stats_print() 315 prev = &stats_prev->enq[to_cpu]; in stats_print() 316 t = calc_period(rec, prev); in stats_print() 319 struct datarec *p = &prev->cpu[i]; in stats_print() [all …]
|
D | xdp_monitor_user.c | 311 struct record_u64 *rec, *prev; in stats_print() local 316 prev = &stats_prev->xdp_redirect[rec_i]; in stats_print() 317 t = calc_period_u64(rec, prev); in stats_print() 321 struct u64rec *p = &prev->cpu[i]; in stats_print() 329 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print() 336 struct record_u64 *rec, *prev; in stats_print() local 341 prev = &stats_prev->xdp_exception[rec_i]; in stats_print() 342 t = calc_period_u64(rec, prev); in stats_print() 346 struct u64rec *p = &prev->cpu[i]; in stats_print() 353 pps = calc_pps_u64(&rec->total, &prev->total, t); in stats_print() [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | switch_to.h | 33 #define switch_to(prev, next, last) do { \ argument 39 save_access_regs(&prev->thread.acrs[0]); \ 40 save_ri_cb(prev->thread.ri_cb); \ 41 save_gs_cb(prev->thread.gs_cb); \ 44 restore_ri_cb(next->thread.ri_cb, prev->thread.ri_cb); \ 46 prev = __switch_to(prev, next); \
|