Searched refs:kbuf (Results 1 – 2 of 2) sorted by relevance
/net/qrtr/ |
D | tun.c | 91 void *kbuf; in qrtr_tun_write_iter() local 99 kbuf = kzalloc(len, GFP_KERNEL); in qrtr_tun_write_iter() 100 if (!kbuf) in qrtr_tun_write_iter() 103 if (!copy_from_iter_full(kbuf, len, from)) { in qrtr_tun_write_iter() 104 kfree(kbuf); in qrtr_tun_write_iter() 108 ret = qrtr_endpoint_post(&tun->ep, kbuf, len); in qrtr_tun_write_iter() 110 kfree(kbuf); in qrtr_tun_write_iter()
|
/net/core/ |
D | sysctl_net_core.c | 161 char kbuf[128]; in flow_limit_cpu_sysctl() local 177 len = min(sizeof(kbuf) - 1, *lenp); in flow_limit_cpu_sysctl() 178 len = scnprintf(kbuf, len, "%*pb", cpumask_pr_args(mask)); in flow_limit_cpu_sysctl() 184 kbuf[len++] = '\n'; in flow_limit_cpu_sysctl() 185 memcpy(buffer, kbuf, len); in flow_limit_cpu_sysctl()
|