/linux-4.4.14/lib/ |
D | list_debug.c | 24 struct list_head *next) in __list_add() argument 26 WARN(next->prev != prev, in __list_add() 29 prev, next->prev, next); in __list_add() 30 WARN(prev->next != next, in __list_add() 33 next, prev->next, prev); in __list_add() 34 WARN(new == prev || new == next, in __list_add() 36 new, prev, next); in __list_add() 37 next->prev = new; in __list_add() 38 new->next = next; in __list_add() 40 prev->next = new; in __list_add() [all …]
|
D | list_sort.c | 29 tail->next = a; in merge() 30 a = a->next; in merge() 32 tail->next = b; in merge() 33 b = b->next; in merge() 35 tail = tail->next; in merge() 37 tail->next = a?:b; in merge() 38 return head.next; in merge() 60 tail->next = a; in merge_and_restore_back_links() 62 a = a->next; in merge_and_restore_back_links() 64 tail->next = b; in merge_and_restore_back_links() [all …]
|
D | plist.c | 36 WARN(n->prev != p || p->next != n, in plist_check_prev_next() 40 t, t->next, t->prev, in plist_check_prev_next() 41 p, p->next, p->prev, in plist_check_prev_next() 42 n, n->next, n->prev); in plist_check_prev_next() 47 struct list_head *prev = top, *next = top->next; in plist_check_list() local 49 plist_check_prev_next(top, prev, next); in plist_check_list() 50 while (next != top) { in plist_check_list() 51 prev = next; in plist_check_list() 52 next = prev->next; in plist_check_list() 53 plist_check_prev_next(top, prev, next); in plist_check_list() [all …]
|
D | ioremap.c | 75 unsigned long next; in ioremap_pmd_range() local 82 next = pmd_addr_end(addr, end); in ioremap_pmd_range() 85 ((next - addr) == PMD_SIZE) && in ioremap_pmd_range() 91 if (ioremap_pte_range(pmd, addr, next, phys_addr + addr, prot)) in ioremap_pmd_range() 93 } while (pmd++, addr = next, addr != end); in ioremap_pmd_range() 101 unsigned long next; in ioremap_pud_range() local 108 next = pud_addr_end(addr, end); in ioremap_pud_range() 111 ((next - addr) == PUD_SIZE) && in ioremap_pud_range() 117 if (ioremap_pmd_range(pud, addr, next, phys_addr + addr, prot)) in ioremap_pud_range() 119 } while (pud++, addr = next, addr != end); in ioremap_pud_range() [all …]
|
D | timerqueue.c | 59 if (!head->next || node->expires.tv64 < head->next->expires.tv64) { in timerqueue_add() 60 head->next = node; in timerqueue_add() 80 if (head->next == node) { in timerqueue_del() 83 head->next = rbn ? in timerqueue_del() 88 return head->next != NULL; in timerqueue_del() 103 struct rb_node *next; in timerqueue_iterate_next() local 107 next = rb_next(&node->node); in timerqueue_iterate_next() 108 if (!next) in timerqueue_iterate_next() 110 return container_of(next, struct timerqueue_node, node); in timerqueue_iterate_next()
|
D | llist.c | 44 new_last->next = first = ACCESS_ONCE(head->first); in llist_add_batch() 67 struct llist_node *entry, *old_entry, *next; in llist_del_first() local 74 next = READ_ONCE(entry->next); in llist_del_first() 75 entry = cmpxchg(&head->first, old_entry, next); in llist_del_first() 97 head = head->next; in llist_reverse_order() 98 tmp->next = new_head; in llist_reverse_order()
|
D | klist.c | 379 struct klist_node *next; in klist_next() local 384 next = to_klist_node(last->n_node.next); in klist_next() 388 next = to_klist_node(i->i_klist->k_list.next); in klist_next() 391 while (next != to_klist_node(&i->i_klist->k_list)) { in klist_next() 392 if (likely(!knode_dead(next))) { in klist_next() 393 kref_get(&next->n_ref); in klist_next() 394 i->i_cur = next; in klist_next() 397 next = to_klist_node(next->n_node.next); in klist_next()
|
/linux-4.4.14/include/linux/ |
D | list.h | 27 list->next = list; in INIT_LIST_HEAD() 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() 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 …]
|
D | rculist.h | 32 WRITE_ONCE(list->next, list); in INIT_LIST_HEAD_RCU() 40 #define list_next_rcu(list) (*((struct list_head __rcu **)(&(list)->next))) 50 struct list_head *prev, struct list_head *next) in __list_add_rcu() argument 52 new->next = next; in __list_add_rcu() 55 next->prev = new; in __list_add_rcu() 59 struct list_head *prev, struct list_head *next); 80 __list_add_rcu(new, head, head->next); in list_add_rcu() 174 new->next = old->next; in list_replace_rcu() 177 new->next->prev = new; in list_replace_rcu() 202 struct list_head *first = list->next; in list_splice_init_rcu() [all …]
|
D | list_nulls.h | 25 struct hlist_nulls_node *next, **pprev; member 68 n->next = first; in hlist_nulls_add_head() 72 first->pprev = &n->next; in hlist_nulls_add_head() 77 struct hlist_nulls_node *next = n->next; in __hlist_nulls_del() local 80 WRITE_ONCE(*pprev, next); in __hlist_nulls_del() 81 if (!is_a_nulls(next)) in __hlist_nulls_del() 82 next->pprev = pprev; in __hlist_nulls_del() 103 pos = pos->next) 115 pos = pos->next)
|
D | list_bl.h | 38 struct hlist_bl_node *next, **pprev; member 45 h->next = NULL; in INIT_HLIST_BL_NODE() 81 n->next = first; in hlist_bl_add_head() 83 first->pprev = &n->next; in hlist_bl_add_head() 90 struct hlist_bl_node *next = n->next; in __hlist_bl_del() local 98 ((unsigned long)next | in __hlist_bl_del() 100 if (next) in __hlist_bl_del() 101 next->pprev = pprev; in __hlist_bl_del() 107 n->next = LIST_POISON1; in hlist_bl_del() 146 pos = pos->next) [all …]
|
/linux-4.4.14/kernel/locking/ |
D | osq_lock.c | 40 struct optimistic_spin_node *next = NULL; in osq_wait_next() local 72 if (node->next) { in osq_wait_next() 73 next = xchg(&node->next, NULL); in osq_wait_next() 74 if (next) in osq_wait_next() 81 return next; in osq_wait_next() 87 struct optimistic_spin_node *prev, *next; in osq_lock() local 92 node->next = NULL; in osq_lock() 107 WRITE_ONCE(prev->next, node); in osq_lock() 139 if (prev->next == node && in osq_lock() 140 cmpxchg(&prev->next, node, NULL) == node) in osq_lock() [all …]
|
D | mcs_spinlock.h | 18 struct mcs_spinlock *next; member 68 node->next = NULL; in mcs_spin_lock() 88 WRITE_ONCE(prev->next, node); in mcs_spin_lock() 101 struct mcs_spinlock *next = READ_ONCE(node->next); in mcs_spin_unlock() local 103 if (likely(!next)) { in mcs_spin_unlock() 110 while (!(next = READ_ONCE(node->next))) in mcs_spin_unlock() 115 arch_mcs_spin_unlock_contended(&next->locked); in mcs_spin_unlock()
|
D | rwsem-xadd.c | 126 struct list_head *next; in __rwsem_do_wake() local 129 waiter = list_entry(sem->wait_list.next, struct rwsem_waiter, list); in __rwsem_do_wake() 168 if (waiter->list.next == &sem->wait_list) in __rwsem_do_wake() 171 waiter = list_entry(waiter->list.next, in __rwsem_do_wake() 184 next = sem->wait_list.next; in __rwsem_do_wake() 187 waiter = list_entry(next, struct rwsem_waiter, list); in __rwsem_do_wake() 188 next = waiter->list.next; in __rwsem_do_wake() 203 sem->wait_list.next = next; in __rwsem_do_wake() 204 next->prev = &sem->wait_list; in __rwsem_do_wake()
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | mkregtable.c | 42 struct list_head *next, *prev; member 52 list->next = list; in INIT_LIST_HEAD() 64 struct list_head *prev, struct list_head *next) in __list_add() argument 66 next->prev = new; in __list_add() 67 new->next = next; in __list_add() 69 prev->next = new; in __list_add() 73 struct list_head *prev, struct list_head *next); 86 __list_add(new, head, head->next); in list_add() 109 static inline void __list_del(struct list_head *prev, struct list_head *next) in __list_del() argument 111 next->prev = prev; in __list_del() [all …]
|
D | radeon_mem.c | 54 newblock->next = p->next; in split_block() 56 p->next->prev = newblock; in split_block() 57 p->next = newblock; in split_block() 71 newblock->next = p->next; in split_block() 73 p->next->prev = newblock; in split_block() 74 p->next = newblock; in split_block() 117 if (p->next->file_priv == NULL) { in free_block() 118 struct mem_block *q = p->next; in free_block() 120 p->next = q->next; in free_block() 121 p->next->prev = p; in free_block() [all …]
|
/linux-4.4.14/tools/usb/usbip/libsrc/ |
D | list.h | 19 struct list_head *next, *prev; member 29 list->next = list; in INIT_LIST_HEAD() 41 struct list_head *next) in __list_add() argument 43 next->prev = new; in __list_add() 44 new->next = next; in __list_add() 46 prev->next = new; in __list_add() 59 __list_add(new, head, head->next); in list_add() 69 static inline void __list_del(struct list_head * prev, struct list_head * next) in __list_del() argument 71 next->prev = prev; in __list_del() 72 prev->next = next; in __list_del() [all …]
|
D | names.c | 44 struct vendor *next; member 50 struct product *next; member 56 struct class *next; member 62 struct subclass *next; member 68 struct protocol *next; member 74 struct genericstrtable *next; member 106 for (; v; v = v->next) in names_vendor() 117 for (; p; p = p->next) in names_product() 128 for (; c; c = c->next) in names_class() 139 for (; s; s = s->next) in names_subclass() [all …]
|
/linux-4.4.14/drivers/scsi/sym53c8xx_2/ |
D | sym_malloc.c | 77 while (!h[j].next) { in ___sym_malloc() 79 h[j].next = (m_link_p) M_GET_MEM_CLUSTER(); in ___sym_malloc() 80 if (h[j].next) in ___sym_malloc() 81 h[j].next->next = NULL; in ___sym_malloc() 87 a = h[j].next; in ___sym_malloc() 89 h[j].next = h[j].next->next; in ___sym_malloc() 93 h[j].next = (m_link_p) (a+s); in ___sym_malloc() 94 h[j].next->next = NULL; in ___sym_malloc() 133 ((m_link_p) a)->next = h[i].next; in ___sym_mfree() 134 h[i].next = (m_link_p) a; in ___sym_mfree() [all …]
|
/linux-4.4.14/arch/blackfin/mm/ |
D | sram-alloc.c | 31 struct sram_piece *next; member 78 per_cpu(free_l1_ssram_head, cpu).next = in l1sram_init() 80 if (!per_cpu(free_l1_ssram_head, cpu).next) { in l1sram_init() 85 per_cpu(free_l1_ssram_head, cpu).next->paddr = (void *)get_l1_scratch_start_cpu(cpu) + reserve; in l1sram_init() 86 per_cpu(free_l1_ssram_head, cpu).next->size = L1_SCRATCH_LENGTH - reserve; in l1sram_init() 87 per_cpu(free_l1_ssram_head, cpu).next->pid = 0; in l1sram_init() 88 per_cpu(free_l1_ssram_head, cpu).next->next = NULL; in l1sram_init() 90 per_cpu(used_l1_ssram_head, cpu).next = NULL; in l1sram_init() 106 per_cpu(free_l1_data_A_sram_head, cpu).next = in l1_data_sram_init() 108 if (!per_cpu(free_l1_data_A_sram_head, cpu).next) { in l1_data_sram_init() [all …]
|
/linux-4.4.14/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() 138 entry->next = next; in __list_add() 140 prev->next = entry; in __list_add() 161 __list_add(entry, head, head->next); in list_add() 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-4.4.14/scripts/kconfig/ |
D | list.h | 24 struct list_head *next, *prev; member 49 for (pos = list_entry((head)->next, typeof(*pos), member); \ 51 pos = list_entry(pos->member.next, typeof(*pos), member)) 61 for (pos = list_entry((head)->next, typeof(*pos), member), \ 62 n = list_entry(pos->member.next, typeof(*pos), member); \ 64 pos = n, n = list_entry(n->member.next, typeof(*n), member)) 72 return head->next == head; in list_empty() 83 struct list_head *next) in __list_add() argument 85 next->prev = _new; in __list_add() 86 _new->next = next; in __list_add() [all …]
|
D | kxgettext.c | 43 goto next; in escape() 50 next: in escape() 64 struct file_line *next; member 78 self->next = NULL; in file_line__new() 86 struct message *next; member 109 self->next = NULL; in message__new() 127 m = m->next; in mesage__find() 142 fl->next = self->files; in message__add_file_line() 163 m->next = message__list; in message__add() 184 for (child = menu->list; child != NULL; child = child->next) in menu_build_message_list() [all …]
|
D | menu.c | 59 last_entry_ptr = &menu->next; in menu_add_entry() 78 last_entry_ptr = ¤t_menu->next; in menu_end_menu() 236 for (prop = sym->prop; prop; prop = prop->next) { in sym_check_prop() 295 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize() 303 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize() 314 for (menu = parent->list; menu; menu = menu->next) { in menu_finalize() 323 for (; prop; prop = prop->next) { in menu_finalize() 339 for (menu = parent->list; menu; menu = menu->next) in menu_finalize() 346 for (menu = parent->next; menu; menu = menu->next) { in menu_finalize() 351 goto next; in menu_finalize() [all …]
|
/linux-4.4.14/net/ax25/ |
D | ax25_iface.c | 38 struct listen_struct *next; member 51 ap->next = protocol_list; in ax25_register_pid() 68 protocol_list = protocol->next; in ax25_protocol_release() 72 while (protocol != NULL && protocol->next != NULL) { in ax25_protocol_release() 73 if (protocol->next->pid == pid) { in ax25_protocol_release() 74 protocol->next = protocol->next->next; in ax25_protocol_release() 78 protocol = protocol->next; in ax25_protocol_release() 118 listen->next = listen_list; in ax25_listen_register() 139 listen_list = listen->next; in ax25_listen_release() 145 while (listen != NULL && listen->next != NULL) { in ax25_listen_release() [all …]
|
D | ax25_dev.c | 40 for (ax25_dev = ax25_dev_list; ax25_dev != NULL; ax25_dev = ax25_dev->next) in ax25_addr_ax25dev() 87 ax25_dev->next = ax25_dev_list; in ax25_dev_device_up() 112 for (s = ax25_dev_list; s != NULL; s = s->next) in ax25_dev_device_down() 117 ax25_dev_list = s->next; in ax25_dev_device_down() 124 while (s != NULL && s->next != NULL) { in ax25_dev_device_down() 125 if (s->next == ax25_dev) { in ax25_dev_device_down() 126 s->next = ax25_dev->next; in ax25_dev_device_down() 133 s = s->next; in ax25_dev_device_down() 193 ax25_dev = ax25_dev->next; in ax25_dev_free()
|
D | ax25_route.c | 53 ax25_rt = ax25_rt->next; in ax25_rt_device_down() 57 ax25_route_list = s->next; in ax25_rt_device_down() 61 for (t = ax25_route_list; t != NULL; t = t->next) { in ax25_rt_device_down() 62 if (t->next == s) { in ax25_rt_device_down() 63 t->next = s->next; in ax25_rt_device_down() 109 ax25_rt = ax25_rt->next; in ax25_rt_add() 135 ax25_rt->next = ax25_route_list; in ax25_rt_add() 161 ax25_rt = ax25_rt->next; in ax25_rt_del() 165 ax25_route_list = s->next; in ax25_rt_del() 168 for (t = ax25_route_list; t != NULL; t = t->next) { in ax25_rt_del() [all …]
|
/linux-4.4.14/drivers/pci/hotplug/ |
D | cpqphp_ctrl.c | 135 slot = slot->next; in cpqhp_find_slot() 321 if (!((*head)->next)) in sort_by_size() 328 if (((*head)->next) && in sort_by_size() 329 ((*head)->length > (*head)->next->length)) { in sort_by_size() 332 *head = (*head)->next; in sort_by_size() 333 current_res->next = (*head)->next; in sort_by_size() 334 (*head)->next = current_res; in sort_by_size() 339 while (current_res->next && current_res->next->next) { in sort_by_size() 340 if (current_res->next->length > current_res->next->next->length) { in sort_by_size() 342 next_res = current_res->next; in sort_by_size() [all …]
|
D | ibmphp_res.c | 417 range_cur = range_cur->next; in add_bus_range() 433 range->next = range_cur; in add_bus_range() 438 range->next = NULL; in add_bus_range() 439 range_prev->next = range; in add_bus_range() 444 range_prev->next = range; in add_bus_range() 445 range->next = range_cur; in add_bus_range() 452 range_cur = range_cur->next; in add_bus_range() 489 if (res->next) in update_resources() 490 res = res->next; in update_resources() 503 res = res->next; in update_resources() [all …]
|
D | cpqphp_pci.c | 562 struct pci_func *next; in cpqhp_save_base_addr_length() local 581 next = cpqhp_slot_list[sub_bus]; in cpqhp_save_base_addr_length() 583 while (next != NULL) { in cpqhp_save_base_addr_length() 584 rc = cpqhp_save_base_addr_length(ctrl, next); in cpqhp_save_base_addr_length() 588 next = next->next; in cpqhp_save_base_addr_length() 742 bus_node->next = func->bus_head; in cpqhp_save_used_resources() 757 io_node->next = func->io_head; in cpqhp_save_used_resources() 773 mem_node->next = func->mem_head; in cpqhp_save_used_resources() 789 p_mem_node->next = func->p_mem_head; in cpqhp_save_used_resources() 822 io_node->next = func->io_head; in cpqhp_save_used_resources() [all …]
|
D | cpqphp_sysfs.c | 53 res = res->next; in show_ctrl() 60 res = res->next; in show_ctrl() 67 res = res->next; in show_ctrl() 74 res = res->next; in show_ctrl() 99 res = res->next; in show_dev() 106 res = res->next; in show_dev() 113 res = res->next; in show_dev() 120 res = res->next; in show_dev() 122 slot=slot->next; in show_dev()
|
/linux-4.4.14/mm/ |
D | pagewalk.c | 31 unsigned long next; in walk_pmd_range() local 37 next = pmd_addr_end(addr, end); in walk_pmd_range() 40 err = walk->pte_hole(addr, next, walk); in walk_pmd_range() 50 err = walk->pmd_entry(pmd, addr, next, walk); in walk_pmd_range() 64 err = walk_pte_range(pmd, addr, next, walk); in walk_pmd_range() 67 } while (pmd++, addr = next, addr != end); in walk_pmd_range() 76 unsigned long next; in walk_pud_range() local 81 next = pud_addr_end(addr, end); in walk_pud_range() 84 err = walk->pte_hole(addr, next, walk); in walk_pud_range() 90 err = walk_pmd_range(pud, addr, next, walk); in walk_pud_range() [all …]
|
D | slob.c | 145 static void set_slob(slob_t *s, slobidx_t size, slob_t *next) in set_slob() argument 148 slobidx_t offset = next - base; in set_slob() 173 slobidx_t next; in slob_next() local 176 next = -s[0].units; in slob_next() 178 next = s[1].units; in slob_next() 179 return base+next; in slob_next() 230 slob_t *next; in slob_page_alloc() local 233 next = slob_next(cur); in slob_page_alloc() 234 set_slob(aligned, avail - delta, next); in slob_page_alloc() 241 next = slob_next(cur); in slob_page_alloc() [all …]
|
D | mmap.c | 272 struct vm_area_struct *next = vma->vm_next; in remove_vma() local 281 return next; in remove_vma() 709 struct vm_area_struct *next; in __vma_unlink() local 712 prev->vm_next = next = vma->vm_next; in __vma_unlink() 713 if (next) in __vma_unlink() 714 next->vm_prev = prev; in __vma_unlink() 731 struct vm_area_struct *next = vma->vm_next; in vma_adjust() local 741 if (next && !insert) { in vma_adjust() 744 if (end >= next->vm_end) { in vma_adjust() 749 again: remove_next = 1 + (end > next->vm_end); in vma_adjust() [all …]
|
D | memory.c | 189 if (batch->next) { in tlb_next_batch() 190 tlb->active = batch->next; in tlb_next_batch() 202 batch->next = NULL; in tlb_next_batch() 206 tlb->active->next = batch; in tlb_next_batch() 224 tlb->local.next = NULL; in tlb_gather_mmu() 254 for (batch = &tlb->local; batch && batch->nr; batch = batch->next) { in tlb_flush_mmu_free() 273 struct mmu_gather_batch *batch, *next; in tlb_finish_mmu() local 280 for (batch = tlb->local.next; batch; batch = next) { in tlb_finish_mmu() 281 next = batch->next; in tlb_finish_mmu() 284 tlb->local.next = NULL; in tlb_finish_mmu() [all …]
|
/linux-4.4.14/arch/x86/include/asm/ |
D | mmu_context.h | 16 struct mm_struct *next) in paravirt_activate_mm() argument 107 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 112 if (likely(prev != next)) { in switch_mm() 115 this_cpu_write(cpu_tlbstate.active_mm, next); in switch_mm() 117 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 147 load_cr3(next->pgd); in switch_mm() 155 load_mm_cr4(next); in switch_mm() 170 if (unlikely(prev->context.ldt != next->context.ldt)) in switch_mm() 171 load_mm_ldt(next); in switch_mm() 177 BUG_ON(this_cpu_read(cpu_tlbstate.active_mm) != next); in switch_mm() [all …]
|
D | switch_to.h | 6 struct task_struct *next); 31 #define switch_to(prev, next, last) \ argument 66 : [next_sp] "m" (next->thread.sp), \ 67 [next_ip] "m" (next->thread.ip), \ 71 [next] "d" (next) \ 108 #define switch_to(prev, next, last) \ argument 122 : [next] "S" (next), [prev] "D" (prev), \
|
/linux-4.4.14/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() 309 switch (next->bios.ramcfg_11_03_c0) { in gk104_ram_calc_gddr5() 316 switch (next->bios.ramcfg_11_03_30) { in gk104_ram_calc_gddr5() [all …]
|
D | gddr5.c | 41 xd = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr5_calc() 43 switch (ram->next->bios.ramcfg_ver) { in nvkm_gddr5_calc() 45 pd = ram->next->bios.ramcfg_11_01_80; in nvkm_gddr5_calc() 46 lf = ram->next->bios.ramcfg_11_01_40; in nvkm_gddr5_calc() 47 vh = ram->next->bios.ramcfg_11_02_10; in nvkm_gddr5_calc() 48 vr = ram->next->bios.ramcfg_11_02_04; in nvkm_gddr5_calc() 49 vo = ram->next->bios.ramcfg_11_06; in nvkm_gddr5_calc() 50 l3 = !ram->next->bios.ramcfg_11_07_02; in nvkm_gddr5_calc() 56 switch (ram->next->bios.timing_ver) { in nvkm_gddr5_calc() 58 WL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr5_calc() [all …]
|
D | gddr3.c | 75 switch (ram->next->bios.timing_ver) { in nvkm_gddr3_calc() 77 CWL = ram->next->bios.timing_10_CWL; in nvkm_gddr3_calc() 78 CL = ram->next->bios.timing_10_CL; in nvkm_gddr3_calc() 79 WR = ram->next->bios.timing_10_WR; in nvkm_gddr3_calc() 80 DLL = !ram->next->bios.ramcfg_DLLoff; in nvkm_gddr3_calc() 81 ODT = ram->next->bios.timing_10_ODT; in nvkm_gddr3_calc() 82 RON = ram->next->bios.ramcfg_RON; in nvkm_gddr3_calc() 85 CWL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_gddr3_calc() 86 CL = (ram->next->bios.timing[1] & 0x0000001f) >> 0; in nvkm_gddr3_calc() 87 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_gddr3_calc() [all …]
|
D | sddr3.c | 73 DLL = !ram->next->bios.ramcfg_DLLoff; in nvkm_sddr3_calc() 75 switch (ram->next->bios.timing_ver) { in nvkm_sddr3_calc() 77 if (ram->next->bios.timing_hdr < 0x17) { in nvkm_sddr3_calc() 81 CWL = ram->next->bios.timing_10_CWL; in nvkm_sddr3_calc() 82 CL = ram->next->bios.timing_10_CL; in nvkm_sddr3_calc() 83 WR = ram->next->bios.timing_10_WR; in nvkm_sddr3_calc() 84 ODT = ram->next->bios.timing_10_ODT; in nvkm_sddr3_calc() 87 CWL = (ram->next->bios.timing[1] & 0x00000f80) >> 7; in nvkm_sddr3_calc() 88 CL = (ram->next->bios.timing[1] & 0x0000001f) >> 0; in nvkm_sddr3_calc() 89 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_sddr3_calc()
|
D | sddr2.c | 64 switch (ram->next->bios.timing_ver) { in nvkm_sddr2_calc() 66 CL = ram->next->bios.timing_10_CL; in nvkm_sddr2_calc() 67 WR = ram->next->bios.timing_10_WR; in nvkm_sddr2_calc() 68 DLL = !ram->next->bios.ramcfg_DLLoff; in nvkm_sddr2_calc() 69 ODT = ram->next->bios.timing_10_ODT & 3; in nvkm_sddr2_calc() 72 CL = (ram->next->bios.timing[1] & 0x0000001f); in nvkm_sddr2_calc() 73 WR = (ram->next->bios.timing[2] & 0x007f0000) >> 16; in nvkm_sddr2_calc() 79 if (ram->next->bios.timing_ver == 0x20 || in nvkm_sddr2_calc() 80 ram->next->bios.ramcfg_timing == 0xff) { in nvkm_sddr2_calc()
|
D | ramnv50.c | 97 unkt3b = 0x19 + ram->base.next->bios.rammap_00_16_40; in nv50_ram_timing_calc() 99 ram->base.next->bios.rammap_00_16_40) << 16 | in nv50_ram_timing_calc() 227 struct nvkm_ram_data *next; in nv50_ram_calc() local 235 next = &ram->base.target; in nv50_ram_calc() 236 next->freq = freq; in nv50_ram_calc() 237 ram->base.next = next; in nv50_ram_calc() 251 nvbios_rammapEp_from_perf(bios, data, hdr, &next->bios); in nv50_ram_calc() 261 &next->bios); in nv50_ram_calc() 268 if (next->bios.ramcfg_timing != 0xff) { in nv50_ram_calc() 269 data = nvbios_timingEp(bios, next->bios.ramcfg_timing, in nv50_ram_calc() [all …]
|
D | ramgt215.c | 502 struct nvkm_ram_data *next; in gt215_ram_calc() local 511 next = &ram->base.target; in gt215_ram_calc() 512 next->freq = freq; in gt215_ram_calc() 513 ram->base.next = next; in gt215_ram_calc() 520 &next->bios); in gt215_ram_calc() 534 &ver, &hdr, &next->bios); in gt215_ram_calc() 541 if (next->bios.ramcfg_timing != 0xff) { in gt215_ram_calc() 542 data = nvbios_timingEp(bios, next->bios.ramcfg_timing, in gt215_ram_calc() 544 &next->bios); in gt215_ram_calc() 597 if (!next->bios.ramcfg_DLLoff) in gt215_ram_calc() [all …]
|
/linux-4.4.14/drivers/acpi/acpica/ |
D | pstree.c | 107 arg = arg->common.next; in acpi_ps_get_arg() 166 while (prev_arg->common.next) { in acpi_ps_append_arg() 167 prev_arg = prev_arg->common.next; in acpi_ps_append_arg() 169 prev_arg->common.next = arg; in acpi_ps_append_arg() 180 arg = arg->common.next; in acpi_ps_append_arg() 203 union acpi_parse_object *next = NULL; in acpi_ps_get_depth_next() local 215 next = acpi_ps_get_arg(op, 0); in acpi_ps_get_depth_next() 216 if (next) { in acpi_ps_get_depth_next() 217 return (next); in acpi_ps_get_depth_next() 222 next = op->common.next; in acpi_ps_get_depth_next() [all …]
|
D | exdump.c | 156 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(region.next), "Next"} 244 {ACPI_EXD_HDLR_LIST, ACPI_EXD_OFFSET(address_space.next), "Next"}, 257 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(notify.next[0]), 259 {ACPI_EXD_POINTER, ACPI_EXD_OFFSET(notify.next[1]), "Next Device Notify"} 373 union acpi_operand_object *next; in acpi_ex_dump_object() local 471 next = start; in acpi_ex_dump_object() 473 acpi_os_printf("%20s : %p", name, next); in acpi_ex_dump_object() 474 if (next) { in acpi_ex_dump_object() 477 (next), next->common.type); in acpi_ex_dump_object() 479 while (next->common.next_object) { in acpi_ex_dump_object() [all …]
|
D | pswalk.c | 65 union acpi_parse_object *next = NULL; in acpi_ps_delete_parse_tree() local 80 next = acpi_ps_get_arg(op, 0); in acpi_ps_delete_parse_tree() 81 if (next) { in acpi_ps_delete_parse_tree() 85 op = next; in acpi_ps_delete_parse_tree() 92 next = op->common.next; in acpi_ps_delete_parse_tree() 102 if (next) { in acpi_ps_delete_parse_tree() 103 op = next; in acpi_ps_delete_parse_tree()
|
D | evgpeutil.c | 98 gpe_block = gpe_block->next; in acpi_ev_walk_gpe_list() 101 gpe_xrupt_info = gpe_xrupt_info->next; in acpi_ev_walk_gpe_list() 184 next_gpe_xrupt = next_gpe_xrupt->next; in acpi_ev_get_gpe_xrupt_block() 201 while (next_gpe_xrupt->next) { in acpi_ev_get_gpe_xrupt_block() 202 next_gpe_xrupt = next_gpe_xrupt->next; in acpi_ev_get_gpe_xrupt_block() 205 next_gpe_xrupt->next = gpe_xrupt; in acpi_ev_get_gpe_xrupt_block() 271 gpe_xrupt->previous->next = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt() 275 acpi_gbl_gpe_xrupt_list_head = gpe_xrupt->next; in acpi_ev_delete_gpe_xrupt() 278 if (gpe_xrupt->next) { in acpi_ev_delete_gpe_xrupt() 279 gpe_xrupt->next->previous = gpe_xrupt->previous; in acpi_ev_delete_gpe_xrupt() [all …]
|
D | utaddress.c | 106 range_info->next = acpi_gbl_address_range_list[space_id]; in acpi_ut_add_address_range() 157 range_info->next; in acpi_ut_remove_address_range() 159 prev->next = range_info->next; in acpi_ut_remove_address_range() 176 range_info = range_info->next; in acpi_ut_remove_address_range() 259 range_info = range_info->next; in acpi_ut_check_address_range() 280 struct acpi_address_range *next; in acpi_ut_delete_address_lists() local 287 next = acpi_gbl_address_range_list[i]; in acpi_ut_delete_address_lists() 289 while (next) { in acpi_ut_delete_address_lists() 290 range_info = next; in acpi_ut_delete_address_lists() 291 next = range_info->next; in acpi_ut_delete_address_lists()
|
D | dsdebug.c | 127 union acpi_parse_object *next; in acpi_ds_dump_method_stack() local 194 next = op->common.next; in acpi_ds_dump_method_stack() 195 op->common.next = NULL; in acpi_ds_dump_method_stack() 201 op->common.next = next; in acpi_ds_dump_method_stack() 215 next_walk_state = next_walk_state->next; in acpi_ds_dump_method_stack()
|
D | exmutex.c | 79 if (obj_desc->mutex.next) { in acpi_ex_unlink_mutex() 80 (obj_desc->mutex.next)->mutex.prev = obj_desc->mutex.prev; in acpi_ex_unlink_mutex() 84 (obj_desc->mutex.prev)->mutex.next = obj_desc->mutex.next; in acpi_ex_unlink_mutex() 95 thread->acquired_mutex_list = obj_desc->mutex.next; in acpi_ex_unlink_mutex() 123 obj_desc->mutex.next = list_head; in acpi_ex_link_mutex() 462 union acpi_operand_object *next = thread->acquired_mutex_list; in acpi_ex_release_all_mutexes() local 469 while (next) { in acpi_ex_release_all_mutexes() 470 obj_desc = next; in acpi_ex_release_all_mutexes() 471 next = obj_desc->mutex.next; in acpi_ex_release_all_mutexes() 474 obj_desc->mutex.next = NULL; in acpi_ex_release_all_mutexes()
|
D | uttrack.c | 333 if (!element->next) { in acpi_ut_find_allocation() 337 element = element->next; in acpi_ut_find_allocation() 417 allocation->next = mem_list->list_head; in acpi_ut_track_allocation() 424 allocation->next = element->next; in acpi_ut_track_allocation() 427 if (element->next) { in acpi_ut_track_allocation() 428 (element->next)->previous = allocation; in acpi_ut_track_allocation() 431 element->next = allocation; in acpi_ut_track_allocation() 486 (allocation->previous)->next = allocation->next; in acpi_ut_remove_allocation() 488 mem_list->list_head = allocation->next; in acpi_ut_remove_allocation() 491 if (allocation->next) { in acpi_ut_remove_allocation() [all …]
|
D | hwpci.c | 60 struct acpi_pci_device *next; member 215 list_element->next = *return_list_head; in acpi_hw_build_pci_list() 273 info = info->next; in acpi_hw_process_pci_list() 300 struct acpi_pci_device *next; in acpi_hw_delete_pci_list() local 303 next = list_head; in acpi_hw_delete_pci_list() 304 while (next) { in acpi_hw_delete_pci_list() 305 previous = next; in acpi_hw_delete_pci_list() 306 next = previous->next; in acpi_hw_delete_pci_list()
|
D | psparse.c | 137 union acpi_parse_object *next; in acpi_ps_complete_this_op() local 268 replacement_op->common.next = op->common.next; in acpi_ps_complete_this_op() 271 op->common.next; in acpi_ps_complete_this_op() 282 next = prev->common.next; in acpi_ps_complete_this_op() 283 if (next == op) { in acpi_ps_complete_this_op() 291 prev->common.next = in acpi_ps_complete_this_op() 293 replacement_op->common.next = in acpi_ps_complete_this_op() 294 op->common.next; in acpi_ps_complete_this_op() 295 next = NULL; in acpi_ps_complete_this_op() 297 prev->common.next = in acpi_ps_complete_this_op() [all …]
|
D | dbinput.c | 405 const struct acpi_db_command_help *next; in acpi_db_display_command_info() local 408 next = acpi_gbl_db_command_help; in acpi_db_display_command_info() 409 while (next->invocation) { in acpi_db_display_command_info() 410 matched = acpi_db_match_command_help(command, next); in acpi_db_display_command_info() 415 next++; in acpi_db_display_command_info() 435 const struct acpi_db_command_help *next = acpi_gbl_db_command_help; in acpi_db_display_help() local 441 while (next->invocation) { in acpi_db_display_help() 442 acpi_os_printf("%-38s%s", next->invocation, in acpi_db_display_help() 443 next->description); in acpi_db_display_help() 444 next++; in acpi_db_display_help() [all …]
|
D | utosi.c | 152 acpi_default_supported_interfaces[i].next = in acpi_ut_initialize_interfaces() 185 acpi_gbl_supported_interfaces = next_interface->next; in acpi_ut_interface_terminate() 245 interface_info->next = acpi_gbl_supported_interfaces; in acpi_ut_install_interface() 281 next_interface->next; in acpi_ut_remove_interface() 283 previous_interface->next = in acpi_ut_remove_interface() 284 next_interface->next; in acpi_ut_remove_interface() 305 next_interface = next_interface->next; in acpi_ut_remove_interface() 350 next_interface = next_interface->next; in acpi_ut_update_interfaces() 379 next_interface = next_interface->next; in acpi_ut_get_interface()
|
/linux-4.4.14/block/ |
D | cmdline-parser.c | 42 char *next = strchr(++partdef, ')'); in parse_subpart() local 44 if (!next) { in parse_subpart() 50 length = min_t(int, next - partdef, in parse_subpart() 55 partdef = ++next; in parse_subpart() 92 char *next; in parse_parts() local 104 next = strchr(bdevdef, ':'); in parse_parts() 105 if (!next) { in parse_parts() 110 length = min_t(int, next - bdevdef, sizeof(newparts->name) - 1); in parse_parts() 117 while (next && *(++next)) { in parse_parts() 118 bdevdef = next; in parse_parts() [all …]
|
D | blk-merge.c | 554 struct request *next) in ll_merge_requests_fn() argument 558 req->biotail->bi_seg_back_size + next->bio->bi_seg_front_size; in ll_merge_requests_fn() 564 if (req_no_special_merge(req) || req_no_special_merge(next)) in ll_merge_requests_fn() 567 if (req_gap_back_merge(req, next->bio)) in ll_merge_requests_fn() 573 if ((blk_rq_sectors(req) + blk_rq_sectors(next)) > in ll_merge_requests_fn() 577 total_phys_segments = req->nr_phys_segments + next->nr_phys_segments; in ll_merge_requests_fn() 578 if (blk_phys_contig_segment(q, req->biotail, next->bio)) { in ll_merge_requests_fn() 581 if (next->nr_phys_segments == 1) in ll_merge_requests_fn() 582 next->biotail->bi_seg_back_size = seg_size; in ll_merge_requests_fn() 589 if (blk_integrity_merge_rq(q, req, next) == false) in ll_merge_requests_fn() [all …]
|
/linux-4.4.14/arch/mn10300/kernel/ |
D | kprobes.c | 133 u8 opc, *pc, *sp, *next; in find_nextpc() local 135 next = 0; in find_nextpc() 144 next = pc + size; in find_nextpc() 152 next = pc + x8; in find_nextpc() 160 next = pc + x16; in find_nextpc() 168 next = pc + x32; in find_nextpc() 174 next = (u8 *)regs->mdr; in find_nextpc() 183 next = (u8 *)x32; in find_nextpc() 189 next = pc + 2; in find_nextpc() 195 next = (u8 *)regs->a0; in find_nextpc() [all …]
|
/linux-4.4.14/tools/power/cpupower/lib/ |
D | cpufreq.c | 80 struct cpufreq_available_governors *tmp, *next; in cpufreq_put_available_governors() local 87 next = tmp->next; in cpufreq_put_available_governors() 91 tmp = next; in cpufreq_put_available_governors() 104 struct cpufreq_available_frequencies *tmp, *next; in cpufreq_put_available_frequencies() local 111 next = tmp->next; in cpufreq_put_available_frequencies() 113 tmp = next; in cpufreq_put_available_frequencies() 125 struct cpufreq_affected_cpus *tmp, *next; in cpufreq_put_affected_cpus() local 132 next = tmp->next; in cpufreq_put_affected_cpus() 134 tmp = next; in cpufreq_put_affected_cpus() 192 struct cpufreq_stats *tmp, *next; in cpufreq_put_stats() local [all …]
|
D | sysfs.c | 290 current->next = malloc(sizeof(*current)); in sysfs_get_freq_available_governors() 291 if (!current->next) in sysfs_get_freq_available_governors() 293 current = current->next; in sysfs_get_freq_available_governors() 301 current->next = NULL; in sysfs_get_freq_available_governors() 317 current = first->next; in sysfs_get_freq_available_governors() 349 current->next = malloc(sizeof(*current)); in sysfs_get_available_frequencies() 350 if (!current->next) in sysfs_get_available_frequencies() 352 current = current->next; in sysfs_get_available_frequencies() 360 current->next = NULL; in sysfs_get_available_frequencies() 375 current = first->next; in sysfs_get_available_frequencies() [all …]
|
/linux-4.4.14/sound/core/seq/ |
D | seq_prioq.c | 168 f->tail->next = cell; in snd_seq_prioq_cell_in() 170 cell->next = NULL; in snd_seq_prioq_cell_in() 195 cur = cur->next; in snd_seq_prioq_cell_in() 205 prev->next = cell; in snd_seq_prioq_cell_in() 206 cell->next = cur; in snd_seq_prioq_cell_in() 231 f->head = cell->next; in snd_seq_prioq_cell_out() 237 cell->next = NULL; in snd_seq_prioq_cell_out() 292 register struct snd_seq_event_cell *cell, *next; in snd_seq_prioq_leave() local 301 next = cell->next; in snd_seq_prioq_leave() 305 f->head = cell->next; in snd_seq_prioq_leave() [all …]
|
/linux-4.4.14/drivers/usb/host/ |
D | ohci-dbg.c | 22 #define ohci_dbg_sw(ohci, next, size, format, arg...) \ argument 24 if (next != NULL) { \ 26 s_len = scnprintf (*next, *size, format, ## arg ); \ 27 *size -= s_len; *next += s_len; \ 33 #define ohci_dbg_nosw(ohci, next, size, format, arg...) \ argument 36 s_len = scnprintf(*next, *size, format, ## arg); \ 37 *size -= s_len; *next += s_len; \ 45 char **next, in ohci_dump_intr_mask() argument 48 ohci_dbg_sw (ohci, next, size, "%s 0x%08x%s%s%s%s%s%s%s%s%s\n", in ohci_dump_intr_mask() 67 char **next, in maybe_print_eds() argument [all …]
|
D | ehci-dbg.c | 419 char *next = *nextp; in qh_lines() local 438 temp = scnprintf (next, size, in qh_lines() 449 next += temp; in qh_lines() 466 temp = snprintf (next, size, in qh_lines() 481 next += temp; in qh_lines() 486 temp = snprintf (next, size, "\n"); in qh_lines() 490 next += temp; in qh_lines() 494 *nextp = next; in qh_lines() 503 char *next; in fill_async_buffer() local 508 next = buf->output_buf; in fill_async_buffer() [all …]
|
D | xhci-ext-caps.h | 108 u32 next; in xhci_find_next_cap_offset() local 110 next = readl(base + ext_offset); in xhci_find_next_cap_offset() 114 next = XHCI_HCC_EXT_CAPS(next); in xhci_find_next_cap_offset() 118 next = XHCI_EXT_CAPS_NEXT(next); in xhci_find_next_cap_offset() 121 if (!next) in xhci_find_next_cap_offset() 127 return ext_offset + (next << 2); in xhci_find_next_cap_offset()
|
D | fhci-q.c | 79 td = list_entry(ed->td_list.next, struct td, node); in peek_td_from_ed() 91 td = list_entry(frame->tds_list.next, struct td, frame_lh); in fhci_remove_td_from_frame() 92 list_del_init(frame->tds_list.next); in fhci_remove_td_from_frame() 104 td = list_entry(frame->tds_list.next, struct td, frame_lh); in fhci_peek_td_from_frame() 116 td = list_entry(ed->td_list.next, struct td, node); in fhci_remove_td_from_ed() 117 list_del_init(ed->td_list.next); in fhci_remove_td_from_ed() 121 ed->td_head = list_entry(ed->td_list.next, struct td, in fhci_remove_td_from_ed() 136 td = list_entry(p_list->done_list.next, struct td, node); in fhci_remove_td_from_done_list() 137 list_del_init(p_list->done_list.next); in fhci_remove_td_from_done_list() 153 ed->td_head = list_entry(ed->td_list.next, struct td, node); in fhci_move_td_from_ed_to_done_list() [all …]
|
/linux-4.4.14/drivers/thunderbolt/ |
D | cap.c | 30 && cap->extended_short.next == 0 in tb_cap_is_long() 45 int next; in tb_cap_next() local 51 next = cap->basic.next; in tb_cap_next() 59 next = cap->basic.next; in tb_cap_next() 61 next = cap->extended_short.next; in tb_cap_next() 63 next = cap->extended_long.next; in tb_cap_next() 69 if (next == offset) in tb_cap_next() 71 return next; in tb_cap_next()
|
/linux-4.4.14/tools/firewire/ |
D | list.h | 2 struct list *next, *prev; member 8 list->next = list; in list_init() 15 return list->next == list; in list_empty() 22 new_link->next = link; in list_insert() 23 new_link->prev->next = new_link; in list_insert() 24 new_link->next->prev = new_link; in list_insert() 36 list_insert(list->next, new_link); in list_prepend() 42 link->prev->next = link->next; in list_remove() 43 link->next->prev = link->prev; in list_remove() 50 list_entry((list)->next, type, member) [all …]
|
/linux-4.4.14/arch/arm64/mm/ |
D | kasan_init.c | 30 unsigned long next; in kasan_early_pte_populate() local 37 next = addr + PAGE_SIZE; in kasan_early_pte_populate() 40 } while (pte++, addr = next, addr != end && pte_none(*pte)); in kasan_early_pte_populate() 48 unsigned long next; in kasan_early_pmd_populate() local 55 next = pmd_addr_end(addr, end); in kasan_early_pmd_populate() 56 kasan_early_pte_populate(pmd, addr, next); in kasan_early_pmd_populate() 57 } while (pmd++, addr = next, addr != end && pmd_none(*pmd)); in kasan_early_pmd_populate() 65 unsigned long next; in kasan_early_pud_populate() local 72 next = pud_addr_end(addr, end); in kasan_early_pud_populate() 73 kasan_early_pmd_populate(pud, addr, next); in kasan_early_pud_populate() [all …]
|
D | mmu.c | 136 unsigned long next; in alloc_init_pmd() local 157 next = pmd_addr_end(addr, end); in alloc_init_pmd() 159 if (((addr | next | phys) & ~SECTION_MASK) == 0) { in alloc_init_pmd() 176 alloc_init_pte(pmd, addr, next, __phys_to_pfn(phys), in alloc_init_pmd() 179 phys += next - addr; in alloc_init_pmd() 180 } while (pmd++, addr = next, addr != end); in alloc_init_pmd() 183 static inline bool use_1G_block(unsigned long addr, unsigned long next, in use_1G_block() argument 189 if (((addr | next | phys) & ~PUD_MASK) != 0) in use_1G_block() 201 unsigned long next; in alloc_init_pud() local 211 next = pud_addr_end(addr, end); in alloc_init_pud() [all …]
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | mmu_context.h | 37 extern void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next); 51 extern void switch_cop(struct mm_struct *next); 59 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 63 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in switch_mm() 67 tsk->thread.pgdir = next->pgd; in switch_mm() 72 get_paca()->pgd = next->pgd; in switch_mm() 75 if (prev == next) in switch_mm() 80 if (prev->context.acop || next->context.acop) in switch_mm() 81 switch_cop(next); in switch_mm() 96 switch_slb(tsk, next); in switch_mm() [all …]
|
/linux-4.4.14/arch/sh/mm/ |
D | tlb-sh5.c | 27 cpu_data->dtlb.next = cpu_data->dtlb.first; in sh64_tlb_init() 38 cpu_data->itlb.next = cpu_data->itlb.first; in sh64_tlb_init() 51 return cpu_data->dtlb.next; in sh64_next_free_dtlb_entry() 62 cpu_data->dtlb.next += cpu_data->dtlb.step; in sh64_get_wired_dtlb_entry() 104 cpu_data->dtlb.next = entry; in sh64_put_wired_dtlb_entry() 191 unsigned long long next; in __update_tlb() local 214 next = tlbp->next; in __update_tlb() 215 __flush_tlb_slot(next); in __update_tlb() 218 : : "r" (next), "r" (pteh), "r" (ptel) ); in __update_tlb() 220 next += TLB_STEP; in __update_tlb() [all …]
|
D | gup.c | 122 unsigned long next; in gup_pmd_range() local 129 next = pmd_addr_end(addr, end); in gup_pmd_range() 132 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 134 } while (pmdp++, addr = next, addr != end); in gup_pmd_range() 142 unsigned long next; in gup_pud_range() local 149 next = pud_addr_end(addr, end); in gup_pud_range() 152 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range() 154 } while (pudp++, addr = next, addr != end); in gup_pud_range() 168 unsigned long next; in __get_user_pages_fast() local 190 next = pgd_addr_end(addr, end); in __get_user_pages_fast() [all …]
|
/linux-4.4.14/arch/tile/include/asm/ |
D | cacheflush.h | 81 char *next = (char *)((long)buffer & -L2_CACHE_BYTES); in __flush_buffer() local 83 while (next < finish) { in __flush_buffer() 84 __insn_flush(next); in __flush_buffer() 85 next += CHIP_FLUSH_STRIDE(); in __flush_buffer() 92 char *next = (char *)((long)buffer & -L2_CACHE_BYTES); in __finv_buffer() local 94 while (next < finish) { in __finv_buffer() 95 __insn_finv(next); in __finv_buffer() 96 next += CHIP_FINV_STRIDE(); in __finv_buffer() 125 char *next = (char *)((long)buffer & -L2_CACHE_BYTES); in __inv_buffer() local 127 while (next < finish) { in __inv_buffer() [all …]
|
D | switch_to.h | 36 #define prepare_arch_switch(next) _prepare_arch_switch(next) argument 37 void _prepare_arch_switch(struct task_struct *next); 40 #define switch_to(prev, next, last) ((last) = _switch_to((prev), (next))) argument 42 struct task_struct *next); 46 struct task_struct *next,
|
D | mmu_context.h | 91 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 94 if (likely(prev != next)) { in switch_mm() 108 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 111 install_page_table(next->pgd, asid); in switch_mm() 114 check_mm_caching(prev, next); in switch_mm()
|
/linux-4.4.14/sound/pci/ctxfi/ |
D | ctimap.c | 31 entry->next = entry->addr; in input_mapper_add() 53 pos = head->next; in input_mapper_add() 60 entry->next = pos_ent->addr; in input_mapper_add() 62 pre_ent->next = entry->addr; in input_mapper_add() 71 struct list_head *next, *pre, *head; in input_mapper_delete() local 80 next = (entry->list.next == head) ? head->next : entry->list.next; in input_mapper_delete() 84 entry->next = entry->addr = entry->user = entry->slot = 0; in input_mapper_delete() 91 next_ent = list_entry(next, struct imapper, list); in input_mapper_delete() 93 pre_ent->next = next_ent->addr; in input_mapper_delete() 106 pos = head->next; in free_input_mapper_list()
|
/linux-4.4.14/arch/ia64/include/asm/ |
D | switch_to.h | 44 #define __switch_to(prev,next,last) do { \ argument 47 if (IA64_HAS_EXTRA_STATE(next)) \ 48 ia64_load_extra(next); \ 49 ia64_psr(task_pt_regs(next))->dfh = !ia64_is_local_fpu_owner(next); \ 50 (last) = ia64_switch_to((next)); \ 60 # define switch_to(prev,next,last) do { \ argument 66 __switch_to(prev, next, last); \ 76 # define switch_to(prev,next,last) __switch_to(prev, next, last) argument
|
D | mmu_context.h | 36 unsigned int next; /* next context number to use */ member 91 if (ia64_ctx.next >= ia64_ctx.limit) { in get_mmu_context() 92 ia64_ctx.next = find_next_zero_bit(ia64_ctx.bitmap, in get_mmu_context() 93 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context() 95 ia64_ctx.max_ctx, ia64_ctx.next); in get_mmu_context() 96 if (ia64_ctx.next >= ia64_ctx.max_ctx) in get_mmu_context() 99 mm->context = context = ia64_ctx.next++; in get_mmu_context() 185 activate_mm (struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 191 ia64_set_kr(IA64_KR_PT_BASE, __pa(next->pgd)); in activate_mm() 192 activate_context(next); in activate_mm()
|
/linux-4.4.14/arch/mips/include/asm/ |
D | switch_to.h | 33 struct task_struct *next, struct thread_info *next_ti); 62 next->thread.emulated_fp = 0; \ 84 #define switch_to(prev, next, last) \ argument 90 __restore_dsp(next); \ 99 if (KSTK_STATUS(next) & ST0_CU2 && \ 101 cop2_restore(next); \ 107 write_c0_userlocal(task_thread_info(next)->tp_value); \ 108 __restore_watch(next); \ 109 (last) = resume(prev, next, task_thread_info(next)); \
|
D | mmu_context.h | 139 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 148 if ((cpu_context(cpu, next) ^ asid_cache(cpu)) & ASID_VERSION_MASK) in switch_mm() 149 get_new_mmu_context(next, cpu); in switch_mm() 150 write_c0_entryhi(cpu_asid(cpu, next)); in switch_mm() 151 TLBMISS_HANDLER_SETUP_PGD(next->pgd); in switch_mm() 158 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 179 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 188 get_new_mmu_context(next, cpu); in activate_mm() 190 write_c0_entryhi(cpu_asid(cpu, next)); in activate_mm() 191 TLBMISS_HANDLER_SETUP_PGD(next->pgd); in activate_mm() [all …]
|
/linux-4.4.14/net/netlabel/ |
D | netlabel_addrlist.h | 78 i = i->next; in __af4list_valid() 90 i = rcu_dereference(i->next); in __af4list_valid_rcu() 97 for (iter = __af4list_valid((head)->next, head); \ 99 iter = __af4list_valid(iter->list.next, head)) 102 for (iter = __af4list_valid_rcu((head)->next, head); \ 104 iter = __af4list_valid_rcu(iter->list.next, head)) 107 for (iter = __af4list_valid((head)->next, head), \ 108 tmp = __af4list_valid(iter->list.next, head); \ 110 iter = tmp, tmp = __af4list_valid(iter->list.next, head)) 145 i = i->next; in __af6list_valid() [all …]
|
/linux-4.4.14/arch/x86/mm/ |
D | init_64.c | 73 unsigned long next; in ident_pud_init() local 75 for (; addr < end; addr = next) { in ident_pud_init() 79 next = (addr & PUD_MASK) + PUD_SIZE; in ident_pud_init() 80 if (next > end) in ident_pud_init() 81 next = end; in ident_pud_init() 85 ident_pmd_init(info->pmd_flag, pmd, addr, next); in ident_pud_init() 91 ident_pmd_init(info->pmd_flag, pmd, addr, next); in ident_pud_init() 101 unsigned long next; in kernel_ident_mapping_init() local 105 for (; addr < end; addr = next) { in kernel_ident_mapping_init() 109 next = (addr & PGDIR_MASK) + PGDIR_SIZE; in kernel_ident_mapping_init() [all …]
|
D | gup.c | 153 unsigned long next; in gup_pmd_range() local 160 next = pmd_addr_end(addr, end); in gup_pmd_range() 182 if (!gup_huge_pmd(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 185 if (!gup_pte_range(pmd, addr, next, write, pages, nr)) in gup_pmd_range() 188 } while (pmdp++, addr = next, addr != end); in gup_pmd_range() 229 unsigned long next; in gup_pud_range() local 236 next = pud_addr_end(addr, end); in gup_pud_range() 240 if (!gup_huge_pud(pud, addr, next, write, pages, nr)) in gup_pud_range() 243 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range() 246 } while (pudp++, addr = next, addr != end); in gup_pud_range() [all …]
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | mmu_context.h | 32 static inline void contextidr_thread_switch(struct task_struct *next) in contextidr_thread_switch() argument 38 : "r" (task_pid_nr(next))); in contextidr_thread_switch() 41 static inline void contextidr_thread_switch(struct task_struct *next) in contextidr_thread_switch() argument 127 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 132 if (prev == next) in switch_mm() 139 if (next == &init_mm) { in switch_mm() 144 check_and_switch_context(next, cpu); in switch_mm() 148 #define activate_mm(prev,next) switch_mm(prev, next, NULL) argument
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | mmu_context.h | 52 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument 55 if (prev != next) { in switch_mm() 56 mtctl(__pa(next->pgd), 25); in switch_mm() 57 load_context(next->context); in switch_mm() 63 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 73 BUG_ON(next == &init_mm); /* Should never happen */ in activate_mm() 75 if (next->context == 0) in activate_mm() 76 next->context = alloc_sid(); in activate_mm() 78 switch_mm(prev,next,current); in activate_mm()
|
/linux-4.4.14/arch/score/include/asm/ |
D | mmu_context.h | 72 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 78 if ((next->context ^ asid_cache) & ASID_VERSION_MASK) in switch_mm() 79 get_new_mmu_context(next); in switch_mm() 81 pevn_set(next->context); in switch_mm() 82 TLBMISS_HANDLER_SETUP_PGD(next->pgd); in switch_mm() 102 activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 107 get_new_mmu_context(next); in activate_mm() 108 pevn_set(next->context); in activate_mm() 109 TLBMISS_HANDLER_SETUP_PGD(next->pgd); in activate_mm()
|
D | switch_to.h | 4 extern void *resume(void *last, void *next, void *next_ti); 6 #define switch_to(prev, next, last) \ argument 8 (last) = resume(prev, next, task_thread_info(next)); \
|
/linux-4.4.14/ipc/ |
D | msgutil.c | 43 struct msg_msgseg *next; member 62 msg->next = NULL; in alloc_msg() 66 pseg = &msg->next; in alloc_msg() 74 seg->next = NULL; in alloc_msg() 75 pseg = &seg->next; in alloc_msg() 101 for (seg = msg->next; seg != NULL; seg = seg->next) { in load_msg() 132 for (dst_pseg = dst->next, src_pseg = src->next; in copy_msg() 134 dst_pseg = dst_pseg->next, src_pseg = src_pseg->next) { in copy_msg() 161 for (seg = msg->next; seg != NULL; seg = seg->next) { in store_msg() 177 seg = msg->next; in free_msg() [all …]
|
/linux-4.4.14/arch/nios2/mm/ |
D | mmu_context.c | 80 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 89 if (unlikely(CTX_VERSION(next->context) != in switch_mm() 91 next->context = get_new_context(); in switch_mm() 94 pgd_current = next->pgd; in switch_mm() 97 set_context(next->context); in switch_mm() 106 void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 108 next->context = get_new_context(); in activate_mm() 109 set_context(next->context); in activate_mm() 110 pgd_current = next->pgd; in activate_mm()
|
/linux-4.4.14/sound/isa/gus/ |
D | gus_mem.c | 55 nblock->next = pblock; in snd_gf1_mem_xalloc() 60 nblock->prev->next = nblock; in snd_gf1_mem_xalloc() 64 pblock = pblock->next; in snd_gf1_mem_xalloc() 66 nblock->next = NULL; in snd_gf1_mem_xalloc() 72 alloc->last->next = nblock; in snd_gf1_mem_xalloc() 86 alloc->first = block->next; in snd_gf1_mem_xfree() 87 if (block->next) in snd_gf1_mem_xfree() 88 block->next->prev = NULL; in snd_gf1_mem_xfree() 90 block->prev->next = block->next; in snd_gf1_mem_xfree() 91 if (block->next) in snd_gf1_mem_xfree() [all …]
|
/linux-4.4.14/arch/arm/mm/ |
D | idmap.c | 25 unsigned long next; in idmap_add_pmd() local 46 next = pmd_addr_end(addr, end); in idmap_add_pmd() 49 } while (pmd++, addr = next, addr != end); in idmap_add_pmd() 69 unsigned long next; in idmap_add_pud() local 72 next = pud_addr_end(addr, end); in idmap_add_pud() 73 idmap_add_pmd(pud, addr, next, prot); in idmap_add_pud() 74 } while (pud++, addr = next, addr != end); in idmap_add_pud() 81 unsigned long next; in identity_mapping_add() local 94 next = pgd_addr_end(addr, end); in identity_mapping_add() 95 idmap_add_pud(pgd, addr, next, prot); in identity_mapping_add() [all …]
|
/linux-4.4.14/arch/m32r/include/asm/ |
D | mmu_context.h | 122 struct mm_struct *next, struct task_struct *tsk) in switch_mm() argument 128 if (prev != next) { in switch_mm() 130 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 133 *(volatile unsigned long *)MPTB = (unsigned long)next->pgd; in switch_mm() 134 activate_context(next); in switch_mm() 138 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next))) in switch_mm() 139 activate_context(next); in switch_mm() 145 #define activate_mm(prev, next) \ argument 146 switch_mm((prev), (next), NULL) 155 #define switch_mm(prev,next,tsk) do { } while (0) argument [all …]
|
/linux-4.4.14/drivers/media/pci/zoran/ |
D | videocodec.c | 60 struct attached_list *next; member 67 struct codec_list *next; member 141 while (a->next) in videocodec_attach() 142 a = a->next; // find end in videocodec_attach() 143 a->next = ptr; in videocodec_attach() 155 h = h->next; in videocodec_attach() 209 h->list = a->next; in videocodec_detach() 213 prev->next = a->next; in videocodec_detach() 224 a = a->next; in videocodec_detach() 226 h = h->next; in videocodec_detach() [all …]
|
/linux-4.4.14/arch/sparc/mm/ |
D | gup.c | 121 unsigned long next; in gup_pmd_range() local 128 next = pmd_addr_end(addr, end); in gup_pmd_range() 132 if (!gup_huge_pmd(pmdp, pmd, addr, next, in gup_pmd_range() 135 } else if (!gup_pte_range(pmd, addr, next, write, in gup_pmd_range() 138 } while (pmdp++, addr = next, addr != end); in gup_pmd_range() 146 unsigned long next; in gup_pud_range() local 153 next = pud_addr_end(addr, end); in gup_pud_range() 156 if (!gup_pmd_range(pud, addr, next, write, pages, nr)) in gup_pud_range() 158 } while (pudp++, addr = next, addr != end); in gup_pud_range() 168 unsigned long next, flags; in __get_user_pages_fast() local [all …]
|
/linux-4.4.14/lib/lzo/ |
D | lzo1x_decompress_safe.c | 43 size_t t, next; in lzo1x_decompress_safe() local 57 next = t; in lzo1x_decompress_safe() 110 next = t & 3; in lzo1x_decompress_safe() 121 next = t & 3; in lzo1x_decompress_safe() 128 next = t & 3; in lzo1x_decompress_safe() 152 next = get_unaligned_le16(ip); in lzo1x_decompress_safe() 154 m_pos -= next >> 2; in lzo1x_decompress_safe() 155 next &= 3; in lzo1x_decompress_safe() 176 next = get_unaligned_le16(ip); in lzo1x_decompress_safe() 178 m_pos -= next >> 2; in lzo1x_decompress_safe() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/lov/ |
D | lovsub_dev.c | 94 const char *name, struct lu_device *next) in lovsub_device_init() argument 100 next->ld_site = d->ld_site; in lovsub_device_init() 101 ldt = next->ld_type; in lovsub_device_init() 103 rc = ldt->ldt_ops->ldto_device_init(env, next, ldt->ldt_name, NULL); in lovsub_device_init() 105 next->ld_site = NULL; in lovsub_device_init() 109 lu_device_get(next); in lovsub_device_init() 110 lu_ref_add(&next->ld_reference, "lu-stack", &lu_site_init); in lovsub_device_init() 111 lsd->acid_next = lu2cl_dev(next); in lovsub_device_init() 118 struct lu_device *next; in lovsub_device_fini() local 122 next = cl2lu_dev(lsd->acid_next); in lovsub_device_fini() [all …]
|
/linux-4.4.14/mm/kasan/ |
D | kasan_init.c | 66 unsigned long next; in zero_pmd_populate() local 69 next = pmd_addr_end(addr, end); in zero_pmd_populate() 80 zero_pte_populate(pmd, addr, next); in zero_pmd_populate() 81 } while (pmd++, addr = next, addr != end); in zero_pmd_populate() 88 unsigned long next; in zero_pud_populate() local 91 next = pud_addr_end(addr, end); in zero_pud_populate() 105 zero_pmd_populate(pud, addr, next); in zero_pud_populate() 106 } while (pud++, addr = next, addr != end); in zero_pud_populate() 121 unsigned long next; in kasan_populate_zero_shadow() local 124 next = pgd_addr_end(addr, end); in kasan_populate_zero_shadow() [all …]
|
/linux-4.4.14/net/rose/ |
D | rose_route.c | 70 rose_node = rose_node->next; in rose_add_node() 84 rose_neigh = rose_neigh->next; in rose_add_node() 129 rose_neigh->next = rose_neigh_list; in rose_add_node() 147 rose_tmpn = rose_tmpn->next; in rose_add_node() 169 rose_node->next = NULL; in rose_add_node() 171 rose_tmpp->next = rose_node; in rose_add_node() 172 rose_node->next = NULL; in rose_add_node() 176 rose_node->next = rose_node_list; in rose_add_node() 179 rose_tmpp->next = rose_node; in rose_add_node() 180 rose_node->next = rose_tmpn; in rose_add_node() [all …]
|
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/core/ |
D | mm.c | 54 struct nvkm_mm_node *next = node(this, next); in nvkm_mm_free() local 62 if (next && next->type == NVKM_MM_TYPE_NONE) { in nvkm_mm_free() 63 next->offset = this->offset; in nvkm_mm_free() 64 next->length += this->length; in nvkm_mm_free() 114 struct nvkm_mm_node *prev, *this, *next; in nvkm_mm_head() local 133 next = node(this, next); in nvkm_mm_head() 134 if (next && next->type != type) in nvkm_mm_head() 188 struct nvkm_mm_node *prev, *this, *next; in nvkm_mm_tail() local 206 next = node(this, next); in nvkm_mm_tail() 207 if (next && next->type != type) { in nvkm_mm_tail() [all …]
|
/linux-4.4.14/arch/mips/mm/ |
D | gup.c | 104 unsigned long next; in gup_pmd_range() local 111 next = pmd_addr_end(addr, end); in gup_pmd_range() 126 if (!gup_huge_pmd(pmd, addr, next, write, pages,nr)) in gup_pmd_range() 129 if (!gup_pte_range(pmd, addr, next, write, pages,nr)) in gup_pmd_range() 132 } while (pmdp++, addr = next, addr != end); in gup_pmd_range() 170 unsigned long next; in gup_pud_range() local 177 next = pud_addr_end(addr, end); in gup_pud_range() 181 if (!gup_huge_pud(pud, addr, next, write, pages,nr)) in gup_pud_range() 184 if (!gup_pmd_range(pud, addr, next, write, pages,nr)) in gup_pud_range() 187 } while (pudp++, addr = next, addr != end); in gup_pud_range() [all …]
|
/linux-4.4.14/arch/alpha/kernel/ |
D | err_common.c | 158 struct el_subpacket *next = NULL; in el_process_subpacket_reg() local 161 for (; h && h->class != header->class; h = h->next); in el_process_subpacket_reg() 162 if (h) next = h->handler(header); in el_process_subpacket_reg() 164 return next; in el_process_subpacket_reg() 196 struct el_subpacket *next = NULL; in el_process_subpacket() local 203 next = el_process_header_subpacket(header); in el_process_subpacket() 206 if (NULL == (next = el_process_subpacket_reg(header))) { in el_process_subpacket() 215 return next; in el_process_subpacket() 224 for (a = subpacket_annotation_list; a; a = a->next) { in el_annotate_subpacket() 285 for (; a->next != NULL; a = a->next) { in cdl_register_subpacket_annotation() [all …]
|
/linux-4.4.14/arch/frv/include/asm/ |
D | mmu_context.h | 35 #define switch_mm(prev, next, tsk) \ argument 37 if (prev != next) \ 38 change_mm_context(&prev->context, &next->context, next->pgd); \ 41 #define activate_mm(prev, next) \ argument 43 change_mm_context(&prev->context, &next->context, next->pgd); \
|
/linux-4.4.14/drivers/pnp/isapnp/ |
D | compat.c | 33 list = from ? from->global_list.next : pnp_cards.next; in pnp_find_card() 40 list = list->next; in pnp_find_card() 56 list = pnp_global.next; in pnp_find_dev() 58 list = from->global_list.next; in pnp_find_dev() 66 list = list->next; in pnp_find_dev() 71 list = card->devices.next; in pnp_find_dev() 73 list = from->card_list.next; in pnp_find_dev() 82 list = list->next; in pnp_find_dev()
|
/linux-4.4.14/arch/hexagon/include/asm/ |
D | mmu_context.h | 66 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 75 if (next->context.generation < prev->context.generation) { in switch_mm() 77 next->pgd[l1] = init_mm.pgd[l1]; in switch_mm() 79 next->context.generation = prev->context.generation; in switch_mm() 82 __vmnewmap((void *)next->context.ptbase); in switch_mm() 88 static inline void activate_mm(struct mm_struct *prev, struct mm_struct *next) in activate_mm() argument 93 switch_mm(prev, next, current_thread_info()->task); in activate_mm()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | switch_to_64.h | 21 struct task_struct *next, 24 #define switch_to(prev,next,last) \ argument 26 if (last_task_used_math != next) { \ 27 struct pt_regs *regs = next->thread.uregs; \ 30 last = sh64_switch_to(prev, &prev->thread, next, \ 31 &next->thread); \
|
D | mmu_context.h | 119 struct mm_struct *next, in switch_mm() argument 124 if (likely(prev != next)) { in switch_mm() 125 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 126 set_TTB(next->pgd); in switch_mm() 127 activate_context(next, cpu); in switch_mm() 129 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next))) in switch_mm() 130 activate_context(next, cpu); in switch_mm() 133 #define activate_mm(prev, next) switch_mm((prev),(next),NULL) argument
|
D | switch_to_32.h | 64 struct task_struct *next); 69 #define switch_to(prev, next, last) \ argument 81 if (is_dsp_enabled(next)) \ 82 __restore_dsp(next); \ 87 __ts5 = (u32 *)next; \ 88 __ts6 = (u32 *)&next->thread.sp; \ 89 __ts7 = next->thread.pc; \
|
/linux-4.4.14/arch/blackfin/include/asm/ |
D | switch_to.h | 21 asmlinkage struct task_struct *resume(struct task_struct *prev, struct task_struct *next); 24 #define switch_to(prev,next,last) \ argument 28 memcpy (L1_SCRATCH_TASK_INFO, &task_thread_info(next)->l1_task_info, \ 30 (last) = resume (prev, next); \ 33 #define switch_to(prev, next, last) \ argument 35 (last) = resume(prev, next); \
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | switch_to.h | 18 #define ocd_switch(prev, next) \ argument 21 ocd_write(PID, next->pid); \ 24 #define ocd_switch(prev, next) argument 41 #define switch_to(prev, next, last) \ argument 43 ocd_switch(prev, next); \ 45 &next->thread.cpu_context); \
|
D | mmu_context.h | 109 struct mm_struct *next, in switch_mm() argument 112 if (likely(prev != next)) { in switch_mm() 113 unsigned long __pgdir = (unsigned long)next->pgd; in switch_mm() 116 activate_context(next); in switch_mm() 122 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
/linux-4.4.14/drivers/staging/rdma/amso1100/ |
D | c2_alloc.c | 54 new_head->next = NULL; in c2_alloc_mqsp_chunk() 79 struct sp_chunk *next; in c2_free_mqsp_pool() local 82 next = root->next; in c2_free_mqsp_pool() 85 root = next; in c2_free_mqsp_pool() 99 } else if (head->next == NULL) { in c2_alloc_mqsp() 100 if (c2_alloc_mqsp_chunk(c2dev, gfp_mask, &head->next) == in c2_alloc_mqsp() 102 head = head->next; in c2_alloc_mqsp() 109 head = head->next; in c2_alloc_mqsp()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | mmu_context.h | 93 #define activate_mm(prev,next) switch_mm(prev, next, NULL) argument 116 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 128 !cpumask_empty(mm_cpumask(next)) && in switch_mm() 129 !cpumask_test_cpu(cpu, mm_cpumask(next))) in switch_mm() 132 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) { in switch_mm() 133 check_and_switch_context(next, tsk); in switch_mm()
|
/linux-4.4.14/net/ipv4/ |
D | ip_fragment.c | 314 struct sk_buff *xp = fp->next; in ip_frag_reinit() 336 struct sk_buff *prev, *next; in ip_frag_queue() local 405 next = NULL; in ip_frag_queue() 409 for (next = qp->q.fragments; next != NULL; next = next->next) { in ip_frag_queue() 410 if (FRAG_CB(next)->offset >= offset) in ip_frag_queue() 412 prev = next; in ip_frag_queue() 438 while (next && FRAG_CB(next)->offset < end) { in ip_frag_queue() 439 int i = end - FRAG_CB(next)->offset; /* overlap is 'i' bytes */ in ip_frag_queue() 441 if (i < next->len) { in ip_frag_queue() 445 if (!pskb_pull(next, i)) in ip_frag_queue() [all …]
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | mmu_context.h | 49 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 54 if (!cpumask_test_and_set_cpu(cpu, mm_cpumask(next)) || prev != next) in switch_mm() 55 cpu_switch_mm(next->pgd, next); in switch_mm() 59 #define activate_mm(prev, next) switch_mm(prev, next, NULL) argument
|
/linux-4.4.14/drivers/isdn/i4l/ |
D | isdn_net.h | 87 nd->queue = nd->queue->next; in isdn_net_get_locked_lp() 94 nd->queue = nd->queue->next; in isdn_net_get_locked_lp() 118 lp->last->next = nlp; in isdn_net_add_to_bundle() 120 nlp->next = lp; in isdn_net_add_to_bundle() 139 lp->last->next = lp->next; in isdn_net_rm_from_bundle() 140 lp->next->last = lp->last; in isdn_net_rm_from_bundle() 142 master_lp->netdev->queue = lp->next; in isdn_net_rm_from_bundle() 143 if (lp->next == lp) { /* last in queue */ in isdn_net_rm_from_bundle() 147 lp->next = lp->last = lp; /* (re)set own pointers */ in isdn_net_rm_from_bundle()
|
/linux-4.4.14/fs/jfs/ |
D | jfs_txnmgr.c | 204 TxAnchor.freelock = TxLock[lid].next; in txLockAlloc() 218 TxLock[lid].next = TxAnchor.freelock; in txLockFree() 289 TxBlock[k].next = k + 1; in txInit() 293 TxBlock[k].next = 0; in txInit() 317 TxLock[k].next = k + 1; in txInit() 318 TxLock[k].next = 0; in txInit() 411 if ((tblk->next == 0) && !(flag & COMMIT_FORCE)) { in txBegin() 419 TxAnchor.freetid = tblk->next; in txBegin() 431 tblk->next = tblk->last = tblk->xflag = tblk->flag = tblk->lsn = 0; in txBegin() 536 assert(tblk->next == 0); in txEnd() [all …]
|
/linux-4.4.14/arch/s390/mm/ |
D | gup.c | 108 unsigned long next; in gup_pmd_range() local 118 next = pmd_addr_end(addr, end); in gup_pmd_range() 138 if (!gup_huge_pmd(pmdp, pmd, addr, next, in gup_pmd_range() 141 } else if (!gup_pte_range(pmdp, pmd, addr, next, in gup_pmd_range() 144 } while (pmdp++, addr = next, addr != end); in gup_pmd_range() 152 unsigned long next; in gup_pud_range() local 162 next = pud_addr_end(addr, end); in gup_pud_range() 165 if (!gup_pmd_range(pudp, pud, addr, next, write, pages, nr)) in gup_pud_range() 167 } while (pudp++, addr = next, addr != end); in gup_pud_range() 181 unsigned long next, flags; in __get_user_pages_fast() local [all …]
|
/linux-4.4.14/fs/ |
D | char_dev.c | 32 struct char_device_struct *next; member 54 for (cd = chrdevs[offset]; cd; cd = cd->next) in chrdev_show() 108 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next) in __register_chrdev_region() 135 cd->next = *cp; in __register_chrdev_region() 152 for (cp = &chrdevs[i]; *cp; cp = &(*cp)->next) in __unregister_chrdev_region() 159 *cp = cd->next; in __unregister_chrdev_region() 178 dev_t n, next; in register_chrdev_region() local 180 for (n = from; n < to; n = next) { in register_chrdev_region() 181 next = MKDEV(MAJOR(n)+1, 0); in register_chrdev_region() 182 if (next > to) in register_chrdev_region() [all …]
|
D | filesystems.c | 49 for (p=&file_systems; *p; p=&(*p)->next) in find_filesystem() 75 if (fs->next) in register_filesystem() 109 *tmp = fs->next; in unregister_filesystem() 110 fs->next = NULL; in unregister_filesystem() 115 tmp = &(*tmp)->next; in unregister_filesystem() 138 for (tmp=file_systems, index=0 ; tmp ; tmp=tmp->next, index++) { in fs_index() 155 for (tmp = file_systems; tmp; tmp = tmp->next, index--) in fs_name() 175 for (tmp = file_systems, index = 0 ; tmp ; tmp = tmp->next, index++) in fs_maxindex() 216 tmp = tmp->next; in get_filesystem_list() 233 tmp = tmp->next; in filesystems_proc_show()
|
D | pnode.c | 19 return list_entry(p->mnt_share.next, struct mount, mnt_share); in next_peer() 24 return list_entry(p->mnt_slave_list.next, struct mount, mnt_slave); in first_slave() 29 return list_entry(p->mnt_slave.next, struct mount, mnt_slave); in next_slave() 157 struct mount *next = next_peer(m); in propagation_next() local 158 return (next == origin) ? NULL : next; in propagation_next() 159 } else if (m->mnt_slave.next != &master->mnt_slave_list) in propagation_next() 171 struct mount *next; in next_group() local 174 next = next_peer(m); in next_group() 176 if (next == origin) in next_group() 178 } else if (m->mnt_slave.next != &next->mnt_slave) in next_group() [all …]
|
/linux-4.4.14/security/selinux/ss/ |
D | ebitmap.c | 39 n1 = n1->next; in ebitmap_cmp() 40 n2 = n2->next; in ebitmap_cmp() 64 new->next = NULL; in ebitmap_cpy() 66 prev->next = new; in ebitmap_cpy() 70 n = n->next; in ebitmap_cpy() 120 e_iter = e_iter->next; in ebitmap_netlbl_export() 172 e_prev->next = e_iter; in ebitmap_netlbl_import() 211 n1 = n1->next; in ebitmap_contains() 229 n1 = n1->next; in ebitmap_contains() 230 n2 = n2->next; in ebitmap_contains() [all …]
|
D | hashtab.c | 54 cur = cur->next; in hashtab_insert() 66 newnode->next = prev->next; in hashtab_insert() 67 prev->next = newnode; in hashtab_insert() 69 newnode->next = h->htable[hvalue]; in hashtab_insert() 88 cur = cur->next; in hashtab_search() 108 cur = cur->next; in hashtab_destroy() 137 cur = cur->next; in hashtab_map() 158 cur = cur->next; in hashtab_stat()
|
D | conditional.c | 33 for (cur = expr; cur; cur = cur->next) { in cond_evaluate_expr() 101 for (cur = node->true_list; cur; cur = cur->next) { in evaluate_cond_node() 108 for (cur = node->false_list; cur; cur = cur->next) { in evaluate_cond_node() 135 struct cond_av_list *cur, *next; in cond_av_list_destroy() local 136 for (cur = list; cur; cur = next) { in cond_av_list_destroy() 137 next = cur->next; in cond_av_list_destroy() 148 next_expr = cur_expr->next; in cond_node_destroy() 158 struct cond_node *next, *cur; in cond_list_destroy() local 163 for (cur = list; cur; cur = next) { in cond_list_destroy() 164 next = cur->next; in cond_list_destroy() [all …]
|
D | sidtab.c | 48 cur = cur->next; in sidtab_insert() 69 newnode->next = prev->next; in sidtab_insert() 71 prev->next = newnode; in sidtab_insert() 73 newnode->next = s->htable[hvalue]; in sidtab_insert() 96 cur = cur->next; in sidtab_search_core() 107 cur = cur->next; in sidtab_search_core() 143 cur = cur->next; in sidtab_map() 174 cur = cur->next; in sidtab_search_context() 254 cur = cur->next; in sidtab_hash_eval() 279 cur = cur->next; in sidtab_destroy()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | switch_to.h | 31 #define switch_to(prev,next,last) do { \ argument 37 if (next->mm) { \ 38 update_cr_regs(next); \ 40 restore_access_regs(&next->thread.acrs[0]); \ 41 restore_ri_cb(next->thread.ri_cb, prev->thread.ri_cb); \ 43 prev = __switch_to(prev,next); \
|
D | mmu_context.h | 85 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 90 S390_lowcore.user_asce = next->context.asce; in switch_mm() 91 if (prev == next) in switch_mm() 94 cpumask_set_cpu(cpu, &next->context.cpu_attach_mask); in switch_mm() 98 atomic_inc(&next->context.attach_count); in switch_mm() 128 struct mm_struct *next) in activate_mm() argument 130 switch_mm(prev, next, current); in activate_mm() 131 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next)); in activate_mm() 132 set_user_asce(next); in activate_mm()
|
/linux-4.4.14/drivers/scsi/arm/ |
D | msgqueue.c | 30 msgq->free = mq->next; in mqe_alloc() 44 mq->next = msgq->free; in mqe_free() 62 msgq->entries[i].next = &msgq->entries[i + 1]; in msgqueue_initialise() 64 msgq->entries[NR_MESSAGES - 1].next = NULL; in msgqueue_initialise() 88 for (mq = msgq->qe; mq; mq = mq->next) in msgqueue_msglength() 105 for (mq = msgq->qe; mq && msgno; mq = mq->next, msgno--); in msgqueue_getmsg() 134 mq->next = NULL; in msgqueue_addmsg() 138 mqp = &(*mqp)->next; in msgqueue_addmsg() 156 mqnext = mq->next; in msgqueue_flush()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | mmu_context.h | 143 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 148 if (prev != next) { in switch_mm() 150 per_cpu(cpu_tlbstate, cpu).active_mm = next; in switch_mm() 152 cpu_ran_vm(cpu, next); in switch_mm() 153 PTBR = (unsigned long) next->pgd; in switch_mm() 154 activate_context(next); in switch_mm() 159 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
D | switch_to.h | 22 #define switch_fpu(prev, next) \ argument 31 #define switch_fpu(prev, next) do {} while (0) argument 37 struct thread_struct *next, 40 #define switch_to(prev, next, last) \ argument 42 switch_fpu(prev, next); \ 44 (last) = __switch_to(&(prev)->thread, &(next)->thread, (prev)); \
|
/linux-4.4.14/fs/cachefiles/ |
D | namei.c | 465 struct dentry *dir, *next = NULL; in cachefiles_walk_to_object() local 507 next = lookup_one_len(name, dir, nlen); in cachefiles_walk_to_object() 509 if (IS_ERR(next)) in cachefiles_walk_to_object() 512 _debug("next -> %p %s", next, d_backing_inode(next) ? "positive" : "negative"); in cachefiles_walk_to_object() 515 object->new = !d_backing_inode(next); in cachefiles_walk_to_object() 520 if (d_is_negative(next)) in cachefiles_walk_to_object() 526 if (d_is_negative(next)) { in cachefiles_walk_to_object() 532 ret = security_path_mkdir(&path, next, 0); in cachefiles_walk_to_object() 536 ret = vfs_mkdir(d_inode(dir), next, 0); in cachefiles_walk_to_object() 541 ASSERT(d_backing_inode(next)); in cachefiles_walk_to_object() [all …]
|
/linux-4.4.14/net/core/ |
D | dst.c | 70 struct dst_entry *dst, *next, head; in dst_gc_task() local 74 next = dst_busy_list; in dst_gc_task() 77 while ((dst = next) != NULL) { in dst_gc_task() 78 next = dst->next; in dst_gc_task() 79 prefetch(&next->next); in dst_gc_task() 82 last->next = dst; in dst_gc_task() 103 dst->next = next; in dst_gc_task() 104 next = dst; in dst_gc_task() 109 next = dst_garbage.list; in dst_gc_task() 110 if (next) { in dst_gc_task() [all …]
|
/linux-4.4.14/drivers/parisc/ |
D | hppb.c | 29 struct hppb_card *next; member 34 .next = NULL, 53 while(card->next) { in hppb_probe() 54 card = card->next; in hppb_probe() 58 card->next = kzalloc(sizeof(struct hppb_card), GFP_KERNEL); in hppb_probe() 59 if(!card->next) { in hppb_probe() 63 card = card->next; in hppb_probe()
|
/linux-4.4.14/kernel/ |
D | task_work.c | 35 work->next = head; in task_work_add() 70 pprev = &work->next; in task_work_cancel() 71 else if (cmpxchg(pprev, work, work->next) == work) in task_work_cancel() 90 struct callback_head *work, *head, *next; in task_work_run() local 114 next = work->next; in task_work_run() 116 work = next; in task_work_run()
|
/linux-4.4.14/arch/metag/include/asm/ |
D | mmu_context.h | 72 static inline void switch_mmu(struct mm_struct *prev, struct mm_struct *next) in switch_mmu() argument 75 load_pgd(next->pgd, hard_processor_id()); in switch_mmu() 87 next->pgd = prev->pgd; in switch_mmu() 91 next->pgd[i] = ((pgd_t *) next->context.pgd_base)[i]; in switch_mmu() 98 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 101 if (prev != next) in switch_mm() 102 switch_mmu(prev, next); in switch_mm()
|
/linux-4.4.14/drivers/char/agp/ |
D | frontend.c | 59 curr = curr->next; in agp_find_mem_by_key() 69 struct agp_memory *next; in agp_remove_from_pool() local 75 next = temp->next; in agp_remove_from_pool() 79 prev->next = next; in agp_remove_from_pool() 80 if (next != NULL) in agp_remove_from_pool() 81 next->prev = prev; in agp_remove_from_pool() 85 if (next != NULL) in agp_remove_from_pool() 86 next->prev = NULL; in agp_remove_from_pool() 88 agp_fe.current_controller->pool = next; in agp_remove_from_pool() 207 temp->next = prev; in agp_insert_into_pool() [all …]
|
/linux-4.4.14/drivers/staging/lustre/lustre/libcfs/ |
D | libcfs_string.c | 174 cfs_gettok(struct cfs_lstr *next, char delim, struct cfs_lstr *res) in cfs_gettok() argument 178 if (next->ls_str == NULL) in cfs_gettok() 182 while (next->ls_len) { in cfs_gettok() 183 if (!isspace(*next->ls_str)) in cfs_gettok() 185 next->ls_str++; in cfs_gettok() 186 next->ls_len--; in cfs_gettok() 189 if (next->ls_len == 0) /* whitespaces only */ in cfs_gettok() 192 if (*next->ls_str == delim) { in cfs_gettok() 197 res->ls_str = next->ls_str; in cfs_gettok() 198 end = memchr(next->ls_str, delim, next->ls_len); in cfs_gettok() [all …]
|
/linux-4.4.14/arch/cris/arch-v10/kernel/ |
D | fasttimer.c | 234 tmp = tmp->next; in start_one_shot_timer() 261 t->next = fast_timer_list; in start_one_shot_timer() 273 while (tmp->next && fasttime_cmp(&t->tv_expires, in start_one_shot_timer() 274 &tmp->next->tv_expires) > 0) in start_one_shot_timer() 276 tmp = tmp->next; in start_one_shot_timer() 280 t->next = tmp->next; in start_one_shot_timer() 281 if (tmp->next) in start_one_shot_timer() 283 tmp->next->prev = t; in start_one_shot_timer() 285 tmp->next = t; in start_one_shot_timer() 296 return (t->next != NULL) || (t->prev != NULL) || (t == fast_timer_list); in fast_timer_pending() [all …]
|
/linux-4.4.14/net/ieee802154/6lowpan/ |
D | reassembly.c | 132 struct sk_buff *prev, *next; in lowpan_frag_queue() local 169 next = NULL; in lowpan_frag_queue() 173 for (next = fq->q.fragments; next != NULL; next = next->next) { in lowpan_frag_queue() 174 if (lowpan_802154_cb(next)->d_offset >= in lowpan_frag_queue() 177 prev = next; in lowpan_frag_queue() 182 skb->next = next; in lowpan_frag_queue() 183 if (!next) in lowpan_frag_queue() 186 prev->next = skb; in lowpan_frag_queue() 236 head = prev->next; in lowpan_frag_reasm() 242 fp->next = head->next; in lowpan_frag_reasm() [all …]
|
/linux-4.4.14/drivers/isdn/divert/ |
D | isdn_divert.c | 29 struct call_struc *next; /* pointer to next entry */ member 38 struct deflect_struc *next, *prev; member 94 cs->prev->next = cs->next; /* forward link */ in deflect_timer_expire() 96 divert_head = cs->next; in deflect_timer_expire() 97 if (cs->next) in deflect_timer_expire() 98 cs->next->prev = cs->prev; /* back link */ in deflect_timer_expire() 193 cs->next = divert_head; in cf_command() 216 cs = cs->next; in deflect_extern_action() 289 ds1 = ds1->next; in insertrule() 296 ds->next = NULL; /* end of chain */ in insertrule() [all …]
|
/linux-4.4.14/arch/powerpc/boot/dts/fsl/ |
D | p4080si-pre.dtsi | 98 next-level-cache = <&L2_0>; 101 next-level-cache = <&cpc>; 108 next-level-cache = <&L2_1>; 111 next-level-cache = <&cpc>; 118 next-level-cache = <&L2_2>; 121 next-level-cache = <&cpc>; 128 next-level-cache = <&L2_3>; 131 next-level-cache = <&cpc>; 138 next-level-cache = <&L2_4>; 141 next-level-cache = <&cpc>; [all …]
|
D | t4240si-pre.dtsi | 92 next-level-cache = <&L2_1>; 99 next-level-cache = <&L2_1>; 106 next-level-cache = <&L2_1>; 113 next-level-cache = <&L2_1>; 120 next-level-cache = <&L2_2>; 127 next-level-cache = <&L2_2>; 134 next-level-cache = <&L2_2>; 141 next-level-cache = <&L2_2>; 148 next-level-cache = <&L2_3>; 155 next-level-cache = <&L2_3>; [all …]
|
/linux-4.4.14/net/ipv6/netfilter/ |
D | nf_conntrack_reasm.c | 222 struct sk_buff *prev, *next; in nf_ct_frag6_queue() local 304 next = NULL; in nf_ct_frag6_queue() 308 for (next = fq->q.fragments; next != NULL; next = next->next) { in nf_ct_frag6_queue() 309 if (NFCT_FRAG6_CB(next)->offset >= offset) in nf_ct_frag6_queue() 311 prev = next; in nf_ct_frag6_queue() 329 if (next && NFCT_FRAG6_CB(next)->offset < end) in nf_ct_frag6_queue() 335 skb->next = next; in nf_ct_frag6_queue() 336 if (!next) in nf_ct_frag6_queue() 339 prev->next = skb; in nf_ct_frag6_queue() 421 clone->next = head->next; in nf_ct_frag6_reasm() [all …]
|
/linux-4.4.14/kernel/debug/kdb/ |
D | kdb_support.c | 693 u32 next; /* offset of next header from start of pool */ member 768 if (!h->next) in debug_kmalloc() 771 h = (struct debug_alloc_header *)(debug_alloc_pool + h->next); in debug_kmalloc() 777 if (best->next == 0 && bestprev == NULL && rem < dah_overhead) in debug_kmalloc() 785 h->next = best->next; in debug_kmalloc() 787 h_offset = best->next; in debug_kmalloc() 792 bestprev->next = h_offset; in debug_kmalloc() 825 h->next = dah_first; in debug_kfree() 833 if (!prev->next || prev->next > h_offset) in debug_kfree() 836 (debug_alloc_pool + prev->next); in debug_kfree() [all …]
|
/linux-4.4.14/Documentation/kdump/ |
D | gdbmacros.txt | 18 set $pid_off=((size_t)&((struct task_struct *)0)->pids[1].pid_list.next) 20 set $next_t=(((char *)($init_t->tasks).next) - $tasks_off) 34 set $next_th=(((char *)$next_t->pids[1].pid_list.next) - $pid_off) 48 set $next_th=(((char *)$next_th->pids[1].pid_list.next) - $pid_off) 50 set $next_t=(char *)($next_t->tasks.next) - $tasks_off 59 set $pid_off=((size_t)&((struct task_struct *)0)->pids[1].pid_list.next) 61 set $next_t=(((char *)($init_t->tasks).next) - $tasks_off) 77 set $next_th=(((char *)$next_t->pids[1].pid_list.next) - $pid_off) 92 set $next_th=(((char *)$next_th->pids[1].pid_list.next) - $pid_off) 94 set $next_t=(char *)($next_t->tasks.next) - $tasks_off [all …]
|
/linux-4.4.14/arch/sparc/include/asm/ |
D | switch_to_32.h | 27 #define SWITCH_DO_LAZY_FPU(next) /* */ argument 37 #define prepare_arch_switch(next) do { \ argument 57 #define switch_to(prev, next, last) do { \ argument 59 SWITCH_DO_LAZY_FPU(next); \ 60 cpumask_set_cpu(smp_processor_id(), mm_cpumask(next->active_mm)); \ 92 "r" (task_thread_info(next)), \
|
D | switch_to_64.h | 6 #define prepare_arch_switch(next) \ argument 20 #define switch_to(prev, next, last) \ argument 25 : : "r" (task_thread_info(next)->current_ds));\ 27 task_thread_info(next); \ 58 : "0" (task_thread_info(next)), \
|
/linux-4.4.14/drivers/of/ |
D | base.c | 221 for (pp = np->properties; pp; pp = pp->next) { in __of_find_property() 640 struct device_node *next; in __of_get_next_child() local 645 next = prev ? prev->sibling : node->child; in __of_get_next_child() 646 for (; next; next = next->sibling) in __of_get_next_child() 647 if (of_node_get(next)) in __of_get_next_child() 650 return next; in __of_get_next_child() 668 struct device_node *next; in of_get_next_child() local 672 next = __of_get_next_child(node, prev); in of_get_next_child() 674 return next; in of_get_next_child() 689 struct device_node *next; in of_get_next_available_child() local [all …]
|
/linux-4.4.14/fs/jffs2/ |
D | nodelist.c | 43 new->next = (*prev)->next; in jffs2_add_fd_to_list() 53 prev = &((*prev)->next); in jffs2_add_fd_to_list() 55 new->next = *prev; in jffs2_add_fd_to_list() 73 struct jffs2_node_frag *next = frag_next(frag); in jffs2_truncate_fragtree() local 77 frag = next; in jffs2_truncate_fragtree() 395 struct jffs2_node_frag *next = frag_next(newfrag); in jffs2_add_full_dnode_to_inode() local 397 if (next) { in jffs2_add_full_dnode_to_inode() 399 if (next->node) in jffs2_add_full_dnode_to_inode() 400 mark_ref_normal(next->node->raw); in jffs2_add_full_dnode_to_inode() 427 ret = ret->next; in jffs2_get_ino_cache() [all …]
|
/linux-4.4.14/arch/xtensa/include/asm/ |
D | mmu_context.h | 123 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 127 int migrated = next->context.cpu != cpu; in switch_mm() 131 next->context.cpu = cpu; in switch_mm() 133 if (migrated || prev != next) in switch_mm() 134 activate_context(next, cpu); in switch_mm() 137 #define activate_mm(prev, next) switch_mm((prev), (next), NULL) argument
|
/linux-4.4.14/arch/cris/arch-v32/kernel/ |
D | fasttimer.c | 214 tmp = tmp->next; in start_one_shot_timer() 239 t->next = fast_timer_list; in start_one_shot_timer() 249 while (tmp->next && in start_one_shot_timer() 250 fasttime_cmp(&t->tv_expires, &tmp->next->tv_expires) > 0) in start_one_shot_timer() 251 tmp = tmp->next; in start_one_shot_timer() 254 t->next = tmp->next; in start_one_shot_timer() 255 if (tmp->next) in start_one_shot_timer() 257 tmp->next->prev = t; in start_one_shot_timer() 259 tmp->next = t; in start_one_shot_timer() 270 return (t->next != NULL) || (t->prev != NULL) || (t == fast_timer_list); in fast_timer_pending() [all …]
|
/linux-4.4.14/scripts/dtc/ |
D | livetree.c | 41 new->next = *labels; in add_label() 79 assert(first->next == NULL); in chain_property() 81 first->next = list; in chain_property() 89 struct property *next; in reverse_properties() local 92 next = p->next; in reverse_properties() 93 p->next = head; in reverse_properties() 95 p = next; in reverse_properties() 154 new_node->proplist = new_prop->next; in merge_nodes() 155 new_prop->next = NULL; in merge_nodes() 231 prop->next = NULL; in add_property() [all …]
|
/linux-4.4.14/net/atm/ |
D | mpoa_caches.c | 47 entry = entry->next; in in_cache_get() 68 entry = entry->next; in in_cache_get_with_mask() 89 entry = entry->next; in in_cache_get_by_vcc() 111 entry->next = client->in_cache; in in_cache_add_entry() 201 entry->prev->next = entry->next; in in_cache_remove_entry() 203 client->in_cache = entry->next; in in_cache_remove_entry() 204 if (entry->next != NULL) in in_cache_remove_entry() 205 entry->next->prev = entry->prev; in in_cache_remove_entry() 237 next_entry = entry->next; in clear_count_and_expired() 266 entry = entry->next; /* Entry in hold down */ in check_resolving_entries() [all …]
|
/linux-4.4.14/net/ipv6/ |
D | reassembly.c | 212 struct sk_buff *prev, *next; in ip6_frag_queue() local 291 next = NULL; in ip6_frag_queue() 295 for (next = fq->q.fragments; next != NULL; next = next->next) { in ip6_frag_queue() 296 if (FRAG6_CB(next)->offset >= offset) in ip6_frag_queue() 298 prev = next; in ip6_frag_queue() 315 if (next && FRAG6_CB(next)->offset < end) in ip6_frag_queue() 321 skb->next = next; in ip6_frag_queue() 322 if (!next) in ip6_frag_queue() 325 prev->next = skb; in ip6_frag_queue() 397 head = prev->next; in ip6_frag_reasm() [all …]
|
/linux-4.4.14/drivers/crypto/qat/qat_common/ |
D | adf_dev_mgr.c | 218 struct vf_id_map *next; in adf_devmgr_add_dev() local 224 next = list_next_entry(map, list); in adf_devmgr_add_dev() 225 while (next && &next->list != &vfs_table) { in adf_devmgr_add_dev() 226 next->fake_id++; in adf_devmgr_add_dev() 227 next = list_next_entry(next, list); in adf_devmgr_add_dev() 276 struct vf_id_map *map, *next; in adf_devmgr_rm_dev() local 285 next = list_next_entry(map, list); in adf_devmgr_rm_dev() 286 while (next && &next->list != &vfs_table) { in adf_devmgr_rm_dev() 287 next->fake_id--; in adf_devmgr_rm_dev() 288 next = list_next_entry(next, list); in adf_devmgr_rm_dev()
|
/linux-4.4.14/drivers/pcmcia/ |
D | rsrc_nonstatic.c | 53 struct resource_map *next; member 115 for (p = map; ; p = p->next) { in add_interval() 120 if ((p->next == map) || (p->next->base > base+num-1)) in add_interval() 129 q->next = p->next; p->next = q; in add_interval() 140 q = p->next; in sub_interval() 147 p->next = q->next; in sub_interval() 170 p->next = q->next ; q->next = p; in sub_interval() 463 ok = inv_probe(m->next, s); in inv_probe() 492 if (inv_probe(s_data->mem_db.next, s) > 0) in validate_mem() 494 if (s_data->mem_db_valid.next != &s_data->mem_db_valid) in validate_mem() [all …]
|
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx5/core/ |
D | cmd.c | 182 struct mlx5_cmd_mailbox *next = msg->next; in calc_chain_sig() local 184 while (next) { in calc_chain_sig() 185 calc_block_sig(next->buf, token, csum); in calc_chain_sig() 186 next = next->next; in calc_chain_sig() 222 struct mlx5_cmd_mailbox *next = ent->out->next; in verify_signature() local 230 while (next) { in verify_signature() 231 err = verify_block_sig(next->buf); in verify_signature() 235 next = next->next; in verify_signature() 572 struct mlx5_cmd_mailbox *next = msg->next; in dump_command() local 602 while (next && offset < msg->len) { in dump_command() [all …]
|
/linux-4.4.14/arch/arm64/kernel/ |
D | process.c | 294 static void tls_thread_switch(struct task_struct *next) in tls_thread_switch() argument 301 tpidr = *task_user_tls(next); in tls_thread_switch() 302 tpidrro = is_compat_thread(task_thread_info(next)) ? in tls_thread_switch() 303 next->thread.tp_value : 0; in tls_thread_switch() 315 struct task_struct *next) in __switch_to() argument 319 fpsimd_thread_switch(next); in __switch_to() 320 tls_thread_switch(next); in __switch_to() 321 hw_breakpoint_thread_switch(next); in __switch_to() 322 contextidr_thread_switch(next); in __switch_to() 331 last = cpu_switch_to(prev, next); in __switch_to()
|
/linux-4.4.14/arch/avr32/kernel/ |
D | setup.c | 110 struct resource *new, *next, **pprev; in add_physical_memory() local 112 for (pprev = &system_ram, next = system_ram; next; in add_physical_memory() 113 pprev = &next->sibling, next = next->sibling) { in add_physical_memory() 114 if (end < next->start) in add_physical_memory() 116 if (start <= next->end) { in add_physical_memory() 121 start, end, next->start, next->end); in add_physical_memory() 146 struct resource *new, *next, **pprev; in add_reserved_region() local 154 for (pprev = &reserved, next = reserved; next; in add_reserved_region() 155 pprev = &next->sibling, next = next->sibling) { in add_reserved_region() 156 if (end < next->start) in add_reserved_region() [all …]
|
/linux-4.4.14/drivers/acpi/ |
D | wakeup.c | 32 struct list_head *node, *next; in acpi_enable_wakeup_devices() local 34 list_for_each_safe(node, next, &acpi_wakeup_device_list) { in acpi_enable_wakeup_devices() 59 struct list_head *node, *next; in acpi_disable_wakeup_devices() local 61 list_for_each_safe(node, next, &acpi_wakeup_device_list) { in acpi_disable_wakeup_devices() 81 struct list_head *node, *next; in acpi_wakeup_device_init() local 84 list_for_each_safe(node, next, &acpi_wakeup_device_list) { in acpi_wakeup_device_init()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | mmu_context.h | 131 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 147 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 151 write_aux_reg(ARC_REG_SCRATCH_DATA0, next->pgd); in switch_mm() 154 get_new_mmu_context(next); in switch_mm() 164 #define activate_mm(prev, next) switch_mm(prev, next, NULL) argument
|
D | switch_to.h | 31 #define switch_to(prev, next, last) \ argument 33 ARC_FPU_PREV(prev, next); \ 34 last = __switch_to(prev, next);\ 35 ARC_FPU_NEXT(next); \
|
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt.c | 45 for (ptr = ieee->crypt_deinit_list.next, n = ptr->next; in ieee80211_crypt_deinit_entries() 46 ptr != &ieee->crypt_deinit_list; ptr = n, n = ptr->next) { in ieee80211_crypt_deinit_entries() 136 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_unregister_crypto_ops() 167 for (ptr = hcrypt->algs.next; ptr != &hcrypt->algs; ptr = ptr->next) { in ieee80211_get_crypto_ops() 229 for (ptr = hcrypt->algs.next, n = ptr->next; ptr != &hcrypt->algs; in ieee80211_crypto_deinit() 230 ptr = n, n = ptr->next) { in ieee80211_crypto_deinit()
|
/linux-4.4.14/arch/arm/kvm/ |
D | mmu.c | 235 phys_addr_t next, start_addr = addr; in unmap_pmds() local 240 next = kvm_pmd_addr_end(addr, end); in unmap_pmds() 252 unmap_ptes(kvm, pmd, addr, next); in unmap_pmds() 255 } while (pmd++, addr = next, addr != end); in unmap_pmds() 264 phys_addr_t next, start_addr = addr; in unmap_puds() local 269 next = kvm_pud_addr_end(addr, end); in unmap_puds() 281 unmap_pmds(kvm, pud, addr, next); in unmap_puds() 284 } while (pud++, addr = next, addr != end); in unmap_puds() 296 phys_addr_t next; in unmap_range() local 300 next = kvm_pgd_addr_end(addr, end); in unmap_range() [all …]
|
/linux-4.4.14/net/sched/ |
D | sch_sfq.c | 99 sfq_index next; member 107 sfq_index next; /* next slot in sfq RR chain */ member 209 n = q->dep[qlen].next; in sfq_link() 211 slot->dep.next = n; in sfq_link() 214 q->dep[qlen].next = x; /* sfq_dep_head(q, p)->next = x */ in sfq_link() 220 n = q->slots[x].dep.next; \ 222 sfq_dep_head(q, p)->next = n; \ 261 skb->prev->next = (struct sk_buff *)slot; in slot_dequeue_tail() 262 skb->next = skb->prev = NULL; in slot_dequeue_tail() 271 slot->skblist_next = skb->next; in slot_dequeue_head() [all …]
|
D | cls_rsvp.h | 78 struct rsvp_session __rcu *next; member 90 struct rsvp_filter __rcu *next; member 176 s = rcu_dereference_bh(s->next)) { in rsvp_classify() 189 f = rcu_dereference_bh(f->next)) { in rsvp_classify() 214 f = rcu_dereference_bh(f->next)) { in rsvp_classify() 235 s = rtnl_dereference(s->next)) { in rsvp_replace() 237 ins = &pins->next, pins = rtnl_dereference(*ins)) { in rsvp_replace() 239 RCU_INIT_POINTER(n->next, pins->next); in rsvp_replace() 264 s = rtnl_dereference(s->next)) { in rsvp_get() 266 f = rtnl_dereference(f->next)) { in rsvp_get() [all …]
|
/linux-4.4.14/arch/x86/kernel/ |
D | process_64.c | 278 struct thread_struct *next = &next_p->thread; in __switch_to() local 280 struct fpu *next_fpu = &next->fpu; in __switch_to() 300 load_TLS(next, cpu); in __switch_to() 326 if (unlikely(next->es | prev->es)) in __switch_to() 327 loadsegment(es, next->es); in __switch_to() 330 if (unlikely(next->ds | prev->ds)) in __switch_to() 331 loadsegment(ds, next->ds); in __switch_to() 368 if (unlikely(fsindex | next->fsindex | prev->fs)) { in __switch_to() 369 loadsegment(fs, next->fsindex); in __switch_to() 383 if (next->fs) in __switch_to() [all …]
|
/linux-4.4.14/block/partitions/ |
D | msdos.c | 139 if (state->next == state->limit) in parse_extended() 163 sector_t offs, size, next; in parse_extended() local 172 next = this_sector + offs; in parse_extended() 176 if (next < first_sector) in parse_extended() 178 if (next + size > first_sector + first_size) in parse_extended() 182 put_partition(state, state->next, next, size); in parse_extended() 183 set_info(state, state->next, disksig); in parse_extended() 185 state->parts[state->next].flags = ADDPART_FLAG_RAID; in parse_extended() 187 if (++state->next == state->limit) in parse_extended() 248 for (i = 0; i < max_nparts && state->next < state->limit; i++) { in parse_solaris_x86() [all …]
|
/linux-4.4.14/tools/perf/ |
D | builtin-timechart.c | 88 struct per_pid *next; member 105 struct per_pidcomm *next; member 126 struct sample_wrapper *next; member 138 struct cpu_sample *next; member 157 struct io_sample *next; member 172 struct power_event *next; member 181 struct wake_event *next; member 191 struct process_filter *next; member 204 cursor = cursor->next; in find_create_pid() 209 cursor->next = tchart->all_data; in find_create_pid() [all …]
|
/linux-4.4.14/tools/include/linux/ |
D | list.h | 19 begin->prev->next = end->next; in list_del_range() 20 end->next->prev = begin->prev; in list_del_range() 29 for (; pos != (head); pos = pos->next)
|
/linux-4.4.14/arch/powerpc/mm/ |
D | mmu_context_nohash.c | 229 void switch_mmu_context(struct mm_struct *prev, struct mm_struct *next) in switch_mmu_context() argument 238 cpu, next, next->context.active, next->context.id); in switch_mmu_context() 242 next->context.active++; in switch_mmu_context() 253 id = next->context.id; in switch_mmu_context() 256 if (context_mm[id] != next) in switch_mmu_context() 258 next, id, id, context_mm[id]); in switch_mmu_context() 295 context_mm[id] = next; in switch_mmu_context() 296 next->context.id = id; in switch_mmu_context() 310 local_flush_tlb_mm(next); in switch_mmu_context() 322 set_context(id, next->pgd); in switch_mmu_context()
|
D | subpage-prot.c | 100 unsigned long next, limit; in subpage_prot_clear() local 106 for (; addr < limit; addr = next) { in subpage_prot_clear() 107 next = pmd_addr_end(addr, limit); in subpage_prot_clear() 122 if (addr + (nw << PAGE_SHIFT) > next) in subpage_prot_clear() 123 nw = (next - addr) >> PAGE_SHIFT; in subpage_prot_clear() 195 unsigned long next, limit; in sys_subpage_prot() local 217 for (limit = addr + len; addr < limit; addr = next) { in sys_subpage_prot() 218 next = pmd_addr_end(addr, limit); in sys_subpage_prot() 247 if (addr + (nw << PAGE_SHIFT) > next) in sys_subpage_prot() 248 nw = (next - addr) >> PAGE_SHIFT; in sys_subpage_prot()
|
/linux-4.4.14/arch/um/include/asm/ |
D | mmu_context.h | 50 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 55 if(prev != next){ in switch_mm() 57 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 58 if(next != &init_mm) in switch_mm() 59 __switch_mm(&next->context.id); in switch_mm()
|
/linux-4.4.14/drivers/gpu/drm/atmel-hlcdc/ |
D | atmel_hlcdc_layer.c | 135 dscr->next); in atmel_hlcdc_layer_update_apply() 151 dscr->next); in atmel_hlcdc_layer_update_apply() 368 upd->next = upd->pending ? 0 : 1; in atmel_hlcdc_layer_update_start() 370 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_start() 416 upd->slots[upd->next].configs, in atmel_hlcdc_layer_update_start() 429 atmel_hlcdc_layer_update_reset(layer, upd->next); in atmel_hlcdc_layer_update_rollback() 430 upd->next = -1; in atmel_hlcdc_layer_update_rollback() 445 if (upd->next < 0 || upd->next > 1) in atmel_hlcdc_layer_update_set_fb() 454 slot = &upd->slots[upd->next]; in atmel_hlcdc_layer_update_set_fb() 483 if (upd->next < 0 || upd->next > 1) in atmel_hlcdc_layer_update_cfg() [all …]
|
/linux-4.4.14/fs/omfs/ |
D | file.c | 37 u64 next, last; in omfs_shrink_inode() local 45 next = inode->i_ino; in omfs_shrink_inode() 52 bh = omfs_bread(inode->i_sb, next); in omfs_shrink_inode() 61 if (omfs_is_bad(sbi, (struct omfs_header *) bh->b_data, next)) in omfs_shrink_inode() 69 last = next; in omfs_shrink_inode() 70 next = be64_to_cpu(oe->e_next); in omfs_shrink_inode() 89 if (next == ~0) in omfs_shrink_inode() 92 bh = omfs_bread(inode->i_sb, next); in omfs_shrink_inode() 221 sector_t next, offset; in omfs_get_block() local 239 next = inode->i_ino; in omfs_get_block() [all …]
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | mmu_context.h | 73 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 77 set_context(tsk->mm->context, next->pgd); in switch_mm() 94 #define prepare_arch_switch(next) load_ksp_mmu(next) argument 196 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 282 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument 284 if (prev != next) { in switch_mm() 286 switch_mm_0230(next); in switch_mm() 288 switch_mm_0460(next); in switch_mm() 315 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, struct task_struct *ts… in switch_mm() argument
|
/linux-4.4.14/arch/mips/kernel/ |
D | module.c | 38 struct mips_hi16 *next; member 103 n->next = me->arch.r_mips_hi16_list; in apply_r_mips_hi16_rel() 111 struct mips_hi16 *next; in free_relocation_chain() local 114 next = l->next; in free_relocation_chain() 116 l = next; in free_relocation_chain() 132 struct mips_hi16 *next; in apply_r_mips_lo16_rel() local 160 next = l->next; in apply_r_mips_lo16_rel() 162 l = next; in apply_r_mips_lo16_rel()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | mmu_context.h | 120 unsigned long next = asn + 1; in __get_new_mm_context() local 125 next = (asn & ~HARDWARE_ASN_MASK) + ASN_FIRST_VERSION; in __get_new_mm_context() 127 cpu_last_asn(cpu) = next; in __get_new_mm_context() 128 return next; in __get_new_mm_context() 133 struct task_struct *next) in ev5_switch_mm() argument 158 task_thread_info(next)->pcb.asn = mmc & HARDWARE_ASN_MASK; in ev5_switch_mm() 163 struct task_struct *next) in ev4_switch_mm() argument 178 ev5_switch_mm(prev_mm, next_mm, next); in ev4_switch_mm()
|
/linux-4.4.14/drivers/mtd/ |
D | redboot.c | 47 struct fis_list *next; member 209 prev = &(*prev)->next; in parse_redboot_partitions() 210 new_fl->next = *prev; in parse_redboot_partitions() 221 for (tmp_fl = fl; tmp_fl->next; tmp_fl = tmp_fl->next) { in parse_redboot_partitions() 222 …if (tmp_fl->img->flash_base + tmp_fl->img->size + master->erasesize <= tmp_fl->next->img->flash_ba… in parse_redboot_partitions() 269 …if(fl->next && fl->img->flash_base + fl->img->size + master->erasesize <= fl->next->img->flash_bas… in parse_redboot_partitions() 272 parts[i].size = fl->next->img->flash_base - parts[i].offset; in parse_redboot_partitions() 277 fl = fl->next; in parse_redboot_partitions() 285 fl = fl->next; in parse_redboot_partitions()
|
/linux-4.4.14/drivers/media/pci/cobalt/ |
D | cobalt-omnitek.c | 167 dma_addr_t next = desc->bus; in descriptor_list_create() local 176 WARN_ON(next & 3); in descriptor_list_create() 221 next += sizeof(struct sg_dma_descriptor); in descriptor_list_create() 222 d->next_h = (u32)((u64)next >> 32); in descriptor_list_create() 223 d->next_l = (u32)next | in descriptor_list_create() 265 next += sizeof(struct sg_dma_descriptor); in descriptor_list_create() 275 d->next_h = (u32)((u64)next >> 32); in descriptor_list_create() 276 d->next_l = (u32)next | (to_pci ? WRITE_TO_PCI : 0); in descriptor_list_create() 284 struct sg_dma_desc_info *next) in descriptor_list_chain() argument 289 if (next == NULL) { in descriptor_list_chain() [all …]
|
/linux-4.4.14/tools/lib/traceevent/ |
D | event-plugin.c | 36 struct registered_plugin_options *next; member 41 struct trace_plugin_options *next; member 48 struct plugin_list *next; member 119 for (reg = registered_options; reg; reg = reg->next) { in traceevent_plugin_list_options() 187 for (op = trace_plugin_options; op; op = op->next) { in update_option() 202 for (op = trace_plugin_options; op; op = op->next) { in update_option() 232 reg->next = registered_options; in traceevent_plugin_add_options() 252 for (last = ®istered_options; *last; last = &(*last)->next) { in traceevent_plugin_remove_options() 255 *last = reg->next; in traceevent_plugin_remove_options() 279 list = list->next; in traceevent_print_plugins() [all …]
|
/linux-4.4.14/arch/powerpc/platforms/cell/spufs/ |
D | switch.c | 1967 static void restore_lscsa(struct spu_state *next, struct spu *spu) in restore_lscsa() argument 1975 set_watchdog_timer(next, spu); /* Step 26. */ in restore_lscsa() 1976 setup_spu_status_part1(next, spu); /* Step 27. */ in restore_lscsa() 1977 setup_spu_status_part2(next, spu); /* Step 28. */ in restore_lscsa() 1978 restore_mfc_rag(next, spu); /* Step 29. */ in restore_lscsa() 1980 setup_mfc_slbs(next, spu, spu_restore_code, sizeof(spu_restore_code)); in restore_lscsa() 1981 set_spu_npc(next, spu); /* Step 31. */ in restore_lscsa() 1982 set_signot1(next, spu); /* Step 32. */ in restore_lscsa() 1983 set_signot2(next, spu); /* Step 33. */ in restore_lscsa() 1984 setup_decr(next, spu); /* Step 34. */ in restore_lscsa() [all …]
|
/linux-4.4.14/arch/cris/arch-v32/drivers/ |
D | cryptocop.c | 60 struct cryptocop_dma_desc *next; member 125 struct cryptocop_private *next; member 135 struct cryptocop_transform_ctx *next; member 144 struct cryptocop_session *next; member 297 cdesc->next = descr_pool_free_list; in free_cdesc() 321 descr_pool_free_list = descr_pool_free_list->next; in alloc_cdesc() 335 cdesc->next = NULL; in alloc_cdesc() 355 if (cd->next) { in setup_descr_chain() 356 cd->dma_descr->next = (dma_descr_data*)virt_to_phys(cd->next->dma_descr); in setup_descr_chain() 358 cd->dma_descr->next = NULL; in setup_descr_chain() [all …]
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | rtas_flash.c | 113 struct flash_block_list *next; member 175 for (f = flist; f; f = f->next) { in flash_list_valid() 200 struct flash_block_list *next; in free_flash_list() local 206 next = f->next; in free_flash_list() 208 f = next; in free_flash_list() 338 while (fl->next) in rtas_flash_write() 339 fl = fl->next; /* seek to last block_list for append */ in rtas_flash_write() 343 fl->next = kmem_cache_zalloc(flash_block_cache, GFP_KERNEL); in rtas_flash_write() 344 if (!fl->next) in rtas_flash_write() 346 fl = fl->next; in rtas_flash_write() [all …]
|
/linux-4.4.14/arch/cris/arch-v10/mm/ |
D | tlb.c | 151 void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 154 if (prev != next) { in switch_mm() 156 get_mmu_context(next); in switch_mm() 165 per_cpu(current_pgd, smp_processor_id()) = next->pgd; in switch_mm() 170 next->context, next)); in switch_mm() 173 page_id, next->context.page_id); in switch_mm()
|
/linux-4.4.14/arch/cris/arch-v32/mm/ |
D | tlb.c | 179 switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 182 if (prev != next) { in switch_mm() 187 get_mmu_context(next); in switch_mm() 188 cpumask_set_cpu(cpu, mm_cpumask(next)); in switch_mm() 196 per_cpu(current_pgd, cpu) = next->pgd; in switch_mm() 200 SPEC_REG_WR(SPEC_REG_PID, next->context.page_id | in switch_mm() 203 SPEC_REG_WR(SPEC_REG_PID, next->context.page_id); in switch_mm()
|
D | intmem.c | 110 struct intmem_allocation *next = in crisv32_intmem_free() local 111 list_entry(allocation->entry.next, in crisv32_intmem_free() 123 if ((next != &intmem_allocations) && in crisv32_intmem_free() 124 (next->status == STATUS_FREE)) { in crisv32_intmem_free() 125 allocation->size += next->size; in crisv32_intmem_free() 126 list_del(&next->entry); in crisv32_intmem_free() 127 kfree(next); in crisv32_intmem_free()
|
/linux-4.4.14/drivers/gpu/drm/gma500/ |
D | mmu.c | 518 unsigned long next; in psb_mmu_flush_ptes() local 541 next = psb_pd_addr_end(addr, end); in psb_mmu_flush_ptes() 548 (addr & clflush_mask) < next); in psb_mmu_flush_ptes() 551 } while (addr = next, next != end); in psb_mmu_flush_ptes() 571 unsigned long next; in psb_mmu_remove_pfn_sequence() local 580 next = psb_pd_addr_end(addr, end); in psb_mmu_remove_pfn_sequence() 587 } while (addr += PAGE_SIZE, addr < next); in psb_mmu_remove_pfn_sequence() 590 } while (addr = next, next != end); in psb_mmu_remove_pfn_sequence() 613 unsigned long next; in psb_mmu_remove_pages() local 636 next = psb_pd_addr_end(addr, end); in psb_mmu_remove_pages() [all …]
|
/linux-4.4.14/net/unix/ |
D | garbage.c | 163 struct sk_buff *next; in scan_inflight() local 166 skb_queue_walk_safe(&x->sk_receive_queue, skb, next) { in scan_inflight() 208 struct sk_buff *next; in scan_children() local 216 skb_queue_walk_safe(&x->sk_receive_queue, skb, next) { in scan_children() 228 u = list_entry(embryos.next, struct unix_sock, link); in scan_children() 273 struct unix_sock *next; in unix_gc() local 300 list_for_each_entry_safe(u, next, &gc_inflight_list, link) { in unix_gc() 330 while (cursor.next != &gc_candidates) { in unix_gc() 331 u = list_entry(cursor.next, struct unix_sock, link); in unix_gc() 348 u = list_entry(not_cycle_list.next, struct unix_sock, link); in unix_gc()
|
/linux-4.4.14/sound/soc/au1x/ |
D | dma.c | 27 struct pcm_period *next; member 53 pointer_next = pointer->next; in au1000_release_dma_link() 89 pointer->next = kmalloc(sizeof(struct pcm_period), in au1000_setup_dma_link() 91 if (!pointer->next) { in au1000_setup_dma_link() 95 pointer = pointer->next; in au1000_setup_dma_link() 98 pointer->next = stream->buffer; in au1000_setup_dma_link() 118 set_dma_addr1(stream->dma, stream->buffer->next->start); in au1000_dma_start() 124 set_dma_addr0(stream->dma, stream->buffer->next->start); in au1000_dma_start() 138 stream->buffer = stream->buffer->next; in au1000_dma_interrupt() 140 set_dma_addr0(stream->dma, stream->buffer->next->start); in au1000_dma_interrupt() [all …]
|
/linux-4.4.14/drivers/isdn/hysdn/ |
D | hysdn_init.c | 95 card->next = NULL; /*end of chain */ in hysdn_pci_init_one() 97 card_last->next = card; /* pointer to next card */ in hysdn_pci_init_one() 129 card_root = card_root->next; in hysdn_pci_remove_one() 135 if (tmp->next == card) in hysdn_pci_remove_one() 136 tmp->next = card->next; in hysdn_pci_remove_one() 138 tmp = tmp->next; in hysdn_pci_remove_one()
|
/linux-4.4.14/kernel/rcu/ |
D | tiny.c | 134 struct rcu_head *next, *list; in __rcu_process_callbacks() local 157 next = list->next; in __rcu_process_callbacks() 158 prefetch(next); in __rcu_process_callbacks() 163 list = next; in __rcu_process_callbacks() 213 head->next = NULL; in __call_rcu() 217 rcp->curtail = &head->next; in __call_rcu()
|
/linux-4.4.14/fs/nilfs2/ |
D | segbuf.h | 54 sector_t next; member 100 #define NILFS_NEXT_SEGBUF(segbuf) NILFS_LIST_SEGBUF((segbuf)->sb_list.next) 103 #define NILFS_FIRST_SEGBUF(head) NILFS_LIST_SEGBUF((head)->next) 104 #define NILFS_SEGBUF_IS_LAST(segbuf, head) ((segbuf)->sb_list.next == (head)) 111 (list_entry((head)->next, struct buffer_head, b_assoc_buffers)) 113 (list_entry((bh)->b_assoc_buffers.next, struct buffer_head, \ 115 #define NILFS_SEGBUF_BH_IS_LAST(bh, head) ((bh)->b_assoc_buffers.next == head)
|
/linux-4.4.14/fs/btrfs/ |
D | extent_map.c | 185 static int mergable_maps(struct extent_map *prev, struct extent_map *next) in mergable_maps() argument 198 test_bit(EXTENT_FLAG_LOGGING, &next->flags)) in mergable_maps() 206 if (!list_empty(&prev->list) || !list_empty(&next->list)) in mergable_maps() 209 if (extent_map_end(prev) == next->start && in mergable_maps() 210 prev->flags == next->flags && in mergable_maps() 211 prev->bdev == next->bdev && in mergable_maps() 212 ((next->block_start == EXTENT_MAP_HOLE && in mergable_maps() 214 (next->block_start == EXTENT_MAP_INLINE && in mergable_maps() 216 (next->block_start == EXTENT_MAP_DELALLOC && in mergable_maps() 218 (next->block_start < EXTENT_MAP_LAST_BYTE - 1 && in mergable_maps() [all …]
|
/linux-4.4.14/tools/power/cpupower/utils/ |
D | cpufreq-info.c | 276 while (cpus->next) { in debug_output_one() 278 cpus = cpus->next; in debug_output_one() 287 while (cpus->next) { in debug_output_one() 289 cpus = cpus->next; in debug_output_one() 313 while (freqs->next) { in debug_output_one() 316 freqs = freqs->next; in debug_output_one() 326 while (governors->next) { in debug_output_one() 328 governors = governors->next; in debug_output_one() 363 stats = stats->next; in debug_output_one() 453 while (governors->next) { in get_available_governors() [all …]
|
/linux-4.4.14/fs/autofs4/ |
D | expire.c | 80 struct list_head *next; in get_next_positive_subdir() local 87 next = prev->d_child.next; in get_next_positive_subdir() 90 next = prev->d_subdirs.next; in get_next_positive_subdir() 94 if (next == &root->d_subdirs) { in get_next_positive_subdir() 101 q = list_entry(next, struct dentry, d_child); in get_next_positive_subdir() 107 next = q->d_child.next; in get_next_positive_subdir() 127 struct list_head *next; in get_next_positive_dentry() local 138 next = p->d_subdirs.next; in get_next_positive_dentry() 139 if (next == &p->d_subdirs) { in get_next_positive_dentry() 157 next = p->d_child.next; in get_next_positive_dentry() [all …]
|
/linux-4.4.14/drivers/vfio/ |
D | vfio_iommu_type1.c | 66 struct list_head next; member 82 struct list_head next; member 352 struct vfio_domain, next); in vfio_unmap_unpin() 354 list_for_each_entry_continue(d, &iommu->domain_list, next) { in vfio_unmap_unpin() 361 phys_addr_t phys, next; in vfio_unmap_unpin() local 376 next = iommu_iova_to_phys(domain->domain, iova + len); in vfio_unmap_unpin() 377 if (next != phys + len) in vfio_unmap_unpin() 409 list_for_each_entry(domain, &iommu->domain_list, next) in vfio_pgsize_bitmap() 540 list_for_each_entry(d, &iommu->domain_list, next) { in vfio_iommu_map() 555 list_for_each_entry_continue_reverse(d, &iommu->domain_list, next) in vfio_iommu_map() [all …]
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | mmu_context_mm.h | 117 static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, in switch_mm() argument 120 tsk->thread.pgdir = next->pgd; in switch_mm() 121 get_mmu_context(next); in switch_mm() 122 set_context(next->context, next->pgd); in switch_mm()
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_bridge.c | 182 ret = ret && drm_bridge_mode_fixup(bridge->next, mode, adjusted_mode); in drm_bridge_mode_fixup() 204 drm_bridge_disable(bridge->next); in drm_bridge_disable() 228 drm_bridge_post_disable(bridge->next); in drm_bridge_post_disable() 254 drm_bridge_mode_set(bridge->next, mode, adjusted_mode); in drm_bridge_mode_set() 274 drm_bridge_pre_enable(bridge->next); in drm_bridge_pre_enable() 298 drm_bridge_enable(bridge->next); in drm_bridge_enable()
|
/linux-4.4.14/fs/f2fs/ |
D | shrinker.c | 46 p = f2fs_list.next; in f2fs_shrink_count() 52 p = p->next; in f2fs_shrink_count() 67 p = p->next; in f2fs_shrink_count() 87 p = f2fs_list.next; in f2fs_shrink_scan() 96 p = p->next; in f2fs_shrink_scan() 115 p = p->next; in f2fs_shrink_scan()
|