/kernel/ |
D | kfifo.c | 124 len = min(len, fifo->size - fifo->in + fifo->out); in __kfifo_put() 134 l = min(len, fifo->size - (fifo->in & (fifo->size - 1))); in __kfifo_put() 170 len = min(len, fifo->in - fifo->out); in __kfifo_get() 180 l = min(len, fifo->size - (fifo->out & (fifo->size - 1))); in __kfifo_get()
|
D | resource.c | 295 resource_size_t size, resource_size_t min, in find_resource() argument 317 if (new->start < min) in find_resource() 318 new->start = min; in find_resource() 348 resource_size_t size, resource_size_t min, in allocate_resource() argument 357 err = find_resource(root, new, size, min, max, align, alignf, alignf_data); in allocate_resource() 565 common_end = min(conflict->end, end); in __reserve_region_with_split()
|
D | sysctl.c | 2377 int *min; member 2388 if ((param->min && *param->min > val) || in do_proc_dointvec_minmax_conv() 2426 .min = (int *) table->extra1, in proc_dointvec_minmax() 2441 unsigned long *i, *min, *max, val; in __do_proc_doulongvec_minmax() local 2454 min = (unsigned long *) table->extra1; in __do_proc_doulongvec_minmax() 2459 for (; left && vleft--; i++, min++, max++, first=0) { in __do_proc_doulongvec_minmax() 2497 if ((min && val < *min) || (max && val > *max)) in __do_proc_doulongvec_minmax() 2908 int *min = (int *) table->extra1; in sysctl_intvec() local 2927 if (min && value < min[i]) in sysctl_intvec()
|
D | params.c | 272 unsigned int min, unsigned int max, in param_array() argument 315 if (*num < min) { in param_array() 317 name, min); in param_array()
|
D | time.c | 339 const unsigned int min, const unsigned int sec) in mktime() argument 353 )*60 + min /* now have minutes */ in mktime()
|
D | profile.c | 319 pc = min((pc - (unsigned long)_stext) >> prof_shift, prof_len - 1); in profile_hits() 432 atomic_add(nr_hits, &prof_buffer[min(pc, prof_len - 1)]); in profile_hits()
|
D | kmod.c | 99 max_modprobes = min(max_threads/2, MAX_KMOD_CONCURRENT); in request_module()
|
D | pm_qos_params.c | 135 return min(v1, v2); in min_compare()
|
D | lockdep.c | 161 if (time < lt->min || !lt->min) in lock_time_inc() 162 lt->min = time; in lock_time_inc() 170 dst->min += src->min; in lock_time_add()
|
D | pid.c | 513 pidhash_shift = min(12, pidhash_shift); in pidhash_init()
|
D | sched_rt.c | 451 rt_rq->rt_time -= min(rt_rq->rt_time, overrun*runtime); in do_sched_rt_period_timer() 1473 next = DIV_ROUND_UP(min(soft, hard), USEC_PER_SEC/HZ); in watchdog()
|
D | sched.c | 1302 return (unsigned long)min(tmp, (u64)(unsigned long)LONG_MAX); in calc_delta_mine() 2079 return min(rq->cpu_load[type-1], total); in source_load() 3305 busiest_load_per_task = min(busiest_load_per_task, avg_load); in find_busiest_group() 3332 max_pull = min(max_load - avg_load, max_load - busiest_load_per_task); in find_busiest_group() 3335 *imbalance = min(max_pull * busiest->__cpu_power, in find_busiest_group() 3372 min(busiest_load_per_task, max_load); in find_busiest_group() 3374 min(this_load_per_task, this_load); in find_busiest_group() 3382 min(busiest_load_per_task, max_load - tmp); in find_busiest_group() 3393 min(this_load_per_task, this_load + tmp); in find_busiest_group()
|
D | cpuset.c | 1320 ticks = min(FM_MAXTICKS, ticks); in fmeter_update() 1334 fmp->cnt = min(FM_MAXCNT, fmp->cnt + FM_SCALE); in fmeter_markevent()
|
D | rtmutex.c | 111 return min(task_top_pi_waiter(task)->pi_list_entry.prio, in rt_mutex_getprio()
|
D | sys.c | 1188 unsigned int cp_count = min(NGROUPS_PER_BLOCK, count); in groups_to_user() 1208 unsigned int cp_count = min(NGROUPS_PER_BLOCK, count); in groups_from_user()
|
D | lockdep_proc.c | 492 seq_time(m, lt->min); in seq_lock_time()
|
D | printk.c | 163 offset = start = min(con_start, log_start); in log_buf_len_setup()
|
D | relay.c | 1153 avail = min(desc->count, avail); in relay_file_read_subbufs()
|
D | kprobes.c | 1356 buf_size = min(count, (sizeof(buf)-1)); in write_enabled_file_bool()
|
D | futex.c | 1001 prio = min(current->normal_prio, MAX_RT_PRIO); in queue_me()
|
/kernel/time/ |
D | ntp.c | 80 offset = min(offset, MAXPHASE); in ntp_update_offset() 101 freq_adj = min(freq_adj, MAXFREQ_SCALED); in ntp_update_offset() 369 time_freq = min(time_freq, MAXFREQ_SCALED); in do_adjtimex() 382 time_constant = min(time_constant, (long)MAXTC); in do_adjtimex()
|
/kernel/power/ |
D | disk.c | 830 unsigned int maj, min; in resume_store() local 834 if (sscanf(buf, "%u:%u", &maj, &min) != 2) in resume_store() 837 res = MKDEV(maj,min); in resume_store() 838 if (maj != MAJOR(res) || min != MINOR(res)) in resume_store()
|
/kernel/trace/ |
D | trace.c | 3652 len = min(len, TRACE_BUF_SIZE-1);
|