aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string.c
Commit message (Expand)AuthorAge
* lib/string.c: fix strim() semantics for strings that have only blanksMichael Holzheu2011-10-31
* lib/string.c: introduce memchr_inv()Akinobu Mita2011-10-31
* Add a strtobool function matching semantics of existing in kernel equivalentsJonathan Cameron2011-05-19
* lib/string.c: simplify strnstr()André Goddard Rosa2010-03-06
* lib/string.c: simplify stricmp()André Goddard Rosa2010-03-06
* lib: Introduce strnstr()Li Zefan2010-01-14
* lib/string.c: fix kernel-doc warningsRandy Dunlap2009-12-22
* Subject: Re: [PATCH] strstrip incorrectly marked __must_checkKOSAKI Motohiro2009-12-15
* string: on strstrip(), first remove leading spaces before running over strAndré Goddard Rosa2009-12-15
* string: factorize skip_spaces and export it to be generally availableAndré Goddard Rosa2009-12-15
* strcmp: fix overflow and possibly signedness errorLinus Torvalds2009-11-18
* Add a new sysfs_streq() string comparison functionDavid Brownell2008-05-01
* [STRING]: Move strcasecmp/strncasecmp to lib/string.cDavid S. Miller2007-04-26
* [PATCH] Numerous fixes to kernel-doc info in source files.Robert P. J. Day2007-02-11
* [PATCH] strstrip remove last blank fixMichael Holzheu2006-10-28
* [PATCH] strstrip() APIPekka Enberg2006-06-23
* [PATCH] Silence a const vs non-const warningJan-Benedict Glaw2006-04-11
* [PATCH] Clean up arch-overrides in linux/string.hKyle McMartin2006-04-11
* [PATCH] No arch-specific strpbrk implementationsKyle McMartin2006-04-11
* [PATCH] multiple exports of strpbrkAndrew Morton2006-03-22
* [PATCH] lib/string.c cleanup: restore useful memmove constPaul Jackson2005-10-30
* [PATCH] lib/string.c cleanup: remove pointless explicit castsJesper Juhl2005-10-30
* [PATCH] lib/string.c cleanup: remove pointless register keywordJesper Juhl2005-10-30
* [PATCH] lib/string.c cleanup: whitespace and CodingStyle cleanupsJesper Juhl2005-10-30
* [PATCH] documentation for strncpy()walter harms2005-05-05
* [PATCH] x86_64: make string func definition work as intendedPaolo 'Blaisorblade' Giarrusso2005-05-05
* Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds2005-04-16
*prev) { } #ifdef CONFIG_SMP static unsigned long load_balance_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, unsigned long max_load_move, struct sched_domain *sd, enum cpu_idle_type idle, int *all_pinned, int *this_best_prio) { return 0; } static int move_one_task_idle(struct rq *this_rq, int this_cpu, struct rq *busiest, struct sched_domain *sd, enum cpu_idle_type idle) { return 0; } #endif static void task_tick_idle(struct rq *rq, struct task_struct *curr, int queued) { } static void set_curr_task_idle(struct rq *rq) { } static void switched_to_idle(struct rq *rq, struct task_struct *p, int running) { /* Can this actually happen?? */ if (running) resched_task(rq->curr); else check_preempt_curr(rq, p); } static void prio_changed_idle(struct rq *rq, struct task_struct *p, int oldprio, int running) { /* This can happen for hot plug CPUS */ /* * Reschedule if we are currently running on this runqueue and * our priority decreased, or if we are not currently running on * this runqueue and our priority is higher than the current's */ if (running) { if (p->prio > oldprio) resched_task(rq->curr); } else check_preempt_curr(rq, p); } /* * Simple, special scheduling class for the per-CPU idle tasks: */ const struct sched_class idle_sched_class = { /* .next is NULL */ /* no enqueue/yield_task for idle tasks */ /* dequeue is not valid, we print a debug message there: */ .dequeue_task = dequeue_task_idle, #ifdef CONFIG_SMP .select_task_rq = select_task_rq_idle, #endif /* CONFIG_SMP */ .check_preempt_curr = check_preempt_curr_idle, .pick_next_task = pick_next_task_idle, .put_prev_task = put_prev_task_idle, #ifdef CONFIG_SMP .load_balance = load_balance_idle, .move_one_task = move_one_task_idle, #endif .set_curr_task = set_curr_task_idle, .task_tick = task_tick_idle, .prio_changed = prio_changed_idle, .switched_to = switched_to_idle, /* no .task_new for idle tasks */ };