/kernel/power/ |
H A D | suspend_test.c | 151 static int __init setup_test_suspend(char *value) argument 158 value++; 159 suspend_type = strsep(&value, ","); 163 repeat = strsep(&value, ",");
|
H A D | qos.c | 5 * Dependents on a QoS value : register requests 6 * Watchers of QoS value : get notified when target QoS value changes 180 static inline void pm_qos_set_value(struct pm_qos_constraints *c, s32 value) argument 182 c->target_value = value; 191 * @value: value of the request to add or update 193 * This function returns 1 if the aggregated constraint value has changed, 0 197 enum pm_qos_req_action action, int value) 205 if (value 196 pm_qos_update_target(struct pm_qos_constraints *c, struct plist_node *node, enum pm_qos_req_action action, int value) argument 369 pm_qos_add_request(struct pm_qos_request *req, int pm_qos_class, s32 value) argument 567 s32 value; local 586 s32 value; local [all...] |
/kernel/ |
H A D | tsacct.c | 128 struct timeval value; local 135 jiffies_to_timeval(cputime_to_jiffies(dtime), &value); local 136 delta = value.tv_sec; 137 delta = delta * USEC_PER_SEC + value.tv_usec;
|
H A D | test_kprobes.c | 27 static u32 (*target)(u32 value); 28 static u32 (*target2)(u32 value); 30 static noinline u32 kprobe_target(u32 value) argument 32 return (value / div_factor); 46 pr_err("incorrect value in post_handler\n"); 83 static noinline u32 kprobe_target2(u32 value) argument 85 return (value / div_factor) + 1; 99 pr_err("incorrect value in post_handler2\n"); 157 static u32 j_kprobe_target(u32 value) argument 159 if (value ! [all...] |
H A D | acct.c | 312 #define MAXFRACT ((1 << MANTSIZE) - 1) /* Maximum fractional value. */ 314 static comp_t encode_comp_t(unsigned long value) argument 319 while (value > MAXFRACT) { 320 rnd = value & (1 << (EXPSIZE - 1)); /* Round up? */ 321 value >>= EXPSIZE; /* Base 8 exponent == 3 bit shift. */ 328 if (rnd && (++value > MAXFRACT)) { 329 value >>= EXPSIZE; 337 exp += value; /* and add on the mantissa. */ 348 * Largest encodable value is 50 bits. 353 #define MAXFRACT2 ((1ul << MANTSIZE2) - 1) /* Maximum fractional value 356 encode_comp2_t(u64 value) argument 389 encode_float(u64 value) argument [all...] |
H A D | kallsyms.c | 450 unsigned long value; member in struct:kallsym_iter 460 if (module_get_kallsym(iter->pos - kallsyms_num_syms, &iter->value, 473 iter->value = kallsyms_addresses[iter->pos]; 545 seq_printf(m, "%pK %c %s\t[%s]\n", (void *)iter->value, 548 seq_printf(m, "%pK %c %s\n", (void *)iter->value,
|
H A D | audit.h | 111 char *value; /* the cmdline field */ member in struct:audit_proctitle
|
H A D | sysctl_binary.c | 996 unsigned long value; local 998 value = simple_strtoul(str, &str, 10); 1003 if (put_user(value, vec + i)) 1021 unsigned long value; local 1024 if (get_user(value, vec + i)) 1027 str += scnprintf(str, end - str, "%lu\t", value); 1067 unsigned long value; local 1069 value = simple_strtoul(str, &str, 10); 1074 if (put_user(value, vec + i)) 1092 unsigned long value; local [all...] |
H A D | kprobes.c | 74 /* NOTE: change this value only with kprobe_mutex held */ 344 /* NOTE: change this value only with kprobe_mutex held */ 348 * Call all pre_handler on the list, but ignores its return value. 2422 unsigned int value = 1; local 2434 &value, &fops_kp);
|
H A D | sys.c | 232 * not return the normal nice-value, but a negated value that 305 * If you set the real gid at all, or set the effective gid to a value not 441 * If you set the real uid at all, or set the effective uid to a value not 833 * value of ->real_parent under rcu_read_lock(), see 1280 struct rlimit value; local 1283 ret = do_prlimit(current, resource, NULL, &value); 1285 ret = copy_to_user(rlim, &value, sizeof(*rlim)) ? -EFAULT : 0; 1385 * expiry. But we use the zero value to mean "it was 2502 /* Check to see if any memory value i [all...] |
H A D | module.c | 1895 return sym ? (void *)sym->value : NULL; 1973 sym[i].st_value = ksym->value; 2143 /* Parse tag=value strings from .modinfo section */ 2209 static int is_exported(const char *name, unsigned long value, argument 2217 return ks != NULL && ks->value == value; 3405 /* At worse, next value is at end of module */ 3524 int module_get_kallsym(unsigned int symnum, unsigned long *value, char *type, argument 3534 *value = mod->symtab[symnum].st_value; 3539 *exported = is_exported(name, *value, mo [all...] |
/kernel/time/ |
H A D | itimer.c | 46 struct itimerval *const value) 75 cputime_to_timeval(cval, &value->it_value); 76 cputime_to_timeval(cinterval, &value->it_interval); 79 int do_getitimer(int which, struct itimerval *value) argument 86 value->it_value = itimer_get_remtime(&tsk->signal->real_timer); 87 value->it_interval = 92 get_cpu_itimer(tsk, CPUCLOCK_VIRT, value); 95 get_cpu_itimer(tsk, CPUCLOCK_PROF, value); 103 SYSCALL_DEFINE2(getitimer, int, which, struct itimerval __user *, value) 108 if (value) { 45 get_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, struct itimerval *const value) argument 143 set_cpu_itimer(struct task_struct *tsk, unsigned int clock_id, const struct itimerval *const value, struct itimerval *const ovalue) argument 190 do_setitimer(int which, struct itimerval *value, struct itimerval *ovalue) argument [all...] |
H A D | time.c | 49 * programs who obtain this value by using gettimeofday. 383 * @nsec: the nanoseconds value to be converted 408 * @nsec: the nanoseconds value to be converted 463 * @nsec: the nanoseconds value to be converted 496 * the input value by a factor or dividing it with a factor 503 * Negative value, means infinite timeout: 558 * The TICK_NSEC - 1 rounds up the value to the next resolution. Note 570 * value to a scaled second value. 588 timespec_to_jiffies(const struct timespec *value) argument 596 jiffies_to_timespec(const unsigned long jiffies, struct timespec *value) argument 626 timeval_to_jiffies(const struct timeval *value) argument 633 jiffies_to_timeval(const unsigned long jiffies, struct timeval *value) argument [all...] |
/kernel/bpf/ |
H A D | syscall.c | 144 #define BPF_MAP_LOOKUP_ELEM_LAST_FIELD value 149 void __user *uvalue = u64_to_ptr(attr->value); 153 void *key, *value; local 174 value = map->ops->map_lookup_elem(map, key); 175 if (!value) 179 if (copy_to_user(uvalue, value, map->value_size) != 0) 193 #define BPF_MAP_UPDATE_ELEM_LAST_FIELD value 198 void __user *uvalue = u64_to_ptr(attr->value); 202 void *key, *value; local 222 value [all...] |
/kernel/debug/ |
H A D | gdbstub.c | 427 static void int_to_threadref(unsigned char *id, int value) argument 429 put_unaligned_be32(value, id); 981 case 'g': /* return the value of the CPU registers */ 984 case 'G': /* set the value of the CPU registers - return OK */
|
/kernel/debug/kdb/ |
H A D | kdb_private.h | 36 #define KDB_DEBUG_STATE(text, value) if (KDB_DEBUG(STATE)) \ 37 kdb_print_state(text, value) 73 unsigned long value; /* Address of symbol */ member in struct:__ksymtab 220 #define KDB_SP_VALUE 0x0008 /* Print the value of the address */
|
H A D | kdb_main.c | 100 KDBMSG(BADWIDTH, "Illegal value for BYTESPERWORD use 1, 2, 4 or 8, " 102 KDBMSG(BADRADIX, "Illegal value for RADIX use 8, 10 or 16"), 104 KDBMSG(NOENVVALUE, "Environment variable should have value"), 117 KDBMSG(BADINT, "Illegal numeric value"), 191 * kdbgetenv - This function will return the character string value of 197 * char* Pointer to string value of environment variable. 225 * match A character string representing a numeric value 227 * *value the unsigned long representation of the env variable 'match' 252 * kdbgetulenv - This function will return the value of an unsigned 255 * match A character string representing a numeric value 261 kdbgetulenv(const char *match, unsigned long *value) argument 286 kdbgetintenv(const char *match, int *value) argument 307 kdbgetularg(const char *arg, unsigned long *value) argument 329 kdbgetu64arg(const char *arg, u64 *value) argument 464 kdbgetaddrarg(int argc, const char **argv, int *nextarg, unsigned long *value, long *offset, char **name) argument 1036 unsigned long value; local 1312 kdb_print_state(const char *text, int value) argument [all...] |
/kernel/trace/ |
H A D | blktrace.c | 1706 u64 value; local 1713 if (sscanf(buf, "%llx", &value) != 1) { 1718 value = ret; 1720 } else if (sscanf(buf, "%llu", &value) != 1) 1737 if (value) 1750 q->blk_trace->act_mask = value; 1752 q->blk_trace->pid = value; 1754 q->blk_trace->start_lba = value; 1756 q->blk_trace->end_lba = value;
|
/kernel/events/ |
H A D | core.c | 82 * returns: @func return value, or 109 * returns: @func return value or -ENXIO when the cpu is offline 1182 int entry = sizeof(u64); /* value */ 2304 u64 value; local 2310 * Update the event value, we cannot use perf_event_read() 2333 value = local64_read(&next_event->count); 2334 value = local64_xchg(&event->count, value); 2335 local64_set(&next_event->count, value); 2447 * We stop each event and update the event value i 3736 u64 value; local [all...] |