/Linux-v5.4/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 | ioremap.c | 107 unsigned long next; in ioremap_pmd_range() local 113 next = pmd_addr_end(addr, end); in ioremap_pmd_range() 115 if (ioremap_try_huge_pmd(pmd, addr, next, phys_addr, prot)) in ioremap_pmd_range() 118 if (ioremap_pte_range(pmd, addr, next, phys_addr, prot)) in ioremap_pmd_range() 120 } while (pmd++, phys_addr += (next - addr), addr = next, addr != end); in ioremap_pmd_range() 150 unsigned long next; in ioremap_pud_range() local 156 next = pud_addr_end(addr, end); in ioremap_pud_range() 158 if (ioremap_try_huge_pud(pud, addr, next, phys_addr, prot)) in ioremap_pud_range() 161 if (ioremap_pmd_range(pud, addr, next, phys_addr, prot)) in ioremap_pud_range() 163 } while (pud++, phys_addr += (next - addr), addr = next, addr != end); in ioremap_pud_range() [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.4/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.4/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.4/include/linux/ |
D | list.h | 16 * sometimes we already know the next/prev entries and we can 28 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD() 35 struct list_head *next); 40 struct list_head *next) in __list_add_valid() argument 54 * the prev/next entries already! 58 struct list_head *next) in __list_add() argument 60 if (!__list_add_valid(new, prev, next)) in __list_add() 63 next->prev = new; in __list_add() 64 new->next = next; in __list_add() 66 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 …]
|
D | rculist.h | 33 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU() 38 * return the ->next pointer of a list_head in an rcu safe 41 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next))) 65 * the prev/next entries already! 68 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument 70 if (!__list_add_valid(new, prev, next)) in __list_add_rcu() 73 new->next = next; in __list_add_rcu() 76 next->prev = new; in __list_add_rcu() 97 __list_add_rcu(new, head, head->next); in list_add_rcu() 191 new->next = old->next; in list_replace_rcu() [all …]
|
/Linux-v5.4/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.4/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 66 for (; addr < end; addr = next) { in ident_p4d_init() 70 next = (addr & P4D_MASK) + P4D_SIZE; in ident_p4d_init() [all …]
|
/Linux-v5.4/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.4/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.4/mm/kasan/ |
D | init.c | 117 unsigned long next; in zero_pmd_populate() local 120 next = pmd_addr_end(addr, end); in zero_pmd_populate() 140 zero_pte_populate(pmd, addr, next); in zero_pmd_populate() 141 } while (pmd++, addr = next, addr != end); in zero_pmd_populate() 150 unsigned long next; in zero_pud_populate() local 153 next = pud_addr_end(addr, end); in zero_pud_populate() 177 zero_pmd_populate(pud, addr, next); in zero_pud_populate() 178 } while (pud++, addr = next, addr != end); in zero_pud_populate() 187 unsigned long next; in zero_p4d_populate() local 190 next = p4d_addr_end(addr, end); in zero_p4d_populate() [all …]
|
/Linux-v5.4/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.4/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.4/drivers/gpu/drm/mediatek/ |
D | mtk_drm_ddp.c | 198 enum mtk_ddp_comp_id next, in mtk_ddp_mout_en() argument 203 if (cur == DDP_COMPONENT_OVL0 && next == DDP_COMPONENT_COLOR0) { in mtk_ddp_mout_en() 206 } else if (cur == DDP_COMPONENT_OVL0 && next == DDP_COMPONENT_RDMA0) { in mtk_ddp_mout_en() 209 } else if (cur == DDP_COMPONENT_OD0 && next == DDP_COMPONENT_RDMA0) { in mtk_ddp_mout_en() 212 } else if (cur == DDP_COMPONENT_UFOE && next == DDP_COMPONENT_DSI0) { in mtk_ddp_mout_en() 215 } else if (cur == DDP_COMPONENT_OVL1 && next == DDP_COMPONENT_COLOR1) { in mtk_ddp_mout_en() 218 } else if (cur == DDP_COMPONENT_GAMMA && next == DDP_COMPONENT_RDMA1) { in mtk_ddp_mout_en() 221 } else if (cur == DDP_COMPONENT_OD1 && next == DDP_COMPONENT_RDMA1) { in mtk_ddp_mout_en() 224 } else if (cur == DDP_COMPONENT_RDMA0 && next == DDP_COMPONENT_DPI0) { in mtk_ddp_mout_en() 227 } else if (cur == DDP_COMPONENT_RDMA0 && next == DDP_COMPONENT_DPI1) { in mtk_ddp_mout_en() [all …]
|
/Linux-v5.4/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.4/block/ |
D | cmdline-parser.c | 43 char *next = strchr(++partdef, ')'); in parse_subpart() local 45 if (!next) { in parse_subpart() 51 length = min_t(int, next - partdef, in parse_subpart() 56 partdef = ++next; in parse_subpart() 93 char *next; in parse_parts() local 105 next = strchr(bdevdef, ':'); in parse_parts() 106 if (!next) { in parse_parts() 111 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts() 118 while (next && *(++next)) { in parse_parts() 119 bdevdef = next; in parse_parts() [all …]
|
/Linux-v5.4/mm/ |
D | pagewalk.c | 33 unsigned long next; in walk_pmd_range() local 40 next = pmd_addr_end(addr, end); in walk_pmd_range() 43 err = ops->pte_hole(addr, next, walk); in walk_pmd_range() 53 err = ops->pmd_entry(pmd, addr, next, walk); in walk_pmd_range() 67 err = walk_pte_range(pmd, addr, next, walk); in walk_pmd_range() 70 } while (pmd++, addr = next, addr != end); in walk_pmd_range() 79 unsigned long next; in walk_pud_range() local 86 next = pud_addr_end(addr, end); in walk_pud_range() 89 err = ops->pte_hole(addr, next, walk); in walk_pud_range() 99 err = ops->pud_entry(pud, addr, next, walk); in walk_pud_range() [all …]
|
/Linux-v5.4/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.4/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.4/fs/erofs/ |
D | zpvec.h | 31 struct page *curr, *next; member 56 if (ctor->next) in z_erofs_pagevec_ctor_next_page() 57 return ctor->next; in z_erofs_pagevec_ctor_next_page() 74 struct page *next = z_erofs_pagevec_ctor_next_page(ctor, ctor->nr); in z_erofs_pagevec_ctor_pagedown() local 78 ctor->curr = next; in z_erofs_pagevec_ctor_pagedown() 79 ctor->next = NULL; in z_erofs_pagevec_ctor_pagedown() 93 ctor->curr = ctor->next = NULL; in z_erofs_pagevec_ctor_init() 104 ctor->next = z_erofs_pagevec_ctor_next_page(ctor, i); in z_erofs_pagevec_ctor_init() 114 if (!ctor->next && type) in z_erofs_pagevec_enqueue() 125 /* should remind that collector->next never equal to 1, 2 */ in z_erofs_pagevec_enqueue() [all …]
|
/Linux-v5.4/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.4/ipc/ |
D | msgutil.c | 24 * The next 2 defines are here bc this is the only file 38 struct msg_msgseg *next; member 39 /* the next part of the message follows immediately */ 57 msg->next = NULL; in alloc_msg() 61 pseg = &msg->next; in alloc_msg() 72 seg->next = NULL; in alloc_msg() 73 pseg = &seg->next; in alloc_msg() 99 for (seg = msg->next; seg != NULL; seg = seg->next) { in load_msg() 130 for (dst_pseg = dst->next, src_pseg = src->next; in copy_msg() 132 dst_pseg = dst_pseg->next, src_pseg = src_pseg->next) { in copy_msg() [all …]
|