Lines Matching defs:int
92 static int ratelimit_disable __read_mostly =
94 module_param_named(ratelimit_disable, ratelimit_disable, int, 0644);
101 * ,u64,int,long} family of functions.
118 * device, the get_random_bytes function, and the get_random_{u32,u64,int,long}
125 int wait_for_random_bytes(void)
128 int ret;
146 int __cold register_random_ready_notifier(struct notifier_block *nb)
149 int ret = -EALREADY;
164 int __cold unregister_random_ready_notifier(struct notifier_block *nb)
167 int ret;
203 * unsigned int get_random_int()
208 * a read from /dev/urandom. The u32, u64, int, and long family of
319 interval = max_t(unsigned int, CRNG_RESEED_START_INTERVAL,
320 (unsigned int)uptime / 2 * HZ);
512 unsigned int position; \
561 int __cold random_prepare_cpu(unsigned int cpu)
630 unsigned int init_bits;
708 unsigned int new, orig, add;
718 new = min_t(unsigned int, POOL_BITS, orig + add);
752 * void add_interrupt_randomness(int irq);
753 * void add_input_randomness(unsigned int type, unsigned int code, unsigned int value);
794 static int __init parse_trust_cpu(char *arg)
798 static int __init parse_trust_bootloader(char *arg)
813 int __init random_init(const char *command_line)
816 unsigned int i, arch_bytes;
900 unsigned int count;
938 int __cold random_online_cpu(unsigned int cpu)
967 unsigned int count;
987 credit_init_bits(clamp_t(unsigned int, (count & U16_MAX) / 64, 1, sizeof(pool) * 8));
992 void add_interrupt_randomness(int irq)
998 unsigned int new_count;
1031 static void add_timer_randomness(struct timer_rand_state *state, unsigned int num)
1035 unsigned int bits;
1097 void add_input_randomness(unsigned int type, unsigned int code, unsigned int value)
1216 SYSCALL_DEFINE3(getrandom, char __user *, ubuf, size_t, len, unsigned int, flags)
1220 int ret;
1287 static int maxwarn = 10;
1304 int ret;
1317 static long random_ioctl(struct file *f, unsigned int cmd, unsigned long arg)
1319 int __user *p = (int __user *)arg;
1320 int ent_count;
1341 int len;
1381 static int random_fasync(int fd, struct file *filp, int on)
1444 static int sysctl_random_min_urandom_seed = CRNG_RESEED_INTERVAL / HZ;
1445 static int sysctl_random_write_wakeup_bits = POOL_READY_BITS;
1446 static int sysctl_poolsize = POOL_BITS;
1454 static int proc_do_uuid(struct ctl_table *table, int write, void *buf,
1485 static int proc_do_rointvec(struct ctl_table *table, int write, void *buf,
1496 .maxlen = sizeof(int),
1503 .maxlen = sizeof(int),
1510 .maxlen = sizeof(int),
1517 .maxlen = sizeof(int),