Lines Matching defs:needed
55 * start with a size of hash_table_sizes[0], and increase as needed.
1033 size_t needed;
1076 * When calculating the buffer size needed, add a small number
1083 needed = (lifn.lifn_count + 4) * sizeof (struct lifreq);
1084 if (needed > lastneeded || needed < lastneeded/2) {
1087 if ((buf = malloc(needed)) == NULL) {
1096 lastneeded = needed;
1101 lifc.lifc_len = needed;
1118 * case go back and recalculate needed.
1120 if (lifc.lifc_len >= needed - sizeof (struct lifreq))