Searched refs:user_buffer (Results 1 – 3 of 3) sorted by relevance
/linux-2.4.37.9/net/core/ |
D | pktgen.c | 861 static int count_trail_chars(const char *user_buffer, unsigned int maxlen) in count_trail_chars() argument 868 if (get_user(c, &user_buffer[i])) in count_trail_chars() 886 static unsigned long num_arg(const char *user_buffer, unsigned long maxlen, in num_arg() argument 896 if (get_user(c, &user_buffer[i])) in num_arg() 907 static int strn_len(const char *user_buffer, unsigned int maxlen) in strn_len() argument 914 if (get_user(c, &user_buffer[i])) in strn_len() 931 static int proc_write(struct file *file, const char *user_buffer, in proc_write() argument 955 tmp = count_trail_chars(&user_buffer[i], max); in proc_write() 962 len = strn_len(&user_buffer[i], sizeof(name) - 1); in proc_write() 966 if (copy_from_user(name, &user_buffer[i], len)) in proc_write() [all …]
|
/linux-2.4.37.9/arch/i386/kernel/ |
D | microcode.c | 124 static void *user_buffer; /* user area microcode data buffer */ variable 233 if (copy_from_user(&mc_header, user_buffer + cursor, MC_HEADER_SIZE)) { in find_matching_ucodes() 280 if (copy_from_user(&ext_header, user_buffer + cursor in find_matching_ucodes() 295 … if (copy_from_user(&ext_sig, user_buffer + cursor + MC_HEADER_SIZE + data_size + EXT_HEADER_SIZE in find_matching_ucodes() 324 user_buffer + cursor + MC_HEADER_SIZE, in find_matching_ucodes() 448 user_buffer = (void *) buf; in microcode_write()
|
/linux-2.4.37.9/drivers/s390/net/ |
D | qeth.c | 10171 const char *user_buffer, in qeth_procfile_write() argument 10186 if (copy_from_user(buffer, user_buffer, user_len)) { in qeth_procfile_write() 10739 const char *user_buffer, in qeth_ipato_procfile_write() argument 10762 if (copy_from_user(buffer, user_buffer, user_len)) { in qeth_ipato_procfile_write()
|