/kernel/printk/ |
H A D | console_cmdline.h | 7 int index; /* Minor dev. to use */ member in struct:console_cmdline
|
H A D | printk.c | 247 /* index and sequence number of the first record stored in the buffer */ 251 /* index and sequence number of the next record to store in the buffer */ 302 /* get record by index; idx must point to valid msg */ 391 * when the index points to the middle. 1925 if (strcmp(c->name, name) == 0 && c->index == idx) { 1939 c->index = idx; 1956 * Decode str into name, index, options. 1989 * @idx: device index 2012 if (strcmp(c->name, name) == 0 && c->index == idx) { 2015 c->index 2319 console_device(int *index) argument [all...] |
/kernel/sched/ |
H A D | cpuacct.h | 4 extern void cpuacct_account_field(struct task_struct *p, int index, u64 val); 13 cpuacct_account_field(struct task_struct *p, int index, u64 val) argument
|
H A D | cpuacct.c | 263 void cpuacct_account_field(struct task_struct *p, int index, u64 val) argument 272 kcpustat->cpustat[index] += val;
|
H A D | cputime.c | 116 static inline void task_group_account_field(struct task_struct *p, int index, argument 125 __this_cpu_add(kernel_cpustat.cpustat[index], tmp); 127 cpuacct_account_field(p, index, tmp); 139 int index; local 146 index = (task_nice(p) > 0) ? CPUTIME_NICE : CPUTIME_USER; 149 task_group_account_field(p, index, (__force u64) cputime); 196 cputime_t cputime_scaled, int index) 204 task_group_account_field(p, index, (__force u64) cputime); 225 int index; local 233 index 195 __account_system_time(struct task_struct *p, cputime_t cputime, cputime_t cputime_scaled, int index) argument [all...] |
/kernel/power/ |
H A D | main.c | 160 int i, index, last_dev, last_errno, last_step; local 187 index = last_dev + REC_FAILED_NUM - i; 188 index %= REC_FAILED_NUM; 190 suspend_stats.failed_devs[index]); 195 index = last_errno + REC_FAILED_NUM - i; 196 index %= REC_FAILED_NUM; 198 suspend_stats.errno[index]); 204 index = last_step + REC_FAILED_NUM - i; 205 index %= REC_FAILED_NUM; 208 suspend_stats.failed_steps[index])); [all...] |
H A D | snapshot.c | 394 int index; local 404 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); 405 index &= BM_RTREE_LEVEL_MASK; 406 dst = (struct rtree_node **)&((*dst)->data[index]); 672 int index; local 674 index = block_nr >> ((i - 1) * BM_RTREE_LEVEL_SHIFT); 675 index &= BM_RTREE_LEVEL_MASK; 676 BUG_ON(node->data[index] == 0); 677 node = (struct rtree_node *)node->data[index];
|
/kernel/ |
H A D | audit_tree.c | 34 unsigned index; /* index; upper bit indicates 'will prune' */ member in struct:audit_chunk::node 65 * node.index allows to get from node.list to containing chunk. 154 chunk->owners[i].index = i; 212 int index = p->index & ~(1U<<31); local 213 p -= index; 283 new->owners[i].index = chunk->owners[j].index - j + i; 339 chunk->owners[0].index [all...] |
H A D | cgroup.c | 340 * @ssid: the index of the subsystem, CGROUP_SUBSYS_COUNT after reaching the end 355 * @ssid: the index of the subsystem, CGROUP_SUBSYS_COUNT after reaching the end 369 * @ssid: the index of @ss, CGROUP_SUBSYS_COUNT after reaching the end 4109 int index = 0, pid = *pos; local 4138 while (index < end) { 4139 int mid = (index + end) / 2; 4141 index = mid; 4144 index = mid + 1; 4150 if (index >= l->length) 4153 iter = l->list + index; [all...] |
H A D | module.c | 184 } index; member in struct:load_info 485 Elf_Shdr *pcpusec = &info->sechdrs[info->index.pcpu]; 571 if (info->sechdrs[info->index.pcpu].sh_size != 0) 1241 if (!check_version(info->sechdrs, info->index.vers, name, mod, crc, 1939 Elf_Shdr *symsec = &info->sechdrs[info->index.sym]; 1988 if (sym[i].st_shndx == info->index.pcpu) 2019 info->index.sym, i, mod); 2022 info->index.sym, i, mod); 2166 Elf_Shdr *infosec = &info->sechdrs[info->index.info]; 2291 Elf_Shdr *symsect = info->sechdrs + info->index [all...] |
/kernel/time/ |
H A D | hrtimer.c | 62 * There are more clockids then hrtimer bases. Thus, we index 74 .index = HRTIMER_BASE_MONOTONIC, 80 .index = HRTIMER_BASE_REALTIME, 86 .index = HRTIMER_BASE_BOOTTIME, 92 .index = HRTIMER_BASE_TAI, 204 int basenum = base->index; 836 base->cpu_base->active_bases |= 1 << base->index; 881 base->cpu_base->active_bases &= ~(1 << base->index); 1445 int index, gettime = 1; local 1450 for (index [all...] |
H A D | timer.c | 1095 static int cascade(struct tvec_base *base, struct tvec *tv, int index) argument 1101 list_replace_init(tv->vec + index, &tv_list); 1113 return index; 1180 int index = base->timer_jiffies & TVR_MASK; local 1185 if (!index && 1191 list_replace_init(base->tv1.vec + index, head); 1232 int index, slot, array, found = 0; local 1237 index = slot = timer_jiffies & TVR_MASK; 1246 if (!index || slot < index) [all...] |
/kernel/trace/ |
H A D | trace_functions_graph.c | 125 int index; local 146 * The curr_ret_stack is an index to ftrace return stack of 149 * filtering out specific functions, it makes the index 151 * so when it sees a negative index the ftrace will ignore 152 * the record. And the index gets recovered when returning 166 index = ++current->curr_ret_stack; 170 current->ret_stack[index].ret = ret; 171 current->ret_stack[index].func = func; 172 current->ret_stack[index].calltime = calltime; 173 current->ret_stack[index] 185 int index; local [all...] |
H A D | trace.h | 314 * The bit is the bit index that sets its value on the 1058 unsigned short index; member in struct:filter_pred
|
H A D | trace_events_filter.c | 139 int index; member in struct:pred_stack 387 int index, enum move_type *move) 678 stack->index = n_preds; 685 stack->index = 0; 691 int index = stack->index; local 693 if (WARN_ON(index == 0)) 696 stack->preds[--index] = pred; 697 stack->index = index; 386 get_pred_parent(struct filter_pred *pred, struct filter_pred *preds, int index, enum move_type *move) argument 705 int index = stack->index; local [all...] |
H A D | ring_buffer.c | 341 local_t commit; /* write committed index */ 355 local_t write; /* index for next write */ 356 unsigned read; /* index for next read */ 1851 __rb_data_page_index(struct buffer_data_page *bpage, unsigned index) argument 1853 return bpage->data + index; 1856 static inline void *__rb_page_index(struct buffer_page *bpage, unsigned index) argument 1858 return bpage->page->data + index; 1904 unsigned long index; local 1906 index = rb_event_index(event); 1910 rb_commit_index(cpu_buffer) == index; 2466 unsigned long index; local [all...] |
H A D | ftrace.c | 472 unsigned long index; member in struct:ftrace_profile_page 512 if ((void *)rec >= (void *)&pg->records[pg->index]) { 646 pg->index = 0; 809 if (stat->pages->index == PROFILES_PER_PAGE) { 815 rec = &stat->pages->records[stat->pages->index++]; 880 int index; local 882 index = trace->depth; 885 if (index) 886 current->ret_stack[index - 1].subtime += calltime; 888 if (current->ret_stack[index] 1117 int index; member in struct:ftrace_page 2105 int index; member in struct:ftrace_rec_iter 5364 int index; local [all...] |
H A D | trace.c | 6083 long index = (long)filp->private_data; local 6086 if (trace_flags & (1 << index)) 6099 long index = (long)filp->private_data; local 6111 ret = set_tracer_flag(tr, 1 << index, val); 6234 const char *option, long index) 6242 return trace_create_file(option, 0644, t_options, (void *)index, 6233 create_trace_option_core_file(struct trace_array *tr, const char *option, long index) argument
|