Searched refs:strn_len (Results 1 – 1 of 1) sorted by relevance
/linux-6.12.1/net/core/ |
D | pktgen.c | 812 static int strn_len(const char __user * user_buffer, unsigned int maxlen) in strn_len() function 979 len = strn_len(&user_buffer[i], sizeof(name) - 1); in pktgen_if_write() 1293 len = strn_len(&user_buffer[i], sizeof(f) - 1); in pktgen_if_write() 1333 len = strn_len(&user_buffer[i], sizeof(f) - 1); in pktgen_if_write() 1381 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_min) - 1); in pktgen_if_write() 1401 len = strn_len(&user_buffer[i], sizeof(pkt_dev->dst_max) - 1); in pktgen_if_write() 1421 len = strn_len(&user_buffer[i], sizeof(buf) - 1); in pktgen_if_write() 1444 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() 1487 len = strn_len(&user_buffer[i], sizeof(buf) - 1); in pktgen_if_write() [all …]
|