Searched refs:sysctl_buf (Results 1 – 5 of 5) sorted by relevance
| /freebsd-12-stable/sys/dev/ena/ |
| D | ena_rss.h | 52 char sysctl_buf[ENA_RX_RSS_TABLE_SIZE * ENA_RX_RSS_MSG_RECORD_SZ]; member
|
| D | ena_rss.c | 301 ena_rss_copy_indir_buf(indir->sysctl_buf, indir->table); in ena_rss_indir_init()
|
| D | ena_sysctl.c | 832 msg = indir->sysctl_buf; in ena_sysctl_rss_indir_table() 839 error = sysctl_handle_string(oidp, msg, sizeof(indir->sysctl_buf), req); in ena_sysctl_rss_indir_table()
|
| /freebsd-12-stable/sbin/routed/ |
| D | if.c | 647 static struct ifa_msghdr *sysctl_buf; in ifinit() local 696 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) in ifinit() 701 free(sysctl_buf); in ifinit() 706 sysctl_buf = rtmalloc(sysctl_buf_size = needed, in ifinit() 711 ifam_lim = (char *)sysctl_buf + needed; in ifinit() 712 for (ifam = sysctl_buf; (void *)ifam < ifam_lim; ifam = ifam2) { in ifinit()
|
| D | table.c | 1044 static char *sysctl_buf; in flush_kern() local 1070 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) in flush_kern() 1074 free(sysctl_buf); in flush_kern() 1084 sysctl_buf = rtmalloc(sysctl_buf_size = needed, in flush_kern() 1088 lim = sysctl_buf + needed; in flush_kern() 1089 for (next = sysctl_buf; next < lim; next += rtm->rtm_msglen) { in flush_kern() 1094 (u_long)rtm, (u_long)sysctl_buf, (u_long)lim); in flush_kern()
|