Searched refs:oldmax (Results 1 – 4 of 4) sorted by relevance
402 unsigned long oldmax;403 size_t oldmaxsize = sizeof(oldmax);408 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) {
1053 unsigned long oldmax; in pfkey_setup_socket() local1054 size_t oldmaxsize = sizeof(oldmax); in pfkey_setup_socket()1059 if (sysctlbyname("kern.ipc.maxsockbuf", &oldmax, &oldmaxsize, &newmax, sizeof(newmax)) != 0) { in pfkey_setup_socket()
276 size_t oldmax; in im6o_grow() local285 oldmax = imo->im6o_max_memberships; in im6o_grow()286 newmax = ((oldmax + 1) * 2) - 1; in im6o_grow()309 for (idx = oldmax; idx < newmax; idx++) { in im6o_grow()
275 uint16_t oldmax; in imo_grow() local283 oldmax = imo->imo_max_memberships; in imo_grow()285 newmax = ((oldmax + 1) * 2) - 1; in imo_grow()309 for (idx = oldmax; idx < newmax; idx++) { in imo_grow()