Searched refs:sysctl_buf (Results 1 – 5 of 5) sorted by relevance
/freebsd/sys/dev/ena/ |
H A D | ena_rss.h | 50 char sysctl_buf[ENA_RX_RSS_TABLE_SIZE * ENA_RX_RSS_MSG_RECORD_SZ]; member
|
H A D | ena_rss.c | 294 ena_rss_copy_indir_buf(indir->sysctl_buf, indir->table); in ena_rss_indir_init()
|
H A D | ena_sysctl.c | 1160 msg = indir->sysctl_buf; in ena_sysctl_rss_indir_table() 1167 error = sysctl_handle_string(oidp, msg, sizeof(indir->sysctl_buf), req); in ena_sysctl_rss_indir_table()
|
/freebsd/sbin/routed/ |
H A D | if.c | 635 static struct ifa_msghdr *sysctl_buf; in ifinit() local 684 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) in ifinit() 689 free(sysctl_buf); in ifinit() 694 sysctl_buf = rtmalloc(sysctl_buf_size = needed, in ifinit() 699 ifam_lim = (char *)sysctl_buf + needed; in ifinit() 700 for (ifam = sysctl_buf; (void *)ifam < ifam_lim; ifam = ifam2) { in ifinit()
|
H A D | table.c | 1032 static char *sysctl_buf; in flush_kern() local 1058 if (sysctl(mib, 6, sysctl_buf,&needed, 0, 0) >= 0) in flush_kern() 1062 free(sysctl_buf); in flush_kern() 1072 sysctl_buf = rtmalloc(sysctl_buf_size = needed, in flush_kern() 1076 lim = sysctl_buf + needed; in flush_kern() 1077 for (next = sysctl_buf; next < lim; next += rtm->rtm_msglen) { in flush_kern() 1082 (u_long)rtm, (u_long)sysctl_buf, (u_long)lim); in flush_kern()
|