/Linux-v5.15/lib/ |
D | list_debug.c | 21 struct list_head *next) in __list_add_valid() argument 23 if (CHECK_DATA_CORRUPTION(next->prev != prev, in __list_add_valid() 24 "list_add corruption. next->prev should be prev (%px), but was %px. (next=%px).\n", in __list_add_valid() 25 prev, next->prev, next) || in __list_add_valid() 26 CHECK_DATA_CORRUPTION(prev->next != next, in __list_add_valid() 27 "list_add corruption. prev->next should be next (%px), but was %px. (prev=%px).\n", 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() 30 "list_add double add: new=%px, prev=%px, next=%px.\n", in __list_add_valid() 31 new, prev, next)) in __list_add_valid() [all …]
|
D | plist.c | 35 WARN(n->prev != p || p->next != n, in plist_check_prev_next() 38 "next: %p, n: %p, p: %p\n", in plist_check_prev_next() 39 t, t->next, t->prev, in plist_check_prev_next() 40 p, p->next, p->prev, in plist_check_prev_next() 41 n, n->next, n->prev); in plist_check_prev_next() 46 struct list_head *prev = top, *next = top->next; in plist_check_list() local 48 plist_check_prev_next(top, prev, next); in plist_check_list() 49 while (next != top) { in plist_check_list() 50 prev = next; in plist_check_list() 51 next = prev->next; in plist_check_list() [all …]
|
/Linux-v5.15/kernel/locking/ |
D | osq_lock.c | 38 * Get a stable @node->next pointer, either for unlock() or unqueue() purposes. 46 struct optimistic_spin_node *next = NULL; in osq_wait_next() local 69 * We must xchg() the @node->next value, because if we were to in osq_wait_next() 71 * @node->next might complete Step-A and think its @prev is in osq_wait_next() 76 * wait for a new @node->next from its Step-C. in osq_wait_next() 78 if (node->next) { in osq_wait_next() 79 next = xchg(&node->next, NULL); in osq_wait_next() 80 if (next) in osq_wait_next() 87 return next; in osq_wait_next() 93 struct optimistic_spin_node *prev, *next; in osq_lock() local [all …]
|
/Linux-v5.15/drivers/memory/tegra/ |
D | tegra210-emc-cc-r21021.c | 78 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] = \ 79 next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] / \ 80 next->ptfv_list[PTFV_DVFS_SAMPLES_INDEX]; }) 86 ({ next->ptfv_list[PTFV_DQSOSC_MOVAVG_ ## dev ## _INDEX] += \ 102 next->ptfv_list[dqs] = \ 104 (next->ptfv_list[dqs] * \ 105 next->ptfv_list[w])) / \ 106 (next->ptfv_list[w] + 1); \ 109 __stringify(dev), nval, next->ptfv_list[dqs]); \ 120 struct tegra210_emc_timing *next = emc->next; in update_clock_tree_delay() local [all …]
|
/Linux-v5.15/tools/include/linux/ |
D | list.h | 15 * sometimes we already know the next/prev entries and we can 27 list->next = list; in INIT_LIST_HEAD() 35 * the prev/next entries already! 40 struct list_head *next) in __list_add() argument 42 next->prev = new; in __list_add() 43 new->next = next; in __list_add() 45 prev->next = new; in __list_add() 50 struct list_head *next); 63 __list_add(new, head, head->next); in list_add() 81 * Delete a list entry by making the prev/next entries [all …]
|
/Linux-v5.15/drivers/net/wireguard/ |
D | queueing.c | 48 #define NEXT(skb) ((skb)->prev) macro 53 NEXT(STUB(queue)) = NULL; in wg_prev_queue_init() 58 offsetof(struct sk_buff, next) != offsetof(struct prev_queue, empty.next) - in wg_prev_queue_init() 66 WRITE_ONCE(NEXT(skb), NULL); in __wg_prev_queue_enqueue() 67 WRITE_ONCE(NEXT(xchg_release(&queue->head, skb)), skb); in __wg_prev_queue_enqueue() 80 struct sk_buff *tail = queue->tail, *next = smp_load_acquire(&NEXT(tail)); in wg_prev_queue_dequeue() local 83 if (!next) in wg_prev_queue_dequeue() 85 queue->tail = next; in wg_prev_queue_dequeue() 86 tail = next; in wg_prev_queue_dequeue() 87 next = smp_load_acquire(&NEXT(next)); in wg_prev_queue_dequeue() [all …]
|
/Linux-v5.15/tools/usb/usbip/libsrc/ |
D | list.h | 14 * sometimes we already know the next/prev entries and we can 20 struct list_head *next, *prev; member 30 list->next = list; in INIT_LIST_HEAD() 38 * the prev/next entries already! 42 struct list_head *next) in __list_add() argument 44 next->prev = new; in __list_add() 45 new->next = next; in __list_add() 47 prev->next = new; in __list_add() 60 __list_add(new, head, head->next); in list_add() 64 * Delete a list entry by making the prev/next entries [all …]
|
/Linux-v5.15/include/linux/ |
D | list.h | 16 * sometimes we already know the next/prev entries and we can 35 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD() 42 struct list_head *next); 47 struct list_head *next) in __list_add_valid() argument 61 * the prev/next entries already! 65 struct list_head *next) in __list_add() argument 67 if (!__list_add_valid(new, prev, next)) in __list_add() 70 next->prev = new; in __list_add() 71 new->next = next; in __list_add() 73 WRITE_ONCE(prev->next, new); in __list_add() [all …]
|
D | list_bl.h | 39 struct hlist_bl_node *next, **pprev; member 46 h->next = NULL; in INIT_HLIST_BL_NODE() 82 n->next = first; in hlist_bl_add_head() 84 first->pprev = &n->next; in hlist_bl_add_head() 90 struct hlist_bl_node *next) in hlist_bl_add_before() argument 92 struct hlist_bl_node **pprev = next->pprev; in hlist_bl_add_before() 95 n->next = next; in hlist_bl_add_before() 96 next->pprev = &n->next; in hlist_bl_add_before() 107 n->next = prev->next; in hlist_bl_add_behind() 108 n->pprev = &prev->next; in hlist_bl_add_behind() [all …]
|
/Linux-v5.15/drivers/scsi/sym53c8xx_2/ |
D | sym_malloc.c | 64 while (!h[j].next) { in ___sym_malloc() 66 h[j].next = (m_link_p) M_GET_MEM_CLUSTER(); in ___sym_malloc() 67 if (h[j].next) in ___sym_malloc() 68 h[j].next->next = NULL; in ___sym_malloc() 74 a = h[j].next; in ___sym_malloc() 76 h[j].next = h[j].next->next; in ___sym_malloc() 80 h[j].next = (m_link_p) (a+s); in ___sym_malloc() 81 h[j].next->next = NULL; in ___sym_malloc() 120 ((m_link_p) a)->next = h[i].next; in ___sym_mfree() 121 h[i].next = (m_link_p) a; in ___sym_mfree() [all …]
|
/Linux-v5.15/arch/x86/mm/ |
D | ident_map.c | 24 unsigned long next; in ident_pud_init() local 26 for (; addr < end; addr = next) { in ident_pud_init() 30 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init() 31 if (next > end) in ident_pud_init() 32 next = end; in ident_pud_init() 48 ident_pmd_init(info, pmd, addr, next); in ident_pud_init() 54 ident_pmd_init(info, pmd, addr, next); in ident_pud_init() 64 unsigned long next; in ident_p4d_init() local 67 for (; addr < end; addr = next) { in ident_p4d_init() 71 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init() [all …]
|
/Linux-v5.15/Documentation/networking/ |
D | nexthop-group-resilient.rst | 4 Resilient Next-hop Groups 7 Resilient groups are a type of next-hop group that is aimed at minimizing 9 weights of constituent next hops. 12 the legacy multipath next-hop group, which uses the hash-threshold 15 To select a next hop, hash-threshold algorithm first assigns a range of 16 hashes to each next hop in the group, and then selects the next hop by 17 comparing the SKB hash with the individual ranges. When a next hop is 19 reassignment of parts of hash space from one next hop to another. RFC 2992 28 Before and after deletion of next hop 3 31 Note how next hop 2 gave up part of the hash space in favor of next hop 1, [all …]
|
/Linux-v5.15/mm/kasan/ |
D | init.c | 113 unsigned long next; in zero_pmd_populate() local 116 next = pmd_addr_end(addr, end); in zero_pmd_populate() 136 zero_pte_populate(pmd, addr, next); in zero_pmd_populate() 137 } while (pmd++, addr = next, addr != end); in zero_pmd_populate() 146 unsigned long next; in zero_pud_populate() local 149 next = pud_addr_end(addr, end); in zero_pud_populate() 173 zero_pmd_populate(pud, addr, next); in zero_pud_populate() 174 } while (pud++, addr = next, addr != end); in zero_pud_populate() 183 unsigned long next; in zero_p4d_populate() local 186 next = p4d_addr_end(addr, end); in zero_p4d_populate() [all …]
|
/Linux-v5.15/arch/mips/include/asm/ |
D | switch_to.h | 26 * @next: The task to begin executing. 27 * @next_ti: task_thread_info(next). 30 * the context of next. Returns prev. 33 struct task_struct *next, struct thread_info *next_ti); 62 next->thread.emulated_fp = 0; \ 88 # define __sanitize_fcr31(next) \ argument 90 unsigned long fcr31 = mask_fcr31_x(next->thread.fpu.fcr31); \ 94 pc = (void __user *)task_pt_regs(next)->cp0_epc; \ 95 next->thread.fpu.fcr31 &= ~fcr31; \ 96 force_fcr31_sig(fcr31, pc, next); \ [all …]
|
/Linux-v5.15/scripts/kconfig/ |
D | list.h | 25 struct list_head *next, *prev; member 50 for (pos = list_entry((head)->next, typeof(*pos), member); \ 52 pos = list_entry(pos->member.next, typeof(*pos), member)) 62 for (pos = list_entry((head)->next, typeof(*pos), member), \ 63 n = list_entry(pos->member.next, typeof(*pos), member); \ 65 pos = n, n = list_entry(n->member.next, typeof(*n), member)) 73 return head->next == head; in list_empty() 80 * the prev/next entries already! 84 struct list_head *next) in __list_add() argument 86 next->prev = _new; in __list_add() [all …]
|
/Linux-v5.15/net/ax25/ |
D | ax25_iface.c | 35 struct listen_struct *next; member 48 ap->next = protocol_list; in ax25_register_pid() 65 protocol_list = protocol->next; in ax25_protocol_release() 69 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release() 70 if (protocol->next->pid == pid) { in ax25_protocol_release() 71 protocol->next = protocol->next->next; in ax25_protocol_release() 75 protocol = protocol->next; in ax25_protocol_release() 115 listen->next = listen_list; in ax25_listen_register() 136 listen_list = listen->next; in ax25_listen_release() 142 while (listen != NULL && listen->next != NULL) { in ax25_listen_release() [all …]
|
/Linux-v5.15/drivers/pci/hotplug/ |
D | cpqphp_ctrl.c | 121 slot = slot->next; in cpqhp_find_slot() 307 if (!((*head)->next)) in sort_by_size() 314 if (((*head)->next) && in sort_by_size() 315 ((*head)->length > (*head)->next->length)) { in sort_by_size() 318 *head = (*head)->next; in sort_by_size() 319 current_res->next = (*head)->next; in sort_by_size() 320 (*head)->next = current_res; in sort_by_size() 325 while (current_res->next && current_res->next->next) { in sort_by_size() 326 if (current_res->next->length > current_res->next->next->length) { in sort_by_size() 328 next_res = current_res->next; in sort_by_size() [all …]
|
/Linux-v5.15/drivers/usb/host/ |
D | ohci-dbg.c | 23 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument 25 if (next != NULL) { \ 27 s_len = scnprintf (*next, *size, format, ## arg ); \ 28 *size -= s_len; *next += s_len; \ 33 /* Version for use where "next" is the address of a local variable */ 34 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument 37 s_len = scnprintf(*next, *size, format, ## arg); \ 38 *size -= s_len; *next += s_len; \ 46 char **next, in ohci_dump_intr_mask() argument 49 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n", in ohci_dump_intr_mask() [all …]
|
D | ehci-dbg.c | 108 ehci_dbg(ehci, "%s [%d] itd %p, next %08x, urb %p\n", in dbg_itd() 139 ehci_dbg(ehci, "%s [%d] sitd %p, next %08x, urb %p\n", in dbg_sitd() 379 char *next = *nextp; in qh_lines() local 398 temp = scnprintf(next, size, in qh_lines() 400 " [cur %08x next %08x buf[0] %08x]", in qh_lines() 413 next += temp; in qh_lines() 446 temp = scnprintf(next, size, in qh_lines() 456 next += temp; in qh_lines() 461 temp = scnprintf(next, size, "\n"); in qh_lines() 463 next += temp; in qh_lines() [all …]
|
/Linux-v5.15/tools/testing/selftests/bpf/progs/ |
D | test_core_read_macros.c | 13 struct callback_head___shuffled *next; member 38 /* next pointers for kernel address space have to be initialized from in handler() 41 k_probe_in.next = &k_probe_in; in handler() 42 __builtin_preserve_access_index(({k_core_in.next = &k_core_in;})); in handler() 44 k_probe_out = (long)BPF_PROBE_READ(&k_probe_in, next, next, func); in handler() 45 k_core_out = (long)BPF_CORE_READ(&k_core_in, next, next, func); in handler() 46 u_probe_out = (long)BPF_PROBE_READ_USER(u_probe_in, next, next, func); in handler() 47 u_core_out = (long)BPF_CORE_READ_USER(u_core_in, next, next, func); in handler()
|
/Linux-v5.15/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ramgk104.c | 210 struct nvkm_ram_data *next = ram->base.next; in r1373f4_fini() local 211 u8 v0 = next->bios.ramcfg_11_03_c0; in r1373f4_fini() 212 u8 v1 = next->bios.ramcfg_11_03_30; in r1373f4_fini() 243 u32 next = (prev & ~mask) | data; in gk104_ram_nuts() local 244 nvkm_memx_wr32(fuc->memx, addr, next); in gk104_ram_nuts() 255 struct nvkm_ram_data *next = ram->base.next; in gk104_ram_calc_gddr5() local 256 int vc = !next->bios.ramcfg_11_02_08; in gk104_ram_calc_gddr5() 257 int mv = !next->bios.ramcfg_11_02_04; in gk104_ram_calc_gddr5() 311 switch (next->bios.ramcfg_11_03_c0) { in gk104_ram_calc_gddr5() 318 switch (next->bios.ramcfg_11_03_30) { in gk104_ram_calc_gddr5() [all …]
|
/Linux-v5.15/fs/erofs/ |
D | zpvec.h | 30 struct page *curr, *next; member 55 if (ctor->next) in z_erofs_pagevec_ctor_next_page() 56 return ctor->next; in z_erofs_pagevec_ctor_next_page() 73 struct page *next = z_erofs_pagevec_ctor_next_page(ctor, ctor->nr); in z_erofs_pagevec_ctor_pagedown() local 77 ctor->curr = next; in z_erofs_pagevec_ctor_pagedown() 78 ctor->next = NULL; in z_erofs_pagevec_ctor_pagedown() 92 ctor->curr = ctor->next = NULL; in z_erofs_pagevec_ctor_init() 103 ctor->next = z_erofs_pagevec_ctor_next_page(ctor, i); in z_erofs_pagevec_ctor_init() 111 if (!ctor->next && type) in z_erofs_pagevec_enqueue() 122 /* should remind that collector->next never equal to 1, 2 */ in z_erofs_pagevec_enqueue() [all …]
|
/Linux-v5.15/fs/ |
D | io-wq.h | 24 struct io_wq_work_node *next; member 36 struct io_wq_work_node *next = pos->next; in wq_list_add_after() local 38 pos->next = node; in wq_list_add_after() 39 node->next = next; in wq_list_add_after() 40 if (!next) in wq_list_add_after() 47 node->next = NULL; in wq_list_add_tail() 52 list->last->next = node; in wq_list_add_tail() 63 WRITE_ONCE(list->first, last->next); in wq_list_cut() 65 prev->next = last->next; in wq_list_cut() 69 last->next = NULL; in wq_list_cut() [all …]
|
/Linux-v5.15/tools/firewire/ |
D | list.h | 3 struct list *next, *prev; member 9 list->next = list; in list_init() 16 return list->next == list; in list_empty() 23 new_link->next = link; in list_insert() 24 new_link->prev->next = new_link; in list_insert() 25 new_link->next->prev = new_link; in list_insert() 37 list_insert(list->next, new_link); in list_prepend() 43 link->prev->next = link->next; in list_remove() 44 link->next->prev = link->prev; in list_remove() 51 list_entry((list)->next, type, member) [all …]
|
/Linux-v5.15/tools/power/cpupower/lib/ |
D | cpufreq.c | 281 current->next = malloc(sizeof(*current)); in cpufreq_get_available_governors() 282 if (!current->next) in cpufreq_get_available_governors() 284 current = current->next; in cpufreq_get_available_governors() 292 current->next = NULL; in cpufreq_get_available_governors() 308 current = first->next; in cpufreq_get_available_governors() 319 struct cpufreq_available_governors *tmp, *next; in cpufreq_put_available_governors() local 326 next = tmp->next; in cpufreq_put_available_governors() 330 tmp = next; in cpufreq_put_available_governors() 358 current->next = malloc(sizeof(*current)); in cpufreq_get_available_frequencies() 359 if (!current->next) in cpufreq_get_available_frequencies() [all …]
|