/kernel/ |
D | audit_tree.c | 15 struct list_head list; member 30 struct list_head list; member 81 INIT_LIST_HEAD(&tree->list); in alloc_tree() 128 INIT_LIST_HEAD(&chunk->owners[i].list); in alloc_chunk() 171 struct list_head *list = chunk_hash(chunk->watch.inode); in insert_hash() local 172 list_add_rcu(&chunk->hash, list); in insert_hash() 178 struct list_head *list = chunk_hash(inode); in audit_tree_lookup() local 181 list_for_each_entry_rcu(p, list, hash) { in audit_tree_lookup() 228 list_del_init(&p->list); in untag_chunk() 254 list_del_init(&p->list); in untag_chunk() [all …]
|
D | smp.c | 33 struct list_head list; member 45 INIT_LIST_HEAD(&q->list); in init_call_single_data() 72 ipi = list_empty(&dst->list); in generic_exec_single() 73 list_add_tail(&data->list, &dst->list); in generic_exec_single() 111 list_for_each_entry_rcu(data, &call_function_queue, csd.list) { in generic_smp_call_function_interrupt() 130 list_del_rcu(&data->csd.list); in generic_smp_call_function_interrupt() 156 LIST_HEAD(list); in generic_smp_call_function_single_interrupt() 163 while (!list_empty(&q->list)) { in generic_smp_call_function_single_interrupt() 167 list_replace_init(&q->list, &list); in generic_smp_call_function_single_interrupt() 170 while (!list_empty(&list)) { in generic_smp_call_function_single_interrupt() [all …]
|
D | pm_qos_params.c | 51 struct list_head list; member 76 .requirements = {LIST_HEAD_INIT(cpu_dma_pm_qos.requirements.list)}, 86 .requirements = {LIST_HEAD_INIT(network_lat_pm_qos.requirements.list)}, 98 {LIST_HEAD_INIT(network_throughput_pm_qos.requirements.list)}, 149 &pm_qos_array[target]->requirements.list, list) { in update_target() 226 list_add(&dep->list, in pm_qos_add_requirement() 227 &pm_qos_array[pm_qos_class]->requirements.list); in pm_qos_add_requirement() 259 &pm_qos_array[pm_qos_class]->requirements.list, list) { in pm_qos_update_requirement() 294 &pm_qos_array[pm_qos_class]->requirements.list, list) { in pm_qos_remove_requirement() 297 list_del(&node->list); in pm_qos_remove_requirement()
|
D | futex.c | 75 struct list_head list; member 98 struct plist_node list; member 385 INIT_LIST_HEAD(&pi_state->list); in refill_pi_state_cache() 417 list_del_init(&pi_state->list); in free_pi_state() 487 pi_state = list_entry(next, struct futex_pi_state, list); in exit_pi_state_list() 505 WARN_ON(list_empty(&pi_state->list)); in exit_pi_state_list() 506 list_del_init(&pi_state->list); in exit_pi_state_list() 531 plist_for_each_entry_safe(this, next, head, list) { in lookup_pi_state() 596 WARN_ON(!list_empty(&pi_state->list)); in lookup_pi_state() 597 list_add(&pi_state->list, &p->pi_state_list); in lookup_pi_state() [all …]
|
D | taskstats.c | 62 struct list_head list; member 69 struct list_head list; member 146 list_for_each_entry(s, &listeners->list, list) { in send_cpu_listeners() 148 if (!list_is_last(&s->list, &listeners->list)) { in send_cpu_listeners() 170 list_for_each_entry_safe(s, tmp, &listeners->list, list) { in send_cpu_listeners() 172 list_del(&s->list); in send_cpu_listeners() 309 INIT_LIST_HEAD(&s->list); in add_del_listener() 314 list_add(&s->list, &listeners->list); in add_del_listener() 325 list_for_each_entry_safe(s, tmp, &listeners->list, list) { in add_del_listener() 327 list_del(&s->list); in add_del_listener() [all …]
|
D | async.c | 72 struct list_head list; member 96 struct async_entry, list); in __lowest_in_progress() 100 struct async_entry, list); in __lowest_in_progress() 133 entry = list_first_entry(&async_pending, struct async_entry, list); in run_one_entry() 136 list_move_tail(&entry->list, entry->running); in run_one_entry() 157 list_del(&entry->list); in run_one_entry() 204 list_add_tail(&entry->list, &async_pending); in __async_schedule() 264 void async_synchronize_full_domain(struct list_head *list) in async_synchronize_full_domain() argument 266 async_synchronize_cookie_domain(next_cookie, list); in async_synchronize_full_domain()
|
D | auditfilter.c | 290 int __init audit_register_class(int class, unsigned *list) in audit_register_class() argument 295 while (*list != ~0U) { in audit_register_class() 296 unsigned n = *list++; in audit_register_class() 1012 list_del_rcu(&oentry->list); in audit_update_watch() 1016 list_del(&oentry->rule.list); in audit_update_watch() 1021 list_add_rcu(&nentry->list, &audit_inode_hash[h]); in audit_update_watch() 1022 list_replace(&oentry->rule.list, in audit_update_watch() 1023 &nentry->rule.list); in audit_update_watch() 1088 list_del(&r->list); in audit_remove_parent_watches() 1089 list_del_rcu(&e->list); in audit_remove_parent_watches() [all …]
|
D | kprobes.c | 329 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_pre_handler() 345 list_for_each_entry_rcu(kp, &p->list, list) { in aggr_post_handler() 390 list_for_each_entry_rcu(kp, &p->list, list) in kprobes_inc_nmissed_count() 528 list_add_tail_rcu(&p->list, &old_p->list); in add_new_kprobe() 531 list_add_rcu(&p->list, &old_p->list); in add_new_kprobe() 554 INIT_LIST_HEAD(&ap->list); in add_aggr_kprobe() 555 list_add_rcu(&p->list, &ap->list); in add_aggr_kprobe() 694 INIT_LIST_HEAD(&p->list); in register_kprobe() 734 list_for_each_entry_rcu(list_p, &old_p->list, list) in __unregister_kprobe_top() 743 list_is_singular(&old_p->list))) { in __unregister_kprobe_top() [all …]
|
D | softirq.c | 366 struct tasklet_struct *list; in tasklet_action() local 369 list = __get_cpu_var(tasklet_vec).head; in tasklet_action() 374 while (list) { in tasklet_action() 375 struct tasklet_struct *t = list; in tasklet_action() 377 list = list->next; in tasklet_action() 401 struct tasklet_struct *list; in tasklet_hi_action() local 404 list = __get_cpu_var(tasklet_hi_vec).head; in tasklet_hi_action() 409 while (list) { in tasklet_hi_action() 410 struct tasklet_struct *t = list; in tasklet_hi_action() 412 list = list->next; in tasklet_hi_action() [all …]
|
D | mutex-debug.c | 38 INIT_LIST_HEAD(&waiter->list); in debug_mutex_lock_common() 46 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in debug_mutex_wake_waiter() 51 DEBUG_LOCKS_WARN_ON(!list_empty(&waiter->list)); in debug_mutex_free_waiter() 68 DEBUG_LOCKS_WARN_ON(list_empty(&waiter->list)); in mutex_remove_waiter() 73 list_del_init(&waiter->list); in mutex_remove_waiter()
|
D | semaphore.c | 194 struct list_head list; member 210 list_add_tail(&waiter.list, &sem->wait_list); in __down_common() 228 list_del(&waiter.list); in __down_common() 232 list_del(&waiter.list); in __down_common() 259 struct semaphore_waiter, list); in __up() 260 list_del(&waiter->list); in __up()
|
D | rcuclassic.c | 333 struct rcu_head *next, *list; in rcu_do_batch() local 336 list = rdp->donelist; in rcu_do_batch() 337 while (list) { in rcu_do_batch() 338 next = list->next; in rcu_do_batch() 340 list->func(list); in rcu_do_batch() 341 list = next; in rcu_do_batch() 345 rdp->donelist = list; in rcu_do_batch() 470 static void rcu_move_batch(struct rcu_data *this_rdp, struct rcu_head *list, in rcu_move_batch() argument 475 if (list) { in rcu_move_batch() 478 *this_rdp->nxttail[2] = list; in rcu_move_batch()
|
D | rcupreempt.c | 993 struct rcu_head *list = NULL; in rcu_offline_cpu() local 998 struct rcu_head **tail = &list; in rcu_offline_cpu() 1006 rcu_offline_cpu_enqueue(rdp->donelist, rdp->donetail, list, tail); in rcu_offline_cpu() 1009 list, tail); in rcu_offline_cpu() 1010 rcu_offline_cpu_enqueue(rdp->nextlist, rdp->nexttail, list, tail); in rcu_offline_cpu() 1053 *rdp->nexttail = list; in rcu_offline_cpu() 1054 if (list) in rcu_offline_cpu() 1097 struct rcu_head *next, *list; in rcu_process_callbacks() local 1103 list = rdp->donelist; in rcu_process_callbacks() 1104 if (list == NULL) { in rcu_process_callbacks() [all …]
|
D | kthread.c | 38 struct list_head list; member 150 list_add_tail(&create.list, &kthread_create_list); in kthread_create() 258 struct kthread_create_info, list); in kthreadd() 259 list_del_init(&create->list); in kthreadd()
|
D | signal.c | 209 INIT_LIST_HEAD(&q->list); in __sigqueue_alloc() 231 while (!list_empty(&queue->list)) { in flush_sigqueue() 232 q = list_entry(queue->list.next, struct sigqueue , list); in flush_sigqueue() 233 list_del_init(&q->list); in flush_sigqueue() 260 list_for_each_entry_safe(q, n, &pending->list, list) { in __flush_itimer_signals() 267 list_del_init(&q->list); in __flush_itimer_signals() 359 static void collect_signal(int sig, struct sigpending *list, siginfo_t *info) in collect_signal() argument 367 list_for_each_entry(q, &list->list, list) { in collect_signal() 375 sigdelset(&list->signal, sig); in collect_signal() 379 list_del_init(&first->list); in collect_signal() [all …]
|
D | mutex.h | 17 __list_del((waiter)->list.prev, (waiter)->list.next)
|
D | pid_namespace.c | 23 struct list_head list; member 41 list_for_each_entry(pcache, &pid_caches_lh, list) in create_pid_cachep() 58 list_add(&pcache->list, &pid_caches_lh); in create_pid_cachep()
|
D | module.c | 247 list_for_each_entry_rcu(mod, &modules, list) { in each_symbol() 361 list_for_each_entry(mod, &modules, list) { in find_module() 590 struct list_head list; member 599 list_for_each_entry(use, &b->modules_which_use_me, list) { in already_uses() 639 list_add(&use->list, &b->modules_which_use_me); in use_module() 649 list_for_each_entry(i, &modules, list) { in module_unload_free() 652 list_for_each_entry(use, &i->modules_which_use_me, list) { in module_unload_free() 656 list_del(&use->list); in module_unload_free() 844 list_for_each_entry(use, &mod->modules_which_use_me, list) { in print_unload_info() 1441 list_del(&mod->list); in __unlink_module() [all …]
|
D | rcutree.c | 882 struct rcu_head *next, *list, **tail; in rcu_do_batch() local 894 list = rdp->nxtlist; in rcu_do_batch() 905 while (list) { in rcu_do_batch() 906 next = list->next; in rcu_do_batch() 908 list->func(list); in rcu_do_batch() 909 list = next; in rcu_do_batch() 918 if (list != NULL) { in rcu_do_batch() 920 rdp->nxtlist = list; in rcu_do_batch()
|
D | tracepoint.c | 64 struct list_head list; member 398 list_add(&tp_probes->u.list, &old_probes); in tracepoint_add_old_probes() 467 list_for_each_entry_safe(pos, next, &release_probes, u.list) { in tracepoint_probe_update_all() 468 list_del(&pos->u.list); in tracepoint_probe_update_all()
|
D | acct.c | 92 struct list_head list; member 193 list_del(&acct->list); in acct_file_reopen() 200 list_add(&acct->list, &acct_list); in acct_file_reopen() 323 list_for_each_entry(acct, &acct_list, list) in acct_auto_close_mnt() 344 list_for_each_entry(acct, &acct_list, list) in acct_auto_close()
|
/kernel/time/ |
D | clockevents.c | 155 struct clock_event_device, list); in clockevents_notify_released() 156 list_del(&dev->list); in clockevents_notify_released() 157 list_add(&dev->list, &clockevent_devices); in clockevents_notify_released() 182 list_add(&dev->list, &clockevent_devices); in clockevents_register_device() 215 list_del(&old->list); in clockevents_exchange_device() 216 list_add(&old->list, &clockevents_released); in clockevents_exchange_device()
|
D | clocksource.c | 225 list_for_each_entry(cs, &clocksource_list, list) { in clocksource_resume() 284 list); in select_clocksource() 302 cs = list_entry(tmp, struct clocksource, list); in clocksource_enqueue() 309 list_add(&c->list, entry); in clocksource_enqueue() 352 list_del(&cs->list); in clocksource_change_rating() 367 list_del(&cs->list); in clocksource_unregister() 432 list_for_each_entry(cs, &clocksource_list, list) { in sysfs_override_clocksource() 466 list_for_each_entry(src, &clocksource_list, list) { in sysfs_show_available_clocksources()
|
/kernel/trace/ |
D | ring_buffer.c | 219 struct list_head list; /* list of free pages */ member 319 list_for_each_entry_safe(bpage, tmp, head, list) { in rb_check_pages() 321 bpage->list.next->prev != &bpage->list)) in rb_check_pages() 324 bpage->list.prev->next != &bpage->list)) in rb_check_pages() 345 list_add(&bpage->list, &pages); in rb_allocate_pages() 361 list_for_each_entry_safe(bpage, tmp, &pages, list) { in rb_allocate_pages() 362 list_del_init(&bpage->list); in rb_allocate_pages() 399 INIT_LIST_HEAD(&cpu_buffer->reader_page->list); in rb_allocate_cpu_buffer() 406 = list_entry(cpu_buffer->pages.next, struct buffer_page, list); in rb_allocate_cpu_buffer() 424 list_del_init(&cpu_buffer->reader_page->list); in rb_free_cpu_buffer() [all …]
|
/kernel/power/ |
D | snapshot.c | 135 free_list_of_pages(struct linked_page *list, int clear_page_nosave) in free_list_of_pages() argument 137 while (list) { in free_list_of_pages() 138 struct linked_page *lp = list->next; in free_list_of_pages() 140 free_image_page(list, clear_page_nosave); in free_list_of_pages() 141 list = lp; in free_list_of_pages() 275 struct list_head *list, in create_bm_block_list() argument 286 list_add(&bb->hook, list); in create_bm_block_list() 302 static void free_mem_extents(struct list_head *list) in free_mem_extents() argument 306 list_for_each_entry_safe(ext, aux, list, hook) { in free_mem_extents() 318 static int create_mem_extents(struct list_head *list, gfp_t gfp_mask) in create_mem_extents() argument [all …]
|