Searched refs:left (Results 1 – 9 of 9) sorted by relevance
/kernel/ |
D | sysctl.c | 2350 size_t left; in __do_proc_dointvec() local 2360 left = *lenp; in __do_proc_dointvec() 2369 if (left > PAGE_SIZE - 1) in __do_proc_dointvec() 2370 left = PAGE_SIZE - 1; in __do_proc_dointvec() 2371 p = kbuf = memdup_user_nul(buffer, left); in __do_proc_dointvec() 2376 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec() 2381 left -= proc_skip_spaces(&p); in __do_proc_dointvec() 2383 if (!left) in __do_proc_dointvec() 2385 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec() 2400 err = proc_put_char(&buffer, &left, '\t'); in __do_proc_dointvec() [all …]
|
D | auditfilter.c | 1190 int audit_comparator(u32 left, u32 op, u32 right) in audit_comparator() argument 1194 return (left == right); in audit_comparator() 1196 return (left != right); in audit_comparator() 1198 return (left < right); in audit_comparator() 1200 return (left <= right); in audit_comparator() 1202 return (left > right); in audit_comparator() 1204 return (left >= right); in audit_comparator() 1206 return (left & right); in audit_comparator() 1208 return ((left & right) == right); in audit_comparator() 1214 int audit_uid_comparator(kuid_t left, u32 op, kuid_t right) in audit_uid_comparator() argument [all …]
|
D | groups.c | 99 unsigned int left, right; in groups_search() local 104 left = 0; in groups_search() 106 while (left < right) { in groups_search() 107 unsigned int mid = (left+right)/2; in groups_search() 109 left = mid + 1; in groups_search()
|
D | audit.h | 217 extern int audit_comparator(const u32 left, const u32 op, const u32 right); 218 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); 219 extern int audit_gid_comparator(kgid_t left, u32 op, kgid_t right);
|
D | auditsc.c | 214 int left = ctx->tree_count; in put_tree_ref() local 215 if (likely(left)) { in put_tree_ref() 216 p->c[--left] = chunk; in put_tree_ref() 217 ctx->tree_count = left; in put_tree_ref()
|
/kernel/locking/ |
D | rtmutex.c | 235 rt_mutex_waiter_less(struct rt_mutex_waiter *left, in rt_mutex_waiter_less() argument 238 if (left->prio < right->prio) in rt_mutex_waiter_less() 247 if (dl_prio(left->prio)) in rt_mutex_waiter_less() 248 return dl_time_before(left->deadline, right->deadline); in rt_mutex_waiter_less() 254 rt_mutex_waiter_equal(struct rt_mutex_waiter *left, in rt_mutex_waiter_equal() argument 257 if (left->prio != right->prio) in rt_mutex_waiter_equal() 266 if (dl_prio(left->prio)) in rt_mutex_waiter_equal() 267 return left->deadline == right->deadline; in rt_mutex_waiter_equal()
|
/kernel/sched/ |
D | deadline.c | 777 u64 left, right; in dl_entity_overflow() local 797 left = (pi_se->dl_deadline >> DL_SCALE) * (dl_se->runtime >> DL_SCALE); in dl_entity_overflow() 801 return dl_time_before(right, left); in dl_entity_overflow() 1768 struct rb_node *left = rb_first_cached(&dl_rq->root); in pick_next_dl_entity() local 1770 if (!left) in pick_next_dl_entity() 1773 return rb_entry(left, struct sched_dl_entity, rb_node); in pick_next_dl_entity()
|
D | fair.c | 602 struct rb_node *left = rb_first_cached(&cfs_rq->tasks_timeline); in __pick_first_entity() local 604 if (!left) in __pick_first_entity() 607 return rb_entry(left, struct sched_entity, run_node); in __pick_first_entity() 4213 struct sched_entity *left = __pick_first_entity(cfs_rq); in pick_next_entity() local 4220 if (!left || (curr && entity_before(curr, left))) in pick_next_entity() 4221 left = curr; in pick_next_entity() 4223 se = left; /* ideally we run the leftmost entity */ in pick_next_entity() 4240 if (second && wakeup_preempt_entity(second, left) < 1) in pick_next_entity() 4247 if (cfs_rq->last && wakeup_preempt_entity(cfs_rq->last, left) < 1) in pick_next_entity() 4253 if (cfs_rq->next && wakeup_preempt_entity(cfs_rq->next, left) < 1) in pick_next_entity()
|
/kernel/events/ |
D | core.c | 1526 perf_event_groups_less(struct perf_event *left, struct perf_event *right) in perf_event_groups_less() argument 1528 if (left->cpu < right->cpu) in perf_event_groups_less() 1530 if (left->cpu > right->cpu) in perf_event_groups_less() 1533 if (left->group_index < right->group_index) in perf_event_groups_less() 1535 if (left->group_index > right->group_index) in perf_event_groups_less()
|