/kernel/linux/linux-5.10/arch/arm64/kernel/ |
H A D | process.c | 452 static void tls_thread_switch(struct task_struct *next) in tls_thread_switch() argument 456 if (is_compat_thread(task_thread_info(next))) in tls_thread_switch() 457 write_sysreg(next->thread.uw.tp_value, tpidrro_el0); in tls_thread_switch() 461 write_sysreg(*task_user_tls(next), tpidr_el0); in tls_thread_switch() 464 /* Restore the UAO state depending on next's addr_limit */ 465 void uao_thread_switch(struct task_struct *next) in uao_thread_switch() argument 468 if (task_thread_info(next)->addr_limit == KERNEL_DS) in uao_thread_switch() 479 static void ssbs_thread_switch(struct task_struct *next) in ssbs_thread_switch() argument 485 if (unlikely(next->flags & PF_KTHREAD)) in ssbs_thread_switch() 495 spectre_v4_enable_task_mitigation(next); in ssbs_thread_switch() 507 entry_task_switch(struct task_struct *next) entry_task_switch() argument 517 erratum_1418040_thread_switch(struct task_struct *next) erratum_1418040_thread_switch() argument 539 __switch_to(struct task_struct *prev, struct task_struct *next) __switch_to() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/mm/ |
H A D | vmem.c | 79 * from unused_pmd_start to next PMD_SIZE boundary. 211 unsigned long next, prot, pages = 0; in modify_pmd_table() local 221 for (; addr < end; addr = next, pmd++) { in modify_pmd_table() 222 next = pmd_addr_end(addr, end); in modify_pmd_table() 228 IS_ALIGNED(next, PMD_SIZE)) { in modify_pmd_table() 233 } else if (!direct && vmemmap_unuse_sub_pmd(addr, next)) { in modify_pmd_table() 241 IS_ALIGNED(next, PMD_SIZE) && in modify_pmd_table() 261 !IS_ALIGNED(next, PMD_SIZE)) { in modify_pmd_table() 262 vmemmap_use_new_sub_pmd(addr, next); in modify_pmd_table() 273 vmemmap_use_sub_pmd(addr, next); in modify_pmd_table() 313 unsigned long next, prot, pages = 0; modify_pud_table() local 390 unsigned long next; modify_p4d_table() local 444 unsigned long addr, next; modify_pagetable() local [all...] |
/kernel/linux/linux-5.10/tools/usb/usbip/libsrc/ |
H A D | names.c | 26 struct vendor *next; member 32 struct product *next; member 38 struct class *next; member 44 struct subclass *next; member 50 struct protocol *next; member 56 struct genericstrtable *next; member 88 for (; v; v = v->next) in names_vendor() 99 for (; p; p = p->next) in names_product() 110 for (; c; c = c->next) in names_class() 121 for (; s; s = s->next) in names_subclass() 143 struct pool *next; global() member [all...] |
/kernel/linux/linux-6.6/tools/usb/usbip/libsrc/ |
H A D | names.c | 26 struct vendor *next; member 32 struct product *next; member 38 struct class *next; member 44 struct subclass *next; member 50 struct protocol *next; member 56 struct genericstrtable *next; member 88 for (; v; v = v->next) in names_vendor() 99 for (; p; p = p->next) in names_product() 110 for (; c; c = c->next) in names_class() 121 for (; s; s = s->next) in names_subclass() 143 struct pool *next; global() member [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
H A D | ieee802_11_auth.c | 34 struct hostapd_cached_radius_acl *next; member 45 struct hostapd_acl_query_data *next; member 65 acl_cache = acl_cache->next; in hostapd_acl_cache_free() 79 for (entry = hapd->acl_cache; entry; entry = entry->next) { in hostapd_acl_cache_get() 255 query = query->next; in hostapd_allowed_address() 284 query->next = hapd->acl_queries; in hostapd_allowed_address() 312 prev->next = entry->next; in hostapd_acl_expire_cache() 314 hapd->acl_cache = entry->next; in hostapd_acl_expire_cache() 317 entry = entry->next; in hostapd_acl_expire_cache() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
H A D | ieee802_11_auth.c | 34 struct hostapd_cached_radius_acl *next; member 50 struct hostapd_acl_query_data *next; member 70 acl_cache = acl_cache->next; in hostapd_acl_cache_free() 101 for (entry = hapd->acl_cache; entry; entry = entry->next) { in hostapd_acl_cache_get() 320 query = query->next; in hostapd_allowed_address() 349 query->next = hapd->acl_queries; in hostapd_allowed_address() 377 prev->next = entry->next; in hostapd_acl_expire_cache() 379 hapd->acl_cache = entry->next; in hostapd_acl_expire_cache() 382 entry = entry->next; in hostapd_acl_expire_cache() [all...] |
/kernel/linux/linux-5.10/arch/nds32/include/asm/ |
H A D | mmu_context.h | 54 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 59 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) { in switch_mm() 60 check_context(next); in switch_mm() 61 cpu_switch_mm(next); in switch_mm() 66 #define activate_mm(prev,next) switch_mm(prev, next, NULL)
|
/kernel/linux/linux-5.10/arch/hexagon/include/asm/ |
H A D | mmu_context.h | 55 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 64 if (next->context.generation < prev->context.generation) { in switch_mm() 66 next->pgd[l1] = init_mm.pgd[l1]; in switch_mm() 68 next->context.generation = prev->context.generation; in switch_mm() 71 __vmnewmap((void *)next->context.ptbase); in switch_mm() 77 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 82 switch_mm(prev, next, current_thread_info()->task); in activate_mm()
|
/kernel/linux/linux-5.10/lib/ |
H A D | llist.c | 32 new_last->next = first = READ_ONCE(head->first); in llist_add_batch() 49 * llist_add) sequence in another user may change @head->first->next, 55 struct llist_node *entry, *old_entry, *next; in llist_del_first() local 62 next = READ_ONCE(entry->next); in llist_del_first() 63 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first() 85 head = head->next; in llist_reverse_order() 86 tmp->next = new_head; in llist_reverse_order()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | alloc_cache.h | 28 return !cache->list.next; in io_alloc_cache_empty() 33 if (cache->list.next) { in io_alloc_cache_get() 36 entry = container_of(cache->list.next, struct io_cache_entry, node); in io_alloc_cache_get() 38 cache->list.next = cache->list.next->next; in io_alloc_cache_get() 49 cache->list.next = NULL; in io_alloc_cache_init()
|
/third_party/typescript/tests/baselines/reference/ |
H A D | classTypeParametersInStatics.js | 6 public next: List<T>; 16 entry.next = entry; 23 entry.next = entry; 30 entry.next = entry; 47 entry.next = entry;
53 entry.next = entry;
59 entry.next = entry;
|
/foundation/communication/dsoftbus/core/bus_center/utils/src/ |
H A D | lnn_map.c | 65 node->next = map->nodes[idx]; in MapAddNode() 88 MapNode *next = NULL; in MapResize() local 94 next = node->next; in MapResize() 96 node = next; in MapResize() 162 node = node->next; in LnnMapSet() 227 node = node->next; in LnnMapGet() 258 map->nodes[idx] = node->next; in LnnMapErase() 260 prev->next = node->next; in LnnMapErase() 308 MapNode *next = NULL; LnnMapDelete() local [all...] |
/kernel/linux/linux-5.10/fs/orangefs/ |
H A D | dir.c | 11 struct orangefs_dir_part *next; member 141 if (part->next) in parse_readdir() 142 part = part->next; in parse_readdir() 148 new->next = NULL; in parse_readdir() 154 part->next = new; in parse_readdir() 205 * should find the next entry. in fill_from_part() 221 goto next; in fill_from_part() 224 goto next; in fill_from_part() 235 next: in fill_from_part() 251 while (part->next in orangefs_dir_fill() 293 struct orangefs_dir_part *next = part->next; orangefs_dir_llseek() local 390 struct orangefs_dir_part *next = part->next; orangefs_dir_release() local [all...] |
/kernel/linux/linux-6.6/fs/orangefs/ |
H A D | dir.c | 11 struct orangefs_dir_part *next; member 141 if (part->next) in parse_readdir() 142 part = part->next; in parse_readdir() 148 new->next = NULL; in parse_readdir() 154 part->next = new; in parse_readdir() 205 * should find the next entry. in fill_from_part() 221 goto next; in fill_from_part() 224 goto next; in fill_from_part() 235 next: in fill_from_part() 251 while (part->next in orangefs_dir_fill() 293 struct orangefs_dir_part *next = part->next; orangefs_dir_llseek() local 390 struct orangefs_dir_part *next = part->next; orangefs_dir_release() local [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/native/kv_store/src/kvstore_common/ |
H A D | kvstore_common.c | 85 item = item->next;
in DeleteKVCache() 95 g_itemHeader = item->next;
in DeleteKVCache() 99 g_itemTail->next = NULL;
in DeleteKVCache() 101 item->prev->next = item->next;
in DeleteKVCache() 102 item->next->prev = item->prev;
in DeleteKVCache() 138 item->next = NULL;
in AddKVCache() 145 item->next = g_itemHeader;
in AddKVCache() 153 g_itemTail->next = NULL;
in AddKVCache() 166 item = item->next;
in GetValueByCache() [all...] |
/kernel/linux/linux-5.10/arch/arm64/include/asm/ |
H A D | mmu_context.h | 29 static inline void contextidr_thread_switch(struct task_struct *next) in contextidr_thread_switch() argument 34 write_sysreg(task_pid_nr(next), contextidr_el1); in contextidr_thread_switch() 218 static inline void __switch_mm(struct mm_struct *next) in __switch_mm() argument 224 if (next == &init_mm) { in __switch_mm() 229 check_and_switch_context(next); in __switch_mm() 233 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 236 if (prev != next) in switch_mm() 237 __switch_mm(next); in switch_mm() 245 update_saved_ttbr0(tsk, next); in switch_mm() 249 #define activate_mm(prev,next) switch_m [all...] |
/third_party/libdrm/ |
H A D | xf86drmHash.c | 14 * The above copyright notice and this permission notice (including the next 120 HashBucketPtr next; in drmHashDestroy() local 127 next = bucket->next; in drmHashDestroy() 129 bucket = next; in drmHashDestroy() 148 for (bucket = table->buckets[hash]; bucket; bucket = bucket->next) { in HashFind() 152 prev->next = bucket->next; in HashFind() 153 bucket->next = table->buckets[hash]; in HashFind() 194 bucket->next in drmHashInsert() [all...] |
/third_party/mesa3d/src/gallium/auxiliary/draw/ |
H A D | draw_pipe_user_cull.c | 15 * next paragraph) shall be included in all copies or substantial portions 74 stage->next->point( stage->next, header ); in user_cull_point() 106 stage->next->line( stage->next, header ); in user_cull_line() 141 stage->next->tri( stage->next, header ); in user_cull_tri() 149 stage->next->flush( stage->next, flags ); in user_cull_flush() 154 stage->next in user_cull_reset_stipple_counter() [all...] |
/kernel/linux/linux-5.10/arch/csky/include/asm/ |
H A D | switch_to.h | 11 struct task_struct *next) in __switch_to_fpu() 14 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu() 18 struct task_struct *next) in __switch_to_fpu() 28 #define switch_to(prev, next, last) \ 31 struct task_struct *__next = (next); \ 33 ((last) = __switch_to((prev), (next))); \ 10 __switch_to_fpu(struct task_struct *prev, struct task_struct *next) __switch_to_fpu() argument 17 __switch_to_fpu(struct task_struct *prev, struct task_struct *next) __switch_to_fpu() argument
|
/kernel/linux/linux-6.6/arch/csky/include/asm/ |
H A D | switch_to.h | 10 struct task_struct *next) in __switch_to_fpu() 13 restore_from_user_fp(&next->thread.user_fp); in __switch_to_fpu() 17 struct task_struct *next) in __switch_to_fpu() 27 #define switch_to(prev, next, last) \ 30 struct task_struct *__next = (next); \ 32 ((last) = __switch_to((prev), (next))); \ 9 __switch_to_fpu(struct task_struct *prev, struct task_struct *next) __switch_to_fpu() argument 16 __switch_to_fpu(struct task_struct *prev, struct task_struct *next) __switch_to_fpu() argument
|
/third_party/mesa3d/src/gallium/auxiliary/pipebuffer/ |
H A D | pb_buffer_fenced.c | 15 * next paragraph) shall be included in all copies or substantial portions 201 struct list_head *curr, *next; in fenced_manager_dump_locked() local 207 curr = fenced_mgr->unfenced.next; in fenced_manager_dump_locked() 208 next = curr->next; in fenced_manager_dump_locked() 217 curr = next; in fenced_manager_dump_locked() 218 next = curr->next; in fenced_manager_dump_locked() 221 curr = fenced_mgr->fenced.next; in fenced_manager_dump_locked() 222 next in fenced_manager_dump_locked() 396 struct list_head *curr, *next; fenced_manager_check_signalled_locked() local 452 struct list_head *curr, *next; fenced_manager_free_gpu_storage_locked() local [all...] |
/kernel/linux/linux-5.10/kernel/locking/ |
H A D | qspinlock.c | 45 * (8 bytes) and needs the next pointer (another 8 bytes) of its own node to 46 * unlock the next pending (next->locked), we compress both these: {tail, 47 * next->locked} into a single u32 value. 317 struct mcs_spinlock *prev, *next, *node; in queued_spin_lock_slowpath() local 359 * on @next to become !NULL. in queued_spin_lock_slowpath() 435 node->next = NULL; in queued_spin_lock_slowpath() 449 * @node into the waitqueue via WRITE_ONCE(prev->next, node) below. in queued_spin_lock_slowpath() 461 next = NULL; in queued_spin_lock_slowpath() 471 WRITE_ONCE(prev->next, nod in queued_spin_lock_slowpath() [all...] |
/kernel/linux/linux-6.6/kernel/locking/ |
H A D | qspinlock.c | 46 * (8 bytes) and needs the next pointer (another 8 bytes) of its own node to 47 * unlock the next pending (next->locked), we compress both these: {tail, 48 * next->locked} into a single u32 value. 318 struct mcs_spinlock *prev, *next, *node; in queued_spin_lock_slowpath() local 360 * on @next to become !NULL. in queued_spin_lock_slowpath() 438 node->next = NULL; in queued_spin_lock_slowpath() 452 * @node into the waitqueue via WRITE_ONCE(prev->next, node) below. in queued_spin_lock_slowpath() 464 next = NULL; in queued_spin_lock_slowpath() 474 WRITE_ONCE(prev->next, nod in queued_spin_lock_slowpath() [all...] |
/third_party/musl/porting/linux/user/src/network/ |
H A D | res_msend.c | 52 int next; in res_msend_rc_ext() local 127 next = 0; in res_msend_rc_ext() 147 while ((rlen = recvfrom(fd, answers[next], asize, 0, in res_msend_rc_ext() 158 for (i=next; i<nqueries && ( in res_msend_rc_ext() 159 answers[next][0] != queries[i][0] || in res_msend_rc_ext() 160 answers[next][1] != queries[i][1] ); i++); in res_msend_rc_ext() 167 switch (answers[next][3] & 15) { in res_msend_rc_ext() 180 /* Store answer in the right slot, or update next in res_msend_rc_ext() 183 if (i == next) in res_msend_rc_ext() 184 for (; next<nquerie in res_msend_rc_ext() [all...] |
/third_party/node/deps/cares/src/lib/ |
H A D | ares__llist.c | 12 * The above copyright notice and this permission notice (including the next 41 ares__llist_node_t *next; member 91 node->next = list->head; in ares__llist_attach_at() 99 node->next = NULL; in ares__llist_attach_at() 102 list->tail->next = node; in ares__llist_attach_at() 107 node->next = at; in ares__llist_attach_at() 173 if (node->next == NULL) { in ares__llist_insert_after() 178 node->next, val); in ares__llist_insert_after() 202 return node->next; in ares__llist_node_next() 259 node->prev->next in ares__llist_node_detach() [all...] |