Lines Matching refs:nfrags
353 uint32 nfrags = 0; in syz_emit_ethernet() local
355 vecs[nfrags].iov_base = data; in syz_emit_ethernet()
356 vecs[nfrags].iov_len = length; in syz_emit_ethernet()
357 nfrags++; in syz_emit_ethernet()
370 vecs[nfrags].iov_base = data; in syz_emit_ethernet()
371 vecs[nfrags].iov_len = size; in syz_emit_ethernet()
372 nfrags++; in syz_emit_ethernet()
376 if (length != 0 && (full || nfrags == 0)) { in syz_emit_ethernet()
377 vecs[nfrags].iov_base = data; in syz_emit_ethernet()
378 vecs[nfrags].iov_len = length; in syz_emit_ethernet()
379 nfrags++; in syz_emit_ethernet()
382 return writev(tunfd, vecs, nfrags); in syz_emit_ethernet()