Home
last modified time | relevance | path

Searched refs:prev (Results 1 – 25 of 1051) sorted by relevance

12345678910>>...43

/kernel/linux/linux-5.10/drivers/media/platform/omap3isp/
Disppreview.c149 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 …]
/kernel/uniproton/src/fs/vfs/
Dvfs_partition.c61 static void OsFreeDeviceDesc(struct TagDeviceDesc *prev) in OsFreeDeviceDesc() argument
63 if (prev == NULL) { in OsFreeDeviceDesc()
66 if (prev->dDev != NULL) { in OsFreeDeviceDesc()
67 free((void *)prev->dDev); in OsFreeDeviceDesc()
69 if (prev->dFsType != NULL) { in OsFreeDeviceDesc()
70 free((void *)prev->dFsType); in OsFreeDeviceDesc()
72 if (prev->dAddrArray != NULL) { in OsFreeDeviceDesc()
73 free((void *)prev->dAddrArray); in OsFreeDeviceDesc()
75 if (prev->dLengthArray != NULL) { in OsFreeDeviceDesc()
76 free((void *)prev->dLengthArray); in OsFreeDeviceDesc()
[all …]
/kernel/liteos_m/components/fs/vfs/
Dvfs_partition.c81 struct DeviceDesc *prev = NULL; in AddDevice() local
82 for (prev = g_deviceList; prev != NULL; prev = prev->dNext) { in AddDevice()
83 if (strcmp(prev->dDev, dev) == 0) { in AddDevice()
94 prev = (struct DeviceDesc *)LOSCFG_FS_MALLOC_HOOK(sizeof(struct DeviceDesc)); in AddDevice()
95 if (prev == NULL) { in AddDevice()
100 prev->dDev = LOSCFG_FS_MALLOC_HOOK(len); in AddDevice()
102 prev->dFsType = LOSCFG_FS_MALLOC_HOOK(len); in AddDevice()
103 prev->dAddrArray = (int *)LOSCFG_FS_MALLOC_HOOK(partNum * sizeof(int)); in AddDevice()
104 if (prev->dDev == NULL || prev->dFsType == NULL || prev->dAddrArray == NULL) { in AddDevice()
107 (void)strcpy_s((char *)prev->dDev, len, dev); in AddDevice()
[all …]
/kernel/linux/linux-5.10/lib/
Dlist_debug.c20 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 …]
Dlist_sort.c62 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 …]
/kernel/linux/linux-5.10/drivers/dma-buf/
Ddma-fence-chain.c23 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 = cmpxchg((struct dma_fence __force **)&chain->prev, in dma_fence_chain_walk()
66 prev, replacement); in dma_fence_chain_walk()
67 if (tmp == prev) in dma_fence_chain_walk()
[all …]
/kernel/linux/linux-5.10/drivers/block/zram/zram_group/
Dzlist.c37 struct zlist_node *prev, struct zlist_node *node, in zlist_before_add_check() argument
40 assert(idx2node(prev->next, tab) == next); in zlist_before_add_check()
41 assert(idx2node(next->prev, tab) == prev); in zlist_before_add_check()
42 assert(idx2node(node->prev, tab) == node); in zlist_before_add_check()
47 struct zlist_node *prev, struct zlist_node *node, in zlist_after_add_check() argument
50 assert(idx2node(prev->next, tab) == node); in zlist_after_add_check()
51 assert(idx2node(next->prev, tab) == node); in zlist_after_add_check()
52 assert(idx2node(node->prev, tab) == prev); in zlist_after_add_check()
57 struct zlist_node *prev, struct zlist_node *node, in zlist_before_del_check() argument
60 assert(idx2node(prev->next, tab) == node); in zlist_before_del_check()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dcmpxchg.h19 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 …]
/kernel/linux/linux-5.10/include/linux/
Dlist.h36 list->prev = list; in INIT_LIST_HEAD()
41 struct list_head *prev,
46 struct list_head *prev, in __list_add_valid() argument
64 struct list_head *prev, in __list_add() argument
67 if (!__list_add_valid(new, prev, next)) in __list_add()
70 next->prev = new; in __list_add()
72 new->prev = prev; in __list_add()
73 WRITE_ONCE(prev->next, new); in __list_add()
100 __list_add(new, head->prev, head); in list_add_tail()
110 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument
[all …]
/kernel/linux/linux-5.10/include/asm-generic/
Dcmpxchg-local.h18 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 …]
/kernel/linux/linux-5.10/arch/mips/include/asm/
Dswitch_to.h32 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 …]
/kernel/linux/linux-5.10/kernel/locking/
Dosq_lock.c44 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 …]
/kernel/linux/linux-5.10/tools/include/linux/
Dlist.h28 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 …]
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/include/nvif/
Dlist.h111 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 …]
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dswitch_to.h37 #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
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/
Dlist.h20 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 …]
/kernel/linux/linux-5.10/tools/power/cpupower/
Dcpupower-completion.sh10 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 …]
/kernel/linux/linux-5.10/scripts/kconfig/
Dlist.h25 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 …]
/kernel/linux/linux-5.10/fs/btrfs/
Dextent_map.c150 struct rb_node *prev = NULL; in __tree_search() local
157 prev = n; in __tree_search()
169 orig_prev = prev; in __tree_search()
170 while (prev && offset >= extent_map_end(prev_entry)) { in __tree_search()
171 prev = rb_next(prev); in __tree_search()
172 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search()
174 *prev_ret = prev; in __tree_search()
175 prev = orig_prev; in __tree_search()
179 prev_entry = rb_entry(prev, struct extent_map, rb_node); in __tree_search()
180 while (prev && offset < prev_entry->start) { in __tree_search()
[all …]
/kernel/uniproton/src/core/kernel/include/
Dprt_list_external.h21 struct TagListObject *prev; member
32 (object)->prev = (object); \
39 …C_ALW_INLINE INLINE void ListLowLevelAdd(struct TagListObject *newNode, struct TagListObject *prev, in ListLowLevelAdd() argument
43 newNode->prev = prev; in ListLowLevelAdd()
44 next->prev = newNode; in ListLowLevelAdd()
45 prev->next = newNode; in ListLowLevelAdd()
57 ListLowLevelAdd(newNode, listObject->prev, listObject); in ListTailAdd()
63 nextNode->prev = prevNode; in ListLowLevelDelete()
70 ListLowLevelDelete(node->prev, node->next); in ListDelete()
73 node->prev = NULL; in ListDelete()
[all …]
/kernel/linux/linux-5.10/fs/jffs2/
Dnodelist.c28 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 …]
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dxchg.h131 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 …]
/kernel/linux/linux-5.10/tools/firewire/
Dlist.h3 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)
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/nvkm/core/
Dmm.c53 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 …]
/kernel/linux/linux-5.10/net/bridge/
Dbr_forward.c114 static int deliver_clone(const struct net_bridge_port *prev, in deliver_clone() argument
125 __br_forward(prev, skb, local_orig); in deliver_clone()
169 struct net_bridge_port *prev, struct net_bridge_port *p, in maybe_deliver() argument
176 return prev; in maybe_deliver()
178 if (!prev) in maybe_deliver()
181 err = deliver_clone(prev, skb, local_orig); in maybe_deliver()
194 struct net_bridge_port *prev = NULL; in br_flood() local
223 prev = maybe_deliver(prev, p, skb, local_orig); in br_flood()
224 if (IS_ERR(prev)) in br_flood()
228 if (!prev) in br_flood()
[all …]

12345678910>>...43