Searched refs:k (Results 1 – 7 of 7) sorted by relevance
/kernel/ |
D | kthread.c | 43 struct task_struct *k; member 62 return (kthread_stop_info.k == current); in kthread_should_stop() 176 void kthread_bind(struct task_struct *k, unsigned int cpu) in kthread_bind() argument 179 if (!wait_task_inactive(k, TASK_UNINTERRUPTIBLE)) { in kthread_bind() 183 set_task_cpu(k, cpu); in kthread_bind() 184 k->cpus_allowed = cpumask_of_cpu(cpu); in kthread_bind() 185 k->rt.nr_cpus_allowed = 1; in kthread_bind() 186 k->flags |= PF_THREAD_BOUND; in kthread_bind() 203 int kthread_stop(struct task_struct *k) in kthread_stop() argument 210 get_task_struct(k); in kthread_stop() [all …]
|
D | compat.c | 461 unsigned long *k; in compat_get_user_cpu_mask() local 468 k = cpumask_bits(new_mask); in compat_get_user_cpu_mask() 469 return compat_get_bitmap(k, user_mask_ptr, len * 8); in compat_get_user_cpu_mask() 497 unsigned long *k; in compat_sys_sched_getaffinity() local 513 k = cpumask_bits(mask); in compat_sys_sched_getaffinity() 514 ret = compat_put_bitmap(user_mask_ptr, k, min_length * 8); in compat_sys_sched_getaffinity()
|
D | printk.c | 210 unsigned long long k; in boot_delay_msec() local 216 k = (unsigned long long)printk_delay_msec * boot_delay; in boot_delay_msec() 219 while (k) { in boot_delay_msec() 220 k--; in boot_delay_msec()
|
D | cpuset.c | 630 int i, j, k; /* indices for partition finding loops */ in generate_sched_domains() local 705 for (k = 0; k < csn; k++) { in generate_sched_domains() 706 struct cpuset *c = csa[k]; in generate_sched_domains()
|
D | signal.c | 2334 struct k_sigaction *k; in do_sigaction() local 2340 k = &t->sighand->action[sig-1]; in do_sigaction() 2344 *oact = *k; in do_sigaction() 2349 *k = *act; in do_sigaction()
|
/kernel/power/ |
D | swap.c | 246 unsigned int k; member 266 handle->k = 0; in get_swap_writer() 282 handle->cur->entries[handle->k++] = offset; in swap_write_page() 283 if (handle->k >= MAP_PAGE_ENTRIES) { in swap_write_page() 296 handle->k = 0; in swap_write_page() 462 handle->k = 0; in get_swap_reader() 474 offset = handle->cur->entries[handle->k]; in swap_read_page() 480 if (++handle->k >= MAP_PAGE_ENTRIES) { in swap_read_page() 482 handle->k = 0; in swap_read_page()
|
D | swsusp.c | 181 int k; in swsusp_show_speed() local 189 k = nr_pages * (PAGE_SIZE / 1024); in swsusp_show_speed() 190 kps = (k * 100) / centisecs; in swsusp_show_speed() 192 msg, k, in swsusp_show_speed()
|