/kernel/ |
H A D | elfcore.c | 11 int __weak elf_core_write_extra_phdrs(struct coredump_params *cprm, loff_t offset) argument
|
H A D | configs.c | 59 size_t len, loff_t * offset) 61 return simple_read_from_buffer(buf, len, offset, 58 ikconfig_read_current(struct file *file, char __user *buf, size_t len, loff_t * offset) argument
|
H A D | kallsyms.c | 89 * given the offset to where the symbol is in the compressed stream. 103 * Update the offset to return the offset for the next symbol on 134 /* Return to offset to the next symbol. */ 153 * Find the offset on the compressed stream given and index in the 217 unsigned long *offset) 266 if (offset) 267 *offset = addr - symbol_start; 276 unsigned long *offset) 280 return !!get_symbol_pos(addr, symbolsize, offset); 215 get_symbol_pos(unsigned long addr, unsigned long *symbolsize, unsigned long *offset) argument 275 kallsyms_lookup_size_offset(unsigned long addr, unsigned long *symbolsize, unsigned long *offset) argument 292 kallsyms_lookup(unsigned long addr, unsigned long *symbolsize, unsigned long *offset, char **modname, char *namebuf) argument 335 lookup_symbol_attrs(unsigned long addr, unsigned long *size, unsigned long *offset, char *modname, char *name) argument 361 unsigned long offset, size; local [all...] |
H A D | pid.c | 106 int offset = nr & BITS_PER_PAGE_MASK; local 108 clear_bit(offset, map->page); 153 int i, offset, max_scan, pid, last = pid_ns->last_pid; local 159 offset = pid & BITS_PER_PAGE_MASK; 164 * we start with offset == 0 (or RESERVED_PIDS). 166 max_scan = DIV_ROUND_UP(pid_max, BITS_PER_PAGE) - !offset; 186 if (!test_and_set_bit(offset, map->page)) { 191 offset = find_next_offset(map, offset); 192 if (offset > 215 int offset; local [all...] |
/kernel/rcu/ |
H A D | rcu.h | 108 unsigned long offset = (unsigned long)head->func; local 111 if (__is_kfree_rcu_offset(offset)) { 112 RCU_TRACE(trace_rcu_invoke_kfree_callback(rn, head, offset)); 113 kfree((void *)head - offset);
|
/kernel/debug/kdb/ |
H A D | kdb_bt.c | 112 long offset; local 198 &offset, NULL);
|
H A D | kdb_bp.c | 285 long offset = 0ul; local 305 &offset, &symname);
|
H A D | kdb_support.c | 86 unsigned long offset = 0; local 102 symtab->sym_name = kallsyms_lookup(addr, &symbolsize , &offset, 104 if (offset > 8*1024*1024) { 106 addr = offset = symbolsize = 0; 108 symtab->sym_start = addr - offset; 247 * kdb_symbol_print - Standard method for printing a symbol name and offset. 693 u32 next; /* offset of next header from start of pool */
|
/kernel/sched/ |
H A D | stats.c | 90 static void *schedstat_start(struct seq_file *file, loff_t *offset) argument 92 unsigned long n = *offset; 104 *offset = n + 1; 111 static void *schedstat_next(struct seq_file *file, void *data, loff_t *offset) argument 113 (*offset)++; 114 return schedstat_start(file, offset);
|
H A D | proc.c | 67 * @offset: offset to add 72 void get_avenrun(unsigned long *loads, unsigned long offset, int shift) argument 74 loads[0] = (avenrun[0] + offset) << shift; 75 loads[1] = (avenrun[1] + offset) << shift; 76 loads[2] = (avenrun[2] + offset) << shift;
|
H A D | debug.c | 425 static void *sched_debug_start(struct seq_file *file, loff_t *offset) argument 427 unsigned long n = *offset; 439 *offset = n + 1; 446 static void *sched_debug_next(struct seq_file *file, void *data, loff_t *offset) argument 448 (*offset)++; 449 return sched_debug_start(file, offset);
|
/kernel/time/ |
H A D | timeconv.c | 74 * @offset offset seconds adding to totalsecs. 77 void time_to_tm(time_t totalsecs, int offset, struct tm *result) argument 84 rem += offset;
|
H A D | timer_list.c | 131 SEQ_printf(m, " .offset: %Lu nsecs\n", 132 (unsigned long long) ktime_to_ns(base->offset)); 300 static void *move_iter(struct timer_list_iter *iter, loff_t offset) argument 302 for (; offset; offset--) { 319 static void *timer_list_start(struct seq_file *file, loff_t *offset) argument 323 if (!*offset) 327 return move_iter(iter, *offset); 330 static void *timer_list_next(struct seq_file *file, void *v, loff_t *offset) argument 333 ++*offset; [all...] |
H A D | ntp.c | 69 /* frequency offset (scaled nsecs/secs): */ 102 static s64 pps_freq; /* frequency offset (scaled ns/s) */ 115 * Otherwise, reduce the offset by a fixed factor times the time constant. 117 static inline s64 ntp_offset_chunk(s64 offset) argument 120 return offset; 122 return shift_right(offset, SHIFT_PLL + time_constant); 202 static inline s64 ntp_offset_chunk(s64 offset) argument 204 return shift_right(offset, SHIFT_PLL + time_constant); 288 static void ntp_update_offset(long offset) argument 298 offset * [all...] |
H A D | tick-sched.c | 1168 u64 offset = ktime_to_ns(tick_period) >> 1; local 1169 do_div(offset, num_possible_cpus()); 1170 offset *= smp_processor_id(); 1171 hrtimer_add_expires_ns(&ts->sched_timer, offset);
|
/kernel/events/ |
H A D | ring_buffer.c | 108 unsigned long tail, offset, head; local 144 offset = head = local_read(&rb->head); 162 } while (local_cmpxchg(&rb->head, offset, head) != offset); 174 handle->page = (offset >> page_shift) & (rb->nr_pages - 1); 175 offset &= (1UL << page_shift) - 1; 176 handle->addr = rb->data_pages[handle->page] + offset; 177 handle->size = (1UL << page_shift) - offset;
|
/kernel/irq/ |
H A D | irqdesc.c | 513 * @offset: where to start the search 515 * Returns next irq number after offset or nr_irqs if none is found. 517 unsigned int irq_get_next_irq(unsigned int offset) argument 519 return find_next_bit(allocated_irqs, nr_irqs, offset);
|
/kernel/power/ |
H A D | user.c | 203 sector_t offset; local 314 offset = alloc_swapdev_block(data->swap); 315 if (offset) { 316 offset <<= PAGE_SHIFT; 317 error = put_user(offset, (loff_t __user *)arg); 373 offset = swap_area.offset; 374 data->swap = swap_type_of(swdev, offset, NULL); 398 compat_loff_t offset; member in struct:compat_resume_swap_area 412 loff_t offset; local [all...] |
H A D | hibernate.c | 1104 unsigned long long offset; local 1109 if (sscanf(str, "%llu", &offset) == 1) 1110 swsusp_resume_block = offset;
|
/kernel/bpf/ |
H A D | core.c | 170 /* Base function for offset calculation. Needs to go into .text section, 662 int __weak skb_copy_bits(const struct sk_buff *skb, int offset, void *to, argument
|
/kernel/gcov/ |
H A D | gcc_3_4.c | 302 * @offset: index of the first value of the current function for this type 321 unsigned int offset; member in struct:type_info 332 * @type_info: helper array to get values-array offset for current function 409 iter->type_info[iter->num_types++].offset = 0; 454 get_type(iter)->offset += iter->count; 558 values[iter->count + get_type(iter)->offset]);
|
/kernel/trace/ |
H A D | trace_syscalls.c | 270 int offset = offsetof(typeof(trace), args); local 278 meta->args[i], offset, 281 offset += sizeof(unsigned long);
|
H A D | trace_probe.c | 84 void FETCH_FUNC_NAME(reg, type)(struct pt_regs *regs, void *offset, void *dest) \ 87 (unsigned int)((unsigned long)offset)); \ 110 long offset; local 123 addr += dprm->offset; \ 140 addr += dprm->offset; 293 /* Split symbol and offset. */ 294 int traceprobe_split_symbol_offset(char *symbol, unsigned long *offset) argument 299 if (!offset) 305 ret = kstrtoul(tmp + 1, 0, offset); 311 *offset 361 long offset; local [all...] |
/kernel/debug/ |
H A D | gdbstub.c | 589 int offset = 0; local 592 offset += dbg_reg_def[i].size; 593 return kgdb_mem2hex((char *)gdb_regs + offset, out,
|
/kernel/locking/ |
H A D | lockdep_proc.c | 389 static void seq_line(struct seq_file *m, char c, int offset, int length) argument 393 for (i = 0; i < offset; i++)
|