Lines Matching refs:bufsize
45 static unsigned int bufsize __read_mostly = 4096;
46 MODULE_PARM_DESC(bufsize, "Log buffer size in packets (4096)");
47 module_param(bufsize, uint, 0);
88 return (tcp_probe.head - tcp_probe.tail) & (bufsize - 1); in tcp_probe_used()
93 return bufsize - tcp_probe_used() - 1; in tcp_probe_avail()
157 tcp_probe.head = (tcp_probe.head + 1) & (bufsize - 1); in jtcp_rcv_established()
230 tcp_probe.tail = (tcp_probe.tail + 1) & (bufsize - 1); in tcpprobe_read()
268 if (bufsize == 0) in tcpprobe_init()
271 bufsize = roundup_pow_of_two(bufsize); in tcpprobe_init()
272 tcp_probe.log = kcalloc(bufsize, sizeof(struct tcp_log), GFP_KERNEL); in tcpprobe_init()
284 port, fwmark, bufsize); in tcpprobe_init()