MCPcopy Create free account
hub / github.com/F-Stack/f-stack / add_array_entry

Function add_array_entry

freebsd/netinet/in_fib_algo.c:251–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249};
250
251static bool
252add_array_entry(struct bsearch4_array *ba, struct bsearch4_record *br_new)
253{
254
255 if (ba->num_items < ba->alloc_items) {
256 ba->arr[ba->num_items++] = *br_new;
257 return (true);
258 }
259 return (false);
260}
261
262static struct bsearch4_record *
263get_last_entry(struct bsearch4_array *ba)

Callers 3

pop_stack_entryFunction · 0.85
bsearch4_process_recordFunction · 0.85
bsearch4_buildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected