Searched refs:strn_len (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/net/core/ |
D | pktgen.c | 811 static int strn_len(const char __user * user_buffer, unsigned int maxlen) in strn_len() function 978 len = strn_len(&user_buffer[i], sizeof(name) - 1); in pktgen_if_write() 1287 len = strn_len(&user_buffer[i], sizeof(f) - 1); in pktgen_if_write() 1326 len = strn_len(&user_buffer[i], sizeof(f) - 1); in pktgen_if_write() 1360 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_min) - 1); in pktgen_if_write() 1380 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_max) - 1); in pktgen_if_write() 1400 len = strn_len(&user_buffer[i], sizeof(buf) - 1); in pktgen_if_write() 1423 len = strn_len(&user_buffer[i], sizeof(buf) - 1); in pktgen_if_write() 1445 len = strn_len(&user_buffer[i], sizeof(buf) - 1); in pktgen_if_write() 1466 len = strn_len(&user_buffer[i], sizeof(buf) - 1); in pktgen_if_write() [all …]
|