Searched refs:left (Results 1 – 9 of 9) sorted by relevance
/kernel/ |
D | sysctl.c | 2393 size_t left; in __do_proc_dointvec() local 2403 left = *lenp; in __do_proc_dointvec() 2412 if (left > PAGE_SIZE - 1) in __do_proc_dointvec() 2413 left = PAGE_SIZE - 1; in __do_proc_dointvec() 2414 p = kbuf = memdup_user_nul(buffer, left); in __do_proc_dointvec() 2419 for (; left && vleft--; i++, first=0) { in __do_proc_dointvec() 2424 proc_skip_spaces(&p, &left); in __do_proc_dointvec() 2426 if (!left) in __do_proc_dointvec() 2428 err = proc_get_long(&p, &left, &lval, &neg, in __do_proc_dointvec() 2443 err = proc_put_char(&buffer, &left, '\t'); in __do_proc_dointvec() [all …]
|
D | auditfilter.c | 1195 int audit_comparator(u32 left, u32 op, u32 right) in audit_comparator() argument 1199 return (left == right); in audit_comparator() 1201 return (left != right); in audit_comparator() 1203 return (left < right); in audit_comparator() 1205 return (left <= right); in audit_comparator() 1207 return (left > right); in audit_comparator() 1209 return (left >= right); in audit_comparator() 1211 return (left & right); in audit_comparator() 1213 return ((left & right) == right); in audit_comparator() 1219 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 | 221 extern int audit_comparator(const u32 left, const u32 op, const u32 right); 222 extern int audit_uid_comparator(kuid_t left, u32 op, kuid_t right); 223 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() 1792 struct rb_node *left = rb_first_cached(&dl_rq->root); in pick_next_dl_entity() local 1794 if (!left) in pick_next_dl_entity() 1797 return rb_entry(left, struct sched_dl_entity, rb_node); in pick_next_dl_entity()
|
D | fair.c | 603 struct rb_node *left = rb_first_cached(&cfs_rq->tasks_timeline); in __pick_first_entity() local 605 if (!left) in __pick_first_entity() 608 return rb_entry(left, struct sched_entity, run_node); in __pick_first_entity() 4285 struct sched_entity *left = __pick_first_entity(cfs_rq); in pick_next_entity() local 4292 if (!left || (curr && entity_before(curr, left))) in pick_next_entity() 4293 left = curr; in pick_next_entity() 4295 se = left; /* ideally we run the leftmost entity */ in pick_next_entity() 4312 if (second && wakeup_preempt_entity(second, left) < 1) in pick_next_entity() 4319 if (cfs_rq->last && wakeup_preempt_entity(cfs_rq->last, left) < 1) in pick_next_entity() 4325 if (cfs_rq->next && wakeup_preempt_entity(cfs_rq->next, left) < 1) in pick_next_entity()
|
/kernel/events/ |
D | core.c | 1537 perf_event_groups_less(struct perf_event *left, struct perf_event *right) in perf_event_groups_less() argument 1539 if (left->cpu < right->cpu) in perf_event_groups_less() 1541 if (left->cpu > right->cpu) in perf_event_groups_less() 1544 if (left->group_index < right->group_index) in perf_event_groups_less() 1546 if (left->group_index > right->group_index) in perf_event_groups_less()
|