Home
last modified time | relevance | path

Searched refs:pos (Results 1 – 19 of 19) sorted by relevance

/kernel/
Dkallsyms.c129 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 …]
Dlockdep_proc.c26 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 …]
Ddma-coherent.c79 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()
Dkprobes.c154 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 …]
Dtracepoint.c454 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()
Dres_counter.c111 const char __user *userbuf, size_t nbytes, loff_t *pos, in res_counter_read() argument
124 pos, buf, s - buf); in res_counter_read()
Dresource.c42 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()
Dkexec.c385 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()
Dmodule.c1201 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()
Dcgroup.c2109 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()
Drelay.c1228 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/
Dearlysuspend.c49 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/
Dtrace_sysprof.c60 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()
Dtrace_stack.c189 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()
Dtrace_branch.c193 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()
Dftrace.c798 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 …]
Dtrace.c1404 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 …]
Dtrace.h368 loff_t pos; member
/kernel/irq/
Dproc.c40 const char __user *buffer, size_t count, loff_t *pos) in irq_affinity_proc_write() argument