Searched refs:strn_len (Results 1 – 1 of 1) sorted by relevance
/linux-2.4.37.9/net/core/ |
D | pktgen.c | 907 static int strn_len(const char *user_buffer, unsigned int maxlen) in strn_len() function 962 len = strn_len(&user_buffer[i], sizeof(name) - 1); in proc_write() 1093 len = strn_len(&user_buffer[i], sizeof(info->outdev) - 1); in proc_write() 1105 len = strn_len(&user_buffer[i], sizeof(f) - 1); in proc_write() 1158 len = strn_len(&user_buffer[i], sizeof(info->dst_min) - 1); in proc_write() 1171 len = strn_len(&user_buffer[i], sizeof(info->dst_max) - 1); in proc_write() 1184 len = strn_len(&user_buffer[i], sizeof(info->src_min) - 1); in proc_write() 1197 len = strn_len(&user_buffer[i], sizeof(info->src_max) - 1); in proc_write() 1213 len = strn_len(&user_buffer[i], sizeof(valstr) - 1); in proc_write() 1246 len = strn_len(&user_buffer[i], sizeof(valstr) - 1); in proc_write()
|