/kernel/ |
D | kallsyms.c | 129 static unsigned int get_symbol_offset(unsigned long pos) in get_symbol_offset() argument 136 name = &kallsyms_names[ kallsyms_markers[pos>>8] ]; in get_symbol_offset() 142 for(i = 0; i < (pos&0xFF); i++) in get_symbol_offset() 250 unsigned long pos; in kallsyms_lookup() local 252 pos = get_symbol_pos(addr, symbolsize, offset); in kallsyms_lookup() 254 kallsyms_expand_symbol(get_symbol_offset(pos), namebuf); in kallsyms_lookup() 271 unsigned long pos; in lookup_symbol_name() local 273 pos = get_symbol_pos(addr, NULL, NULL); in lookup_symbol_name() 275 kallsyms_expand_symbol(get_symbol_offset(pos), symname); in lookup_symbol_name() 289 unsigned long pos; in lookup_symbol_attrs() local [all …]
|
D | lockdep_proc.c | 26 static void *l_next(struct seq_file *m, void *v, loff_t *pos) in l_next() argument 30 (*pos)++; in l_next() 47 static void *l_start(struct seq_file *m, loff_t *pos) in l_start() argument 52 if (*pos == 0) in l_start() 56 if (++i == *pos) in l_start() 152 static void *lc_next(struct seq_file *m, void *v, loff_t *pos) in lc_next() argument 156 (*pos)++; in lc_next() 163 if (*pos < nr_lock_chains) in lc_next() 164 chain = lock_chains + *pos; in lc_next() 172 static void *lc_start(struct seq_file *m, loff_t *pos) in lc_start() argument [all …]
|
D | dma-coherent.c | 79 int pos, err; in dma_mark_declared_memory_occupied() local 86 pos = (device_addr - mem->device_base) >> PAGE_SHIFT; in dma_mark_declared_memory_occupied() 87 err = bitmap_allocate_region(mem->bitmap, pos, get_order(size)); in dma_mark_declared_memory_occupied() 90 return mem->virt_base + (pos << PAGE_SHIFT); in dma_mark_declared_memory_occupied()
|
D | kprobes.c | 154 struct hlist_node *pos; in __get_insn_slot() local 157 hlist_for_each_entry(kip, pos, &kprobe_insn_pages, hlist) { in __get_insn_slot() 238 struct hlist_node *pos, *next; in collect_garbage_slots() local 248 hlist_for_each_entry_safe(kip, pos, next, &kprobe_insn_pages, hlist) { in collect_garbage_slots() 266 struct hlist_node *pos; in free_insn_slot() local 269 hlist_for_each_entry(kip, pos, &kprobe_insn_pages, hlist) { in free_insn_slot() 482 struct hlist_node *pos, *next; in free_rp_inst() local 484 hlist_for_each_entry_safe(ri, pos, next, &rp->free_instances, hlist) { in free_rp_inst() 494 struct hlist_node *pos, *next; in cleanup_rp_inst() local 501 hlist_for_each_entry_safe(ri, pos, next, head, hlist) { in cleanup_rp_inst() [all …]
|
D | tracepoint.c | 454 struct tp_probes *pos, *next; in tracepoint_probe_update_all() local 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() 469 call_rcu_sched(&pos->u.rcu, rcu_free_old_probes); in tracepoint_probe_update_all()
|
D | res_counter.c | 111 const char __user *userbuf, size_t nbytes, loff_t *pos, in res_counter_read() argument 124 pos, buf, s - buf); in res_counter_read()
|
D | resource.c | 42 static void *r_next(struct seq_file *m, void *v, loff_t *pos) in r_next() argument 45 (*pos)++; in r_next() 57 static void *r_start(struct seq_file *m, loff_t *pos) in r_start() argument 63 for (p = p->child; p && l < *pos; p = r_next(m, p, &l)) in r_start()
|
D | kexec.c | 385 struct list_head *pos, *next; in kimage_free_page_list() local 387 list_for_each_safe(pos, next, list) { in kimage_free_page_list() 390 page = list_entry(pos, struct page, lru); in kimage_free_page_list()
|
D | module.c | 1201 char *buf, loff_t pos, size_t count) in module_notes_read() argument 1206 memcpy(buf, bin_attr->private + pos, count); in module_notes_read() 2620 static void *m_start(struct seq_file *m, loff_t *pos) in m_start() argument 2623 return seq_list_start(&modules, *pos); in m_start() 2626 static void *m_next(struct seq_file *m, void *p, loff_t *pos) in m_next() argument 2628 return seq_list_next(p, &modules, pos); in m_next()
|
D | cgroup.c | 2109 static void *cgroup_tasks_start(struct seq_file *s, loff_t *pos) in cgroup_tasks_start() argument 2118 int index = 0, pid = *pos; in cgroup_tasks_start() 2141 *pos = *iter; in cgroup_tasks_start() 2151 static void *cgroup_tasks_next(struct seq_file *s, void *v, loff_t *pos) in cgroup_tasks_next() argument 2165 *pos = *p; in cgroup_tasks_next()
|
D | relay.c | 1228 uint64_t pos = (uint64_t) *ppos; in subbuf_splice_actor() local 1230 size_t read_start = (size_t) do_div(pos, alloc_size); in subbuf_splice_actor()
|
/kernel/power/ |
D | earlysuspend.c | 49 struct list_head *pos; in register_early_suspend() local 52 list_for_each(pos, &early_suspend_handlers) { in register_early_suspend() 54 e = list_entry(pos, struct early_suspend, link); in register_early_suspend() 58 list_add_tail(&handler->link, pos); in register_early_suspend() 75 struct early_suspend *pos; in early_suspend() local 96 list_for_each_entry(pos, &early_suspend_handlers, link) { in early_suspend() 97 if (pos->suspend != NULL) in early_suspend() 98 pos->suspend(pos); in early_suspend() 115 struct early_suspend *pos; in late_resume() local 134 list_for_each_entry_reverse(pos, &early_suspend_handlers, link) in late_resume() [all …]
|
/kernel/trace/ |
D | trace_sysprof.c | 60 int pos; member 84 if (info->pos < sample_max_depth && reliable) { in backtrace_address() 87 info->pos++; in backtrace_address() 108 info.pos = 1; in trace_kernel() 121 return info.pos; in trace_kernel()
|
D | trace_stack.c | 189 t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument 193 (*pos)++; in t_next() 211 static void *t_start(struct seq_file *m, loff_t *pos) in t_start() argument 219 if (*pos == 0) in t_start() 222 for (; t && l < *pos; t = t_next(m, t, &l)) in t_start()
|
D | trace_branch.c | 193 t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument 198 (*pos)++; in t_next() 211 static void *t_start(struct seq_file *m, loff_t *pos) in t_start() argument 216 for (; t && l < *pos; t = t_next(m, t, &l)) in t_start()
|
D | ftrace.c | 798 t_next(struct seq_file *m, void *v, loff_t *pos) in t_next() argument 803 (*pos)++; in t_next() 840 static void *t_start(struct seq_file *m, loff_t *pos) in t_start() argument 845 if (*pos > 0) { in t_start() 848 (*pos)--; in t_start() 852 p = t_next(m, p, pos); in t_start() 1344 g_next(struct seq_file *m, void *v, loff_t *pos) in g_next() argument 1347 int index = *pos; in g_next() 1349 (*pos)++; in g_next() 1357 static void *g_start(struct seq_file *m, loff_t *pos) in g_start() argument [all …]
|
D | trace.c | 1404 static void *s_next(struct seq_file *m, void *v, loff_t *pos) argument 1407 int i = (int)*pos; 1410 (*pos)++; 1424 iter->pos = *pos; 1429 static void *s_start(struct seq_file *m, loff_t *pos) argument 1445 if (*pos != iter->pos) { 1458 for (p = iter; p && l < *pos; p = s_next(m, p, &l)) 1462 l = *pos - 1; 2452 iter->pos = -1; 2556 t_next(struct seq_file *m, void *v, loff_t *pos) argument [all …]
|
D | trace.h | 368 loff_t pos; member
|
/kernel/irq/ |
D | proc.c | 40 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write() argument
|