Home
last modified time | relevance | path

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

/kernel/power/
Duserwakelock.c50 const char *arg; in lookup_wake_lock_name() local
53 arg = buf; in lookup_wake_lock_name()
54 while (*arg && !isspace(*arg)) in lookup_wake_lock_name()
55 arg++; in lookup_wake_lock_name()
56 name_len = arg - buf; in lookup_wake_lock_name()
59 while (isspace(*arg)) in lookup_wake_lock_name()
60 arg++; in lookup_wake_lock_name()
63 if (timeoutptr && *arg) { in lookup_wake_lock_name()
64 timeout = simple_strtoull(arg, (char **)&arg, 0); in lookup_wake_lock_name()
65 while (isspace(*arg)) in lookup_wake_lock_name()
[all …]
Duser.c191 unsigned long arg) in snapshot_ioctl() argument
249 error = put_user(in_suspend, (int __user *)arg); in snapshot_ioctl()
272 image_size = arg; in snapshot_ioctl()
282 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl()
289 error = put_user(size, (loff_t __user *)arg); in snapshot_ioctl()
301 error = put_user(offset, (loff_t __user *)arg); in snapshot_ioctl()
321 if (old_decode_dev(arg)) { in snapshot_ioctl()
322 data->swap = swap_type_of(old_decode_dev(arg), in snapshot_ioctl()
348 data->platform_support = !!arg; in snapshot_ioctl()
359 switch (arg) { in snapshot_ioctl()
[all …]
/kernel/
Dparams.c190 *((type *)kp->arg) = l; \
195 return sprintf(buffer, format, *((type *)kp->arg)); \
220 *(char **)kp->arg = (char *)val; in param_set_charp()
226 return sprintf(buffer, "%s", *((char **)kp->arg)); in param_get_charp()
237 *(int *)kp->arg = 1; in param_set_bool()
240 *(int *)kp->arg = 0; in param_set_bool()
249 return sprintf(buffer, "%c", (*(int *)kp->arg) ? 'Y' : 'N'); in param_get_bool()
257 dummy.arg = &boolval; in param_set_invbool()
260 *(int *)kp->arg = !boolval; in param_set_invbool()
266 return sprintf(buffer, "%c", (*(int *)kp->arg) ? 'N' : 'Y'); in param_get_invbool()
[all …]
Drcutorture.c610 rcu_torture_writer(void *arg) in rcu_torture_writer() argument
655 rcu_torture_fakewriter(void *arg) in rcu_torture_fakewriter() argument
729 rcu_torture_reader(void *arg) in rcu_torture_reader() argument
873 rcu_torture_stats(void *arg) in rcu_torture_stats() argument
942 rcu_torture_shuffle(void *arg) in rcu_torture_shuffle() argument
958 rcu_torture_stutter(void *arg) in rcu_torture_stutter() argument
Dworkqueue.c979 void *arg; member
987 wfc->ret = wfc->fn(wfc->arg); in do_work_for_cpu()
999 long work_on_cpu(unsigned int cpu, long (*fn)(void *), void *arg) in work_on_cpu() argument
1005 wfc.arg = arg; in work_on_cpu()
Dwait.c172 int wake_bit_function(wait_queue_t *wait, unsigned mode, int sync, void *arg) in wake_bit_function() argument
174 struct wait_bit_key *key = arg; in wake_bit_function()
Dsched_fair.c1524 static struct task_struct *load_balance_start_fair(void *arg) in load_balance_start_fair() argument
1526 struct cfs_rq *cfs_rq = arg; in load_balance_start_fair()
1531 static struct task_struct *load_balance_next_fair(void *arg) in load_balance_next_fair() argument
1533 struct cfs_rq *cfs_rq = arg; in load_balance_next_fair()
1548 cfs_rq_iterator.arg = cfs_rq; in __load_balance_fair()
1630 cfs_rq_iterator.arg = busy_cfs_rq; in move_one_task_fair()
Drelay.c1111 if (copy_to_user(desc->arg.buf, from, avail)) { in subbuf_read_actor()
1115 desc->arg.data += ret; in subbuf_read_actor()
1176 desc.arg.buf = buffer; in relay_file_read()
Dresource.c266 walk_memory_resource(unsigned long start_pfn, unsigned long nr_pages, void *arg, in walk_memory_resource() argument
280 ret = (*func)(pfn, len, arg); in walk_memory_resource()
Daudit.c539 static int audit_send_reply_thread(void *arg) in audit_send_reply_thread() argument
541 struct audit_reply *reply = (struct audit_reply *)arg; in audit_send_reply_thread()
Dsys.c359 void __user *, arg) in SYSCALL_DEFINE4() argument
408 if (strncpy_from_user(&buffer[0], arg, sizeof(buffer) - 1) < 0) { in SYSCALL_DEFINE4()
Dsched.c1071 static void __hrtick_start(void *arg) in __hrtick_start() argument
1073 struct rq *rq = arg; in __hrtick_start()
1378 void *arg; member
2984 p = iterator->start(iterator->arg); in balance_tasks()
2991 p = iterator->next(iterator->arg); in balance_tasks()
3005 p = iterator->next(iterator->arg); in balance_tasks()
3058 struct task_struct *p = iterator->start(iterator->arg); in iter_move_one_task()
3073 p = iterator->next(iterator->arg); in iter_move_one_task()
Drcupreempt.c1198 static int rcu_sched_grace_period(void *arg) in rcu_sched_grace_period() argument
Dhrtimer.c574 static void retrigger_next_event(void *arg) in retrigger_next_event() argument
Dcpuset.c2097 unsigned long action, void *arg) in cpuset_track_online_nodes() argument
Dcgroup.c1533 static int cgroup_seqfile_show(struct seq_file *m, void *arg) in cgroup_seqfile_show() argument
/kernel/trace/
Dtrace_hw_branches.c28 static void bts_trace_start_cpu(void *arg) in bts_trace_start_cpu() argument
53 static void bts_trace_stop_cpu(void *arg) in bts_trace_stop_cpu() argument
145 static void trace_bts_cpu(void *arg) in trace_bts_cpu() argument
147 struct trace_array *tr = (struct trace_array *) arg; in trace_bts_cpu()
/kernel/time/
Dclockevents.c230 void clockevents_notify(unsigned long reason, void *arg) in clockevents_notify() argument
235 clockevents_do_notify(reason, arg); in clockevents_notify()
/kernel/irq/
Dresend.c31 static void resend_irqs(unsigned long arg) in resend_irqs() argument