Lines Matching refs:strn_len
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()
1489 len = strn_len(&user_buffer[i], sizeof(pkt_dev->src_min) - 1); in pktgen_if_write()
1509 len = strn_len(&user_buffer[i], sizeof(pkt_dev->src_max) - 1); in pktgen_if_write()
1529 len = strn_len(&user_buffer[i], sizeof(valstr) - 1); in pktgen_if_write()
1546 len = strn_len(&user_buffer[i], sizeof(valstr) - 1); in pktgen_if_write()
1879 len = strn_len(&user_buffer[i], sizeof(name) - 1); in pktgen_thread_write()
1909 len = strn_len(&user_buffer[i], sizeof(f) - 1); in pktgen_thread_write()