Home
last modified time | relevance | path

Searched refs:fds_used (Results 1 – 2 of 2) sorted by relevance

/dports/net-mgmt/ipcad/ipcad-3.7.3/
H A Dwrap_oclose.c34 static bpf_fd_t *fds_used[FD_USED_SIZE]; /* Currently being used */ variable
62 assert(fds_used[bfd->fd] == NULL); in open()
63 fds_used[bfd->fd] = bfd; in open()
83 assert(fds_used[d] == NULL); in open()
84 fds_used[d] = bfd; /* Lock-free is OK */ in open()
94 if(fds_used[d]) { in close()
98 fds_used[d]->next = fds_pool_head; in close()
99 fds_pool_head = fds_used[d]; in close()
100 fds_used[d] = NULL; in close()
/dports/net/waypipe/waypipe-a11a59c58bee3972ce9e1e18731eba28cc0a8f0a/src/
H A Dparsing.c409 int fds_used = 0; in handle_message() local
432 fds_used += msg->n_fds; in handle_message()
464 fds_used); in handle_message()
468 &fds->data[fds->zone_start + fds_used], in handle_message()
470 fds->zone_end -= fds_used; in handle_message()
476 fds->zone_start += fds_used; in handle_message()
482 if (fds_used >= 32 || meth >= 2048) { in handle_message()
484 fds_used, meth); in handle_message()
486 if (fds_used > 0) { in handle_message()
488 fds_used); in handle_message()
[all …]